108 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
a4e307704d Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@194900 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:11 +00:00
jst%mozilla.jstenback.com
5871ad52ca Whitespace only change.
git-svn-id: svn://10.0.0.236/trunk@194899 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:10 +00:00
jst%mozilla.jstenback.com
6555aa4884 Removing stray whitespace. No code change.
git-svn-id: svn://10.0.0.236/trunk@194898 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:09 +00:00
gerv%gerv.net
31f46ef5ad Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@194886 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:57 +00:00
sicking%bigfoot.com
23092700ce Still bug 239572, but this time with the fix not commented out!
r/sr=jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@194885 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:56 +00:00
sicking%bigfoot.com
284800a302 Bug 239572: nullcheck before calling CallQueryInterface
r/sr=jst a=chofmann


git-svn-id: svn://10.0.0.236/trunk@194884 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:55 +00:00
darin%meer.net
7b3df7149f fixes bug 237845 "WSDL bindings fail on Mozilla 1.7 beta" patch by keeda@hotpop.com r+sr=bz,jst a=asa
git-svn-id: svn://10.0.0.236/trunk@194883 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:54 +00:00
jst%mozilla.jstenback.com
bf74cf042a Fixing bug 237319. Adding support for server push of XML documents to an XMLHttpRequest using "multipart/x-mixed-replace". r=darin@meer.net, sr=hjtoi-bugzilla@comcast.net, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@194881 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:52 +00:00
jst%mozilla.jstenback.com
009bc8414f Fixing bug 232493. Paving the way for DOM Level 3 LS. This is mostly cleanup that will make life easier (and safer) when implementing DOM LS. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194880 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:51 +00:00
jst%mozilla.jstenback.com
2d56929484 Fixing bug 232493. Paving the way for DOM Level 3 LS. This is mostly cleanup that will make life easier (and safer) when implementing DOM LS. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194879 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:50 +00:00
hjtoi%comcast.net
38b0da4610 Bug 236436, need to null check URL so we won't crash, r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194878 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:49 +00:00
bzbarsky%mit.edu
9f78859808 Make XMLHttpRequest dispatch an error event when it fails. Bug 218236, patch
by Wladimir Palant <trev@gtchat.de>, r=jst, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@194877 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:48 +00:00
jst%mozilla.jstenback.com
ec2aa0533d Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@194876 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:47 +00:00
jst%mozilla.jstenback.com
0fa6f0e5c3 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@194874 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:45 +00:00
jst%mozilla.jstenback.com
a646032f89 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194873 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:44 +00:00
bryner%brianryner.com
d7b2b72c60 Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@194872 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:43 +00:00
jst%mozilla.jstenback.com
fcc9efb565 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194871 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:42 +00:00
bryner%brianryner.com
6849297bf8 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194870 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:41 +00:00
hpradhan%hotpop.com
f15d5217a3 Bug 206947: Synchronous XMLHttpRequest leaks and can cause crashes r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@194866 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:37 +00:00
timeless%mozdev.org
a5a89633f9 Bug 214398 - Refactor some copied code into a function in nsXMLHttpRequest
patch by riceman+bmo@mail.rit.edu r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@194865 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:36 +00:00
jaggernaut%netscape.com
f89c080005 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194864 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:35 +00:00
bzbarsky%mit.edu
5e10441f6c Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@194863 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:34 +00:00
jst%netscape.com
77490e5c67 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@194862 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:33 +00:00
alecf%flett.org
bd02ddb8c9 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@194861 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:32 +00:00
caillon%returnzero.com
ea6f77723e Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@194858 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:29 +00:00
alecf%flett.org
2a7347891a fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@194857 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:28 +00:00
varga%netscape.com
1cc4a49250 Fix for bug 208912. DOMParser produces documents with about:blank uri.
r=heikki, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@194856 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:27 +00:00
heikki%netscape.com
b3d380f8a2 Bug 204545, remove event listeners when needed, which fixes practically all known memory leaks and gets us a step closer to IE compatibility. r=harishd, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194855 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:26 +00:00
heikki%netscape.com
3f1be41397 Bug 177533, fix most XMLHttpRequest memory leaks and other minor issues, r=darin, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194853 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:24 +00:00
heikki%netscape.com
9b01a5cf99 Bug 197141, XMLHttpRequest behavior did not match IE when host was not found, r=harishd, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@194852 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:23 +00:00
sfraser%netscape.com
6aaef8140e Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@194851 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:22 +00:00
heikki%netscape.com
dda348063f Bug 190180, fix UMR, r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194850 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:21 +00:00
heikki%netscape.com
4218691e03 Bug 166978, XMLHttpRequest does not load synchronously in embedding applications, r=sicking, sr=darin. Bug 111614, DOMParser.parseFromString in modal dialog makes it non-modal. parseFromString also does not work in embedding when loading files that block the parser (like files with xml-stylesheet PI). r=sicking, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@194849 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:20 +00:00
dbaron%dbaron.org
0c34372d9f Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@194847 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:18 +00:00
hpradhan%hotpop.com
dfb70c8d77 Bug 176051: XMLHttpRequest POST fails to send body when authentication required
r=heikki sr=darin


git-svn-id: svn://10.0.0.236/trunk@194846 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:17 +00:00
darin%netscape.com
c0593bf69e fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194845 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:16 +00:00
darin%netscape.com
726d07c40f fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@194844 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:15 +00:00
heikki%netscape.com
6c12a9d3e4 Bug 176186, XMLHttpRequest does not set document URL. Patch from sicking, r=heikki, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@194843 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:14 +00:00
heikki%netscape.com
ec604ccc8f Bug 169984, sanitize XMExtras method availability to scripts. r=mstoltz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194842 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:13 +00:00
dougt%netscape.com
384fccad2f Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@194840 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:11 +00:00
heikki%netscape.com
e390b58cb8 Bug 83573, XMLHttpRequest now adds itself to the loadgroup of the page (if called from JS) so that when you leave the page/hit stop, XMLHttpRequest aborts automatically. r=sicking, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@194839 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:10 +00:00
alecf%netscape.com
9ad60c41be bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@194838 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:09 +00:00
heikki%netscape.com
764617349c Bug 137866, responseText should default to UTF-8. r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194837 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:08 +00:00
heikki%netscape.com
8371d40bd3 Bug 142812, setRequestHeader() should set, not add to, the header. r=timeless, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@194836 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:07 +00:00
henry.jia%sun.com
7a4cbcb630 4th patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@194835 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:06 +00:00
alecf%netscape.com
98c285adab bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@194834 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:05 +00:00
mstoltz%netscape.com
e7d64b5c8c 133170 - Need to re-check host for security on a redirect after a call to
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@194830 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:01 +00:00
dougt%netscape.com
29939d0b12 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@194829 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:00 +00:00
heikki%netscape.com
e098b84aa7 Bug 129607, avoid trying to parse the response if we cannot be sure it is XML. This fixes hang in HTML parser, and is a big performance improvement if you are loading non-XML data. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@194828 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:59 +00:00
heikki%netscape.com
2fae778b0f Bug 128541, make send(null) work again. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194827 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:58 +00:00