Commit Graph

2909 Commits

Author SHA1 Message Date
peterlubczynski%netscape.com
4cf346e06f Fixing some plugins don't understand the DATA attribute on the OBJECT tag so in those cases copy that value to an appened "SRC" entry to the array of attributes/parameters plugins are passed. Bug 152334 r=av sr=waterson 2002-06-27 01:51:34 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
heikki%netscape.com
e1ed4e08e3 Bug 133654, param attribute not recognized in XHTML. Patch from jst, r=peterv, sr=heikki. 2002-06-21 18:28:46 +00:00
cmanske%netscape.com
73802b9d82 Fixed retaining text attributes when using 'end' key. b=113613, fix=mjudge, r=blythe, sr=kin 2002-06-21 14:22:30 +00:00
radha%netscape.com
f39992a397 Fix for bug # 35011. r=jst sr=kin. window.onscroll and element.onscroll don't fire. 2002-06-20 21:47:59 +00:00
bzbarsky%mit.edu
879a291e42 Bug 152979, r=dbaron,chak, sr=waterson 2002-06-20 20:34:37 +00:00
karnaze%netscape.com
8458aad931 bug 151620 - always use quirk line-height inside a td. sr=waterson, r=dbaron. 2002-06-19 22:28:47 +00:00
rods%netscape.com
89bbd44ace Add PR_LOGGING for printing
Bug 121622 r=dcone sr=kin
2002-06-19 21:51:13 +00:00
jaggernaut%netscape.com
270fced72b Back out changes for bug 35011 (context menu, ctrl+key, page-up/down all stopped working in browser). 2002-06-19 12:37:57 +00:00
radha%netscape.com
376379c878 Fix for bug # 35011. window.onscroll and element.onscroll don't fire. r=joki sr=jst 2002-06-18 23:01:48 +00:00
alexsavulov%netscape.com
a2ad7f3caa patch for bug 148199 - Images that are "broken" during document editing
don't redisplay using broken image icon.
added a request proxy removal from the mLoads to get the broken icon
when paint.
r=glazman, sr=waterson
2002-06-18 21:28:53 +00:00
kmcclusk%netscape.com
4c676a798c Save and restore transformation matrix translation components instead of setting a negative translation while painting to eliminate off by one pixel rendering errors in 120DPI display mode. bug=80530 r=dbaron sr=waterson 2002-06-17 23:35:15 +00:00
peterlubczynski%netscape.com
6eef25d218 Fixing IPIX for Mac Classic: SetWindow needed to be called and nsObjectFrame::DidReflow() needed to complete on Mac as well, bug 144896 r=av sr=beard 2002-06-15 16:05:09 +00:00
karnaze%netscape.com
d77603590f bug 148399 - fix places where patch in bug 145305 incorrectly changed checks for NS_FRAME_COMPLETE to use NS_FRAME_IS_NOT_COMPLETE macro. sr=kin, r=alexsavulov 2002-06-14 14:40:02 +00:00
karnaze%netscape.com
29f4ff0184 bug 148245 - only split floaters when printing if the height is constrained, never split floating first letters. sr=waterson 2002-06-14 14:30:33 +00:00
kin%netscape.com
8996b9ec1c Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:43:32 +00:00
kin%netscape.com
f11bc612c7 Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/layout/html/base/src/nsBlockFrame.cpp

    - Removed code in ReflowDirtyChild() which propagated
      the reflow command up to the block's parent if the
      block already had dirty children. There's no need
      for this optimization with waterson's reflow command
      tree changes.

  mozilla/xul/base/src/nsBox.cpp

    - Modified RelayoutDirtyChild() so that it posts
      a dirty reflow event if |this| is a reflow root.
      This prevents ReflowDirtyChild requests from
      propagating all the way out of the box hierarchy.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com
