Commit Graph

2042 Commits

Author SHA1 Message Date
bratell@lysator.liu.se
41427ae3a4 Backout of bug 110718 to fix Tp regression and raise-on-load issues. 2002-12-15 19:52:22 +00:00
roc+@cs.cmu.edu
f1f9060393 Bug 173072. Ensure that after styles are cleared, we reexecute any work that could depend on the cleared style structs, to ensure a later CalcStyleDifference will not ignore a style struct we really depend on. r+sr=kin 2002-12-14 16:18:57 +00:00
aaronl@netscape.com
3ba628372c Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc 2002-12-14 08:05:51 +00:00
timeless@mozdev.org
57b059f552 Bug 133714 Probably harmless typo.... (PresShell::SetCaretReadOnly Unreachable statement)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz
2002-12-11 15:04:26 +00:00
caillon@returnzero.com
d0e275516e Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-11 14:05:41 +00:00
caillon@returnzero.com
aa5e6343da Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...) 2002-12-11 05:11:02 +00:00
caillon@returnzero.com
382e7a0fa6 Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
bzbarsky@mit.edu
de205739a0 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv@netscape.com
fd22bd13c9 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking@bigfoot.com
4b50c34806 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking@bigfoot.com
b855982df2 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
katakai@japan.sun.com
e5e1887929 bug 167866
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz
2002-11-25 04:58:40 +00:00
dbaron@fas.harvard.edu
72f2298b73 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bryner@netscape.com
b834bc3898 Fixing topcrash bug 179548 (crash when closing tab via mouse gesture) by null checking the event target frame before dispatching the event the second time, since the first dispatch can nuke the frame. r=dbaron, sr=bzbarsky. 2002-11-15 00:59:28 +00:00
bzbarsky@mit.edu
39b2bdfb1f Fix ScrollFrameIntoView if we have nested views with the child bigger
than the parent.  Bug 143815, r=roc+moz, sr=jst
2002-11-12 04:38:28 +00:00
bryner@netscape.com
e26b85861a Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
sicking@bigfoot.com
4db4a38388 Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 06:07:52 +00:00
roc+@cs.cmu.edu
3d29b8d6ba Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin 2002-09-24 11:43:48 +00:00
hyatt@netscape.com
bcb6aea72a Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
dougt@netscape.com
0ffeeba6b7 Fixes non idle timers. This is fixes a regression caused by the last timer changes. r=rpotts@netscape.com, sr-darin@netscape.com, b=167841. 2002-09-20 22:32:32 +00:00
mjudge@netscape.com
387f1caee1 14835 r=pavlov sr=sfraser alpha blending on images to denote selection. 2002-09-11 03:03:49 +00:00
katakai@japan.sun.com
60fec1bc58 bug 52416
Editor does not accept NS_TEXT_EVENT while losing input focus
r=akkana,sr=bzbarsky
(patch within #ifdef MOZ_X11)
2002-09-11 02:02:29 +00:00
kin@netscape.com
8eb03d9f47 Fix for bug 167355 (non-inline document.write does not work in builds after 090522)
Clear the mDidInitialReflow flag in ContentRemoved() to allow the content sink
to call InitialReflow() when the <html> node is re-inserted.

r=jkeiser@netscape.com  sr=jst@netscape.com  a=asa@mozilla.org
2002-09-10 04:36:00 +00:00
mjudge@netscape.com
e36038796f fix for 165169. sr=bryner r=kin solves the problem of not finding the area frame to traverse the page when composing in mail or composer. cntrl-home/end should work now. 2002-09-10 00:10:09 +00:00
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt@netscape.com
aa5e4b8b34 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
jkeiser@netscape.com
8dbf90a5eb Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com 2002-09-06 05:44:31 +00:00
dougt@netscape.com
d033b574fe Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
mjudge@netscape.com
79cf729b94 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
roc+@cs.cmu.edu
458e434a36 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
dbaron@fas.harvard.edu
c9c7b6db26 Ensure that the event state manager doesn't send content state changed notifications for content that's been removed from the document. b=157322 r=bryner sr=kin 2002-08-19 18:31:59 +00:00
dbaron@fas.harvard.edu
7a83fcb990 Mark freed memory in stack arena with 0xdd. b=161283 sr=bzbarsky r=kin 2002-08-14 12:49:24 +00:00
mkaply@us.ibm.com
c6dba56201 Better fix for OS/2 bustage earlier 2002-08-07 04:06:57 +00:00
mkaply@us.ibm.com
557db29480 OS/2 bustage 2002-08-06 15:22:34 +00:00
dbaron@fas.harvard.edu
6bb1953f33 Mark freed memory with 0xdd in DEBUG builds so that we don't free things to the pres shell's arena and then continue using them. b=114219 r=hixie sr=bzbarsky 2002-08-06 13:57:16 +00:00
dbaron@fas.harvard.edu
b7d00d4b79 Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson 2002-08-06 13:51:07 +00:00
aaronl@netscape.com
30275c629d Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst 2002-08-01 21:36:02 +00:00
peterlubczynski@netscape.com
fa00174e27 Fixing bug 152927: can't script any plugin in nested EMBED tag inside an OBJECT tag from onLoad handler -- CNET radio does not play with Real because SetSource is called from onLoad r=kmcclusk sr=dveditz a=asa 2002-07-26 03:48:24 +00:00
rginda@netscape.com
88c83944db bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=rpotts, r=jst, a=asa

make sure we always post new reflow events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.
2002-07-26 03:29:07 +00:00
bzbarsky@mit.edu
0ac7568479 Make sure that painting is properly unsuppressed in XML docs. Bugs
156985, 81546, 157487, r=dbaron, sr=rbs, a=scc
2002-07-18 01:49:47 +00:00
dbaron@fas.harvard.edu
2905c18af9 Set up preference style rules before any frame creation happens. b=148414 r=bryner sr=waterson 2002-06-25 21:21:48 +00:00
dbaron@fas.harvard.edu
d7ebbb7e37 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
bryner@netscape.com
9090a08348 Fixing a crash resulting from my checkin for bug 138237. Instead of causing an initial reflow so that we can dispatch the focus event, just update the focus controller's state. r=alexsavulov, sr=blake. 2002-06-24 04:16:49 +00:00
jst@netscape.com
9f9dee5cb4 Fixing bug 143782. Don't double release the content pointers in mCurrentEventContentStack when a presshell is destroyed from within an event handler called through the presshell. r=dbaron@fas.harvard.edu, sr=protts@netscape.com 2002-06-20 20:14:59 +00:00
kin@netscape.com
18990f923a 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:35:12 +00:00
cbiesinger@web.de
9ddb5cd3b5 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
bryner@netscape.com
d0c75deab7 Fixing loss of focus when opening a URL in a new tab. If we receive a focus event and have not done an initial reflow yet, go ahead and do one so that we can dispatch the event. Otherwise, the focus controller becomes out of sync with the actual native widget focus. Bug 138237, r=dbaron, sr=waterson, a=asa. 2002-06-07 00:53:44 +00:00
cbiesinger@web.de
5b52081ad9 bug 148787 patch by hixie r=dbaron sr=roc+moz
Clicked links don't go red (prefs style sheet is overriding UA style sheet)
2002-06-04 19:44:53 +00:00
kmcclusk@netscape.com
6c47747442 Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc 2002-06-04 17:47:54 +00:00
dbaron@fas.harvard.edu
45501bc5d2 Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst 2002-05-23 23:09:31 +00:00