668 Commits

Author SHA1 Message Date
peterv%propagandism.org
cbfe183cd9 Try to fix VC 6 bustage.
git-svn-id: svn://10.0.0.236/trunk@206069 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 21:15:55 +00:00
peterv%propagandism.org
9f941437ae Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@206062 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 16:02:11 +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
mats.palmgren%bredband.net
eb497125b4 Null-check mRootContent before using it. b=303260 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@203075 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 03:53:12 +00:00
bzbarsky%mit.edu
0d9cbd7ca3 Go back to creating an inconsistent DOM and add a null-check elsewhere, because
the little mind of the focus code is blown by having no documentElement,
apparently.  Bug 341730, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@202270 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:18:19 +00:00
Olli.Pettay%helsinki.fi
3b18c65c0f Bug 341245, Remove some unused box object related interfaces, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@202002 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-13 09:02:05 +00:00
Olli.Pettay%helsinki.fi
eb46e4eecd Bug 335251, prevent load events to propagate to window, r=bz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@201955 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-12 17:59:16 +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
7d6081387f Bug 342252: Turn nsDocumentObserverList into a more generic class. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201114 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 17:36:56 +00:00
longsonr%gmail.com
7ef344f935 Bug 342961 - Get a CSS error on displaying any SVG. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@201101 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 16:21:58 +00:00
darin%meer.net
100e8ff5c0 attempting to fix vc6 windows bustage, r=pkasting
git-svn-id: svn://10.0.0.236/trunk@200989 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 01:39:14 +00:00
brettw%gmail.com
63805b0c56 Bug 337631 (for pkasting@google.com) r=bryner sr=bz Support document.activeElement and document.hasFocus
git-svn-id: svn://10.0.0.236/trunk@200968 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:39:09 +00:00
bzbarsky%mit.edu
4ba416ef68 Use iterators that deal with observers being removed to iterate the observers array when notifying Bug 340733, r+sr+branch181=sicking
git-svn-id: svn://10.0.0.236/trunk@200391 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-20 01:03:06 +00:00
peterv%propagandism.org
40c612fc40 Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@200030 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 20:30:44 +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
bzbarsky%mit.edu
48b452f745 Make sure to null out mRootContent in Destroy when we unbind it. Bug 326645, r+sr+branch181=sicking
git-svn-id: svn://10.0.0.236/trunk@199492 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:41:33 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +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
bzbarsky%mit.edu
3e662003ef Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@198750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 17:57:14 +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
benjamin%smedbergs.us
d82bf5838f Bug 331117 - Layout module shold not shut down until all documents/windows have been released, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@197983 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 09:31:57 +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
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
1a5bcd5020 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@196118 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:09:20 +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
835dfa8642 Make documents be consistent with docshell wrt what the actual document URI
is.  Bug 335457, r=dveditz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@195963 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 15:21:50 +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
mrbkap%gmail.com
b8f2621c76 When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195456 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:53:27 +00:00
neil%parkwaycc.co.uk
94cdf050c2 bustage fix b=326931
git-svn-id: svn://10.0.0.236/trunk@195441 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 13:05:24 +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
fe80ff3c7a Make sure documents have a content type at creation time. Bug 311218,
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@195015 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:24:44 +00:00
jwatt%jwatt.org
0ef20a3ad8 Fixing bug 333674. We leak oldVal on OOM in nsUint32ToContentHashEntry::PutContent. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@194215 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 12:11:40 +00:00
dbaron%dbaron.org
0f17193548 Copy observer list and hold references to observers when notifying them. b=271669 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@194191 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 23:44:34 +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
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
825f8563f9 Relanding patches that (hopefully) don't affect Tdhtml
git-svn-id: svn://10.0.0.236/trunk@192885 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 00:09:50 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +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
neil%parkwaycc.co.uk
2c72a148a8 Ensure box objects are obtained from the correct document b=330181 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192585 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-18 14:14:08 +00:00
cvshook%sicking.cc
35316b26ee Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@192052 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 07:29:41 +00:00
cvshook%sicking.cc
856dc03d54 Bug 325730. Mutation-event handlers can cause further mutations to the DOM. We need to be more attentive to those. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@192009 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 21:47:32 +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
bzbarsky%mit.edu
5b687a6a47 Remove the mPresShell member of nsBoxObject, and some other cleanup. Bug
329181, r=neil, sr=jst


git-svn-id: svn://10.0.0.236/trunk@191874 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 03:20:39 +00:00
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
bzbarsky%mit.edu
2c386a52a3 Give a saner principal to documents created via DOMImplementation. Bug 324601,
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@190594 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 18:57:32 +00:00
bzbarsky%mit.edu
4c26f652da Only try to get box objects for content nodes. Bug 326778, r=sicking, sr+branch181=peterv
git-svn-id: svn://10.0.0.236/trunk@189960 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 16:25:11 +00:00