202 Commits

Author SHA1 Message Date
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
caillon%returnzero.com
cd46cbbaad 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)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
nisheeth%netscape.com
6b7d056e32 Fix for bug 209338. r=harishd@netscape.com, sr=jst@netscape.com. Make nsSoapEncoding instantiable from JS again.
git-svn-id: svn://10.0.0.236/trunk@143692 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 22:38:09 +00:00
harishd%netscape.com
893e8e41f1 Grant access to SOAP response document's properties and also allow the document to be serializable. b=193953, r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143644 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 20:18:34 +00:00
jst%netscape.com
72f5dcb511 Cleaning up some whitespace.
git-svn-id: svn://10.0.0.236/trunk@143575 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 06:15:23 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
jgaunt%netscape.com
6792f02c64 bug 203979 - plug SOAP leaks of default encoding
r=harishd sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@142383 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 21:05:59 +00:00
harishd%netscape.com
e4e03ff787 Fix for random crashes caused by uninitialized XPCVariant type. Also, fixed an FMR. b=203434, r=dbardley@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@142315 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-11 16:27:34 +00:00
jgaunt%netscape.com
166b417916 bug 203836 - changes impl of addref/release for default sopa encoeding so they don't inherit the model for gnereal encodings, also changes some class names
r=rayw sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@142242 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 22:43:39 +00:00
jgaunt%netscape.com
032f2524fe backing out cause of bustage
git-svn-id: svn://10.0.0.236/trunk@142216 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 18:03:43 +00:00
jgaunt%netscape.com
ee48277f1f bug 203836 - changes impl addref/release for default soap encodings so they don't inherit the model for other encodings.
r=rayw sr=jst a=asa


git-svn-id: svn://10.0.0.236/trunk@142211 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 16:53:21 +00:00
jgaunt%netscape.com
326a31b240 bug 198531 - plugging soap leak, had a bad assertion
r=rayw
sr=jst
a=asa


git-svn-id: svn://10.0.0.236/trunk@141938 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 18:11:54 +00:00
jgaunt%netscape.com
3d4930dfbb bug 198531 - pluggin SOAP leak
r=rayw
sr=jst
a=asa


git-svn-id: svn://10.0.0.236/trunk@141915 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-28 21:55:17 +00:00
harishd%netscape.com
79113fac55 Creating a separate module for web services. b=201078, r=leaf@netscape.com, ssu@netscape.com, sr=heikki@netscape.com jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@141819 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 20:57:34 +00:00
harishd%netscape.com
c8fd40887c Patch provided by rayw@netscape.com: Ignore xsi:type if it's not a proper subtype of the schema-guaranteed type. b=202597, r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141543 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:23:26 +00:00
harishd%netscape.com
af528987ef Fabricate a unique name for anonymous schema types. b=199555, r=rayw@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141347 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 00:11:34 +00:00
harishd%netscape.com
832eb93a91 Enabling an alternative security model for web services. b=183824, r=rayw@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140175 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 00:19:26 +00:00
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
harishd%netscape.com
ca619d387e Fixed a crasher by avoiding an extra release of the minivariant. Also fixed a bug in soap encoding. b=197872, r=rayw@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@139952 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 19:14:29 +00:00
jst%netscape.com
85169fe43f Checking in changes that were made during the review of the WSDL code. The review was done by harishd@netscape.com, jgaunt@netscape.com, dbradley@netscape.com, and jst@netscape.com. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@139757 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 07:25:23 +00:00
harishd%netscape.com
d06a9798f7 Make sure to resolve place-holder-array-type. b=192141, r=rayw@netscape.com, sr=vidur@netscape.com.
The target namespace on <schema> should be applied to <element> if and only if <element> is qualified. b=192972. r=rayw@netscape.com, sr=jst@netscape.com.
Fixed a few warnings.
*** NOT PART OF THE BUILD ***


git-svn-id: svn://10.0.0.236/trunk@138634 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 22:36:42 +00:00
dbaron%dbaron.org
f5b5bace95 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136002 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 20:32:55 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
rayw%netscape.com
3c2079a839 Fix for bug 154971, r=harishd, sr=heikki, sr=jst, very safe fix to inheritance
of HTTPS transport in SOAP.  Duplicates functioning line above for HTTP.  Does
not affect any object used outside of HTTPS transport for SOAP which wa not working.


git-svn-id: svn://10.0.0.236/trunk@124892 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 22:30:14 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
rayw%netscape.com
d29baad3e5 Fixes bug 141765, r=heikki, sr=jst, rs=rayw.
This is a very simple, safe fix that fixes a crash in decoding structures
inside of arrays in SOAP, and affects nothing else.


