506 Commits

Author SHA1 Message Date
Olli.Pettay%helsinki.fi
95d298c2e1 Bug 355221, All firefox windows closes suddenly if I load the page. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@213071 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 17:52:22 +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
cvshook%sicking.cc
2acc886a81 Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@211826 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 19:54:45 +00:00
bzbarsky%mit.edu
55ee11a1ba Implement GetElementsByAttributeNS. Bug 239976, patch by Joerg Bornemann
<jobor@gmx.de>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@210116 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-14 04:29:02 +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
mkaply%us.ibm.com
8f1d54ae17 Syntax error
git-svn-id: svn://10.0.0.236/trunk@208444 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 19:40:04 +00:00
mkaply%us.ibm.com
da524e9ef8 Incomplete backout
git-svn-id: svn://10.0.0.236/trunk@208442 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 19:32:21 +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
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
jwalden%mit.edu
52a0b14037 Bug 345666 - Node.normalize() doesn't remove empty Text nodes. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@203739 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-26 18:30:50 +00:00
bzbarsky%mit.edu
fdd014f014 Fix some getElementsByTagNameNS issues, both regressions and long-standing
bugs.  Bug 343307, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@203223 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-20 03:25:39 +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
cvshook%sicking.cc
f9006e835c Bug 338391: Properly check if IndexOf returned -1. Patch by dveditz, r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200630 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 22:05:20 +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
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
cbiesinger%web.de
ff3a0eb166 Bug 341077 Show intrinsic state in content tree dumps
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@199711 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 17:03:31 +00:00
longsonr%gmail.com
869aa6b8a1 Bug 340542 - SVG Consolidate functionality to get primary frame. r=tor,r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@199707 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 16:14:31 +00:00
sayrer%gmail.com
d528176b28 b=331668. nsGenericElement::doInsertChildAt doesn't check aParent when setting mutation.mRelatedNode. Patch by Alex Vincent <ajvincent@gmail.com>. r+sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@199174 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 01:23:26 +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
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
8925b60604 Bug 90983: Remove the nsFragmentObserver and always notify when inserting from fragments so as to not regress mutation events with my next patch. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@198842 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 00:26:42 +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
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
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +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
neil%parkwaycc.co.uk
d9aa680b29 Improve box object hashtable storage b=326931 r=jst sr=bz
git-svn-id: svn://10.0.0.236/trunk@195440 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 12:42:49 +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
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
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
mrbkap%gmail.com
002afae6e8 Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@194441 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 00:39:35 +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
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
2174fa79e3 Make sure to not double-insert anonymous kids if the DOM messes with them. Bug
330925, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@193586 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 03:44:00 +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
14903561f3 Add comments describing some more files.
git-svn-id: svn://10.0.0.236/trunk@193306 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:00:42 +00:00
cvshook%sicking.cc
5b56da64f7 Bug 329982: Give nsXULElement::RemoveChildAt some lovin' to make it deal better with mutationevent handlers mutating the DOM
git-svn-id: svn://10.0.0.236/trunk@193071 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 22:00:40 +00:00
cvshook%sicking.cc
7a0a94b541 Bug 331547: Get rid of nsGenericElement::WillAddOrRemove
git-svn-id: svn://10.0.0.236/trunk@192958 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 22:43:23 +00:00