711 Commits

Author SHA1 Message Date
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
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
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
bzbarsky%mit.edu
dfe3e9b0bc Improve the CSSLoader API: make it clear which methods return results
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded.  Bug 293825, r+sr=peterv


git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu
ebc997bcf6 More use of EmptyString(). Bug 232691, patch by Vidar Braut Haarr
<vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180005 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 01:28:51 +00:00
peterv%propagandism.org
b64b04886f Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
jwatt%jwatt.org
76f1a3ee4a Fixing bug 282217. SVG <title> doesn't have the same effect as <html:title>. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@179677 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 02:17:22 +00:00
jwatt%jwatt.org
7240d0e8a8 Fixing bug 302103. Implement SVG events. r=tor@acm.org, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@178992 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:31:09 +00:00
bzbarsky%mit.edu
a8c7d445d5 Make sure that a reflow flush on the document makes the sink start layout if
needed.  Bug 253951, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178851 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:56:58 +00:00
bzbarsky%mit.edu
e79cce1c42 Allow passing a cached nsIContentPolicy service pointer to
NS_CheckContent*Policy if the caller has one.  Bug 304845, r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@178242 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 15:00:01 +00:00
mrbkap%gmail.com
f2a332e8d4 bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
git-svn-id: svn://10.0.0.236/trunk@174716 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 18:59:59 +00:00
bzbarsky%mit.edu
578132afda Fix leak on setting innerHTML in XML, as well as leaks when the parent of a
not-yet-parsed script is removed from the document.  Bug 294274, r+sr=peterv,
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@174028 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:38:20 +00:00
bzbarsky%mit.edu
249f50341c Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@173866 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 01:15:23 +00:00
bsmedberg%covad.net
dfa83d8d83 Move xmlprettyprint stylesheets to "global" package, noticed this during bug 281988, r+sr=bzbarsky a=drivers
git-svn-id: svn://10.0.0.236/trunk@173632 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 16:42:15 +00:00
jst%mozilla.jstenback.com
ebed1ee784 Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00