Граф коммитов

2922 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com 0597412383 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
shanjian%netscape.com db6d418deb #152056 Uninitialized memory read in nsTextFrame::GetPosition
relocate a line to prevent i from reaching contentLength.
r=mjudge, sr=dveditz
2002-07-03 03:47:53 +00:00
karnaze%netscape.com ab4deb43a5 bug 154924 - use NS_FRAME_COMPLETE rather than macro as it was before bug 145305 was checked in. sr=kin 2002-07-03 01:44:51 +00:00
smontagu%netscape.com 471b7e7738 Fix crash on adding images to right-to-left mail messages. Bug 155096, r=mjudge, sr=kin 2002-07-02 21:53:18 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
karnaze%netscape.com 6064b6abc2 bug 150652 - find correct containing block in nsBlockFrame::DoRemoveOutOfFlowFrame. sr=kin, r=alexsavulov. 2002-07-02 14:56:18 +00:00
peterlubczynski%netscape.com 19b6fb6034 Fixing bug 152978, problem on Mac platforms where Flash "drags" like an image would, r=bnesse, sr=sfraser 2002-07-02 13:52:05 +00:00
kmcclusk%netscape.com b87a141e21 Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com 681db8a644 backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853 2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com 539f09beff Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 02:53:35 +00:00
taka%netscape.com b89e4636c2 Remove unexpected space inserted between Chinese and Japanese characters as a result of unfolding lines. These scripts don't use space as a word boundary. b=135323 r=shanjian sr=waterson 2002-07-01 20:43:16 +00:00
cbiesinger%web.de 284b56bf25 bug 147938 patch by paper r=dbaron sr=waterson
Don't Invalidate nsImageFrame area if it's hidden
2002-07-01 18:17:35 +00:00
bernd.mielke%snafu.de 7054f14c18 bug 154979 - use gNoisyMaxElementSize instead of NOISY_MAX_ELEMENTSIZE r=karnaze sr=waterson 2002-07-01 17:43:02 +00:00
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