35 Commits

Author SHA1 Message Date
mattwillis%gmail.com
ec87d9cb43 reverting 1.34 - meant for trunk
git-svn-id: svn://10.0.0.236/trunk@231084 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:21:01 +00:00
mattwillis%gmail.com
8e4d7f8c4f bug 389739 - Add IDL constants for XMLHttpRequest readyStates. r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@231083 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:12:58 +00:00
dcamp%mozilla.com
a4cab6af44 add a sendAsBinary() method to XMLHttpRequest (for sending data from an <input type=file> element, among other things). b=371432, r+sr=jonas
git-svn-id: svn://10.0.0.236/trunk@230908 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 04:53:21 +00:00
bzbarsky%mit.edu
d02dcab10e Improve comments. Bug 361222, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215532 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 04:40:37 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
bzbarsky%mit.edu
c26ec4d511 Clean up event dispatch code in XMLHttpRequest, make onreadystatechange an
EventListener, fire upload progress events.  Bug 198595 and bug 312213, patch
by me for the cleanup and onreadystatechange and by Rob Adams
<readams@readams.net> for the upload progress changes, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@196032 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 17:01:53 +00:00
darin%meer.net
ebbca0eaa5 fixes bug 307769 "document how to pass a nsIInputStream to nsIXMLHttpRequest.send" r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194911 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:22 +00:00
scott%scott-macgregor.org
f2448dd3c9 Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@194907 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:18 +00:00
scott%scott-macgregor.org
2a82f35bb1 Backing myself out. I thought I was checking into the aviary 1.0 branch
git-svn-id: svn://10.0.0.236/trunk@194906 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:17 +00:00
scott%scott-macgregor.org
7ef0ed38dc Bug #251418 --> Expose progress notification events through nsIXMLHttpRequest. Allow consumers of nsIXMLHttpRequest to
set a progress event listener. Listen for the http channel's nsIProgressEventSink notification and fire our new progress event
to the consumer.

r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@194905 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:16 +00:00
timeless%mozdev.org
7317af345e Bug 243579 Change nsIOnReadystatechangeHandler to nsIOnReadyStateChangeHandler
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@194902 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:13 +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
darin%meer.net
a971aab158 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
git-svn-id: svn://10.0.0.236/trunk@194882 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:53 +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
6910bb4425 Fixing typo in comment.
git-svn-id: svn://10.0.0.236/trunk@194860 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:31 +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
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
heikki%netscape.com
ad8f6e7e83 Bug 123499, enable arbitrary HTTP commands via XMLHttpRequest. Patch from matthew@mjwilson.demon.co.uk, r=heikki, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@194818 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:49 +00:00
vidur%netscape.com
14b28d1253 Fix for bug 122305. XMLHttpRequest now has a way to override the mime type of the incoming stream. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194817 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:48 +00:00
heikki%netscape.com
1b217097b9 Bug 98928, send() can take any type of parameter, i.e. it can now take JavaScript string. r=jst, sr=jband.
git-svn-id: svn://10.0.0.236/trunk@194814 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:45 +00:00
gerv%gerv.net
2843932dbb License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@194808 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:39 +00:00
gerv%gerv.net
f52ed5415a Oops.
git-svn-id: svn://10.0.0.236/trunk@194807 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:38 +00:00
scc%mozilla.org
68dd18c32a bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@194806 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:37 +00:00
heikki%netscape.com
43104c4c84 Bug 96459, bug 96307 and Bugscape 8288. Implement readyState and onreadystatechange members to enable progress indicators for download. Make it possible to call send() again in onload without crashing. Send load event only after everything done (was sent too early if XML errors). Make some functions throw error if called at the wrong time (match IE). Make it possible to build SOAP again (patch from peterv, r=heikki). r=harishd, sr=vidur, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194800 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:31 +00:00
vidur%netscape.com
e378203b05 Fix for bug 88078. XMLHttpRequest now accepts non-HTTP URIs as well. This is similar to IE behavior. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194798 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:29 +00:00
heikki%netscape.com
ec4beee049 Bug 83557, make xmlextras work in embedding. XMLHttpRequest is more like a DOM class now, events are fired and executed on the proper context, and a lot of JS specific code was removed. Patch by jst, r=heikki, sr=vidur, a=asa@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@194792 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:23 +00:00
darin%netscape.com
c4bc5fb9ba Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@194787 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:18 +00:00
jst%netscape.com
7d0c1bfcd2 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@194786 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:17 +00:00
heikki%netscape.com
bb29b0a191 Bug 49572, implemented responseText property for XMLHttpRequest object. Also some minor nsCOMPtr initialization optimizations and updated tests. r=harishd, rpotts (stream reading part), sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194777 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:08 +00:00
heikki%netscape.com
9d4d892720 Not part of Netscape 6.0 package. Checking in patches from toml@us.ibm.com. These fix bug 55508 (DOMParser does not work without script environment) and bug 55599 (add GetChannel method to nsIXMLHTTPRequest), as well as add a test program. r=heikki, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@194770 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:01 +00:00
rayw%netscape.com
e7a618ccb9 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@194769 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:00 +00:00
vidur%netscape.com
c565e4b393 Commented nsIXMLHttpRequest. Used the new nsIXPCNativeCallContext::SetReturnValueWasSet method to deal with returning event handler function objects to script callers of nsIXMLHttpRequest::Onload and Onerror. Turned on synchronous requests. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194764 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:55 +00:00
vidur%netscape.com
ef3528cc97 Added Unix makefiles and incorporated Andreas Otte's changes for building on Linux. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194761 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:52 +00:00
vidur%netscape.com
78697b7c1e First cut of XMLSerializer and XMLHttpRequest. This is WIP and not part of the Mozilla/Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194759 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:50 +00:00