Commit Graph

196 Commits

Author SHA1 Message Date
Olli Pettay
4ade0eee29 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00
Olli Pettay
1af385d3f5 backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay
115a0d7046 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 9c6f8f9d3cd1283adb7b69b93440f7da01924326
2009-05-07 09:31:04 +03:00
Blake Kaplan
737c9a5565 Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Boris Zbarsky
46a80c50b9 Bug 485808. Create an iterator class to do forward iteration over the result of GetChildArray(). r+sr=sicking 2009-04-09 21:36:41 -04:00
Arpad Borsos
d10c4f864e Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Boris Zbarsky
e7ae39c62f Bug 476245. Keep better track of our anonymous content. r=smaug, sr=jst 2009-02-24 13:39:09 -05:00
L. David Baron
0b5ff3a7ec Backed out changeset a328b5ae57e0 (bug 476245) for causing failures of test_videocontrols.html across platforms (although Linux hasn't cycled yet). 2009-02-24 13:38:35 -08:00
Boris Zbarsky
ee445ae3d1 Bug 476245. Keep better track of our anonymous content. r=smaug, sr=dbaron 2009-02-24 13:39:09 -05:00
Chris Pearce
318f45146f Bug 462455. Initiate media load when appending <source> child elements to media elements. r=doublec,sr=roc
--HG--
extra : rebase_source : b9bca050ef528705c08988d3677bf9bd8c865f33
2009-02-16 14:05:28 +13:00
Boris Zbarsky
f79bc67cfb Bug 307394 part 1. Create a non-COM way to get at XBL child nodes, and put an IndexOf() method on nsINodeList. r+sr=peterv 2009-01-29 14:46:18 -05:00
Peter Van der Beken
89b349d0a4 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Boris Zbarsky
1f538c7f7e Bug 454821. Better signature for GetChildArray. r+sr=sicking 2008-12-03 09:02:03 -05:00
Peter Van der Beken
387b6cf76b Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-13 17:54:52 +01:00
Peter Van der Beken
2ddc154612 Backed out changeset ba895ab8cbe7 to fix orange 2008-11-03 16:28:50 +01:00
Peter Van der Beken
c4fd862a7c Fix for bug 457022 (Cache DOM wrappers in the DOM object). r/sr=jst. 2008-11-03 14:49:53 +01:00
Peter Van der Beken
d30dca0b1b Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Boris Zbarsky
215e95380a Bug 454317. Improve GetClasses to not do virtual calls when not needed. r=smaug, sr=jst 2008-09-10 23:22:20 -04:00
Boris Zbarsky
e73857359a Add a faster method for iterating the nsIContent children of an
nsINode if we know that there will be no DOM mutations of any sort
during the iteration.  Bug 429744, r+sr=jst
2008-07-11 16:42:19 -04:00
jonas@sicking.cc
b3d7a96435 Bug 423355: Never fire mutation events on native-anon content. Also includes fix for nsIContent::IsInNativeAnonymousSubtree. Patch by Smaug. r/sr=sicking a=beltzner 2008-04-11 15:44:48 -07:00
masayuki@d-toybox.com
95b63444af Bug 348341 "Reverse conversion" doesn't work by Kotoeri(Japanese input). r=josh+peterv+roc, sr=roc, b1.9=pavlov 2008-02-19 23:40:04 -08:00
dbaron@dbaron.org
e3536c41e1 Fix handling of dynamic changes for advanced CSS selectors (and avoid the cost of doing so in the normal case). b=401291, 75386, 98997, 229915, 404418 (blocking1.9+) r+sr=bzbarsky a=blocking1.9+ on 404418 2008-02-18 22:17:07 -08:00
dwitte@stanford.edu
e902190fce Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
roc+@cs.cmu.edu
ab982faa16 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
roc+@cs.cmu.edu
96da482e7e backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
56ec842b98 Fixing bustage 2008-01-08 14:49:13 -08:00
roc+@cs.cmu.edu
c816d4ca4f Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
neil@parkwaycc.co.uk
b22e83627e Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
tor@cs.brown.edu
aa46adf459 Bug 390379 - Implement feImage. p=tor,longsonr r=longsonr, sr=roc a=dsicore 2008-01-02 12:49:13 -08:00
dwitte@stanford.edu
d3a1fc3baa relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu
8dcce35b39 back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu
9a3a4249f4 reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu
1d9282cd47 backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu
8345ef1233 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
Olli.Pettay@helsinki.fi
6f11b29032 Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
bzbarsky@mit.edu
14eec126c1 Fix bug 400794 and bug 401569: don't try to uninstall fields that are not installed. r+sr=sicking. Patch in bug 400794. 2007-11-15 09:09:14 -08:00
bzbarsky@mit.edu
607af1ac22 Don't install fields during binding teardown. Bug 400705, r+sr=sicking, a=beltzner 2007-10-24 15:13:00 -07:00
Olli.Pettay@helsinki.fi
54cd05e15d Bug 378866, r=peterv,sicking, sr=sicking, a=blocking1.9+ 2007-10-12 04:07:29 -07:00
Olli.Pettay@helsinki.fi
895473feb6 Bug 394442, Optimize ID, class and style getters, r=bz+sicking, sr=sicking, a=jst 2007-09-18 01:38:24 -07:00
Olli.Pettay@helsinki.fi
e15b4acba1 Backout bug 394442 2007-09-01 09:14:53 -07:00
Olli.Pettay@helsinki.fi
aac961cb34 Test land bug 394442, will back out after tp/tp2/tdhtml results 2007-09-01 08:23:29 -07:00
peterv@propagandism.org
f7ff5666a6 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
jwalden@mit.edu
a60dd8c5cc Bug 387503 - Convert nsINode bits to an anonymous enum, and make a macro into an inline function for better debugging. rs=sicking 2007-07-10 15:49:42 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
peterv@propagandism.org
6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
jonas@sicking.cc
77e416f2bb Bug 53901: Make sure to also release controllers when unbinding xul elements from the DOM. r/sr=bz 2007-05-21 15:22:51 -07:00
jonas@sicking.cc
495c95a7a4 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
Olli.Pettay@helsinki.fi
ba885ad99c Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 11:34:12 -07:00
jonas@sicking.cc
233450d9b8 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org
eedb90c553 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
de64d03178 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
jonas@sicking.cc
594d259432 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
c2c495c2ef Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
bzbarsky@mit.edu
bcfbc64387 Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -07:00
Olli.Pettay%helsinki.fi
805e0ff0f8 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking 2007-02-15 23:04:33 +00:00
graydon%mozilla.com
4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
vladimir%pobox.com
82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
peterv%propagandism.org
e9fd67c3b6 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz. 2006-11-22 18:35:05 +00:00
bzbarsky%mit.edu
4922791b84 Improve docs. Bug 350252, r+sr=sicking 2006-11-16 17:57:18 +00:00
cvshook%sicking.cc
150f388d26 Fix orange by properly refcounting 2006-11-11 01:43:11 +00:00
cvshook%sicking.cc
31fa1eb020 Make nodes supports weak references. b=360291 r/sr=jst 2006-11-11 00:36:03 +00:00
cvshook%sicking.cc
41a1fdfa82 Kill nsAttributeChildList and use nsChildContentList instead. b=360319 r/sr=jst 2006-11-11 00:28:20 +00:00
cvshook%sicking.cc
17ded5692c Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz 2006-11-04 05:45:02 +00:00
cvshook%sicking.cc
f5194fd473 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst 2006-11-03 21:51:01 +00:00
cvshook%sicking.cc
5a6d9399ce Bug 357445: Some cleanup of range code. r/sr=jst 2006-10-21 01:30:54 +00:00
peterv%propagandism.org
88c9a50cca Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz. 2006-09-16 17:15:38 +00:00
peterv%propagandism.org
64ec124ee5 Fix for bug 347524 (Refactor adoptNode, importNode and cloneNode to share implementation). r/sr=bz. 2006-09-05 10:22:54 +00:00
aaronr%us.ibm.com
3015dd23c4 backing out patch, fixing nsINode bustage 2006-08-31 19:59:43 +00:00
aaronr%us.ibm.com
0fbe96df3f change nsIContent so it can be used by extensions. Bug 350747, r+sr=bzbarsky 2006-08-31 17:41:49 +00:00
Olli.Pettay%helsinki.fi
b227593695 Bug 223393, DOMAttrModified mutation events fired on HTMLHtmlElement while page loads (anonymous content), r+sr=sicking 2006-08-03 08:57:02 +00:00
cvshook%sicking.cc
2736630041 Bug 346744: Get rid of implementations of nsIContent::AppendChildTo and let it just forward to nsIContent::InsertChildAt. r/sr=bz 2006-07-31 22:38:07 +00:00
peterv%propagandism.org
95072c9b1c Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz 2006-07-29 16:02:11 +00:00
benjamin%smedbergs.us
b9d33f7c6d --enable-tests bustage fix, bug 337365 2006-07-27 23:07:16 +00:00
benjamin%smedbergs.us
c5818996b1 Bug 337365 - nsIDocument/nsINode methods aren't usable from strict-linkage code, r=sicking 2006-07-27 17:54:38 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
cvshook%sicking.cc
afe85d0237 Bug 343288: Move IsInDoc() and GetCurrentDoc() to nsINode. r/sr=jst 2006-07-08 00:30:19 +00:00
cvshook%sicking.cc
2c39937d84 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz 2006-07-02 07:23:10 +00:00
mhammond%skippinet.com.au
0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
peterv%propagandism.org
54c2159acf Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking. 2006-06-02 13:28:14 +00:00
cvshook%sicking.cc
2241eae8cb Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 14:51:52 +00:00
Olli.Pettay%helsinki.fi
b9c2cdd0a8 Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz 2006-05-15 19:35:12 +00:00
cvshook%sicking.cc
93d0df9663 And the fixes keep on comming 2006-05-15 09:46:44 +00:00
cvshook%sicking.cc
d095c5e744 Fix windows bustage this time 2006-05-15 09:18:35 +00:00
cvshook%sicking.cc
073093c129 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz 2006-05-15 07:03:15 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
0c3706888c Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
cvshook%sicking.cc
ba2eb2ca0f Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz 2006-04-15 05:09:16 +00:00
Olli.Pettay%helsinki.fi
f79ea0115b Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
8439d69eb0 Try to fix bustage yet again. Bug 324600. See revision 3.75 of
view/public/nsIView.h for why this sort of thing is needed.
2006-02-02 23:40:37 +00:00
bzbarsky%mit.edu
263cf7dc11 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst
2006-02-02 20:02:34 +00:00
cvshook%sicking.cc
27fd7c5cd1 Fix build bustage when MOZILLA_INTERNAL_API isn't defined 2006-01-25 22:00:38 +00:00
cvshook%sicking.cc
302bfb5920 Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
r/sr=bz
2006-01-25 20:49:56 +00:00
bzbarsky%mit.edu
b64fcb4a39 Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst
2006-01-19 03:34:18 +00:00