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
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
peterv%propagandism.org
86ac4d2e8f
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@180911 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-24 18:43:15 +00:00
peterv%propagandism.org
31170dd919
Follow-up to fix for bug 251025, make Clone/CloneContent const again.
...
git-svn-id: svn://10.0.0.236/trunk@180011 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 07:34:25 +00:00
bzbarsky%mit.edu
ebc997bcf6
More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
...
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180005 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 01:28:51 +00:00
peterv%propagandism.org
c1c35accda
Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179989 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 17:15:08 +00:00
peterv%propagandism.org
5a1d292898
Back out fix for bug 251025 to fix bustage.
...
git-svn-id: svn://10.0.0.236/trunk@179988 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:42:31 +00:00
peterv%propagandism.org
03ea6f5dac
Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179987 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 15:05:31 +00:00
bzbarsky%mit.edu
4f7811821f
Convert InsertData calls into AppendData calls (which require less
...
reflow/painting to handle) when the data is inserted at the end. Bug 300797,
r=sicking, sr=roc, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176258 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 20:52:12 +00:00
jst%mozilla.jstenback.com
79ba7b6cdd
Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@174986 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:53:58 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
e2e0f7bfab
Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
...
r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172410 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 22:58:35 +00:00
bzbarsky%mit.edu
2ed6c9fac8
Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
...
BindToTree and UnbindFromTree methods. Bug 286000, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171749 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:54:35 +00:00