711 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
b878645544 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@145155 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 17:30:52 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
e07c163859 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145136 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 04:53:13 +00:00
dbaron%dbaron.org
20a7c5ebb1 Remove unused content quality stubs. b=111346 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com
40f122a577 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +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
mkaply%us.ibm.com
d297060662 #212695
r=sicking, sr=bzbarsky
Make scrolling to anchors work the first time in chrome XHTML


git-svn-id: svn://10.0.0.236/trunk@144903 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-16 20:15:46 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +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
7b2fed7678 Random array and already_AddRefed magic in XML content sink. Bug 211196,
r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144421 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 05:34:26 +00:00
jst%netscape.com
12e6402a4b Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me.
git-svn-id: svn://10.0.0.236/trunk@144168 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 23:59:34 +00:00
bzbarsky%mit.edu
63ed4e4cd2 Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@144079 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 01:20:40 +00:00
alecf%flett.org
30f0244a1c fix for bug 209780 - do UTF16->UTF8 conversion outside the recursion, so that we don't constantly convert the string we're looking for
r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144059 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 18:32:10 +00:00
jst%netscape.com
45f72e0474 Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org.
git-svn-id: svn://10.0.0.236/trunk@144012 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:26:28 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
bzbarsky%mit.edu
636fa48493 Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@142936 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:49:22 +00:00
darin%netscape.com
1d9c4bbeb7 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:27:02 +00:00
heikki%netscape.com
7d903cec11 Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@141640 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 00:07:37 +00:00
jst%netscape.com
4fac069d27 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141626 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 21:57:25 +00:00
jst%netscape.com
4132f747e7 Fixing bug 111514. In an XHTML document served as application/xhtml+xml, |document| is not an HTML document object, but an XML document object. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141424 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:28:09 +00:00
heikki%netscape.com
40aa3e1b20 Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@140645 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 18:57:33 +00:00
heikki%netscape.com
32f4994ba0 Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@140600 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 21:44:39 +00:00
axel%pike.org
c9fcbf8464 bug 199484, xml pretty printing regressed, fix the contract ID for XSLT document transformer, r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@140499 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:50:42 +00:00
jst%netscape.com
08e9d026e0 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
sicking%bigfoot.com
64ce860e2a Compiled XSLT stylesheets. Improves speed, implements forwards-compatible-parsing and handling of unknown extension-elements. Also fixes some random edgecasebugs such as recursive merged named-attribute-sets and empty strings in copy-of.
Patch mainly by sicking, but large parts also by Pike and peterv.

Tracker is bug 185797. r=Pike/sicking rs=peterv.


git-svn-id: svn://10.0.0.236/trunk@140310 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 01:10:14 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
heikki%netscape.com
9ab0181236 Bug 139276, implement synchronous document.load(), r=jst, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@139954 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:22:52 +00:00
alecf%netscape.com
59c2bfe187 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
heikki%netscape.com
e1c2bcdb80 Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@139800 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 23:45:42 +00:00
bzbarsky%mit.edu
2fbc7d38bb Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@139743 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 03:47:09 +00:00