593 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
da850874f2 Make sure to addref documents before calling Init(). Bug 291887, r+sr=jst,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@172815 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 17:16:19 +00:00
bzbarsky%mit.edu
a16228acf0 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172812 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu
62937cbc08 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan


git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +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
gandalf%firefox.pl
614ee4af8e bug 279768: Bring build system to work with --enable-ui-locale; r=bsmedberg; a=doron on webservices move
git-svn-id: svn://10.0.0.236/trunk@170385 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 17:21:36 +00:00
cbiesinger%web.de
af30395567 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@170312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:46:06 +00:00
bryner%brianryner.com
066919535f Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@169489 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 10:31:27 +00:00
doronr%us.ibm.com
e54571aca7 Checked in from wrong tree, backing out, sorry.
git-svn-id: svn://10.0.0.236/trunk@169428 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:28:20 +00:00
doronr%us.ibm.com
3831773869 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst
git-svn-id: svn://10.0.0.236/trunk@169427 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:20:27 +00:00
mrbkap%gmail.com
c49d96100e bug 263053: Get rid of the <endnote> tag when parsing fragments with context, since this can fail if the input stream contains another <endnote> tag. Instead, parse the context in different "chunks" from the new buffer, and notify the fragment sink by way of functions. r=peterv sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169415 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 19:18:39 +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
bsmedberg%covad.net
3edf9d37c8 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
git-svn-id: svn://10.0.0.236/trunk@166737 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 04:07:01 +00:00
dbaron%dbaron.org
de6591306e Bug 272151: reorganize files within layout, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@166440 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 19:41:48 +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
bzbarsky%mit.edu
0d9db05b83 Make XSLT stylesheet loads check content policy. Bug 203211, r=sicking,
sr=peterv


git-svn-id: svn://10.0.0.236/trunk@164280 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:25:58 +00:00
Stefan.Borggraefe%gmx.de
c99ba46103 Bug 264477: Use proper minus character for XML document tree display
r=sicking, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@163895 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-16 10:42:02 +00:00
alex%croczilla.com
049fc5de75 Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).


git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
bzbarsky%mit.edu
c6733ef5e7 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@163041 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu
b57bc1d0e7 Make the XUL content sink store the right namespace for "xmlns" attributes.
Bug 256165, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@162469 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-16 18:38:07 +00:00