Commit Graph

264 Commits

Author SHA1 Message Date
inoussa
3e3ace6710 Test suite : fix memory leaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@913 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 17:39:56 +00:00
inoussa
b57ed66842 Test suite : fix memory leaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@912 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 17:38:48 +00:00
inoussa
173d32bb05 Free WST's generated record RTTI
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@911 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 17:36:49 +00:00
inoussa
f597caeb28 Introduce "FreeObjectProperties()" method in TBaseComplexRemotable to allow its derived classes to clear (FreeAndNil) their object(s) and array(s) properties.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@910 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 11:18:21 +00:00
inoussa
1dbbf6ce7e Introduce "FreeObjectProperties()" method in TBaseComplexRemotable to allow its derived classes to clear (FreeAndNil) their object(s) and array(s) properties.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@909 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 11:16:39 +00:00
inoussa
5b6f63f68a TDateTimeRemotable registration for the XSD/WSDL parsers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@907 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-14 14:54:12 +00:00
inoussa
54ff0827eb Correct 64bit compilation error.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@906 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-14 14:23:07 +00:00
inoussa
5e019c5aec Option to generate object collection instead of array.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@904 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-09 18:07:33 +00:00
inoussa
b45faabcdc ws_helper : option '-gC' to generate object collection instead of array.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@903 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-09 16:50:26 +00:00
inoussa
eda0eb7910 Unify resource strings in wst_consts.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@902 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-09 14:10:58 +00:00
inoussa
3b875dfea2 XSD Date related implementations :
* TDurationRemotable : duration 
  * TTimeRemotable : time 
  * TDateRemotable : date
  * TDateTimeRemotable : dateTime


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-08 18:52:13 +00:00
inoussa
f895ddb46d suppress warnings and hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@899 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-07 11:19:25 +00:00
inoussa
ed00c63b47 TTDurationRemotable and TTimeRemotable and TDateRemotable now use an uniform API :
* ToStr()
  * Parse()

Note that this patch break compatibility a source level ( of these classes ).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@898 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-07 10:45:45 +00:00
inoussa
6ab87b285d TDurationRemotable and TTimeRemotable implementation + tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@896 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-06 16:21:25 +00:00
inoussa
3670ae0745 JSON : native Int64 support through fcl-json ( only on fpc trunck )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@894 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-03 10:38:07 +00:00
inoussa
60af6c3393 json : Disable large U/Int64 tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@892 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-02 11:25:14 +00:00
inoussa
440ac40b8c Add XmlRPC date support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@891 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-02 10:57:58 +00:00
inoussa
c8ad953c7c TDurationRemotable and TTimeRemotable are not implemented, so do not register them in the type register. Instead these types ( duration and time ) are typed string alias.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@887 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 20:26:15 +00:00
inoussa
41dd09e69f parameter access qualifiers in WSDL parsing and generation tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 16:46:22 +00:00
inoussa
f0a291994a parameter access qualifiers in WSDL parsing and generation tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@885 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 16:40:19 +00:00
inoussa
207e8f389b parameter access qualifiers in WSDL parsing and generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@884 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 16:34:57 +00:00
inoussa
8cb6651cbe Register XSD "token" type
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@883 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 16:07:45 +00:00
inoussa
124f02acb3 XMLRPC Serializer : type free data defaults to string
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@882 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-30 16:04:12 +00:00
inoussa
ae486ffc8b XMLRPC Serializer : type free data defaults to string
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@880 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-29 13:39:17 +00:00
inoussa
f9ae9d0348 New version of Amazon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@879 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-29 10:50:16 +00:00
inoussa
5d3831a03d New version of Amazon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@878 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-29 10:48:15 +00:00
inoussa
3006ccd86d New version of Amazon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@877 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-29 10:46:43 +00:00
inoussa
e5e00893ef Fix : AV in the implementation generator.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@876 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-29 10:42:54 +00:00
inoussa
73d1b45eb8 Serialiers : exceptions are no longer used internally to signal missing optional properties.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@875 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-29 01:57:44 +00:00
inoussa
20eecc5ecc suppress warnings and hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:45:40 +00:00
inoussa
98fe8435d1 suppress warnings and hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@873 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:42:06 +00:00
inoussa
a3ae6b453c suppress warnings and hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@872 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:39:02 +00:00
inoussa
3c02bd5018 suppress warnings and hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@871 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:36:57 +00:00
inoussa
20d339d050 suppress warnings and hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@870 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:34:35 +00:00
inoussa
64e65ab2c6 suppress warnings and hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@869 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:33:22 +00:00
inoussa
0382194dd1 fix TAbstractSimpleRemotable serialization ( test case )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@868 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:30:54 +00:00
inoussa
43a7a0ca59 fix TAbstractSimpleRemotable serialization
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-27 22:29:45 +00:00
inoussa
2ac2f77e12 Runtime WSDL generation : object collection handling and test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@864 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-26 12:36:05 +00:00
inoussa
28da302bc6 TObjectCollectionRemotable now inherits from TBaseArrayRemotable instead of TAbstractComplexRemotable, that make more sense.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-26 12:32:45 +00:00
inoussa
0fc47f2004 + runtime WSDL generation : SOAP Header blocks should not derive from THeaderBlock
+ test case

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@862 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-25 23:21:48 +00:00
inoussa
abf1f15cde * Serialization : array and collection now have a "Options" property that can be used to indicate that they should be serialized, empty or not. To do so just include "ioAlwaysSerialize" in the "Options" property of the instance you want to customize.
* Test

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-25 13:54:10 +00:00
inoussa
b0d48481ec XMLRPC/SOAP serializers: Better Boolean handling, fix Delphi bug
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@855 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-18 17:03:43 +00:00
inoussa
423ca16d13 Better handling of "LowgWord" and "QWord" in the serializers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@852 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-17 19:03:05 +00:00
inoussa
8ff7c73715 Type Library Editor : fix function's return type setting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@850 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-16 09:54:57 +00:00
inoussa
5164d80f26 Fix number parsing format : set wst_FormatSettings.ThousandSeparator = #0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-16 00:55:56 +00:00
inoussa
c08865f6ad Type Library Editor : Fix some AV while editing some items ( notably changing from "procedure" to "function" )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@848 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-16 00:38:03 +00:00
inoussa
96344e026d fix for FCL-XML new ChildNodes policy => applicable only to fpc-trunck
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-10 14:25:51 +00:00
inoussa
c1f2dda660 fix for FCL-XML new ChildNodes policy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@834 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-09 22:48:50 +00:00
inoussa
fe7e4d82a9 serialization :
* Empty array should not be serialized
  * When reading a array, if there is no array in the serialized stream, the input argument should be cleaned

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@818 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-01 22:28:39 +00:00
inoussa
6315b87d48 Complex objects serialization : serializer objects must be notified for external property name registration and update themself accordingly.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@817 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-31 19:00:10 +00:00