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

199 Коммитов

Автор SHA1 Сообщение Дата
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 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
rayw%netscape.com bc4ff1a138 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 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
rayw%netscape.com 212bb6a3e2 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 88bd0eb13e 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 1d4585461f 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 15c237c01a fix Windows bustage -- NOT PART OF DEFAULT BUILD -- 2002-01-23 02:06:06 +00:00
rayw%netscape.com 85845b7611 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 6b895fc9e3 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 611c287062 Description Change.
Not part od default build.
2002-01-18 18:47:22 +00:00
rayw%netscape.com b9c7f54d6d Fixes to the test.
SOAP is not part of default build.
2002-01-18 18:44:13 +00:00
rayw%netscape.com ac61369e2b 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 d4fc82cfb8 Fixed type handling when decoding nested arrays. 2002-01-18 15:09:58 +00:00
rayw%netscape.com f1cdd08399 Fixed name of sparse array offset attribute.
Not part of default build.
2002-01-18 14:30:11 +00:00
rayw%netscape.com 978b6738dd 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 b734d1d7a1 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 37a9b286d0 Remove spurious test lines unintentionally committed.
Not part of default build.
2002-01-17 12:57:35 +00:00
rayw%netscape.com 04efa3446e 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 ad56175323 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 fc6291f0a6 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 838700542b 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
rayw%netscape.com 892ec82f97 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 3e41151421 Added dimensions to arrayType attribute in encoding process. [not part of build] 2002-01-09 01:25:46 +00:00
rayw%netscape.com fb93a54e63 Fix for undefined symbol under Linux. Eliminated proxy/test due to
Makefile.in problems.  Added ability for a specific version of SOAP
(Encoding) to deal with either version of Schema URI if it is
explicitly specified.

SOAP is not part of the default build.
2002-01-08 22:11:57 +00:00
vidur%netscape.com efb02ac8d3 Improved usability of test. 2002-01-02 23:29:46 +00:00
vidur%netscape.com 25fe20a199 Addition of SOAPParameter class and contractID, minor fixes to encoding code. This is not part of the build. 2002-01-02 23:29:12 +00:00
rayw%netscape.com a65318c70d Minor fixes to namespace URI's in SOAPUtils, and fault handling in test.
SOAP is not part of the default build.
2001-12-18 12:10:33 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
rayw%netscape.com 9bf1ec9850 Following Johnny's suggestions to cancel outstanding requests and make the
number black before issuing additional requests.

Not part of default build.
2001-12-07 23:20:06 +00:00
jst%netscape.com a7a30140b7 Make this test use async soap call and make it work for numbers that don't fit in a JS int. 2001-12-07 22:55:41 +00:00
rayw%netscape.com 6bc2fdb948 Coerce type to integer. SOAP is not part of default build. 2001-12-07 22:04:25 +00:00
rayw%netscape.com 5a78a34cbf Fixes to the way SOAP encodings are tied to the XML elements.
Not part of default build.
2001-12-07 18:56:19 +00:00
rayw%netscape.com bc5d878343 Minor fix and update to primes test.
Not part of default build.
2001-12-07 06:47:06 +00:00
rayw%netscape.com a444aada8a Added self-ref to completion object when it has relelased the request
object but still needs to deliver listenerr callback.

SOAP is not part of default build.
2001-12-07 05:22:28 +00:00
rayw%netscape.com 31de90e964 More fixes to SOAP. Not part of default build. New test file. 2001-12-07 04:08:01 +00:00
rayw%netscape.com 337fb6f519 Fixed argument check in SOAP.
Not part of default build.
2001-12-07 02:13:34 +00:00
jst%netscape.com b67c735146 Adding missing NS_INIT_ISUPPORTS to a constructor, cleaning up some out parameter setting code... 2001-12-07 02:02:15 +00:00
jst%netscape.com 55f6f9f6b8 Fixing refcounting problem in the soap code, not part of the default build. 2001-12-07 01:48:23 +00:00
rayw%netscape.com c69fc96d56 Added version support to SOAP so that calls may be invoked with level 1.1 or
level 1.2 support (needed to build tests).  Also added support for https.
Misc fixes.

Not part of default build.
2001-12-06 22:30:33 +00:00
rayw%netscape.com 90c944e251 Added DEBUG code to log messages sent and received by SOAP.
Not part of default build.
2001-12-06 02:09:04 +00:00
rayw%netscape.com 4b69f3b1f4 Fixed problem compiling on windows in SOAP.
Not part of default build.
2001-12-06 00:26:35 +00:00
rayw%netscape.com 3eb3353b87 More fixes to strings, and changed encoding to support a single string
lookup key instead of two for better genericity and efficiency.
2001-12-05 00:10:07 +00:00
rayw%netscape.com 0cb64f7b12 Changed string literals in nsSOAPUtil.h yet again. Perhaps this fixes
the strings that had stopped working on various plaatforms.

