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

117 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu 046fbde3d4 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:14:02 +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 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 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 197e7137a0 Whitespace fixes.
SOAP is not part of default build.
2002-02-15 10:48:16 +00:00
rayw%netscape.com 9133d2cfcc Added whitespace in front of comments.
SOAP is not part of default build.
2002-02-15 10:25:28 +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
jband%netscape.com a048f2049e Add C++ string support includes needed when AString params are used - NOT PART OF DEFAULT BUILD 2002-02-02 22:33:16 +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
rayw%netscape.com ca9319c937 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.
2002-01-18 20:09:06 +00:00
rayw%netscape.com 7feae90fbd Made another test work, with a couple of bug fixes.
SOAP is not part of default build.
2002-01-18 18:28:37 +00:00
rayw%netscape.com 2ea0e22e42 Fixed type handling when decoding nested arrays. 2002-01-18 15:09:58 +00:00
rayw%netscape.com 648f100447 Fixed name of sparse array offset attribute.
Not part of default build.
2002-01-18 14:30:11 +00:00
rayw%netscape.com fd083ebd9d Added most of implementation of decoding of multidimensional arrays. The
only thing missing is proper construction of a variant.  I will consult
with John.

Not part of default build.
2002-01-18 14:17:03 +00:00