Commit Graph

10696 Commits

Author SHA1 Message Date
heikki%netscape.com
e19c0ee67a 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. 2006-04-20 03:37:23 +00:00
heikki%netscape.com
65b4bc56eb Bug 73958, XMLHttpRequest data corruption etc. Recursive stream readers are not supported, so I 'copy' by wrapping data in a light weight temporary stream and pass that to parser. Also fix 2 regressions: ignore parameter in Send() if method is GET and fix relative URLs. Finally this patch fixes the testcases, removes my hacky buffer now that nsCString can handle nulls in the middle, and do some minor code cleanup. r=harishd,sr=vidur,a=asa@mozilla.org 2006-04-20 03:37:22 +00:00
mstoltz%netscape.com
bd1cd9dcf2 Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst. 2006-04-20 03:37:21 +00:00
blizzard%redhat.com
65a95e0290 Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775. 2006-04-20 03:37:20 +00:00
mstoltz%netscape.com
c312311694 Bug 47905 - adding security check for XMLHttpRequest.open.
Added nsIScriptSecurityManager::CheckConnect for this purpose.
Also cleaned up the security check API by removing some unnecessary
parameters. r=vidur@netscape.com, sr=jst@netscape.com

Bug 79775 - Forward button broken in main mail window. Making
WindowWatcher not call GetSubjectPrincipal if the URL to be loaded is
chrome, since the calling principal is superfluous in this case.
No one has been able to find the root cause of this problem, but
this checkin works around it, which is the best we can do for now.
r=ducarroz@netscape.com, sr=jst@netscape.com
2006-04-20 03:37:19 +00:00
darin%netscape.com
97ffb4b9a9 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2006-04-20 03:37:18 +00:00
jst%netscape.com
5a312ec0bb 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. 2006-04-20 03:37:17 +00:00
heikki%netscape.com
1d17a728f1 Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst. 2006-04-20 03:37:16 +00:00
heikki%netscape.com
6ae78af1a6 Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2006-04-20 03:37:15 +00:00
timeless%mac.com
0c3743bd56 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2006-04-20 03:37:14 +00:00
darin%netscape.com
8e1ecfc901 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2006-04-20 03:37:13 +00:00
valeski%netscape.com
20f0ac2a44 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2006-04-20 03:37:12 +00:00
danm%netscape.com
846b77f4e4 Removing IsModal,ShowModal,ExitModalLoop methods from nsIDocShellTreeOwner. General API cleanup. bug 70481 r=ccarlen,hyatt,vidur 2006-04-20 03:37:11 +00:00
disttsc%bart.nl
1dcea04d7c Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2006-04-20 03:37:10 +00:00
mstoltz%netscape.com
0844005a9c bug 47905, adding security check to XMLHttpRequest.open(). r=heikki, sr=brendan 2006-04-20 03:37:09 +00:00
heikki%netscape.com
69c4ecd4a7 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. 2006-04-20 03:37:08 +00:00
dougt%netscape.com
bfcd138410 Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2006-04-20 03:37:07 +00:00
disttsc%bart.nl
fec4b7011b Back out dougt's channel changes 2006-04-20 03:37:06 +00:00
dougt%netscape.com
d2c911acdc Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2006-04-20 03:37:05 +00:00
darin%netscape.com
60a318ca30 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2006-04-20 03:37:04 +00:00
heikki%netscape.com
c7c1427b91 Set out param in case of error and some minor optimizations. r=jst, sr=vidur. 2006-04-20 03:37:03 +00:00
gagan%netscape.com
505c82df63 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2006-04-20 03:37:02 +00:00
heikki%netscape.com
e7bb5cd292 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. 2006-04-20 03:37:01 +00:00
rayw%netscape.com
dfd330609b Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2006-04-20 03:37:00 +00:00
heikki%netscape.com
d62b0c585a Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur. 2006-04-20 03:36:59 +00:00
warren%netscape.com
6fb3465237 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2006-04-20 03:36:58 +00:00
vidur%netscape.com
971eaa7986 Added new parser interface that does string/stream to DOM document parsing. This is not part of the Seamonkey build. 2006-04-20 03:36:57 +00:00
vidur%netscape.com
f90fde9e2d Fixed leak of weak reference (thanks beard@netscape.com). Fixed makefiles to avoid overwriting xpt files. This is not part of the regular build 2006-04-20 03:36:56 +00:00
vidur%netscape.com
ef573449c4 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. 2006-04-20 03:36:55 +00:00
vidur%netscape.com
b004365ed3 Added support for synchronous posting. Got rid of unbreakable circular reference in the abort case. This is not part of the Seamonkey build. 2006-04-20 03:36:54 +00:00
vidur%netscape.com
f3d58f2583 Allowed complete script access to our components. This is WIP and not part of the Seamonkey build. 2006-04-20 03:36:53 +00:00
vidur%netscape.com
43354e95a0 Added Unix makefiles and incorporated Andreas Otte's changes for building on Linux. This is not part of the Seamonkey build. 2006-04-20 03:36:52 +00:00
vidur%netscape.com
67859c514c Updated to the new version of nsIPrivateDOMImplementation. We now get a base URL for our own URL resolution from the subject codebase principal. This checkin is for code that is not part of the Seamonkey build. 2006-04-20 03:36:51 +00:00
vidur%netscape.com
91d08375a6 First cut of XMLSerializer and XMLHttpRequest. This is WIP and not part of the Mozilla/Seamonkey build. 2006-04-20 03:36:50 +00:00
bzbarsky%mit.edu
fbcb90fe19 Don't reenter frame construction from anonymous content creation. Bug 334430,
r+sr=sicking
2006-04-19 15:07:19 +00:00
vladimir%pobox.com
bd98558d71 fix more unsupported VC6 windows compiler junk for 333177 2006-04-18 23:33:51 +00:00
vladimir%pobox.com
6300db4384 fix typo for non-cairo gtk2 2006-04-18 22:58:48 +00:00
vladimir%pobox.com
c4f8644e1e fix unsupported VC6 windows compiler junk for 333177 2006-04-18 22:24:56 +00:00
vladimir%pobox.com
d8de4487db fix non-cairo gtk/windows for 333177 2006-04-18 22:17:15 +00:00
vladimir%pobox.com
feccd517d6 add missing mac glue bits for 333177 2006-04-18 21:41:42 +00:00
vladimir%pobox.com
5d02ec5b40 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart 2006-04-18 21:23:15 +00:00
dbaron%dbaron.org
9b0fa55141 Disconnect and release the event listener manager after removing the entry from the hash table to avoid crashes caused re-entry into hash table code. b=334177 r+sr=jst 2006-04-18 20:59:28 +00:00
gavin%gavinsharp.com
8dfa2981c5 Bug 289536: Alt+Shift+Backspace in text boxes should be "Redo", patch by Mark Pilgrim <pilgrim@gmail.com>, r=mconnor, sr=bzbarsky 2006-04-18 15:36:01 +00:00
gavin%gavinsharp.com
f3cf77406e Bug 334289, r+sr=bzbarsky 2006-04-17 22:04:47 +00:00
bzbarsky%mit.edu
ff35061446 Don't trim whitespace off hidden input values. Bug 114997, patch by Steuard
Jensen <steuard+moz@slimy.com>, r=sicking, sr=bzbarsky
2006-04-17 21:28:47 +00:00
peterv%propagandism.org
b4bbbf9633 Better fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking. 2006-04-17 17:13:11 +00:00
mrbkap%gmail.com
cb7556d544 Fix initialization ordering warnings. No bug, r+sr=sicking 2006-04-15 09:56:49 +00:00
dbaron%dbaron.org
d27ca98de2 Null-check mBodyContent. b=334080 r+sr=bzbarsky 2006-04-15 07:20:14 +00:00
cvshook%sicking.cc
ba2eb2ca0f Bug 333942. Move GetParent to nsINode and add GetNodeParent there too. There is a risk that this'll add some binary size, but hopefully not too much. r/sr=bz 2006-04-15 05:09:16 +00:00
bzbarsky%mit.edu
d8be2472d1 Add assertion that documents a relationship between two of the args. Bug
333392, r+sr=sicking
2006-04-15 01:52:32 +00:00