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

127 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com 301b1a4ca8 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
2002-08-07 06:08:00 +00:00
rayw%netscape.com 3207dc4bf1 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 bcf192e308 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 7a76b01cce 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 5cad11cc0a 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 4054efd297 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 9348ce8ac8 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
dbaron%fas.harvard.edu f7cd3e4992 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 3db6d2fda2 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 16d78379aa 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 78bc4fbae3 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 5bf129fe8c 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 f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
mkaply%us.ibm.com 042c09f66c More OS/2 SOAP bustage - PR_CALLBACK, false 2002-02-22 16:24:58 +00:00
rayw%netscape.com 884baddcda 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 b56c36f778 Reverting ineffective patch.
Busted another build.
2002-02-22 10:48:07 +00:00
rayw%netscape.com 09928b361a 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 e16da53e21 Bustage fix. PRBool instead of bool, making OS2 red, fix to go green. 2002-02-22 03:09:21 +00:00
rayw%netscape.com b4273a3c1d 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 1716e524f5 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 5b582f5624 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 4a5f889db8 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 5473c69a0f 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 2c25fd5808 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 a984f8f541 Minor whitespace sdjustments.
SOAP is not part of default build.
2002-02-15 12:30:43 +00:00
rayw%netscape.com 956a9ed9b2 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 43d4539fda 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 ba192b6e3e Standardize use of Truncate.
SOAP is not part of default build.
2002-02-15 11:35:09 +00:00
rayw%netscape.com 676939544c Whitespace fixes.
SOAP is not part of default build.
2002-02-15 11:02:43 +00:00
rayw%netscape.com e3f8c4ff5c Whitespace fixes.
SOAP is not part of default build.
2002-02-15 10:48:16 +00:00
rayw%netscape.com d5dfe5563b Added whitespace in front of comments.
SOAP is not part of default build.
2002-02-15 10:25:28 +00:00
rayw%netscape.com c0d95a0fd1 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 086621d628 Changed license header on SOAP files.
SOAP is not part of default build.
2002-02-14 13:36:34 +00:00
rayw%netscape.com 1e4fdc710e 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 ed1712369c 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 582ee7dbf3 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 3c2d249bd8 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 14ba0b02a9 fix windows bustage - not part of default build 2002-02-07 04:10:04 +00:00
rayw%netscape.com 9db9d11f19 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 a5d896f2b5 Keep SOAP compiling on Mac. Not part of the build, rs=vidur. 2002-02-06 12:56:31 +00:00
jband%netscape.com c9bbfec353 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 c907612d99 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 ec0d4e37f1 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 1052d001e8 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 b5bd72da93 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 1d03f82e88 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 6f3e337cbd 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