910 Commits

Author SHA1 Message Date
allan%beaufour.dk
66cc37ecc5 Call XTF Begin/DoneAddingChildren in XUL Documents. Bug 302915, r+sr=bryner, a=benjamin, patch by smaug@welho.com
git-svn-id: svn://10.0.0.236/trunk@176964 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 12:47:41 +00:00
allan%beaufour.dk
aeb16bbde9 Dispatch DOMContentLoaded on XUL Documents. Bug 302914, r+sr=jst, a=benjamin, patch by smaug@welho.com
git-svn-id: svn://10.0.0.236/trunk@176963 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 12:42:24 +00:00
jst%mozilla.jstenback.com
792744ce69 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers
git-svn-id: svn://10.0.0.236/trunk@176884 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 20:57:07 +00:00
brendan%mozilla.org
192a5e0a22 Support E4X by default in chrome windows and in XUL scripts (293392, r+sr=peterv/jst).
git-svn-id: svn://10.0.0.236/trunk@175531 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-02 19:52:25 +00:00
bsmedberg%covad.net
2820c0e9a5 Bug 296102 - If a <xul:script src="chrome://missing-package/content/file.js" /> cannot be loaded, don't leave the window in an unopened zombie state, r+sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@175480 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 12:18:18 +00:00
jst%mozilla.jstenback.com
79ba7b6cdd Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com
git-svn-id: svn://10.0.0.236/trunk@174986 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 01:53:58 +00:00
jwatt%jwatt.org
932ac5ad44 Follow up patch for bug 62485. script type="text/ecmascript" is not recognized. r+a=brendan
git-svn-id: svn://10.0.0.236/trunk@174976 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-22 00:50:32 +00:00
cbiesinger%web.de
27cc66747f bug 241739 reuse HTML/SVG's <script> loading code for XUL <script>, thus
correctly handling non-ASCII characters
r+sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@174479 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-12 12:32:05 +00:00
bzbarsky%mit.edu
f980350d45 Create non-XUL nodes in a XUL document with the right ownerDocument. Bug
294536, r+sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@174334 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-09 01:06:46 +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
bzbarsky%mit.edu
716a687c53 Don't flag XUL elements created via nsXULElement::Create as being in a document
-- they're not.  Bug 292247, r=sicking, sr=jst, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@172929 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-01 17:32:49 +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
546bd6461b Remove unneeded layout flushes in XUL/XBL. Bug 290005, r=roc, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@172820 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:23:26 +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
6c3436a03b Fixing the XUL content sink's error reporting. Bug 289469, r+sr=peterv, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172399 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-18 19:44:14 +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
ben%bengoodger.com
39f25aa68b crash at nsXULDocument::OverlayForwardReference::Merge due to broken implementation of removeelement attribute for overlay merging... we always want to notify of node removals, so don't pass the notify flag along to the Remove function, always send PR_TRUE so that state is updated correctly. r=bz, sr=bryner, a=brendan
git-svn-id: svn://10.0.0.236/trunk@171826 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 23:19:20 +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
088c4f8b8a Fix overlay code to not trust overlays and violate the nsIContent API in the
process.  Bug 233641, r=sicking, sr=ben


git-svn-id: svn://10.0.0.236/trunk@171421 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-31 04:26:00 +00:00
ben%bengoodger.com
3cf2b55095 282103 - dynamic overlays: implement "loadOverlay" method on nsIDOMXULDocument which loads and merges an overlay into a XUL document. r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@169839 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 09:06:34 +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
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
bryner%brianryner.com
5d17ec2995 Remove unneeded nsIContentList interface (bug 280746). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@168732 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:02 +00:00
bryner%brianryner.com
b4a3ac2fb3 Remove nsIXULContent. Bug 276698, r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@168011 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-19 20:05:02 +00:00
neil%parkwaycc.co.uk
2a38c2f5aa Set the xul document title before layout in case xbl constructors want it b=278286 r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@167739 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 18:00:29 +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
dbaron%dbaron.org
4bbdb86a7a Back out 252703 due to Txul / Ts regression.
git-svn-id: svn://10.0.0.236/trunk@166118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
4152e1ae96 Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
neil%parkwaycc.co.uk
df2668e776 Don't use QueryInterface to get a scrollable view from a view b=258521 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@165693 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 00:19:21 +00:00
bzbarsky%mit.edu
91c825c2cc Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@165646 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:45:37 +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
bsmedberg%covad.net
334d503da5 One more forgotten declaration from bug 246014.
git-svn-id: svn://10.0.0.236/trunk@162625 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 21:05:34 +00:00
neil%parkwaycc.co.uk
084b975545 Set the XUL document's title once the DOM is ready and not after a chrome window finishes loading, so that we get titles on XUL documents in content and we can also use document.title or window.title to set the title in a load handler b=126903 but also fixes 216651, 259067 and the like r=danm sr=jst
git-svn-id: svn://10.0.0.236/trunk@162508 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-17 20:03:18 +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
dbaron%dbaron.org
e8bca4edc1 Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
dbaron%dbaron.org
a4ca9058c6 Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
59572fab24 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
jst%mozilla.jstenback.com
c70cf3ddf4 Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159342 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 17:03:10 +00:00
bzbarsky%mit.edu
5d0465427b Forgot a file. Bug 221669, r=ben, sr=jst
git-svn-id: svn://10.0.0.236/trunk@159241 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 06:39:13 +00:00