git-svn-id: svn://10.0.0.236/trunk@120690 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 11:56:31 +00:00
jaggernaut%netscape.com
6f59cccadb Fix two typos on previous checkin for bug 139633. r=dmose, sr=mozbot (even though I couldn't reach him, I'm sure he would've given me sr= for this simple bustage fix)
git-svn-id: svn://10.0.0.236/trunk@120283 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 04:03:57 +00:00
alecf%netscape.com
93e7be5f78 oops fix a typo in my last checkin, to bug 139633 that dbaron caught - "dst" should have been "src"
git-svn-id: svn://10.0.0.236/trunk@120274 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 01:39:22 +00:00
alecf%netscape.com
61312b4eeb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin


git-svn-id: svn://10.0.0.236/trunk@120220 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 20:29:54 +00:00
rayw%netscape.com
4e3de121c8 Added support for new string types in SOAP so they are automatically recognized
as xs:string type during encoding.  Bug 131952, r=heikki, sr=jband, a=asa.


git-svn-id: svn://10.0.0.236/trunk@117170 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 11:54:43 +00:00
jband%netscape.com
57faa09874 fix bug 125084. Add support for empty arrays in nsIVariant. This is expressed as atype id rather than as a regular array with no elements. Includes changes to xpconnect to support mapping to empty JSArrays, xpconnect tests, and SOAP. Patches are from jcorwin@us.ibm.com and rayw@netscape.com. r=jband sr=brendan a=asa
git-svn-id: svn://10.0.0.236/trunk@117098 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:21:54 +00:00
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
rayw%netscape.com
f751fc8fb7 This is the fix to bug 72900, r=heikki, sr=vidur, a=asa. This fix adds
an override to cause all SOAP responses to be parsed as XML, whatever the
reported MIME type is.

r=heikki, sr=vidur, a=asa for checkin to the 0.9.9 branch and the 1.0 trunk.


git-svn-id: svn://10.0.0.236/trunk@116200 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 22:12:38 +00:00
cbiesinger%web.de
fefb97b01b bug 127419 r=rayw sr=jst a=asa
fix build warning in nsDefaultSOAPEncoder.cpp


git-svn-id: svn://10.0.0.236/trunk@115977 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:07:24 +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
mkaply%us.ibm.com
4a27c314c5 More OS/2 SOAP bustage - PR_CALLBACK, false
git-svn-id: svn://10.0.0.236/trunk@115230 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 16:24:58 +00:00
rayw%netscape.com
bac653e3fe Trying the safer version of the bustage fix. Last reviewed by jst, but
that version busted, I think this cannot fail.


git-svn-id: svn://10.0.0.236/trunk@115220 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:02:19 +00:00
rayw%netscape.com
cac7132437 Reverting ineffective patch.
Busted another build.


git-svn-id: svn://10.0.0.236/trunk@115219 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 10:48:07 +00:00
rayw%netscape.com
475853fda0 This is an attempt to fix bustage on OS/2. It was some coded added to
satisfy Mac, which busted OS/2. sr=jst.  Bug #127199.


git-svn-id: svn://10.0.0.236/trunk@115218 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 10:08:02 +00:00
rayw%netscape.com
11169260e5 Bustage fix. PRBool instead of bool, making OS2 red, fix to go green.
git-svn-id: svn://10.0.0.236/trunk@115199 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 03:09:21 +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
eb30dee02f Added conditional in makefiles and build module to enable or disable
MOZ_WSP.  This was only done inside of the MOZ_SOAP defines.  Tested
build with and without SOAP define.  This permits SOAP to be built
without web service proxies.  Related to bug 107795, but needed
whether or not SOAP becomes part of default build.

sr=vidur.  SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114842 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:38:07 +00:00
peterv%netscape.com
075241850f Keep SOAP building on Mac (Need to cast the NS_LITERAL_STRING to const nsAString& to make it compile on CW on Mac). Not part of the build.
<jag> Forte sucks.


git-svn-id: svn://10.0.0.236/trunk@114802 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 15:54:39 +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
2c5c9121b8 Added check for null schema type being passed in. Also made the type
not specified where it was AnyType or could be trivially derived from
the element name and namespaceURI being used.

SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114688 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 12:25:11 +00:00
rayw%netscape.com
2094e0931d Last issues for SOAP review by Heikki and others.
SOAP is not part of default build.


git-svn-id: svn://10.0.0.236/trunk@114675 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 08:01:15 +00:00