109 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
a9ca3bc287 Bug 403830, arena for content, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@241344 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-15 09:45:37 +00:00
jst%mozilla.org
2bc9672fe5 Fixing bug 407812. Don't waste time calling QI in nsNodeSH::PreCreate() and nsElementSH::PostCreate(). r+sr=jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@240768 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 01:19:19 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
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
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
peterv%propagandism.org
2aeab841e4 Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@226333 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-12 15:36:28 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
peterv%propagandism.org
4d197ac7f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
peterv%propagandism.org
160ab8ca70 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@220513 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 14:38:04 +00:00
Olli.Pettay%helsinki.fi
bb60e199b6 Trying to fix bustage, Bug 363067
git-svn-id: svn://10.0.0.236/trunk@220350 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 23:50:09 +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
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
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
Olli.Pettay%helsinki.fi
b96d4be2a4 Bug 349069, Move more things from ~nsINode to nsNodeUtils::LastRelease, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@209063 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-02 13:21:05 +00:00
Olli.Pettay%helsinki.fi
38fcfdc792 back out 349069 to see if it caused xserve02 orange
git-svn-id: svn://10.0.0.236/trunk@208397 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 10:00:11 +00:00
Olli.Pettay%helsinki.fi
fae460b8a9 Bug 349069, Move more things from ~nsINode to nsNodeUtils::LastRelease, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@208181 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-23 10:00:11 +00:00
Olli.Pettay%helsinki.fi
9639b01bdf Bug 286619, registered event listeners are lost (not firing) after moving XUL elements using DOM appendChild/removeChild methods, r=sicking, sr=bz
git-svn-id: svn://10.0.0.236/trunk@207572 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 08:44:45 +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
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
jwalden%mit.edu
ecd50f8863 Bug 159167 - Implement DOM3 isEqualNode(). Patch by Alex Vincent <ajvincent@gmail.com>, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@199735 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 18:54:48 +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
peterv%propagandism.org
aed25e8f11 Fix for bug 339412 (nsIDOMGCParticipant implementation in nsDOMAttribute looks wrong). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@198867 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 12:33:17 +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
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
peterv%propagandism.org
78cadf3883 Better fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@194509 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 17:13:11 +00:00
peterv%propagandism.org
7f98af870e Fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@193739 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 20:54:53 +00:00
bzbarsky%mit.edu
18ecced212 More comment tweaks; should be it for this directory.
git-svn-id: svn://10.0.0.236/trunk@193314 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:41:49 +00:00
bzbarsky%mit.edu
79c2bd2cd6 Add some comments explaining what these files do. rs=jst
git-svn-id: svn://10.0.0.236/trunk@193256 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 08:03:04 +00:00
jag%tty.nl
98512393ca nsresult -> NS_IMETHODIMP on some of the nsIDOMAttr methods. r=sicking
git-svn-id: svn://10.0.0.236/trunk@192609 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-19 10:26:58 +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
4cf750b065 Fix compareDocumentPosition for attr nodes to work right when the other node is
also an attr.  Bug 326939, patch by Alex Vincent <ajvincent@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@189865 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 20:44:39 +00:00
bzbarsky%mit.edu
5dabd41ee6 Add nsIDOM3Attr; implement isId on Attr nodes. Bug 288513 starter, patch by
Alex Vincent <ajvincent@gmail.com>, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@188320 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 04:10:30 +00:00
cvshook%sicking.cc
8d4b46ee48 Bug 324723: Make nsPropertyTable resistent against using the wrong base pointer by enforcing type safety. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@188286 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 23:40:49 +00:00
cvshook%sicking.cc
9618fbb2fc Bug 324572: Forgot to remove some property implementations that are now unneeded. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@188192 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 23:29:56 +00:00
cvshook%sicking.cc
f6f272638d Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@188178 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 21:36:46 +00:00
cvshook%sicking.cc
5fe171311b Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@188174 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 20:49:56 +00:00
cvshook%sicking.cc
4d0919d856 Bug 296207: Optimize nsDOMAttributeMap::SetNamedItemInternal.
r=allan sr=peterv


git-svn-id: svn://10.0.0.236/trunk@186694 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 03:01:58 +00:00
dbaron%dbaron.org
6efef3c0ad Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@185636 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 07:42:40 +00:00
Olli.Pettay%helsinki.fi
7f966db435 Bug 315762, nsDOMAttribute::LookupPrefix and ::LookupNamespaceURI should return null if there is no parent element, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184774 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 19:04:54 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
peterv%propagandism.org
5994d37e85 Fix for bug 314075 (Crash [@ nsPropertyTable::DeleteAllPropertiesFor]). Patch by Mark Mentovai, r/sr=me.
git-svn-id: svn://10.0.0.236/trunk@183177 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 08:48:11 +00:00
peterv%propagandism.org
7645808305 Fix for bug 264308 (Implement DOM Level 3 UserData API). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@183126 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 14:09:23 +00:00