125 Commits

Author SHA1 Message Date
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
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
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
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
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
78e8e6335b Fix win build bustage and update uuid
git-svn-id: svn://10.0.0.236/trunk@192906 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 04:54:11 +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
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
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
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
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
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
peterv%propagandism.org
e5c598c7f1 Make nsGenericDOMDataNode::Clone pure virtual, suggestion by biesi.
git-svn-id: svn://10.0.0.236/trunk@179992 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 18:24:30 +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
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
bzbarsky%mit.edu
66d9120653 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171034 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu
b545c9a067 Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@171033 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:07:10 +00:00
bryner%brianryner.com
59e40f5696 Move nsIContent::GetClassAttributeName() onto nsIStyledContent (bug 274402). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@166698 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-14 03:54:01 +00:00
bryner%brianryner.com
b0242fa4f1 deCOMtaminate nsIContent::GetNameSpaceID. Bug 272079, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@166648 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-13 04:14:28 +00:00
peterv%propagandism.org
8a2b281045 Protect against a crash, part of bug 261450 (Mozilla crashes when changing DOM Nodes [@ nsRange::TextOwnerChanged]). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@164027 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 15:16:51 +00:00
bzbarsky%mit.edu
ceb3b814ae Fix up uses of GetOwnerDoc/GetCurrentDoc to use the right one, with an eye
towards general sanity on the one hand and sXBL/XBL2 on the other.  Bug 263200,
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@163529 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:14:27 +00:00
neil%parkwaycc.co.uk
9d9fcf50d9 Fix regression from previous checkin, CloneContent needs to be virtual so that nsTextNode can override it r+sr=jst over irc, no bug
git-svn-id: svn://10.0.0.236/trunk@162478 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 21:45:38 +00:00
peterv%propagandism.org
0e7c4437e6 Backout part of the fix for bug 27382 to try to undo Tp regression.
git-svn-id: svn://10.0.0.236/trunk@160611 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 16:16:58 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
sicking%bigfoot.com
611753ba16 Bug 236620: kill nsIContent::CanContainChildren
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153597 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 00:22:03 +00:00
bzbarsky%mit.edu
2307f707a5 Set prevValue for DOMCharacterDataModified Mutation events. Bug 117131,
r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@153175 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 23:10:38 +00:00
sicking%bigfoot.com
432086201e Bug 232480: Fix warnings caused by earlier patch in same bug as well as a few random other warnings.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@152979 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 22:16:16 +00:00
sicking%bigfoot.com
be3303fe00 Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@152607 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 19:36:43 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
sicking%bigfoot.com
737987f531 Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@151370 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 17:07:27 +00:00
jst%mozilla.jstenback.com
803e4eb910 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00