bzbarsky%mit.edu
ee0a2e7a8a
Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
...
up to nsDocument so they're available in XHTML documents. Bug 69840, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153443 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 22:39:46 +00:00
bzbarsky%mit.edu
5c30c714f5
Reset ourselves to the new URI when doing a Load(), instead of resetting to
...
null. Bug 233952, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@152984 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 23:10:47 +00:00
peterv%propagandism.org
3e7ac82893
Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@152589 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 10:58:13 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
dbaron%dbaron.org
8eddaadb96
Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@151970 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:04:33 +00:00
hpradhan%hotpop.com
6f4724db9f
bug 229575 : refactor some code that was common between
...
the xml and html content sinks into nsContentSink
r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@151948 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 12:14:17 +00:00
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
bzbarsky%mit.edu
487c2df707
Move the methods for handling inline style and attribute style sheets up to
...
nsDocument. Bug 230947, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@151678 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 03:35:09 +00:00
peterv%propagandism.org
2b68893784
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup) - share CreateElement. r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151496 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 11:59:21 +00:00
sicking%bigfoot.com
737987f531
Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@151370 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 17:07:27 +00:00
caillon%returnzero.com
c09fc6308f
Correcting the usage of mozAutoDocUpdate here, see bug 230283.
...
r+sr=bzbarsky over irc.
git-svn-id: svn://10.0.0.236/trunk@151354 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 03:18:03 +00:00
bzbarsky%mit.edu
86fee95b4d
Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
...
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +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
bzbarsky%mit.edu
320dad5ff7
Don't leave garbage on the namespace stack in failure cases. Bug 230360,
...
r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@151147 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 21:43:32 +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
jst%mozilla.jstenback.com
42c3abfcc6
Fixing bug 230283. Don't notify the document about insertion of the document element when there is no document element. r=jonas@sicking.cc, sr+a=dbaron@dbaron.org.
...
git-svn-id: svn://10.0.0.236/trunk@151111 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 22:56:08 +00:00
bzbarsky%mit.edu
a3d5d62b6a
Make sure to not leave bogus namespaces on the stack. Bug 230236, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@151017 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 04:25:43 +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
hpradhan%hotpop.com
b1f5788e3e
backing out last two checkins since they had no effect on Tp
...
git-svn-id: svn://10.0.0.236/trunk@150709 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 13:43:25 +00:00
hpradhan%hotpop.com
ec6e4a4dc7
bug 229163 : One more attempt to try and fix perf regression r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@150706 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 11:03:19 +00:00
hpradhan%hotpop.com
5139c3655c
bug 229163 : Going back to using an nsISupportsArray
...
to try and fix perf regression r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@150705 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 07:45:06 +00:00
sicking%bigfoot.com
dfa50bfa17
Bug 228124: Deal with documents without root-element in xml prettyprinter.
...
Patch by jst. r=me sr=bz
git-svn-id: svn://10.0.0.236/trunk@150363 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-16 19:33:09 +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
bryner%brianryner.com
98fb7d2529
deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@149340 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 05:27:37 +00:00
peter%propagandism.org
fc767fddf7
Additional fix for bug 224313 ().
...
git-svn-id: svn://10.0.0.236/trunk@148765 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 09:18:29 +00:00
caillon%returnzero.com
e64c44f945
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148524 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:01:25 +00:00
bzbarsky%mit.edu
3f905fea8e
Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
...
attributes to HandleStartElement. Update callees as needed. Bug 223470,
r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@148510 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:17:50 +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
caillon%returnzero.com
c1914505cb
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
e081726408
Fix handling of id attrs to not assume that they are named "id" as much. Bug
...
208744, r=caillon, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@148205 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 16:16:42 +00:00
bzbarsky%mit.edu
cc56e6d3a9
Make XML prettyprinting work again. Bug 222539, r=sicking, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@148168 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-20 19:33:46 +00:00
sicking%bigfoot.com
832241db81
Bug 199613: Don't put textnodes in the root of the document when parsing XML and XUL since the DOM doesn't allow that.
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@147995 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 20:10:47 +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
hpradhan%hotpop.com
1c581a3fca
still bug 218837 : backing out all the backouts. they did not work.
...
git-svn-id: svn://10.0.0.236/trunk@147582 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 11:28:06 +00:00
hpradhan%hotpop.com
155cccf24e
One final attempt to fix Tp regression from bug 218837
...
git-svn-id: svn://10.0.0.236/trunk@147581 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 10:20:56 +00:00
hpradhan%hotpop.com
3197ccf7ad
bug 218837 : Refactor some code duplicated in the xml and html
...
content sinks into a base class r=sicking sr=peterv
git-svn-id: svn://10.0.0.236/trunk@147577 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 07:29:50 +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
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bsmedberg%covad.net
1b71e7ac3e
Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
978d05c917
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@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
caillon%returnzero.com
d55b44719f
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
pete%alphanumerica.com
5e69c0e503
backing out changes. It is breaking Camino
...
b=216646
--pete
git-svn-id: svn://10.0.0.236/trunk@146192 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-19 13:52:41 +00:00
pete%alphanumerica.com
358c3f5479
b=206947 r=heikki sr=jst
...
Fixing "rampant leaks" when handing the sink to the parser when there
is no docshell present.
--pete
git-svn-id: svn://10.0.0.236/trunk@146169 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-18 19:02:58 +00:00
roc+%cs.cmu.edu
c0bc42c584
Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@145645 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-06 03:07:12 +00:00
peter%propagandism.org
aa255f063e
Fix for bug 215117 (SetRootContent handling in nsXMLContentSink is rotten). r=Pike, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@145621 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 19:34:04 +00:00
bzbarsky%mit.edu
91bfd993dc
Fix issues with ScriptAvailable() not firing for some scripts. Bug 214081, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145410 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 01:28:16 +00:00
bzbarsky%mit.edu
42ed44cffb
Last checkin accidentally reversed the sense of the aContent test; fixing that.
...
git-svn-id: svn://10.0.0.236/trunk@145324 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 07:37:48 +00:00
jst%netscape.com
3cf3d8cf4b
Fixing bug 209717. Making document.load() use the caller's URI as the base URI. r=caillon@aillon.org, sr=hjtoi-bugzilla@comcast.net
...
git-svn-id: svn://10.0.0.236/trunk@145300 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 23:12:46 +00:00
bzbarsky%mit.edu
67e7a64c5d
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
...
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145285 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:17:26 +00:00