740 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
12ed685455 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
bryner%brianryner.com
2dce372072 DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151662 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 23:05:10 +00:00
bryner%brianryner.com
70bf134ff4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
dbaron%dbaron.org
9ccbe84b74 Process queued-up events after all types of reflow so we don't leak things referenced by the queues. b=231278 r=bzbarsky sr=roc
git-svn-id: svn://10.0.0.236/trunk@151618 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 04:15:00 +00:00
cbiesinger%web.de
e0a847a2af Bug 176637 Custom link colors not rendered correctly
patch by durbacher@gmx.de (Andreas Kunz) r=dbaron sr=bz


git-svn-id: svn://10.0.0.236/trunk@151499 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:44:43 +00:00
bzbarsky%mit.edu
186039170e Make <noscript> inline when displayed. Bug 230616, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151405 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 03:05:00 +00:00
dbaron%dbaron.org
36435245d2 Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@151356 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 03:32:06 +00:00
bryner%brianryner.com
3d8a7179f8 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
dbaron%dbaron.org
e77344ace5 Ignore incremental reflows targeted inside a reflow root if the reflow root's parent has not yet been reflowed. (This could probably be made more general, but it's enough to fix the bug in question.) b=228156 r=roc sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@151145 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 19:12:23 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
be2188b6ed fixing debug bustage
git-svn-id: svn://10.0.0.236/trunk@151044 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 21:10:33 +00:00
bryner%brianryner.com
9dfcd977cb Additional cleanup related to bug 64116. r=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151039 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 19:23:12 +00:00
dbaron%dbaron.org
d7bf492488 Back out some incorrrect changes I just made. b=230270, 230339 r=bryner
git-svn-id: svn://10.0.0.236/trunk@151000 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:38:09 +00:00
bryner%brianryner.com
468d3e2e8d Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
dbaron%dbaron.org
72c2779269 Fix leaks of mCurrentEventContent. A few other little pieces of cleanup. b=230270 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@150996 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:18:37 +00:00
alecf%flett.org
adc79659c3 fix for bug 209679 - remove reflow observer junk - r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@150986 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 17:47:25 +00:00
bryner%brianryner.com
4cca78120d deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
neil%parkwaycc.co.uk
a9ec7c18c0 Bug 225885 nsPresShell::DoCopy does not work for embedding p=marco@gnome.org r=bz sr=bryner a=dbaron
git-svn-id: svn://10.0.0.236/trunk@149766 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-26 10:23:03 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
bzbarsky%mit.edu
d43d8c0e1e Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.


git-svn-id: svn://10.0.0.236/trunk@147979 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:56:12 +00:00
dbaron%dbaron.org
6b49a6d2a7 Remove reflow callbacks from the list as they are processed, to avoid crashes when reentering HandlePostedReflowCallbacks. b=220126 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=roc
git-svn-id: svn://10.0.0.236/trunk@147975 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 23:29:07 +00:00
dbaron%dbaron.org
33601224e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
bzbarsky%mit.edu
ff3a7b042c Make sure to notify document observers even about content that gets added to
the document before StartLayout().  Block those notifications from getting
passed on to the frame constructor before StartLayout(), though.  Bug 220930,
r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147865 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 00:27:45 +00:00
bzbarsky%mit.edu
7a4ee2fe57 Don't scroll anchors entirely out of view when we click on them. Bug 195905,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147825 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 02:35:05 +00:00
bzbarsky%mit.edu
4651d2cebb Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147623 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:24:55 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
bzbarsky%mit.edu
62c2420626 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
bzbarsky%mit.edu
c2dacdb070 Make userContent.css come after the prefs sheet in the user sheet list (so that
rules in userContent.css can override prefs).  Bug 215668, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147251 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 19:03:06 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
mkaply%us.ibm.com
b297a2d443 #210269
r=dbaron, sr=dbaron
Checkin for roc - bandaid fix for nsXULElement pageload crash


git-svn-id: svn://10.0.0.236/trunk@146863 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-14 12:07:11 +00:00
bryner%brianryner.com
dbbc84bf94 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146620 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:37:27 +00:00
bryner%brianryner.com
6a203e8e1a Stopping event propagation in the default event group should not stop it for the system event group. Bug 216237, r=caillon, sr=jst, a=mkaply.
git-svn-id: svn://10.0.0.236/trunk@146068 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-15 21:35:13 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
aaronl%netscape.com
8f262b7480 Bug 192729. Tabs that are still loading or have error block all keyboard shortcuts. r=bryner, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@145141 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 08:48:59 +00:00
caillon%returnzero.com
e69f301e32 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@144937 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 01:26:47 +00:00
bzbarsky%mit.edu
b6055f181e Remove redundant #include.
git-svn-id: svn://10.0.0.236/trunk@144775 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 18:10:51 +00:00
dbaron%dbaron.org
b333621bbb Add inline accessors for frame manager. b=208190 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@144764 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 00:48:16 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
4f63a75a74 Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
bzbarsky%mit.edu
1c3e765c18 Don't bother reresolving style when empty stylesheets get added (eg from empty
<style> elements).  Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected.  Bug
196557, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144457 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 01:44:24 +00:00
roc+%cs.cmu.edu
0b21d50264 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144258 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 10:46:59 +00:00
jkeiser%netscape.com
64ac997a95 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@144183 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 06:10:03 +00:00
rbs%maths.uq.edu.au
a6c97c6fb0 Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144128 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 01:14:25 +00:00
jst%netscape.com
b1880963d6 Fixing part of bug 209699. Eliminate bad usage of NS_ConvertU*. r=caillon@aillon.org, sr=alecf@flett.org
git-svn-id: svn://10.0.0.236/trunk@144080 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:46:50 +00:00
dbaron%dbaron.org
e9d2634474 Fixing DEBUG-only bustage.
git-svn-id: svn://10.0.0.236/trunk@143965 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:05:04 +00:00