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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
577af8f892
Move the BindToTree call for the document element into SetRootContent. Bug
...
289209, r=sicking, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172254 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
7d36f1baf6
Disable loading of images in data documents on the document level, not on the
...
node level. Bug 251354, r=sicking, sr=peterv, a=asa
git-svn-id: svn://10.0.0.236/trunk@171953 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 00:29:36 +00:00
bzbarsky%mit.edu
99829f1159
Fix crash regression bug 289180. r=mrbkap, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@171792 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 06:28:28 +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
5bfeab56fa
Fix content teardown in ReportError to also get rid of our buffered-up text
...
content. Bug 288674, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171628 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 03:40:36 +00:00
dbaron%dbaron.org
be07cbe034
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171350 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-30 00:36:57 +00:00
tor%cs.brown.edu
eafae91035
Bug 287389: SVG should not munge ua.css at build time. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@171206 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 14:50:05 +00:00
tor%cs.brown.edu
810c94b98d
Bug 252631 - allow multiple onloads in svg content. r=sicking, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@168351 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 14:28:21 +00:00
bryner%brianryner.com
2474296ae5
Remove nsIHTMLContent interface (bug 276959). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@167619 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:45:38 +00:00
bzbarsky%mit.edu
1cfee47012
Keep track of whether a title has been set in the document, not in the sink.
...
This way we can notice all ways of setting it. Bug 271996, r=sicking, sr=neil
git-svn-id: svn://10.0.0.236/trunk@167571 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:47:53 +00:00
peterv%propagandism.org
d3728ccc44
Correct function signature to fix Solaris bustage.
...
git-svn-id: svn://10.0.0.236/trunk@166916 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 13:25:31 +00:00
peterv%propagandism.org
ea028c9206
Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166810 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 09:17:35 +00:00
peterv%propagandism.org
04f06673f3
Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@166747 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 15:37:23 +00:00
darin%meer.net
320a548205
fixes bug 272814 "beginAddingChildren notification should be called before attributeSet." patch by smaug@welho.com r=darin sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@166355 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 23:09:32 +00:00
bzbarsky%mit.edu
dd0ed1575b
Make setting innerHTML in XHTML not crash on malformed content and throw an
...
exception instead. Bug 272011, patch by steve.swanson@mackichan.com ,
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166244 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 17:51:12 +00:00
bzbarsky%mit.edu
3c615b2340
Fix XBL error-handling to not close tags that shouldn't be closed yet (and thus
...
crash when a PR_Assert in the XML content sink is hit). Bug 265184, r=bryner,
sr=jst
git-svn-id: svn://10.0.0.236/trunk@166125 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 02:15:37 +00:00
bzbarsky%mit.edu
084a5e5980
Make sure to call DoneCreatingElement/DoneAddingChildren on the relevant HTML
...
nodes in XML so that form state restoration works. Bug 206695, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@166103 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:41:20 +00:00
bzbarsky%mit.edu
33d6cabf2c
deCOMify nsIStyledContent::GetID (make it return we a weak pointer to the ID
...
atom). Bug 244249, patch by jpl24 <jlurz24@gmail.com>, r=sicking, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165641 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:21:37 +00:00
bryner%brianryner.com
7a9eae88bc
Add a beginAddingChildren notification to XTF (bug 268691). r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@165182 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 23:59:24 +00:00
jst%mozilla.jstenback.com
bbbde81598
Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@164795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-02 19:52:32 +00:00