Commit Graph

825 Commits

Author SHA1 Message Date
cvshook@sicking.cc
38ab786104 Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz 2006-05-16 14:51:52 +00:00
cvshook@sicking.cc
ade8b8aa26 Fix windows bustage this time 2006-05-15 09:18:35 +00:00
cvshook@sicking.cc
9ad95fd2dc Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz 2006-05-15 07:03:15 +00:00
cvshook@sicking.cc
5df20de104 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
bzbarsky@mit.edu
2d0a754f91 Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
bzbarsky@mit.edu
1bf48679f8 Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking 2006-04-27 18:21:11 +00:00
neil@parkwaycc.co.uk
b2112ede28 Improve box object hashtable storage b=326931 r=jst sr=bz 2006-04-26 12:42:49 +00:00
bzbarsky@mit.edu
2d07a836c2 Dont clear our props if we're not changing owner documents. Bug 335333, r+sr=jst 2006-04-25 20:03:26 +00:00
bzbarsky@mit.edu
f5e004636c 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
2006-04-24 19:52:21 +00:00
peterv@propagandism.org
ed4e6a7cae Better fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking. 2006-04-17 17:13:11 +00:00
cvshook@sicking.cc
44c8d5f474 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 2006-04-15 05:09:16 +00:00
mrbkap@gmail.com
835fa73bcf Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking 2006-04-15 00:39:35 +00:00
jst@mozilla.jstenback.com
186229de7f 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 2006-04-11 03:49:44 +00:00
peterv@propagandism.org
9f31103ca0 Fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking. 2006-04-06 20:54:53 +00:00
bzbarsky@mit.edu
403c4d60cc Make sure to not double-insert anonymous kids if the DOM messes with them. Bug
330925, r+sr=sicking
2006-04-05 03:44:00 +00:00
bzbarsky@mit.edu
f4aac44499 More comment tweaks; should be it for this directory. 2006-03-31 08:41:49 +00:00
bzbarsky@mit.edu
b286a0b2c9 Add comments describing some more files. 2006-03-31 08:00:42 +00:00
cvshook@sicking.cc
4a9a362733 Bug 329982: Give nsXULElement::RemoveChildAt some lovin' to make it deal better with mutationevent handlers mutating the DOM 2006-03-27 22:00:40 +00:00
cvshook@sicking.cc
6cc8883d51 Bug 331547: Get rid of nsGenericElement::WillAddOrRemove 2006-03-24 22:43:23 +00:00
cvshook@sicking.cc
83eb67b55a Relanding patches that (hopefully) don't affect Tdhtml 2006-03-24 00:09:50 +00:00
cvshook@sicking.cc
ac518c64e4 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364. 2006-03-23 08:21:21 +00:00
cvshook@sicking.cc
0baa877c3e Bug 330526. Don't call Release on mContent in the middle of putting the nsDOMEventRTTearoff in the cache. r=aaronr@us.ibm.com sr=jst 2006-03-17 00:51:04 +00:00
cvshook@sicking.cc
9538e62fc5 Bug 330084: Don't crash when removing an node from the tree that noone holds on to. r/sr=jst 2006-03-17 00:28:26 +00:00
Olli.Pettay@helsinki.fi
4c38d7a67d Bug 329437, Push DispatchClickEvent up to nsGenericElement r+sr=bz 2006-03-14 19:57:33 +00:00
Olli.Pettay@helsinki.fi
4479a5b3fe Bug 329125, Remove nsMutationEvent::mTarget r+sr=bz 2006-03-09 18:14:17 +00:00
cvshook@sicking.cc
9428af2056 Bug 325730. Mutation-event handlers can cause further mutations to the DOM. We need to be more attentive to those. r=bz sr=jst 2006-03-08 21:47:32 +00:00
Olli.Pettay@helsinki.fi
4e73bdcf13 Bug 328885, r+sr=bz 2006-03-08 20:22:35 +00:00
Olli.Pettay@helsinki.fi
6ba912b316 Bug 234455, Centralize event dispatch r=jst, sr=bz 2006-03-07 17:08:51 +00:00
cvshook@sicking.cc
d042f8827d Bug 326618: Remove assertion that we know can happen and that is no longer dangerous. r/sr=jst 2006-02-18 02:54:15 +00:00
wr@rosenauer.org
5f88bf9db8 Bug 326964 - fixed bogus assertion (missing nsIDOMNode::DOCUMENT_TYPE_NODE), p=ajvincent@gmail.com, r+sr=bz 2006-02-13 06:58:59 +00:00
peterv@propagandism.org
f86b7a819c Remove unnecessary casts pointed out by bz. 2006-02-08 10:06:47 +00:00
peterv@propagandism.org
4e8d952073 Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst. 2006-02-07 14:34:10 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky@mit.edu
995f519031 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
2006-02-02 20:02:34 +00:00
cvshook@sicking.cc
9c8dbaf863 Bug 324723: Make nsPropertyTable resistent against using the wrong base pointer by enforcing type safety. r/sr=jst 2006-01-26 23:40:49 +00:00
cvshook@sicking.cc
957ee20899 Bug 324572: Move property methods to nsINode and make nsIAttribute inherit nsINode.
r/sr=bz
2006-01-25 20:49:56 +00:00
bzbarsky@mit.edu
90d792cd36 Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst
2006-01-19 03:34:18 +00:00
cvshook@sicking.cc
ed4f29bd68 Bug 323910: Merge atom lists in gklayout
r/sr=jst
2006-01-19 00:58:12 +00:00
roc+@cs.cmu.edu
491340cd46 Bug 323230. Add FindAttrValueIn as an efficient way to look up an attribute value in a table of atoms. r=sicking,sr=bzbarsky 2006-01-18 04:09:33 +00:00
bzbarsky@mit.edu
9b784dc515 Make element and document RemoveChild methods share code. Bug 312522, patch by
Alex Vincent <ajvincent@gmail.com>, r=sicking, sr=bzbarsky
2006-01-12 16:33:42 +00:00
bzbarsky@mit.edu
bbb31ed3a1 Do the right thing for lookupPrefix on a default namespace. Bug 308478, r+sr=peterv 2006-01-08 23:31:49 +00:00
cvshook@sicking.cc
74016aa165 Bug 322570: Make LookupPrefix work even for unused namespace declarations.
r/sr=bz
2006-01-06 23:52:34 +00:00
cvshook@sicking.cc
83e378cba2 Bug 232639: Make nsXULElement::GetAttrNameAt actually work.
r/sr=bz
2005-12-30 20:12:35 +00:00
cvshook@sicking.cc
3a58044067 Bug 296207: Optimize nsDOMAttributeMap::SetNamedItemInternal.
r=allan sr=peterv
2005-12-29 03:01:58 +00:00
cvshook@sicking.cc
ce947be9e9 Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
dbaron@dbaron.org
c0a8fc3a04 Add ownerDocument to reachable list when needed. b=241518 r=bzbarsky sr=jst 2005-12-06 05:50:12 +00:00
dbaron@dbaron.org
0c9c697a74 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 2005-12-03 07:42:40 +00:00
cvshook@sicking.cc
f614ac9a8b Bug 308120: Deal better with anonymous (direct) children being moved in the DOM.
r=bz sr=bryner
2005-11-29 19:09:41 +00:00
bzbarsky@mit.edu
3a0f9e0808 Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
bzbarsky@mit.edu
21c34f6350 Make ParseAttribute handle namespaced attributes too, since SVG needs to
ParseAttribute things like xlink:href.  Bug 314568, r=sicking, sr=jst
2005-11-29 16:37:15 +00:00