872 Commits

Author SHA1 Message Date
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
brendan%mozilla.org
16314e08df Forgot to serialize/deserialize JSRegExp.cloneIndex, and rev XUL FastLoad file version (240404, r+sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@155336 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 16:00:48 +00:00
gerv%gerv.net
5a6ece6544 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155064 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 13:54:27 +00:00
bryner%brianryner.com
3b4b8ed6c9 deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155049 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 00:28:47 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
varga%nixcorp.com
ce53bd6ec2 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155017 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 05:53:38 +00:00
bzbarsky%mit.edu
1c7a6361be Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.


git-svn-id: svn://10.0.0.236/trunk@154950 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:14:39 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu
16f1f02320 Make getElementsByAttribute be an nsContentList so that it's got that live
DOMNodeList goodness that all nodelists should have.  Change some JS to not
break, and some other JS to be a little more efficient with the new world of
lazy listness.  Bug 240186, r=neil on the JS changes, r=jst on the content
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@154907 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 01:51:32 +00:00
bzbarsky%mit.edu
6dc0066c8f Make nsXULDocument use the post-redirect URI as the document URI for non-chrome
and non-resource channels, the way all other documents do.  Bug 240358, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@154804 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 18:02:28 +00:00
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org
a12a464f6d De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154709 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:56:09 +00:00
bsmedberg%covad.net
8fff2ca306 Re-landing bug 237407 with crash-fix. r/sr=dbaron+brendan a=asa+mkaply
git-svn-id: svn://10.0.0.236/trunk@154199 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 18:26:43 +00:00
bsmedberg%covad.net
9c858318b8 Backing out bug 237407 because of tbox orange that I can't easily diagnose.
git-svn-id: svn://10.0.0.236/trunk@154160 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-22 15:03:32 +00:00
bsmedberg%covad.net
51a08ed5b6 Bug 237407 - classic theme scrollbars & buttons leak into modern, when starting with the profile manager - r+sr=dbaron a=asa for 1.7
git-svn-id: svn://10.0.0.236/trunk@154159 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-22 12:58:01 +00:00
jst%mozilla.jstenback.com
93b98445ab Fixing bug 228774. Make our XUL code not crash when dealing with empty datasources. r=bugmail@sicking.cc, sr=bzbarsky@mit.edu, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@154119 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 21:58:55 +00:00
bsmedberg%covad.net
965bf776a9 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz
git-svn-id: svn://10.0.0.236/trunk@153758 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 19:59:09 +00:00
sicking%bigfoot.com
ddf21aabe2 Bug 235435: Don't crash when serializing a XUL prototype document without a root. Fixes regression from bug 195350
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@153180 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 23:36:44 +00:00
darin%meer.net
a01e1c2f7f landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.


git-svn-id: svn://10.0.0.236/trunk@152994 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 01:53:23 +00:00
bzbarsky%mit.edu
76879b6776 Add null checks to some DOM methods. Bug 234331, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@152969 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:54:12 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
peterv%propagandism.org
f5e9d8fad4 Fix warnings.
git-svn-id: svn://10.0.0.236/trunk@152592 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 13:17:48 +00:00