Commit Graph

2301 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
7e4a765816 Fix bug 214874. Script should not execute while innerHTML is being set.
r+sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/trunk@145874 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 18:13:16 +00:00
rjesup%wgate.com
f9aca9363b Bug 193011: frame recursion limits re-added/docshell limit removed (backout
of bug 98158 and follow-on patches).  Re-fixes bug 98158 in a different way.
r=darin, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@145757 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 20:32:22 +00:00
rjesup%wgate.com
ef47e08dab Undo mistaken checkin of bug 193011
git-svn-id: svn://10.0.0.236/trunk@145744 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 13:14:06 +00:00
rjesup%wgate.com
a835bad7b5 Bug 193011: frame recursion limits re-added/docshell limit removed (backout
of bug 98158 and follow-on patches).  Also re-fixes bug 98158.
r=darin, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@145743 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 13:06:40 +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
brendan%mozilla.org
95220b5330 Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
axel%pike.org
2da9322e74 bugs 151002, 212892, CDATA should be eTEXT, add nsIContent::ePROCESSING_INSTRUCTION and nsITextContent::AppendTextTo for XSLT perf
git-svn-id: svn://10.0.0.236/trunk@145449 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 11:44:17 +00:00
timeless%mozdev.org
74f314a010 Bug 213461 Want a way to specify single-sided or double-sided printing
patch by Roland.Mainz@informatik.med.uni-giessen.de r=jblanco sr=bryner


git-svn-id: svn://10.0.0.236/trunk@145444 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 01:56:15 +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
2c863a555b Fix selection regression. Bug 214343, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@145363 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 23:49:41 +00:00
bzbarsky%mit.edu
38d67245d3 Fix silly warning
git-svn-id: svn://10.0.0.236/trunk@145318 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 05:24:59 +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
bzbarsky%mit.edu
0147d8d4a6 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +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
caillon%returnzero.com
2d06d867c5 Bug 213341 - Use smart pointer classes for long lived strong references in nsGenericElement and friends.
r=bzbarsky@mit.edu sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@145165 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 20:38:08 +00:00
bzbarsky%mit.edu
710da65e60 This was not supposed to land. Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@145158 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 18:30:50 +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
bzbarsky%mit.edu
9420de5a10 Make the loop actually deal with observers removing themselves. Bug 213611,
patch by riceman+bmo@mail.rit.edu (Tim), r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@145129 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-23 23:09:33 +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
mkaply%us.ibm.com
ea2071d85d rs=leaf
Remove XP_OS2_VACPP from the tree


git-svn-id: svn://10.0.0.236/trunk@145037 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 22:10:08 +00:00
caillon%returnzero.com
be5fa07c99 Comment update. rs=jst@netscape.com. No bug.
git-svn-id: svn://10.0.0.236/trunk@145036 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 21:40:52 +00:00
brade%netscape.com
a6ecc06d75 patch from mjudge to maintainselection; r/sr=dbaron, bug=56401
git-svn-id: svn://10.0.0.236/trunk@145030 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 19:51:34 +00:00
brade%netscape.com
a474c12914 use atom version of parser method to reduce string usage; r/sr=dbaron, bug=213101
git-svn-id: svn://10.0.0.236/trunk@145016 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 13:12:11 +00:00
jaggernaut%netscape.com
f34216bf2d 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@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +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
brade%netscape.com
b54ffdc41d reduce string usage by using atom version of method; r/sr=dbaron, bug=213101
git-svn-id: svn://10.0.0.236/trunk@144966 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 08:34:31 +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
c6ed9701dd Fix up name resolution under forms to not find elements that are just
randomly in the document.  Bug 148782, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144869 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 02:07:55 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu
5a36af3d0a Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.


git-svn-id: svn://10.0.0.236/trunk@144814 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 05:35:09 +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
bzbarsky%mit.edu
c8ff7820a4 Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144753 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:06:26 +00:00
bzbarsky%mit.edu
760dbdd94a Random array stuff in nsScriptLoader; fix a leak. Bug 212271, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144751 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 22:47:17 +00:00
caillon%returnzero.com
42ad896b6d Bug 212218
Start supporting bits and pieces of the additions to |Document| in DOM Level 3 Core.
r=jst@netscape.com sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@144748 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 22:32:25 +00:00
timeless%mozdev.org
01a77946ea Bug 212438 trivial optimization for nsDocument::GetScriptLoader
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@144745 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:53:22 +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
timeless%mozdev.org
a25de168e9 Bug 212438 trivial optimization for nsDocument::GetScriptLoader
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@144734 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:08:12 +00:00
rbs%maths.uq.edu.au
d1abafb525 Stop animated images with Esc key or Stop button, b=70030, r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144726 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:19:34 +00:00
timeless%mozdev.org
421e370456 Bug 212438 trivial optimization for nsDocument::GetScriptLoader
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@144724 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 20:01:51 +00:00
bzbarsky%mit.edu
2a3a253681 Backing out part of patch to test whether this is causing the perf regression.
Bug 212133, a=dbaron to back out of tree if I do it before morning builds and
such.


git-svn-id: svn://10.0.0.236/trunk@144644 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 09:47:13 +00:00
bzbarsky%mit.edu
c6000cf3a8 Make <html:img> nodes correctly work with xml:base on ancestors by deferring
the load till after we know who our parent is.  Bug 212133, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144639 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 06:57:14 +00:00
dbaron%dbaron.org
3ca89119fb Convert jump tables to if-else trees to avoid the performance cost of function pointers. b=210550 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144620 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 03:46:27 +00:00
bzbarsky%mit.edu
aaad3da2bd Make comment change requested by caillon in review that I forgot about
git-svn-id: svn://10.0.0.236/trunk@144555 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 09:23:32 +00:00
bzbarsky%mit.edu
baa52a02e7 DOM properties that return URIs should return absolute URIs when they
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144551 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 05:35:04 +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
caillon%returnzero.com
99def9ca1c Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug.
git-svn-id: svn://10.0.0.236/trunk@144453 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 23:33:36 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
caillon%returnzero.com
a215d7347b Bug 210556 - Plaintext serialization with no formatting whatsoever should be possible.
This makes Node.textContent behave as defined in the DOM Level 3 draft.
r=harishd@netscape.com sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@144413 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 00:34:34 +00:00