742 Commits

Author SHA1 Message Date
dbaron%dbaron.org
880c3e55f5 Null out mListenerManager before we call ResetToURI and restore it, so ResetToURI doesn't Disconnect it. b=354865 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@212908 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-30 01:53:47 +00:00
bzbarsky%mit.edu
98edc48be7 Remove unneeded notification on node creation. Bug 351910, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@209835 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 04:48:12 +00:00
cvshook%sicking.cc
02de6f657e Bug 324092: Allow XSLT output handlers to fail. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@209472 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 21:09:43 +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
a65685f201 Bug 350846, Combine NS_***_LOAD events, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@208936 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 19:33:01 +00:00
bzbarsky%mit.edu
b59b0dd36c Allow nsIExpatSink implementations to control whether the expat driver logs
parse errors to the console.  Bug 342164, patch by Alex Vincent
<ajvincent@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@208410 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 16:34:57 +00:00
sayrer%gmail.com
95b0f24a09 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst
git-svn-id: svn://10.0.0.236/trunk@207207 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 04:46:43 +00:00
bzbarsky%mit.edu
6120458898 Allow anonymous box selectrors in catalog sheets loaded via our doctype. Bug
347303, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@206571 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 15:02:28 +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
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
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
benjamin%smedbergs.us
3a80a8ef78 Sweeping up after irresonsible content hackers who break the tree and go to lunch... ;-)
git-svn-id: svn://10.0.0.236/trunk@197993 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:51:56 +00:00
cvshook%sicking.cc
99cbbe5339 Bug 194387: Support parameter-passing in PI XSLT transformations. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@197991 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:29:43 +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
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
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
cvshook%sicking.cc
750f907d8b Bug 314985. Merge adjacent textnodes when the document is going to be transformed by XSLT. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@193669 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 06:17:51 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
gerv%gerv.net
85b93e54b8 Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines.
git-svn-id: svn://10.0.0.236/trunk@193254 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 08:01:14 +00:00
gerv%gerv.net
b759f30f5f Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines.
git-svn-id: svn://10.0.0.236/trunk@193253 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 07:57:05 +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
peterv%propagandism.org
c7f6949390 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192539 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 14:38:57 +00:00
peterv%propagandism.org
ec404d9e2f Backing out to fix bustages.
git-svn-id: svn://10.0.0.236/trunk@192477 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 15:12:21 +00:00
peterv%propagandism.org
2c216711c7 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192471 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 13:47:42 +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
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
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
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
bzbarsky%mit.edu
1510aacc39 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


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
mrbkap%gmail.com
b7ece70d44 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
mrbkap%gmail.com
d3ecc5dd10 bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@187941 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:02:02 +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
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +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
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +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
bzbarsky%mit.edu
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu
3aa042c0b4 Bug 309020. SVG content references in XBL anonymous content should reference content copied from the binding document. This is a partial fix. We also refactor some code to make it shareable in nsContentUtils. r=biesi,tor sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@182487 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 20:33:35 +00:00
peterv%propagandism.org
8c33ea74e1 Fix for bug 308328 (crash in [@ nsDocument::GetPrincipal] when closing browser). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182242 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 09:07:29 +00:00
bzbarsky%mit.edu
5288265206 Fix bug 310650. Patch by peterv, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@181436 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 14:40:30 +00:00
peterv%propagandism.org
5b98a9db45 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@180960 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 14:37:29 +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
bzbarsky%mit.edu
33eede8798 Pass a boolean indicating whether we've sent a ContentInserted or
ContentAppended notification to DoneAddingChildren.  Bug 309534, r=mrbkap,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@180787 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 02:33:36 +00:00