Граф коммитов

125 Коммитов

Автор SHA1 Сообщение Дата
rayw%netscape.com 86765eb8e0 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.
2002-07-09 22:30:14 +00:00
alecf%netscape.com f0263ddf07 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
rayw%netscape.com f705884ca5 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.
2002-05-03 11:56:31 +00:00
jaggernaut%netscape.com 6cbd032dc0 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) 2002-04-30 04:03:57 +00:00
alecf%netscape.com 9b7fe4b521 oops fix a typo in my last checkin, to bug 139633 that dbaron caught - "dst" should have been "src" 2002-04-30 01:39:22 +00:00
alecf%netscape.com 09ce09edfb 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
2002-04-29 20:29:54 +00:00
rayw%netscape.com 809608eca1 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.
2002-03-22 11:54:43 +00:00
jband%netscape.com ca148e6fd1 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 2002-03-21 23:21:54 +00:00
rayw%netscape.com 30e10c46ae Lots of fixes and new files in the documentation and tests for SOAP.
None of these are part of any build.
2002-03-19 00:08:15 +00:00
rayw%netscape.com 4c642ea343 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.
2002-03-08 22:12:38 +00:00
cbiesinger%web.de 15155e53f7 bug 127419 r=rayw sr=jst a=asa
fix build warning in nsDefaultSOAPEncoder.cpp
2002-03-06 22:07:24 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
mkaply%us.ibm.com f7016d7bfa More OS/2 SOAP bustage - PR_CALLBACK, false 2002-02-22 16:24:58 +00:00
rayw%netscape.com 08285d747a Trying the safer version of the bustage fix. Last reviewed by jst, but
that version busted, I think this cannot fail.
2002-02-22 11:02:19 +00:00
rayw%netscape.com 0297024c3a Reverting ineffective patch.
Busted another build.
2002-02-22 10:48:07 +00:00
rayw%netscape.com 973535bd5d 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.
2002-02-22 10:08:02 +00:00
rayw%netscape.com d33b8bab02 Bustage fix. PRBool instead of bool, making OS2 red, fix to go green. 2002-02-22 03:09:21 +00:00
rayw%netscape.com fcf373fd28 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.
2002-02-21 23:15:08 +00:00
rayw%netscape.com db4ad912e3 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.
2002-02-18 23:38:07 +00:00
peterv%netscape.com 2fb0610521 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.
2002-02-18 15:54:39 +00:00
rayw%netscape.com ca7eaa823d 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.
2002-02-18 03:46:45 +00:00
rayw%netscape.com 1e0598ce9d 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.
2002-02-16 12:25:11 +00:00
rayw%netscape.com 9ec1c3e65a Last issues for SOAP review by Heikki and others.
SOAP is not part of default build.
2002-02-16 08:01:15 +00:00
rayw%netscape.com a85de4f437 A bunch of minor fixes from Heikki's reviews. Passes my tests.
SOAP is not part of default build.
2002-02-15 15:54:20 +00:00
rayw%netscape.com e0f8bfe5f6 Minor whitespace sdjustments.
SOAP is not part of default build.
2002-02-15 12:30:43 +00:00
rayw%netscape.com a62516d5f3 Changed type of uri attribute in verifySource header to anyURI.
SOAP is not part of default build.
2002-02-15 12:17:17 +00:00
rayw%netscape.com 21b005de86 Attempts to patch-up incomplete type hierarchy in nsISchema.h, lack
of inheritance among builtins, and lack of AnySimpleType.  Commented
lines will have to eventually be reenabled when AnySimpleType is
produced.

SOAP is not part of default build.
2002-02-15 12:10:03 +00:00
rayw%netscape.com 7151d71185 Standardize use of Truncate.
SOAP is not part of default build.
2002-02-15 11:35:09 +00:00
rayw%netscape.com 1dfd57563d Whitespace fixes.
SOAP is not part of default build.
2002-02-15 11:02:43 +00:00
rayw%netscape.com 06b34ea9eb Added error reporting mechanism, and called it in quite a few places. Also
eliminated use of multiple SOAP encoding URIs, and now only rely on the 1.2
with aliasing that can output 1.1.

