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
1eca0b8575
Kill unneeded #includes since the last checkin. rs=jst
...
git-svn-id: svn://10.0.0.236/trunk@214675 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 23:36:50 +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
e48041a41d
Bug 330872: Make nsGenericDOMDataNode::AppendData send out proper notifications and add nsIContent::AppendText to allow appending text without sending out notifications. r/sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@214281 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 01:22:53 +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
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
bzbarsky%mit.edu
b5dd57e86f
Back out part of the patch for bug 329509 that accidentally landed with bug
...
348062. Fixes build bustage.
git-svn-id: svn://10.0.0.236/trunk@208437 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 18:37:54 +00:00
jst%mozilla.jstenback.com
d0d506f934
Fixing bug 348062. Making nsContentList hold strong references to the nodes in the list. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@208420 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 17:45:25 +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
bzbarsky%mit.edu
dad790ea9c
Make it possible for document observers who need to worry about XBL to observe
...
the binding manager and make presshell do that. Bug 348573, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@207498 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 22:41:58 +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
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
e779947969
Bug 344453: AttributeChanged events sent out twice. Also make CharacterDataChanged notifications go out even for orphaned nodes. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@202289 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 01:26:33 +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
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
83253303c8
Bug 90983: Don't fire mutation events during parsing, i.e. when aNotify is false. Also make us fire mutation events on nodes that are in an orphaned subtree. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@198844 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 00:58:04 +00:00
cvshook%sicking.cc
e96a4f70c3
Bug 337543: Use nsINode more. r/sr+peterv
...
git-svn-id: svn://10.0.0.236/trunk@197985 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:01:22 +00:00
Olli.Pettay%helsinki.fi
f0b161c7c6
Bug 329122, Event dispatching code in nsGenericDOMDataNode doesn't handle event retargeting, r=sicking, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@197861 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 16:14:33 +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
timeless%mozdev.org
290b9cb8fe
Bug 332198 change nsGenericDOMDataNode::ToCString
...
r=sicking sr=sicking
git-svn-id: svn://10.0.0.236/trunk@196138 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 12:15:36 +00:00
timeless%mozdev.org
5af87489fc
Bug 332198 change nsGenericDOMDataNode::ToCString
...
r=sicking sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@196133 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 01:39:21 +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
906143da63
Dont clear our props if we're not changing owner documents. Bug 335333, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@195381 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 20:03:26 +00:00
bzbarsky%mit.edu
24d1be29e9
Dispatch mutation events even in documents that are not rendered in a window.
...
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com >, r=smaug, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@195285 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 19:52:21 +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
jst%mozilla.jstenback.com
197612f082
Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@194099 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 03:49:44 +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
cvshook%sicking.cc
a3aecc875b
Bug 329974: Share textdata for common textnode values. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@192902 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 03:29:52 +00:00
bryner%brianryner.com
1de3fc0366
Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
Olli.Pettay%helsinki.fi
4ea967fd3e
Bug 329125, Remove nsMutationEvent::mTarget r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@192075 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:14:17 +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
dbaron%dbaron.org
dad82c1080
Remove bogus assertion. b=326646 r=sicking sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@190031 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 23:30:10 +00:00
peterv%propagandism.org
32838fc08a
Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@189306 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 14:34:10 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +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
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
bzbarsky%mit.edu
31719bf3ba
Implement an nsINode interface; move some common stuff from nsIContent and
...
nsIDocument to nsINode. Bug 323311, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@187813 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:34:18 +00:00
cvshook%sicking.cc
cf43ff4e7d
Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
...
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
dbaron%dbaron.org
dfd0a1dbe2
Add ownerDocument to reachable list when needed. b=241518 r=bzbarsky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@185732 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-06 05:50:12 +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
bzbarsky%mit.edu
cf434cba7f
Remove content ids. Bug 166637, r=sicking, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
timeless%mozdev.org
f9bdb44b34
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
bzbarsky%mit.edu
d14d1f2475
Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
...
changes, sr=jst
git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +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