66 Commits

Author SHA1 Message Date
rayw%netscape.com
45ce2ad916 Lots of fixes and new files in the documentation and tests for SOAP.
None of these are part of any build.


git-svn-id: svn://10.0.0.236/trunk@116809 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:08:15 +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
rayw%netscape.com
cf263a055c This, with the one-liner Peter checks in, completely closes bug 107795.
r=heikki, sr=vidur, sr=jband, a=shaver.

This eliminates the MOZ_SOAP defining and checking from the makefiles,
from one .cpp file for conditional compiles, and from .html documentation
and tests (.html is only significant to human readers).

this enables SOAP in the default build, and has been tested on all
clean builds.


git-svn-id: svn://10.0.0.236/trunk@115174 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 23:15:08 +00:00
rayw%netscape.com
81dd7bbf15 I found three small but important errors in type identification processes.
Two of them involve the missing classes Struct and AnySimpleType, which I
have been able to fake out.  The third involves the identification of the
type of the array.  When identifying the type of a variant, interface means
that it contains a struct.  but I was using the same method to identify the
type of an array, where interface always means you don't know the type (since
variants show up as interfaces in this case and even nested arrays are
variants).

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114765 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 03:46:45 +00:00
rayw%netscape.com
0cc38f1628 Fixed IDL files to not use mozilla-specific types where possible.
Also identified and entered a placeholder solution for variants not being
able to represent an empty array.  also made primenumber test use
verifyheader.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114504 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 13:08:25 +00:00
rayw%netscape.com
5316554c5b This is the patch related to bug 71394, needing security checks in SOAP.
Also, substituted 8 spaces for tabs in some SOAP files.  Also updated
soap test files to either request UniversalBrowserRead or use verifySource.

r=mstoltz
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114405 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:13:41 +00:00
rayw%netscape.com
15b1571fdb Converted tests to use new names for services on my soap server.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@113525 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 15:42:27 +00:00
rayw%netscape.com
9cd6379065 A variety of bug fixes in SOAP, most notably, eliminating 1999 schema
types.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@113495 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 01:47:27 +00:00
rayw%netscape.com
b717e1974f A number of SOAP bug fixes including fixing problems with fault handling,
using wstrings instead of astrings for  arrays, and ignoring the http
status and returning a fault code when there is one.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@113211 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 17:40:06 +00:00
rayw%netscape.com
4213779178 Added encoding of untyped arrays. Fixed test html.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@112599 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 01:14:25 +00:00
rayw%netscape.com
6f1df8ddf5 Fixed infinite loop in struct decoding, added test case for struct decoding.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@112474 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 23:09:15 +00:00
rayw%netscape.com
31f311dc28 Added an error check and a test case that does not work, yet, because
xpconnect is saying that an array is an interface, I think.

SOAP not part of default build.


git-svn-id: svn://10.0.0.236/trunk@112449 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 20:09:06 +00:00
rayw%netscape.com
d2cc71b653 Description Change.
Not part od default build.


git-svn-id: svn://10.0.0.236/trunk@112439 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 18:47:22 +00:00
rayw%netscape.com
3a3a1492b1 Fixes to the test.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@112438 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 18:44:13 +00:00
rayw%netscape.com
e7eda6ecb5 Made another test work, with a couple of bug fixes.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@112437 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 18:28:37 +00:00
rayw%netscape.com
62279ef20a Remove spurious test lines unintentionally committed.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@112387 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 12:57:35 +00:00
vidur%netscape.com
92ba6a0504 Improved usability of test.
git-svn-id: svn://10.0.0.236/trunk@111266 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 23:29:46 +00:00
rayw%netscape.com
48b907118d Minor fixes to namespace URI's in SOAPUtils, and fault handling in test.
SOAP is not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@110709 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 12:10:33 +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
rayw%netscape.com
91b9263ddb Following Johnny's suggestions to cancel outstanding requests and make the
number black before issuing additional requests.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@110042 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:20:06 +00:00
jst%netscape.com
01b020a9cd Make this test use async soap call and make it work for numbers that don't fit in a JS int.
git-svn-id: svn://10.0.0.236/trunk@110039 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 22:55:41 +00:00
rayw%netscape.com
6f5546daad Coerce type to integer. SOAP is not part of default build.
git-svn-id: svn://10.0.0.236/trunk@110037 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 22:04:25 +00:00
rayw%netscape.com
4f3c37a8f4 Fixes to the way SOAP encodings are tied to the XML elements.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@110012 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 18:56:19 +00:00
rayw%netscape.com
a1bfb55091 Minor fix and update to primes test.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109984 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 06:47:06 +00:00
rayw%netscape.com
adc56dcf3e More fixes to SOAP. Not part of default build. New test file.
git-svn-id: svn://10.0.0.236/trunk@109966 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 04:08:01 +00:00
rayw%netscape.com
b7fdefb5b7 Added version support to SOAP so that calls may be invoked with level 1.1 or
level 1.2 support (needed to build tests).  Also added support for https.
Misc fixes.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109879 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:30:33 +00:00
rayw%netscape.com
456c9f8a82 Fixed most SOAP issues brought up by reviewer. Added completion object.
Inherited SOAPParameter and SOAPHeaderBlock from SOAPBlock, improved
error condition handling, improved comments.

Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109399 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:53:16 +00:00
rayw%netscape.com
831c4e6f2e More bug fixes to SOAP implementation. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@109176 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 03:07:37 +00:00
rayw%netscape.com
7d0a856ad7 Changes to match new IDL.
Not part of default build.


git-svn-id: svn://10.0.0.236/trunk@109140 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 19:04:02 +00:00
rayw%netscape.com
fd692cb08b Fixes required to bring SOAP up to date. The SOAP, WSDL, and Schema code
is not part of the default build.  MOZ_WSDL and MOZ_SCHEMA were eliminated
in favor of MOZ_SOAP.  MOZ_SCHEMA wasn't being used anyway, and MOZ_WSDL
had things needed by MOZ_SOAP.

Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@109132 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 11:33:49 +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
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
alecf%netscape.com
6c7c586272 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@107983 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:28:24 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +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
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
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +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
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
heikki%netscape.com
cd37d0dbd3 Not part of build. Test more stuff.
git-svn-id: svn://10.0.0.236/trunk@102552 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:09:06 +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
heikki%netscape.com
08b72db815 Not part of build. Updated/added XML Extras tests.
git-svn-id: svn://10.0.0.236/trunk@100705 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 01:12:30 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +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
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
cls%seawood.org
f4f0b8b7a6 Remove unneeded LOST_SYM_LIBS defines.
git-svn-id: svn://10.0.0.236/trunk@93441 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 01:13:22 +00:00
disttsc%bart.nl
ce927d9f65 Clean up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@90392 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 22:59:27 +00:00