2002-06-13 20:30:14 +00:00
mjudge%netscape.com
b91274d165 113613 r=blythe sr=kin patch to fix end of line key moving caret outside of the style block. if we see a BR tag when searching for valid selection point keep backing up if possible. 2002-06-13 00:06:49 +00:00
peterlubczynski%netscape.com
3d6ee550ba Fixing bug 122119, cannot use consecutive white space characters in PARAM tags, r=harishd, sr=jst 2002-06-12 16:41:25 +00:00
dbaron%fas.harvard.edu
e5a0855621 Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00
dbaron%fas.harvard.edu
7539122f8b Fix performance problem on home.netscape.com: Don't do full reflow of all absolutely positioned elements whose containing block is on the path to the target of an incremental reflow. b=146831 sr=waterson r=kin 2002-06-12 03:21:00 +00:00
smontagu%netscape.com
66051e90f8 Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson 2002-06-11 21:00:20 +00:00
cbiesinger%web.de
15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
roc+%cs.cmu.edu
7ff5e00b9e Bug 142461. Make sure clipped views are not marked transparent. r=kmcclusk,sr=waterson 2002-06-04 04:44:03 +00:00
bernd.mielke%snafu.de
27e0af3e22 no math with NS_UNCONSTRAINEDSIZE please, bug 14862 r=karnaze sr=roc+moz 2002-06-04 04:37:06 +00:00
jkeiser%netscape.com
3e2a1902ca Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 02:00:34 +00:00
jkeiser%netscape.com
b3be2089fb Mac bustage fix. 2002-06-04 01:52:10 +00:00
kin%netscape.com
3e3177eb8e Fix for bug 138573 (hitting return in list item causes list problems; workaround is to refresh)
Modified SlideLine() to use the combined area instead of the linebox
  bounds when invalidating. This makes sure that we invalidate the
  area occupied by the list bullets/ordinals.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com
2002-06-03 21:35:54 +00:00
bernd.mielke%snafu.de
33656786ba bug 148240, percent text-indent should not be computed for NS_UNCONSTRAINEDSIZE
parent width. r=dbaron sr=waterson
2002-06-03 18:35:04 +00:00
roc+%cs.cmu.edu
6f4e473b18 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson 2002-05-31 03:20:23 +00:00
karnaze%netscape.com
1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
shanjian%netscape.com
7f5900aa67 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst%netscape.com
1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
rods%netscape.com
b66bf63fcf patch to clamp to 1/10th of the largest dimension of a page - very low risk. I
think it is unrealistic that the smaller dim of the page would be less than 1/5
of the larger dimension. (and remove unneeded call to get the presshell)
Bug 145976 r=dcone sr=attinasi
2002-05-22 11:32:00 +00:00
dbaron%fas.harvard.edu
d2188e6086 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
rods%netscape.com
a0cd08f23a The problem here is the "edge" prefs are now preficed with the printer name,
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi
2002-05-21 10:53:45 +00:00
jst%netscape.com
262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
peterlubczynski%netscape.com
15bc672feb Removing extra line that sneaked in 2002-05-20 04:02:12 +00:00
peterlubczynski%netscape.com
c773201d06 Fixing last checkin for bug 120875, hiding plugin for tabs, r=bnesse sr=beard 2002-05-20 03:29:48 +00:00
bzbarsky%mit.edu
2daed17185 Fix positioning of fixed and absolute positioned blocks with auto left
or top.  Bug 126213, r=dbaron, sr=attinasi
2002-05-17 00:05:27 +00:00
dbaron%fas.harvard.edu
79e6560fc8 Fix to fix for bug 134580: quirks mode line height must ignore all whitespace at the beginning of the line, not just what happens to be in the first text node. b=134580 sr=waterson r=attinasi 2002-05-16 19:44:20 +00:00
waterson%netscape.com
f7bc6f0d27 Fix build bustage. 2002-05-15 22:21:15 +00:00
dbaron%fas.harvard.edu
b7e8be94dd Give nsHTMLReflowState an explicit copy-constructor and assignment operator to fix up mCBReflowState and fix regressions from previous patch. b=143706 r=bzbarsky sr=waterson 2002-05-15 19:58:20 +00:00
rods%netscape.com
68b0319c10 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128
2002-05-14 14:32:42 +00:00
rods%netscape.com
517bc877a1 Static build bustage fix 2002-05-14 14:15:19 +00:00
dbaron%fas.harvard.edu
0d941d730b Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson 2002-05-14 12:59:55 +00:00
dbaron%fas.harvard.edu
e587531414 Use text-indent in max-element-size calculation (130116, 91468, 140682). Don't apply text-indent after page break to the same block (45694). b=130116 r=attinasi sr=waterson 2002-05-14 12:55:55 +00:00
rods%netscape.com
0c5c90b638 This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2002-05-14 12:05:00 +00:00
bzbarsky%mit.edu
59519ed7b6 Make incremental reflow of fixed-position tables happier. Bug 94009,
r=dbaron, sr=attinasi
2002-05-14 01:44:00 +00:00