689 Commits

Author SHA1 Message Date
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
tor%cs.brown.edu
bcbc310507 Bug 235826 - <svg:script> implementation.
Patch by alex@croczilla.com, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@158808 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 22:52:03 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
8c8ded1801 Bug 245627. Minor deCOMtamination of HTML element constructor functions. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157453 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-06 02:38:32 +00:00
roc+%cs.cmu.edu
b09df31b9e Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157279 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 00:25:00 +00:00
bzbarsky%mit.edu
0e5e054f13 Fixing Windows bustage. Forgot to change declaration here...
git-svn-id: svn://10.0.0.236/trunk@157042 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 23:15:48 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
timeless%mozdev.org
e8b419861c Bug 140324 NS_ENSURE_TRUE(NS_SUCCEEDED(),) used needlessy in some places
patch by Morten@Nilsen.com r=hwaara sr=alecf


git-svn-id: svn://10.0.0.236/trunk@156908 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-25 06:09:43 +00:00
bryner%brianryner.com
48fe696e32 Bug 244475, avoid some shared buffer overhead and an extra allocation/copy when looking up attribute name atoms. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@156837 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 06:10:52 +00:00
bzbarsky%mit.edu
16d46a5fcf Don't reset the notification timer on every parse start/stop. This speeds up
flurries of little document.write calls a good bit.  Bug 242899, r=peterv,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@156333 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 01:39:29 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
dbaron%dbaron.org
c3fed60645 Call AddBaseTagInfo for LINK, META, SCRIPT, and STYLE elements, and also call SetContentID for META elements. b=241128 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@155256 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-20 23:41:56 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +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
hpradhan%hotpop.com
a4965da921 remove unused variable, fix warning (follow up to checkin for bug 229575)
git-svn-id: svn://10.0.0.236/trunk@152141 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 12:17:19 +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
peterv%propagandism.org
ec0b3d579c Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151491 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:22:22 +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
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
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
timeless%mozdev.org
b7e5034597 Bug 224901 oom crash in MakeContentObject for form controls
r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@148932 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-06 23:10:45 +00:00
bryner%brianryner.com
2097395338 Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148857 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 05:17:07 +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
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
377f61655d Treat BeginUpdate/EndUpdate pairs as a batch, instead of flushing tags on any
BeginUpdate call.  Bug 222864, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@148206 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 16:23:27 +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
b17a745241 backing out part of bug 218837. hoping to fix Tp regression
git-svn-id: svn://10.0.0.236/trunk@147580 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-05 09:21:41 +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
hpradhan%hotpop.com
3dd9b150e5 Bug 170985 : fix for gcc3.4 bustage
git-svn-id: svn://10.0.0.236/trunk@147226 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com
2386bca751 Bug 170985 : table-based content object creation r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@147220 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 06:16:52 +00:00
timeless%mozdev.org
da927140fb Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@146729 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 03:18:49 +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
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
bzbarsky%mit.edu
8f8f987c9c Don't override earlier attrs on <body> with later ones from a separate <body>
tag (we merge all the attrs onto the single <body> node; oh, the insanity!)
Bug 214577, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@145423 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 14:07:17 +00:00