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

355 Коммитов

Автор SHA1 Сообщение Дата
peterv%netscape.com 57fc575a5c Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa. 2002-03-04 02:25:08 +00:00
peterv%netscape.com b6784de5d6 Fix for bug 127485 (Clean up soap in the mac buildscripts). sr=sfraser, a=dbaron. 2002-03-03 13:39:10 +00:00
peterv%netscape.com 1251ceac0c Fix for bug 127485 (Clean up soap in the mac buildscripts). sr=sfraser, a=dbaron. 2002-03-03 11:19:24 +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
peterv%netscape.com f01632886e Bustage fix. Library, not Shared Library. 2002-02-22 01:30: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
peterv%netscape.com a45c3f3e47 Interface got renamed as part of bug 119382, rename in implementation too. Bustage fix for WSDL. Not part of the build. 2002-02-21 14:29:21 +00:00
peterv%netscape.com e19ef98642 Interface got renamed as part of bug 119382, rename in implementation too. Bustage fix for iiextras. Not part of the build. 2002-02-21 14:28:52 +00:00
peterv%netscape.com e8b1bac22e First part of fix for bug 107795 (Enable SOAP in default builds). SOAP is still off after this check-in. sr=sfraser, a=shaver. 2002-02-21 14:15:55 +00:00
dbradley%netscape.com f4fbed4e14 Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst 2002-02-19 14:48:00 +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
rayw%netscape.com bdc3f24c12 More edits, fixes, beautification, links, TOC.
This is documentation, and not part of any build.
2002-02-18 18:44:16 +00:00
peterv%netscape.com 1090e7dedf Keep SOAP building on Mac. Not part of the default build. 2002-02-18 15:55:05 +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 746da83c7e More edits and beautification.
SOAP, and especially this document, is not part of the default build.
2002-02-18 14:44:56 +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 544ab94757 More fixes to docs.
SOAP is not part of default build.
2002-02-18 00:40:50 +00:00
rayw%netscape.com 2ce2826ad9 Yet another much-improved version of the SOAP documentation.
SOAP is not part of the default build.
2002-02-18 00:17:09 +00:00
rayw%netscape.com abe04d0535 More edits and enhancements of the SOAP API documentation...
SOAP is not part of the default build.
2002-02-17 18:08:26 +00:00
rayw%netscape.com 08cad986fe Checking in first stab at SOAP API documentation.
This file is not presently built, and SOAP is not part of default build.
2002-02-16 21:57:58 +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
vidur%netscape.com e92c609c41 Made anyType be the base of array. This is not part of the default build. 2002-02-15 01:54:49 +00:00
vidur%netscape.com 2509a09679 Reverted to having a cannonical namespace for schema and SOAP builtin types rather than maintaining two sets of each. For arrays with unspecified xsi:arrayType, the dimension is now 0. 2002-02-15 01:17:27 +00:00
vidur%netscape.com 623b290102 Remove linux warnings. This is not part of the default build. 2002-02-15 01:15:51 +00:00
vidur%netscape.com f96bd7124a Correctly deal with nsIVariant in type conversion. This is not part of the default build 2002-02-15 01:14:27 +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
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
rayw%netscape.com 858f17d445 Added untested code to encode a property bag. Untested and I don't really
know how the property bag will come to me.  Did not break anything.

SOAP is not part of default build.
2002-01-17 07:23:31 +00:00
rayw%netscape.com 8c331348be Added untested code for decoding untyped complex objects. Didn't break
isprimenumber.

SOAP is not part of default build.
2002-01-17 05:39:57 +00:00
rayw%netscape.com e9e0dcdf78 Reformatted files to eliminate bad tabs. Added nsISOAPPropertyBag, which
is not working perfectly WRT XPConnect, but broke nothing else.  Also
added mutator and su[pporting classes.

SOAP is not part of default build.
2002-01-17 03:23:06 +00:00
seawood%netscape.com fa5df5e54c Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
jband%netscape.com b1527d1cb4 initial checkin of support for scriptable wrappers around interface info and for generic interface info sets that can be manually populated - NOT PART OF THE BUILD 2002-01-15 22:22:16 +00:00
rayw%netscape.com ea600c1e1a Changes to use contractid's for construction wherever available. This means
that the JS binding will work correctly.  Also removed old security model.


SOAP is not a part of default build.
2002-01-09 02:17:17 +00:00
vidur%netscape.com 13a52009cd Added proxy classinfo and factory entries. [not part of build] 2002-01-09 01:30:05 +00:00
vidur%netscape.com 39db6a396b Added wsexception.cpp. Creation of components is now done through a factory and an Init method. Fixed array case of conversion to not wrap elements as variants. Further work on proxy and call context to get proxy test working [not part of build] 2002-01-09 01:29:32 +00:00
vidur%netscape.com 085af9d11b Changed testing code to be a component with a JS driver rather than an executable. Added first pass of proxy test. [not part of build] 2002-01-09 01:27:44 +00:00
vidur%netscape.com 503756b9a6 Try to determine and record SOAP version. [not part of build] 2002-01-09 01:26:48 +00:00