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

265 Коммитов

Автор SHA1 Сообщение Дата
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
hyatt%netscape.com 1e1f9ba688 Remove overeager null argument check, since the serialization code clearly allows a null arg. Not part of build. 2002-02-09 08:48:14 +00:00
jband%netscape.com 6d49822526 get rid of IsArray. Add onError. NOT PART OF THE BUILD 2002-02-09 02:18:47 +00:00
jband%netscape.com 6982c28d14 updated tests. NOT PART OF THE BUILD 2002-02-09 02:17:32 +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 ed05a4c99c fix array support. NOT PART OF THE BUILD 2002-02-07 04:37:24 +00:00
jband%netscape.com 7c61dbcf65 fix windows bustage - not part of default build 2002-02-07 04:10:04 +00:00
jband%netscape.com 886d8a0052 update of test. NOT PART OF THE BUILD 2002-02-07 03:57:33 +00:00
jband%netscape.com 840ba819dd initial checkin of test. NOT PART OF THE BUILD 2002-02-07 03:56:45 +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
heikki%netscape.com 3a4a68eee3 Bug 123499, enable arbitrary HTTP commands via XMLHttpRequest. Patch from matthew@mjwilson.demon.co.uk, r=heikki, sr=darin. 2002-02-07 00:19:04 +00:00
vidur%netscape.com 27642d3222 More feedback during test. This is not part of the default build. 2002-02-06 22:10:39 +00:00
vidur%netscape.com d95832aff6 Support for both schema namespaces. This is not part of the default build. 2002-02-06 22:09:22 +00:00
vidur%netscape.com b596dc1188 Support for string and wstring types. Array handling fixes and simplification. This is not part of the default build. 2002-02-06 22:07:53 +00:00
vidur%netscape.com 04efd15def Sharing of builtin types across loaders. Complex types now know when they are array and expose their array type and dimension. This is not part of the default build. 2002-02-06 22:06:10 +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
vidur%netscape.com 24f25e6829 Fix for bug 122305. XMLHttpRequest now has a way to override the mime type of the incoming stream. r=heikki, sr=jst 2002-02-05 02:10:52 +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
jband%netscape.com 98d4d36ec2 Initial checkin of WSDL -> xpcom interface info translator quick test - NOT PART OF THE BUILD 2002-02-02 22:31:12 +00:00
jband%netscape.com 188047365b Commiting accumulated interface info extensions changes. NOT PART OF THE BUILD 2002-02-02 22:18:56 +00:00
jband%netscape.com fb27bd29a0 Initial checkin of WSDL -> xpcom interface info translator. - NOT PART OF THE BUILD 2002-02-02 21:37:23 +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
heikki%netscape.com b3c7820e85 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser. 2002-02-01 22:28:55 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +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
jband%netscape.com 903ae3b5cf New file to test scriptable interface info wrapper and idl generator stuff. -- NOT PART OF THE BUILD -- 2002-01-21 18:43:32 +00:00
jband%netscape.com 8ebc1548b6 Don't assume that GetInfoForParam can't fail. see bug 121118. -- NOT PART OF THE BUILD -- 2002-01-21 18:41:37 +00:00
jband%netscape.com 8727a96318 Convert nsInterfaceInfoToIDL into a JS component. -- NOT PART OF BUILD -- 2002-01-19 21:53:51 +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 98e730f31e Description Change.
Not part od default build.
2002-01-18 18:47:22 +00:00
rayw%netscape.com df3d1e0e55 Fixes to the test.
SOAP is not part of default build.
2002-01-18 18:44:13 +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
rayw%netscape.com 4be3942b19 Added untested decoding of arrays. Did not break tests.
SOAP is not part of default build.
2002-01-18 03:01:06 +00:00
rayw%netscape.com 71a3c9e38b Remove spurious test lines unintentionally committed.
Not part of default build.
2002-01-17 12:57:35 +00:00
rayw%netscape.com baa334a798 Changed aliasing of propertiesto fix JS visibility of property bag.
Not part od default build.
2002-01-17 12:54:24 +00:00