893 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
781b356027 Don't stop loading a XUL document when an overlay is missing and report
warnings about missing overlays to the JS console.  Bug 221669, r=ben, sr=jst


git-svn-id: svn://10.0.0.236/trunk@159238 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 06:09:36 +00:00
timeless%mozdev.org
2faaeea38f Bug 251368 documentURI for about: urls should list the about: urls
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@159215 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 23:01:11 +00:00
jst%mozilla.jstenback.com
8c0b18260f Fixing bug 222954. Be consistent about checking that EnsureFocusContrller() really got a focus controller. Fixes crash when the options dialog is opened while one is already open. r=ben@bengoodger.com, sr=brendan@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@158954 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-09 20:57:30 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
timeless%mozdev.org
8f54ece65a Bug 241952 Change XUL nsprlogging to spam all:4/all:5 instead of all:2
r=neil sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@158299 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-22 09:37:55 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
cbiesinger%web.de
39955b6428 bug 245673 named literal strings should be const
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@157773 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
timeless%mozdev.org
6590580432 Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@156502 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 04:00:47 +00:00
cls%seawood.org
cb94f1e341 Make code more standards compliant to build with mingw gcc 3.4.0.
Bug #243273 r=bsmedberg sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156343 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 04:08:34 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
bryner%brianryner.com
b65ef5dbc6 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155788 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 23:55:16 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
cbiesinger%web.de
3d93c77764 bug 241092, make nsIStreamLoaderObserver usable in javascript, by changing its
argument from a string to an octet array
r=bryner sr=darin


git-svn-id: svn://10.0.0.236/trunk@155585 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-27 16:06:00 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00