Commit Graph

376 Commits

Author SHA1 Message Date
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
inoussa
1e2c9d67b0 Suppress unused variables hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@816 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-29 15:24:15 +00:00
inoussa
9ed6d2cf14 Suppress unused variables hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@815 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-29 15:22:51 +00:00
inoussa
8e1920e347 Code generation : Array item external name setting in the interface file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@814 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-29 15:19:58 +00:00
inoussa
81967a7293 Code generation : Array item external name setting in the interface file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@813 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-29 15:17:44 +00:00
inoussa
527c0c98b8 Code generation : Array item external name setting in the interface file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-28 19:43:15 +00:00
inoussa
13d1e675e6 use TByteDynArray for buffer instead of string :
correction for tcp transport
  correction for library transport

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@809 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-25 16:13:54 +00:00
inoussa
4d76fe4edd Type registration : complex objects serialization's helpers are now fully created at registration time.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@808 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-25 16:08:42 +00:00
inoussa
1ce28d56b6 64 bit integer handling in JSON format
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@807 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-24 15:26:40 +00:00
inoussa
15e969fe76 Fix : unable to add parameter
Fix : parameter name is not shown

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@801 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-15 19:04:01 +00:00
inoussa
a258f6cefb WSDL Parser : fix "var" parameter parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@800 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-15 19:01:13 +00:00
inoussa
f7944f4721 Patch by Sergei Gorelkin : The attached patch fixes compilation of WST with the latest changes in FPC trunk
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@799 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-13 16:35:51 +00:00
inoussa
057dd3762b Add Copyright notice
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@797 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-12 10:48:21 +00:00
inoussa
58ab4fd6c9 Fix SOAP ReadBuffer implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@796 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-12 10:47:04 +00:00
inoussa
0ba1744496 Check TBaseProxy.Create() parameters for valid input + tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@787 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-06 16:59:01 +00:00
inoussa
20cd52f952 Updated to use wst_consts.pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-06 16:55:36 +00:00
inoussa
c0a838baaa resource strings should go into this unit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@785 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-06 16:53:48 +00:00
inoussa
8d5feeb061 "type alias" editor fix ( report by Werner Hauptfleisch )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@781 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-21 14:03:31 +00:00
inoussa
a0c252c656 Add JSON in the http server sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@780 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-20 13:40:36 +00:00
inoussa
6655cc5b94 proc editor bug fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@777 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-17 20:00:07 +00:00
inoussa
f267faed72 Type Hint handling record, alias, array ( WideString, AnsiString, UnicodeString handling ). Parsers and generators.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@772 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-07 16:28:22 +00:00
inoussa
8650ae4029 Use TByteDynArray instead of string for raw buffer
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@771 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-07 16:24:41 +00:00
inoussa
d673332bf8 widestring sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@770 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-06 22:32:21 +00:00
inoussa
3e8d4b2e0b widestring sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@769 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-06 22:27:00 +00:00
inoussa
85d250cfc0 Type Hint handling in the "message" component of wsdl files ( WideString, AnsiString, UnicodeString handling )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@768 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-04-06 22:25:04 +00:00
inoussa
13bbaf1be5 use Indy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@745 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-18 16:03:47 +00:00
inoussa
d2abf9846b +Delphi : QWord = UInt64 for CompilerVersion > 16.0
+THeaderBlockProxy :
  This class is used as a wrapper to allow a TBaseRemotable instance to be sent and received as a header block
+ICallContext.AddHeader() : 
  Overload to support classes that do not inherit from THeaderBlock
+TTypeRegistryItem.AddExternalSynonym(), TTypeRegistryItem.IsExternalSynonym()
  Usefull when a xsd defines a complex type and a "element" which type is the complex one.
+TTypeRegistry.FindByDeclaredName():
  Add an option to include the external synonyms in the search

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-18 15:53:10 +00:00
inoussa
3affd43c12 +Delphi : QWord = UInt64 for CompilerVersion > 16.0
+THeaderBlockProxy :
  This class is used as a wrapper to allow a TBaseRemotable instance to be sent and received as a header block
+ICallContext.AddHeader() : 
  Overload to support classes that do not inherit from THeaderBlock
+TTypeRegistryItem.AddExternalSynonym(), TTypeRegistryItem.IsExternalSynonym()
  Usefull when a xsd defines a complex type and a "element" which type is the complex one.
+TTypeRegistry.FindByDeclaredName():
  Add an option to include the external synonyms in the search

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@743 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-18 15:51:45 +00:00
inoussa
be86fa976b Delphi compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@740 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-13 17:10:21 +00:00
inoussa
72809c8784 do not write serialize property if its serialization is optional and its value equals the default one.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@736 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-12 21:58:27 +00:00
inoussa
4217df162b SOAP "ID" and "href" handling in the serialized xml stream.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@730 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-06 20:41:44 +00:00
inoussa
76b3f1fc67 Indy support defines hadling for FPC.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@729 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-06 20:39:37 +00:00
inoussa
2073431adf Overload FilterList() to simplify TEmbeddedArrayStackItem.CreateList()
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@707 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-14 02:10:55 +00:00