SOAP is not part of default build.
2002-02-14 23:00:58 +00:00
rayw%netscape.com 70373b518e Changed license header on SOAP files.
SOAP is not part of default build.
2002-02-14 13:36:34 +00:00
rayw%netscape.com 38932fd4cf 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.
2002-02-14 13:08:25 +00:00
rayw%netscape.com ece473ab52 Fixes on arrays, re: bug 121934. Lots of changed needed to permit arrays
to control the types of their children via the information received
from the schema.  But the two critical lines actually getting the
information on the child types from the schema are commented out, because
there are problems with dual hierarchies of schema types that make it
not work as well as it should -- also inability to determine whether
the schema actually specified a type or just gave a nice default.

This also includes fixes to leaks and other problems discovered reviewing
the array code.  This is the first code capable of inferring and encoding
a multi-dimensional array from the nested arrays of JS, where the array
type dictates.  All my tests still work.

SOAP is not part of the default build.
2002-02-14 00:53:46 +00:00
rayw%netscape.com 3b7f67443a 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.
2002-02-13 19:13:41 +00:00
rayw%netscape.com 846739bee3 Changes to the way schema information is interpreted: First, acknowledging
that both complex types and simple restriction types may have base types,
and secondly acknowledging that complex types may have simple content models.

SOAP is not a part of the default build.
2002-02-07 11:40:40 +00:00
jband%netscape.com 7c61dbcf65 fix windows bustage - not part of default build 2002-02-07 04:10:04 +00:00
rayw%netscape.com 8f90b4651e Added code to properly decode multi-dimensional arrays as nested arrays
in XPCOM.  Unfortunately, there is no way to test this because Apache
SOAP servers do not seem to produce them in any simple configuration
because Java does not support multidimensional arrays.  I will be writing
code to test this later as I add support for encoding multi-dimensional
arrays, as specified by a schema type, which I can then decode without
actually sending / receiving a message, but I need to put this fix back
now.  At least I didn't break decoding of single-dimensional arrays.

SOAP is not part of default build.
2002-02-07 03:02:59 +00:00
peterv%netscape.com 188a582576 Keep SOAP compiling on Mac. Not part of the build, rs=vidur. 2002-02-06 12:56:31 +00:00
rayw%netscape.com ccca509c68 Converted tests to use new names for services on my soap server.
SOAP is not part of default build.
2002-02-02 15:42:27 +00:00
rayw%netscape.com 05276a7bd0 A variety of bug fixes in SOAP, most notably, eliminating 1999 schema
types.

SOAP is not part of default build.
2002-02-02 01:47:27 +00:00
vidur%netscape.com 38673d8801 Scoping rules seem to be different on windows and linux. Fixed compiler error on windows. This is not yet part of the default build. 2002-02-02 01:32:04 +00:00
rayw%netscape.com 742aab939d 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.
2002-01-30 17:40:06 +00:00
rayw%netscape.com b8590d9168 Fixed handling of conflicting type information.
SOAP is not part of the default build.
2002-01-25 23:38:57 +00:00
rayw%netscape.com 268c8fa1fd Added code to carefully follow the XMLSchema info when encoding and decoding
xpconnect objects, rejecting errors, and making sure that the child elements
appear in the correct order.

SOAP is not part of the default build.
2002-01-24 17:32:04 +00:00
rayw%netscape.com 20b4e106f1 Cleaned up handling of structs into its own encoder / decoder class so
that it will be easier to add all the schema type checking there.  Also
made this handler QI to nsIPropertyBag instead of expecting it to be the
type of the variant.

SOAP is not part of default build.
2002-01-24 11:26:35 +00:00
rayw%netscape.com cb6bd7687e Handle decoding of simple unknown types as strings, otherwise as variants
within arrays.

SOAP is not part of default build.
2002-01-24 02:57:31 +00:00
rayw%netscape.com 111e5f90bc Added more array support for nested types in arrays.
SOAP is not part of default build.
2002-01-24 02:39:08 +00:00
rayw%netscape.com e29bc6f1dc Added encoding of untyped arrays. Fixed test html.
SOAP is not part of default build.
2002-01-24 01:14:25 +00:00
jband%netscape.com 85724ae651 fix Windows bustage -- NOT PART OF DEFAULT BUILD -- 2002-01-23 02:06:06 +00:00
rayw%netscape.com 63a3b0ffb0 Fixed infinite loop in struct decoding, added test case for struct decoding.
SOAP is not part of default build.
2002-01-18 23:09:15 +00:00