84 Commits

Author SHA1 Message Date
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
peterv%netscape.com
a488b9c029 Fix for bug 129135 (XMLSerializer is broken). r=heikki, sr=jst, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@115947 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:50:35 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
heikki%netscape.com
b1a2c74e4e Bug 129109, abort() was partially implemented. r=harishd, sr=darin, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115875 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 23:30:09 +00:00
heikki%netscape.com
2b5f274a6e Bug 123953, crash when using XMLSerializer on 'orphaned' node. r=harishd, sr=vidur, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115861 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:52:45 +00:00
peterv%netscape.com
6aaceba52a Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@115694 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 02:25:08 +00:00
hyatt%netscape.com
cfbd749463 Remove overeager null argument check, since the serialization code clearly allows a null arg. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@114143 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 08:48:14 +00:00
heikki%netscape.com
a6b20a9719 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@113848 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:19:04 +00:00
vidur%netscape.com
418679d380 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@113666 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:10:52 +00:00
rayw%netscape.com
5adc307dfd Changes to use contractid's for construction wherever available. This means
that the JS binding will work correctly.  Also removed old security model.


SOAP is not a part of default build.


git-svn-id: svn://10.0.0.236/trunk@111628 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:17:17 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
leaf%mozilla.org
516776e606 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
git-svn-id: svn://10.0.0.236/trunk@109714 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:43:29 +00:00
heikki%netscape.com
715c6fb111 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@109058 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:44:12 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
shanjian%netscape.com
f87e8450ce While I was checking in fix of 88363 yesterday, a conflict mess got into my
check in. Remove that mess.


git-svn-id: svn://10.0.0.236/trunk@105226 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:46:27 +00:00
shanjian%netscape.com
3881b34635 #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105116 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:37:18 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
hewitt%netscape.com
2118ea4237 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103991 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:43:00 +00:00
gerv%gerv.net
f2fd909b29 License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@103763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:24 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
cls%seawood.org
cd40cb959c Updating xmlextras deps.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103149 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:03:53 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
heikki%netscape.com
cc689d7c32 Bug 100106, XMLHttpRequest.responseText empty if XML parsing error. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@103006 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:22:16 +00:00
cls%seawood.org
b0014b8855 Adding htmlparser to REQUIRES. Fixing myotonic bustage
git-svn-id: svn://10.0.0.236/trunk@102964 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 00:52:51 +00:00
heikki%netscape.com
3f9884bac0 Bug 78622, DOMParser and XMLHttpRequest failures when parser blocked (with xml-stylesheet for example). r=harishd,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@102948 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:14:41 +00:00
jaggernaut%netscape.com
937638062c Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@102907 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:37:29 +00:00
alecf%netscape.com
b7598a10b0 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102837 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 21:32:10 +00:00
jaggernaut%netscape.com
9985dcc528 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls.
git-svn-id: svn://10.0.0.236/trunk@102802 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 12:48:23 +00:00
vidur%netscape.com
381f948d15 Fix for bug 98597. The event held onto from the document's load handler was bogus by the time we sent it to the XMLHttpRequest's event listeners (DOM events have members that are stack-based and, despite being reference-counted objects, should not be held across a call. Instead we create a new event of our own for the XMLHttpRequest load. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102563 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:18:45 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
dougt%netscape.com
8e801f7f38 Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above


git-svn-id: svn://10.0.0.236/trunk@102265 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:52:26 +00:00
heikki%netscape.com
ed11ca9ba1 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@102052 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 00:59:19 +00:00
mstoltz%netscape.com
fd6c388ade 86984 - make history.length sameOrigin-accessible. Security prefs change.
91714 - CheckLoadURI should trest 'safe' and 'unsafe' about: URLs as different protocols
56260 - 'Remember This Decision' in signed script grant dialog should default to unchecked
83131 - More descriptive security error messages
93951 - Added null check in GetBaseURIScheme to prevent crash.
All bugs r=jtaylor, sr=jst


git-svn-id: svn://10.0.0.236/trunk@100964 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 00:18:58 +00:00
vidur%netscape.com
98be16a328 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@100387 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 07:08:07 +00:00
heikki%netscape.com
011e94c4ca Bug 90530, make it possible to set content-type header. Patch from garths@oeone.com. r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@100244 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 23:45:47 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
56ae52c17a Bug 73353: clean up the REQUIRES lines in Makefiles.
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
jst%netscape.com
21ce7f8ced Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99476 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 07:48:12 +00:00
heikki%netscape.com
30ffe6b2b4 Bug 88327, XMLHttpRequest.responseText did not support HTTP charset header. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@98648 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 19:31:14 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
heikki%netscape.com
b9cd82717d 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@96899 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 22:16:10 +00:00
heikki%netscape.com
e0ed8874ab 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
git-svn-id: svn://10.0.0.236/trunk@96200 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 23:44:03 +00:00
mstoltz%netscape.com
a8b60368de 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.
git-svn-id: svn://10.0.0.236/trunk@95481 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:33:51 +00:00
blizzard%redhat.com
b684f8fcbc Back out mstoltz because of blocker bug #81629. Original bugs were 47905 79775.
git-svn-id: svn://10.0.0.236/trunk@95401 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 17:41:23 +00:00
mstoltz%netscape.com
55577f536b 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


git-svn-id: svn://10.0.0.236/trunk@95378 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 06:56:29 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00