Commit Graph

157367 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
a9eb73ebb5 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 2006-04-20 03:38:51 +00:00
jst%mozilla.jstenback.com
2080518c80 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 2006-04-20 03:38:50 +00:00
hjtoi%comcast.net
ca4a979559 Bug 236436, need to null check URL so we won't crash, r+sr=jst. 2006-04-20 03:38:49 +00:00
bzbarsky%mit.edu
178957ce70 Make XMLHttpRequest dispatch an error event when it fails. Bug 218236, patch
by Wladimir Palant <trev@gtchat.de>, r=jst, sr=bzbarsky
2006-04-20 03:38:48 +00:00
jst%mozilla.jstenback.com
ed2b3e188a Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2006-04-20 03:38:47 +00:00
jst%mozilla.jstenback.com
c0f77c6520 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2006-04-20 03:38:46 +00:00
jst%mozilla.jstenback.com
5169910cb4 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2006-04-20 03:38:45 +00:00
jst%mozilla.jstenback.com
5e967895b3 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2006-04-20 03:38:44 +00:00
bryner%brianryner.com
b14d9fa790 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. 2006-04-20 03:38:43 +00:00
jst%mozilla.jstenback.com
e6d703999d General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2006-04-20 03:38:42 +00:00
bryner%brianryner.com
ab49f6f8f3 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. 2006-04-20 03:38:41 +00:00
caillon%returnzero.com
00bf6f48c3 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2006-04-20 03:38:40 +00:00
caillon%returnzero.com
95407fb438 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2006-04-20 03:38:39 +00:00
caillon%returnzero.com
8dc00a9fe7 Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2006-04-20 03:38:38 +00:00
hpradhan%hotpop.com
55a44b6c5b Bug 206947: Synchronous XMLHttpRequest leaks and can cause crashes r=heikki sr=jst 2006-04-20 03:38:37 +00:00
timeless%mozdev.org
fcc5e37682 Bug 214398 - Refactor some copied code into a function in nsXMLHttpRequest
patch by riceman+bmo@mail.rit.edu r=jst sr=jst
2006-04-20 03:38:36 +00:00
jaggernaut%netscape.com
300141e63e Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2006-04-20 03:38:35 +00:00
bzbarsky%mit.edu
4a0fde8374 Update the string stream interface a bit and simplify the implementation a
lot. Bug 212109, r=dougt, sr=darin
2006-04-20 03:38:34 +00:00
jst%netscape.com
a4876aee97 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 2006-04-20 03:38:33 +00:00
alecf%flett.org
ebb649170a 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
2006-04-20 03:38:32 +00:00
jst%mozilla.jstenback.com
9b33abb12c Fixing typo in comment. 2006-04-20 03:38:31 +00:00
jst%netscape.com
90d74f98fc Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me. 2006-04-20 03:38:30 +00:00
caillon%returnzero.com
c7a7e6b916 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
2006-04-20 03:38:29 +00:00
alecf%flett.org
25442ddb63 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
2006-04-20 03:38:28 +00:00
varga%netscape.com
47c857ecf2 Fix for bug 208912. DOMParser produces documents with about:blank uri.
r=heikki, sr=peterv
2006-04-20 03:38:27 +00:00
heikki%netscape.com
3292eda9fe 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. 2006-04-20 03:38:26 +00:00
heikki%netscape.com
5401d9a016 include no longer needed. 2006-04-20 03:38:25 +00:00
heikki%netscape.com
624a7fafa8 Bug 177533, fix most XMLHttpRequest memory leaks and other minor issues, r=darin, sr=jst, a=asa. 2006-04-20 03:38:24 +00:00
heikki%netscape.com
ece879d6ae Bug 197141, XMLHttpRequest behavior did not match IE when host was not found, r=harishd, sr=darin. 2006-04-20 03:38:23 +00:00
sfraser%netscape.com
cda57fc104 Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2006-04-20 03:38:22 +00:00
heikki%netscape.com
aaaf2beb20 Bug 190180, fix UMR, r=harishd, sr=jst. 2006-04-20 03:38:21 +00:00
heikki%netscape.com
3d4beabe8d 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. 2006-04-20 03:38:20 +00:00
heikki%netscape.com
14a4a86ef7 Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky. 2006-04-20 03:38:19 +00:00
dbaron%dbaron.org
7451de2691 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2006-04-20 03:38:18 +00:00
hpradhan%hotpop.com
738a082a49 Bug 176051: XMLHttpRequest POST fails to send body when authentication required
r=heikki sr=darin
2006-04-20 03:38:17 +00:00
darin%netscape.com
028fbb9c37 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2006-04-20 03:38:16 +00:00
darin%netscape.com
c45f7a3bba fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts 2006-04-20 03:38:15 +00:00
heikki%netscape.com
166976edb7 Bug 176186, XMLHttpRequest does not set document URL. Patch from sicking, r=heikki, sr=peterv. 2006-04-20 03:38:14 +00:00
heikki%netscape.com
e427083b8c Bug 169984, sanitize XMExtras method availability to scripts. r=mstoltz, sr=jst. 2006-04-20 03:38:13 +00:00
dougt%netscape.com
1af2383d1c moves nsIHttpHeaderVisitor into a separate IDL file. b=157133. r=neeti@netscape.com, sr=darin@netscape.com 2006-04-20 03:38:12 +00:00
dougt%netscape.com
2bfab7c9f5 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2006-04-20 03:38:11 +00:00
heikki%netscape.com
793164e0a3 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. 2006-04-20 03:38:10 +00:00
alecf%netscape.com
1894726487 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2006-04-20 03:38:09 +00:00
heikki%netscape.com
28d312c6f0 Bug 137866, responseText should default to UTF-8. r=bzbarsky, sr=jst. 2006-04-20 03:38:08 +00:00
heikki%netscape.com
8a26ee14e1 Bug 142812, setRequestHeader() should set, not add to, the header. r=timeless, sr=darin. 2006-04-20 03:38:07 +00:00
henry.jia%sun.com
fbef8a4091 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
2006-04-20 03:38:06 +00:00
alecf%netscape.com
fe8bb82129 bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2006-04-20 03:38:05 +00:00
rbs%maths.uq.edu.au
801791fc9e Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2006-04-20 03:38:04 +00:00
sfraser%netscape.com
49f0d632ac Fix bug 181823: make CheckSameOrigin always return a value, rather than garbage. r=heikki, sr=bzbarsky 2006-04-20 03:38:03 +00:00
heikki%netscape.com
88fbb89a6d Bug 169982, same origin check for serializeToStream. r=mstoltz, sr=jst. 2006-04-20 03:38:02 +00:00