Not part of default build.
2001-12-04 21:42:13 +00:00
rayw%netscape.com 48824e5c20 Fixed errors in mustUnderstand attribute of header block.
Not part of default build.
2001-12-01 00:03:57 +00:00
rayw%netscape.com f1abc19a37 Gave more SOAP objects xpconnect behaviors. 2001-11-30 23:32:53 +00:00
rayw%netscape.com ca53676a88 Fixed most SOAP issues brought up by reviewer. Added completion object.
Inherited SOAPParameter and SOAPHeaderBlock from SOAPBlock, improved
error condition handling, improved comments.

Not part of default build.
2001-11-30 22:53:16 +00:00
rayw%netscape.com bcc98fe046 There were obsolete XML Schema URIs left from the old code. Updated to the
latest XML Schema specification -- 2001 URIs.  Also fixed the namespace of the
type attribute.

Not part of default build.
2001-11-29 17:30:55 +00:00
rayw%netscape.com 445139c03f Fixed SOAP document-style returns. Not part of default build. 2001-11-29 03:31:42 +00:00
rayw%netscape.com c003a9e3b0 More bug fixes to SOAP implementation. Not part of default build. 2001-11-29 03:07:37 +00:00
rayw%netscape.com f5d5266007 Fixes to the lookup of SOAP encoders.
Not part of default build.
2001-11-29 00:07:27 +00:00
rayw%netscape.com 8546591d43 Changes to match new IDL.
Not part of default build.
2001-11-28 19:04:02 +00:00
rayw%netscape.com e5f04c20f9 More adjustment to class info for SOAP checkins.
Not part of default build.
2001-11-28 12:33:38 +00:00
rayw%netscape.com fc8ee60569 Not part of default build.
Added more class information and module factories for soap items, fixed
copyright date.

Not part of default build.
2001-11-28 12:25:46 +00:00
rayw%netscape.com 18db5bcc50 Fixes required to bring SOAP up to date. The SOAP, WSDL, and Schema code
is not part of the default build.  MOZ_WSDL and MOZ_SCHEMA were eliminated
in favor of MOZ_SOAP.  MOZ_SCHEMA wasn't being used anyway, and MOZ_WSDL
had things needed by MOZ_SOAP.

Not part of the default build.
2001-11-28 11:33:49 +00:00
rayw%netscape.com 824927ab75 Fixed to reflect new signature of Send call. Not part of default build. 2001-11-28 11:06:09 +00:00
rayw%netscape.com 60c057d48d Updating SOAP files from branch. Not part of default build. 2001-11-28 10:50:29 +00:00
peterv%netscape.com bcd18a1996 Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead. Not part of the build. r=jag, rs=scc. 2001-11-12 01:22:31 +00:00
jaggernaut%netscape.com ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net 05abd17648 License changes, take 2. Bug 98089. mozilla/extensions/. 2001-09-25 23:31:24 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
jaggernaut%netscape.com 25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
heikki%netscape.com 441896a2b3 Bug 96459, bug 96307 and Bugscape 8288. Implement readyState and onreadystatechange members to enable progress indicators for download. Make it possible to call send() again in onload without crashing. Send load event only after everything done (was sent too early if XML errors). Make some functions throw error if called at the wrong time (match IE). Make it possible to build SOAP again (patch from peterv, r=heikki). r=harishd, sr=vidur, a=asa. 2001-08-31 00:59:19 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org d9e4d736da bug #75220: sr=jst, r=vidur. Update soap to use new string names. 2001-05-21 23:48:41 +00:00
jst%netscape.com ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
disttsc%bart.nl 8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
disttsc%bart.nl 277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
disttsc%bart.nl a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
vidur%netscape.com d53fa7feef SOAP listeners now get the protocol status as part of the response. This is not part of the default build. 2000-07-15 00:24:27 +00:00
vidur%netscape.com ccdbb51ce5 Fixed Mac casting problem. This is not part of the default build. 2000-07-14 16:25:09 +00:00
vidur%netscape.com 2915cc0f6b Got rid of unused, unimplemented nsISOAPCall:SetSimpleParameters. The script version of nsISOAPCall::SetParameters does exactly this. This is not part of the default build 2000-07-14 00:34:50 +00:00
vidur%netscape.com 279fba5b00 SOAP calling tests 2000-07-13 23:11:59 +00:00
vidur%netscape.com 0d8f10e1f6 Additional SOAP call work. This is not part of the Seamonkey project. 2000-07-13 23:11:16 +00:00
vidur%netscape.com 02d802ff3d Work in progress on SOAP call component. This is not part of the Seamonkey build. 2000-07-11 00:54:39 +00:00
vidur%netscape.com 5a19d3f794 Work in progress on SOAP call component 2000-07-11 00:52:30 +00:00