53 Commits

Author SHA1 Message Date
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
peterv%propagandism.org
9e04fca5dd Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228918 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 02:48:22 +00:00
peterv%propagandism.org
857e346b36 Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@228906 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 23:21:09 +00:00
peterv%propagandism.org
4161532453 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@228893 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 22:29:54 +00:00
jonas%sicking.cc
66ca4f861c Bug 53901: Make sure to also release controllers when unbinding xul elements from the DOM. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@226753 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 22:22:51 +00:00
jonas%sicking.cc
88ff67c45c Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@226494 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 01:13:48 +00:00
Olli.Pettay%helsinki.fi
5e98380240 Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@226304 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 18:34:12 +00:00
jonas%sicking.cc
4c374fb31b Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@226276 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 20:21:13 +00:00
jst%mozilla.org
cf1e209b82 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request.
git-svn-id: svn://10.0.0.236/trunk@226222 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 00:42:33 +00:00
jonas%sicking.cc
adac3ea8d9 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst
git-svn-id: svn://10.0.0.236/trunk@226220 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 23:33:29 +00:00
jonas%sicking.cc
1f3839c32b back out last patch since leaks went through the roof
git-svn-id: svn://10.0.0.236/trunk@226099 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 01:03:08 +00:00
jonas%sicking.cc
a46388ac06 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987
git-svn-id: svn://10.0.0.236/trunk@226093 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 23:45:26 +00:00
bzbarsky%mit.edu
2f73370c2e Set the status bar before actually handling the DOM event. That way if the
event 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


git-svn-id: svn://10.0.0.236/trunk@224875 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 07:31:21 +00:00
Olli.Pettay%helsinki.fi
49e16cb1d6 Bug 363067, Add nsPIDOMEventTarget and kill nsIChromeEventHandler, r=jst, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@220346 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:04:33 +00:00
graydon%mozilla.com
3998c66e23 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg


git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
vladimir%pobox.com
ece4ca3cad backing out bug 333078, xpcom cycle collector due to perf issues
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959 b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
peterv%propagandism.org
104eb64087 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@215687 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:35:05 +00:00
bzbarsky%mit.edu
846ce8c90a Improve docs. Bug 350252, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@215358 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:57:18 +00:00
cvshook%sicking.cc
89cb09b2c4 Fix orange by properly refcounting
git-svn-id: svn://10.0.0.236/trunk@215142 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 01:43:11 +00:00
cvshook%sicking.cc
45fea30a93 Make nodes supports weak references. b=360291 r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215138 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:36:03 +00:00
cvshook%sicking.cc
bc3166e146 Kill nsAttributeChildList and use nsChildContentList instead. b=360319 r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@215135 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 00:28:20 +00:00
cvshook%sicking.cc
0b9688294e Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 05:45:02 +00:00
cvshook%sicking.cc
78a449be36 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00
cvshook%sicking.cc
7a22e1ec80 Bug 357445: Some cleanup of range code. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213947 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-21 01:30:54 +00:00
peterv%propagandism.org
4095896649 Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@211854 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-16 17:15:38 +00:00
peterv%propagandism.org
b099864adc Fix for bug 347524 (Refactor adoptNode, importNode and cloneNode to share implementation). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@209163 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-05 10:22:54 +00:00
aaronr%us.ibm.com
0f5431bb27 backing out patch, fixing nsINode bustage
git-svn-id: svn://10.0.0.236/trunk@208940 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 19:59:43 +00:00
aaronr%us.ibm.com
61346951d1 change nsIContent so it can be used by extensions. Bug 350747, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@208916 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 17:41:49 +00:00
Olli.Pettay%helsinki.fi
8ee19f40b4 Bug 223393, DOMAttrModified mutation events fired on HTMLHtmlElement while page loads (anonymous content), r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@206477 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 08:57:02 +00:00
cvshook%sicking.cc
d7d12d2659 Bug 346744: Get rid of implementations of nsIContent::AppendChildTo and let it just forward to nsIContent::InsertChildAt. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@206229 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 22:38:07 +00:00
peterv%propagandism.org
9f941437ae Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@206062 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 16:02:11 +00:00
benjamin%smedbergs.us
a6e38fcb19 --enable-tests bustage fix, bug 337365
git-svn-id: svn://10.0.0.236/trunk@205004 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 23:07:16 +00:00
benjamin%smedbergs.us
1f259f8bbf Bug 337365 - nsIDocument/nsINode methods aren't usable from strict-linkage code, r=sicking
git-svn-id: svn://10.0.0.236/trunk@204944 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 17:54:38 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
cvshook%sicking.cc
f327b2f74b Bug 343288: Move IsInDoc() and GetCurrentDoc() to nsINode. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@201779 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-08 00:30:19 +00:00
cvshook%sicking.cc
aba7c6ff77 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
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
peterv%propagandism.org
e8ed6e24c3 Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 13:28:14 +00:00
cvshook%sicking.cc
1ac65a91fa Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196673 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 14:51:52 +00:00
Olli.Pettay%helsinki.fi
e68ad696a2 Bug 336381, Crash [@ nsRange::InsertNode] involving ranges in detached nodes, r=sicking,glazman,sr=bz
git-svn-id: svn://10.0.0.236/trunk@196563 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 19:35:12 +00:00
cvshook%sicking.cc
d8a10c5234 And the fixes keep on comming
git-svn-id: svn://10.0.0.236/trunk@196509 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 09:46:44 +00:00
cvshook%sicking.cc
f5ef7fbf53 Fix windows bustage this time
git-svn-id: svn://10.0.0.236/trunk@196508 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 09:18:35 +00:00
cvshook%sicking.cc
98f1d1c517 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz
git-svn-id: svn://10.0.0.236/trunk@196502 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 07:03:15 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
cvshook%sicking.cc
5d88584166 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
git-svn-id: svn://10.0.0.236/trunk@194451 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 05:09:16 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
bzbarsky%mit.edu
0198563072 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.


git-svn-id: svn://10.0.0.236/trunk@188792 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 23:40:37 +00:00
bzbarsky%mit.edu
1510aacc39 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


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00