katakai%japan.sun.com
93fd9af3b9
bug 167866
...
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@134389 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 04:58:40 +00:00
dbaron%fas.harvard.edu
307f43b5a1
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
...
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bryner%netscape.com
e42bf44e7d
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.
...
git-svn-id: svn://10.0.0.236/trunk@133871 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 00:59:28 +00:00
bzbarsky%mit.edu
e98396416a
Fix ScrollFrameIntoView if we have nested views with the child bigger
...
than the parent. Bug 143815, r=roc+moz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@133622 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 04:38:28 +00:00
bryner%netscape.com
b345c67a0c
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.
...
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
sicking%bigfoot.com
92a857088d
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
git-svn-id: svn://10.0.0.236/trunk@132360 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 06:07:52 +00:00
roc+%cs.cmu.edu
fe441abc3a
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
...
git-svn-id: svn://10.0.0.236/trunk@130340 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 11:43:48 +00:00
hyatt%netscape.com
231ada71e5
Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
...
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
dougt%netscape.com
b087ce39fc
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.
...
git-svn-id: svn://10.0.0.236/trunk@130183 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 22:32:32 +00:00
mjudge%netscape.com
d412f97810
14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
...
git-svn-id: svn://10.0.0.236/trunk@129222 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:03:49 +00:00
katakai%japan.sun.com
6ed3afd341
bug 52416
...
Editor does not accept NS_TEXT_EVENT while losing input focus
r=akkana,sr=bzbarsky
(patch within #ifdef MOZ_X11)
git-svn-id: svn://10.0.0.236/trunk@129198 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:02:29 +00:00
kin%netscape.com
cfcea30e08
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
git-svn-id: svn://10.0.0.236/trunk@129142 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 04:36:00 +00:00
mjudge%netscape.com
6ee845dd99
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.
...
git-svn-id: svn://10.0.0.236/trunk@129122 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 00:10:09 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
jkeiser%netscape.com
d73bc69f1a
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
...
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
dougt%netscape.com
1ebc6538fb
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
...
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
mjudge%netscape.com
2f5c006a1d
4302 r=jfrancis sr=kin. pageup/down bug with navigation.
...
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu
c6bb83f66a
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
...
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
12c9b29b2b
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
...
git-svn-id: svn://10.0.0.236/trunk@127627 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:31:59 +00:00
dbaron%fas.harvard.edu
47bcd9d189
Mark freed memory in stack arena with 0xdd. b=161283 sr=bzbarsky r=kin
...
git-svn-id: svn://10.0.0.236/trunk@127256 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:49:24 +00:00
mkaply%us.ibm.com
7c3c72e2c2
Better fix for OS/2 bustage earlier
...
git-svn-id: svn://10.0.0.236/trunk@126601 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 04:06:57 +00:00
mkaply%us.ibm.com
60edb199c5
OS/2 bustage
...
git-svn-id: svn://10.0.0.236/trunk@126523 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 15:22:34 +00:00
dbaron%fas.harvard.edu
a0a7a5816a
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
...
git-svn-id: svn://10.0.0.236/trunk@126517 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:57:16 +00:00
dbaron%fas.harvard.edu
07544907b6
Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@126515 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:51:07 +00:00
aaronl%netscape.com
c15c36a673
Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@126181 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 21:36:02 +00:00
peterlubczynski%netscape.com
725cbaf73e
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
...
git-svn-id: svn://10.0.0.236/trunk@125845 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:48:24 +00:00
rginda%netscape.com
cd7bad237a
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.
git-svn-id: svn://10.0.0.236/trunk@125842 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:29:07 +00:00
bzbarsky%mit.edu
1365591a1e
Make sure that painting is properly unsuppressed in XML docs. Bugs
...
156985, 81546, 157487, r=dbaron, sr=rbs, a=scc
git-svn-id: svn://10.0.0.236/trunk@125425 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 01:49:47 +00:00
dbaron%fas.harvard.edu
b1b9817c5d
Set up preference style rules before any frame creation happens. b=148414 r=bryner sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124020 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:21:48 +00:00
dbaron%fas.harvard.edu
7c4652cc16
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
...
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
bryner%netscape.com
403f29b5fd
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.
...
git-svn-id: svn://10.0.0.236/trunk@123915 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-24 04:16:49 +00:00
jst%netscape.com
e7622066bd
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
...
git-svn-id: svn://10.0.0.236/trunk@123710 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 20:14:59 +00:00
kin%netscape.com
fa152a3def
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
git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
cbiesinger%web.de
6f7dc93da9
bug 115473 r=pavlov sr=brendan
...
Remove timer priorities
git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
bryner%netscape.com
5f37ed3fea
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.
...
git-svn-id: svn://10.0.0.236/trunk@122849 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-07 00:53:44 +00:00
cbiesinger%web.de
9c8877de47
bug 148787 patch by hixie r=dbaron sr=roc+moz
...
Clicked links don't go red (prefs style sheet is overriding UA style sheet)
git-svn-id: svn://10.0.0.236/trunk@122690 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 19:44:53 +00:00
kmcclusk%netscape.com
eb567220f1
Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@122677 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 17:47:54 +00:00
dbaron%fas.harvard.edu
36706675ec
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
...
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
jst%netscape.com
7b7411c3ef
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
waterson%netscape.com
5bae3657e6
Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
dbaron%fas.harvard.edu
a681655481
Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@120372 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:36:50 +00:00
kmcclusk%netscape.com
7e5ea4f126
Abort paint if destroying the PresShell and check for null PresShell in nsImageLoader. bug 102585. r=waterson sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@119998 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:44:38 +00:00
jaggernaut%netscape.com
fe68e4711d
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
...
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00
joki%netscape.com
568563a1cc
Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
...
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
jst%netscape.com
67ee650f45
Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
mjudge%netscape.com
537bde0fdf
bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest
...
git-svn-id: svn://10.0.0.236/trunk@119173 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:02:11 +00:00
waterson%netscape.com
2f4bf0ccb6
Bug 137378. Stop ancestor frame notification at a frame that is an NS_FRAME_REFLOW_ROOT. r=karnaze, sr=kin.
...
git-svn-id: svn://10.0.0.236/trunk@119147 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 21:19:32 +00:00
mjudge%netscape.com
971c0c3c10
82151 r=jfrancis sr = kin
...
git-svn-id: svn://10.0.0.236/trunk@119055 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:42:09 +00:00