Commit Graph

537 Commits

Author SHA1 Message Date
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
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
inoussa
856571eee4 TEmbeddedArrayStackItem.CreateList() should look only at the immediate child level of the ScopeObject
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@706 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-14 01:15:34 +00:00
inoussa
949491a27e Invalid characters handling at the end of base 64 encoded strings. Reported by Birger Jansen, thanks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@705 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-14 01:10:41 +00:00
inoussa
e107b3682f Pacth from Joost van der Sluis : Delphi CoInitialize/CoUninitialize handling separated from FPC code
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@680 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-27 16:53:43 +00:00
inoussa
2b47043b52 Date "utils" routine with tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@666 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-19 17:51:35 +00:00
inoussa
cff1351132 + Base64( refactored ),
+ Base16 
+ Extendable "AnsiChar" and "WideChar"
+ tests

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@665 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-19 17:46:33 +00:00
inoussa
6b4a9600fe Use wst_types.pas instead of wst.inc and wst_delphi.inc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@644 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-12-23 15:11:31 +00:00
inoussa
2e85188ebc DDelphi 2009 support (Fix ... )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@638 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-12-17 21:29:09 +00:00
inoussa
7fa5265c86 Delphi 2009 support (Fix)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-12-13 20:41:37 +00:00
inoussa
de258de519 Delphi 2009 support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@626 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-12-12 22:02:35 +00:00
inoussa
b9151e580b Type Library Editor : Remember last used directory
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@613 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-26 16:45:52 +00:00
inoussa
bb891a6fe5 Default proxy creation function bug fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@612 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-26 11:12:33 +00:00
inoussa
e2e80eac2d Suppress warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-24 15:42:58 +00:00
inoussa
a43bb35944 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@609 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-11-24 15:39:35 +00:00
inoussa
e2fa74cb39 Pretty font setting, Thanks to Sergio Marcelo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@607 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-21 12:13:49 +00:00
inoussa
eb6da0d76f Properties and fields re-ordering
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@606 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-19 22:18:00 +00:00
inoussa
88fb32b8f1 typ_lib_edtr : Class properties and record fields reordering
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-19 10:43:32 +00:00
inoussa
f8f72633af Correct method declaration ( specify "override")
fix warning

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@604 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-19 10:38:29 +00:00
inoussa
83f0425897 XSD <any> and <anyAttribute> handling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-23 19:21:59 +00:00
inoussa
cfba265867 Filter on an null cursor should be null
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@597 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-23 14:39:28 +00:00
inoussa
8c09b81cfd parsing wsdl with schema, but xsd namespace not declared in top node
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@595 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-17 20:31:55 +00:00
inoussa
8a190b28da Aggregated filters
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@594 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-17 20:12:15 +00:00
inoussa
67eae142b3 let fpc generate the exe name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@591 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-09 16:59:06 +00:00
inoussa
57c2b5443f delete unnecessary file generation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@590 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-10-09 16:35:03 +00:00
inoussa
122d94f289 XSD parsing : metadata extraction bug fix and tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-29 12:37:11 +00:00
inoussa
4c4cc7041c remove no longer needed include files
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@578 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-29 12:35:06 +00:00
inoussa
6f801dd3f8 ICallContext now has a property manager ( GetPropertyManager() ). At server side the so got property manager can be used to query the remote client informations such as its IP address ( RemoteIP )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@573 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-25 02:24:25 +00:00
inoussa
d80a5005f6 Win64 extended floating fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@572 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-25 02:20:10 +00:00
inoussa
b6b5e47eb7 Win64 extended floating fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@571 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-25 02:17:43 +00:00
inoussa
750cf8f8cf Generated proxy creation function now take 3 parameters for easy usage :
* AFormat
  * ATransport
  * AAddress

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@570 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-25 02:14:56 +00:00
inoussa
bf2589842a linux fixing, TRttiExpUnicodeStringNodeItem implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-24 01:50:32 +00:00
inoussa
0a9511fbc8 "schema" node finding for non qualified name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@567 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-21 16:59:30 +00:00
inoussa
650f9e9b34 POOLED_Release_NON and Release_NON are enabled on win32/64 due to non-existence of timeout for semaphore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@566 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-21 16:56:14 +00:00
inoussa
9550266e37 rename *.WSDL to *.wsdl ( part 2 )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@565 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-21 16:02:05 +00:00
inoussa
b767593310 rename *.WSDL to *.wsdl ( part 1 )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@564 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-21 15:47:25 +00:00
inoussa
f44dad52d7 WideString and UnicodeString support by the Type Library Editor/ws_helper
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-17 01:45:04 +00:00
inoussa
b2368463cf Starting WideString support by the Type Library Editor/ws_helper
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-15 02:34:09 +00:00
inoussa
2cb02c46ec AnsiChar and WideChar support in WST runtime
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-15 02:30:43 +00:00
inoussa
1e95624282 add wst_core dependency
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-13 16:12:30 +00:00
inoussa
e5a4f0a2e3 Lazarus IDE pacakages ( Thanks to MVC FPC team )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@558 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-13 15:56:59 +00:00
inoussa
9f85f309fb Binary reader/writer fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@557 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-13 15:33:43 +00:00
inoussa
5a497d957a Part 2
FPC UnicodeString support (+ test cases)
WideString support (+ test cases)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@556 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-13 15:19:20 +00:00
inoussa
812edb945c Part 1
FPC UnicodeString support (+ test cases)
WideString support (+ test cases)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-13 15:18:03 +00:00
inoussa
5918607ca5 Fix memory leak in xsd parser ( TPropInfoReferenceList should free its items )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 17:53:43 +00:00
inoussa
5276962d02 Fix empty complexType parsing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 02:12:27 +00:00
inoussa
a9871c2bc3 Part 3 final
* simple content header block implementation : TSimpleContentHeaderBlock
  * XSD/WSDL generator tests : header, simple content header, collection

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@551 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 00:44:56 +00:00
inoussa
bc4dd0ba39 Part 2
* simple content header block implementation : TSimpleContentHeaderBlock
  * XSD/WSDL generator tests : header, simple content header, collection

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 00:42:54 +00:00
inoussa
975833fadc Part 1
* simple content header block implementation : TSimpleContentHeaderBlock
  * XSD/WSDL generator tests : header, simple content header, collection

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@549 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-11 00:40:36 +00:00
inoussa
5dac536065 proxy generator : store the call context into a local variable and use it instead of casting "self" to ICallContext, suggested by MVC ( FPC team )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@548 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 16:02:05 +00:00
inoussa
46a16cfdd8 part 2
wsdl function "result" part is determined now as ( in order and stops when ok ) :
  * "result" part
  * "return" part
  * "_result" part
  * "result_" part
  * "_return" part
  * "return_" part
  * the last part

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:48:30 +00:00
inoussa
7240986847 part 1
wsdl function "result" part is determined now as ( in order and stops when ok ) :
  * "result" part
  * "return" part
  * "_result" part
  * "result_" part
  * "_return" part
  * "return_" part
  * the last part

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:46:45 +00:00
inoussa
271046c7e6 xsd files loading / exporting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@545 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:28:09 +00:00
inoussa
d11e89466f Part 4
runtime WSDL generation : 
  * class inheritance is handled correctly
  * record type handling
  * tests
several warnings get fixed

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:23:29 +00:00
inoussa
d7f0f07c54 Part 3
runtime WSDL generation : 
  * class inheritance is handled correctly
  * record type handling
  * tests
several warnings get fixed

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:20:30 +00:00
inoussa
c8c6f3c942 Part 2
runtime WSDL generation : 
  * class inheritance is handled correctly
  * record type handling
  * tests
several warnings get fixed

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@542 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:19:04 +00:00
inoussa
c899af0c2d Part 1
runtime WSDL generation : 
  * class inheritance is handled correctly
  * record type handling
  * tests
several warnings get fixed

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-10 01:06:46 +00:00
inoussa
3c301358b4 overloaded routines for testability
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@540 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-06 15:54:34 +00:00
inoussa
49bc394b54 Always use TMemoryStream for request/response buffer instead of TStringStream
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@539 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-06 15:50:08 +00:00
inoussa
6b911011c0 OS X compatibility patch, Thanks to Phil for testing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@537 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-29 12:57:35 +00:00
inoussa
bfbb77cd0b Soap header sample : client and server. See readme.txt for more informations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@536 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-27 17:50:39 +00:00
inoussa
82d0c2a1c1 +Added Indy TCP transport (client)
Make registry getter inline
TBinaryString should be used a binary buffer

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@535 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-27 17:48:09 +00:00
inoussa
7296df02a0 +Serialization of compound element ( TBaseComplexRemotable ) is now handle by TObjectSerializer that can read/write elements of different name spaces
+Fix server side SOAP headers reading.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-24 13:33:06 +00:00
inoussa
d8690785ba Define TBinaryString ( = ansistring ) and use it in base64 BinaryData
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-18 19:04:16 +00:00
inoussa
7a5a5c150b Documentation handling in wsdl/xsd editing and parsing :
+ main windows of the Type Library Editor now has, for the select item, a document view, xsd view and a dependencies view
 + each type edit dialog now has, for the select item, a document view, xsd view and a dependencies view
 + the interface file generator is able to generate the xsd documentation as comments in the Object Pascal source code

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-18 18:19:00 +00:00
inoussa
1e53041c77 TDurationRemotable implementation and tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@530 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-18 14:49:20 +00:00
inoussa
893c3451b2 base64 server and client sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@524 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-07 15:52:40 +00:00
inoussa
97f4b386da fpc 2.2.0 compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@523 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-07 00:44:09 +00:00
inoussa
4d7e766199 TBase64StringRemotable serialization correction , from Joost van der Sluis
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@522 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-04 15:31:54 +00:00
inoussa
e097180997 +Every type editor dialog now has a XSD ( XML Schema Definition ) view that present the XSD source for the type being visualized
+Every type editor dialog now has a dependencies view that show the list of types using the type being visualized
+Search capability to the types tree view of the main window
+Every type editor dialog now has a "Apply" button to save changes without closing the dialog

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@521 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-04 00:33:35 +00:00
inoussa
639bde5376 +Object Collection support
All WST custom attributes are now namespace qualified
Correct XDS generator for complex type extending simple type

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@520 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-08-01 21:38:55 +00:00
inoussa
9576d325a4 change {$IFDEF FPC} for tkBool by {$IFDEF HAS_TKBOOL}
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@517 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-30 00:21:52 +00:00
inoussa
f16101b47c "SelectAll" should not select the "wrapped parameters" option
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@516 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-28 18:50:49 +00:00
inoussa
36be78b9ac Show the object to be deleted name in the warning message
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@515 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-28 18:48:17 +00:00
inoussa
bda5d8d5aa Add : GetCount() to cursor interface
rtti filter : enum properties handling, composed operators support ( <=, >=, <> ), tests cases
cursor implementation for wst array

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@514 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-28 18:45:16 +00:00
inoussa
f67718e99c tkBool is now handle if HAS_TKBOOL is defined
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-28 17:44:56 +00:00
inoussa
50977a8f9f debugging big!!!
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@512 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-28 17:43:01 +00:00
inoussa
056046f530 Suppress compiler warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@511 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-28 17:41:26 +00:00
inoussa
c8ea997a2b Wrapped parameter generation fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@505 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-03 16:42:26 +00:00
inoussa
2549456a52 Keep the Soap Style even after an exception
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-03 16:27:23 +00:00
inoussa
e6599ad9f8 Document wrapped parameters handling : generation of an easy access interface
that expose simpler parameters. 
see ws_helper -y commute

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@503 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-03 16:15:03 +00:00
inoussa
9dac41bef0 Corrects remote connection on Windows
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@502 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-01 19:45:46 +00:00
inoussa
b48c112f91 boolean are now serialized as 'true' or 'false'
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-01 19:38:55 +00:00
inoussa
3a3ac174b1 Handling empty short namespace
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@500 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-07-01 19:31:20 +00:00
inoussa
4b8de601a1 various IDE update
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@493 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-26 15:14:39 +00:00
inoussa
79abba7d4b No longer needed
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@492 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-26 15:12:37 +00:00
inoussa
a2c31b16a1 Handling of an enumeration with an empty item ( reported by Michael Van Canneyt )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@491 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-26 15:06:00 +00:00
inoussa
afb07f9425 session infos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-09 15:06:53 +00:00
inoussa
63905d2f68 Name space declared in parent nodes must be available to child node : for target name extracting; Thanks to Shaun Simpson.
+ update
  + test case 

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@479 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-09 15:04:39 +00:00
inoussa
645525652c Comply with Range checking
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@478 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-09 14:52:30 +00:00
inoussa
5cac370447 Content type better handling : text/xml;charset=UTF-8 does succeed even with the ";charset=UTF-8"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@477 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-09 12:01:39 +00:00
inoussa
b356430d27 Add fpc gui test suite
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@473 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:22:22 +00:00
inoussa
431c94d251 Default values of class's properties
Extended metadata of class's properties

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@472 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:18:12 +00:00
inoussa
e3a2f18823 ide options changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@471 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:13:35 +00:00
inoussa
bf335843b4 Updated to use the new parser interface
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@470 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:11:41 +00:00
inoussa
fd91a1cfe4 Limit the values range
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@469 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:09:57 +00:00
inoussa
5d0a26261e Code organization
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@468 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:08:33 +00:00
inoussa
9780043f05 Correct an AV bug
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@467 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:06:59 +00:00
inoussa
473b688be7 Default values of class's properties
Extended metadata of class's properties

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@466 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 15:04:35 +00:00
inoussa
aa9c003b61 Allow customization of namespace alias
Properties's extended metadata
Add Option to not generate embedded arrays
code cleaning

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@465 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 14:59:24 +00:00
inoussa
1dc0744989 Correct an AV bug and drop a non-used method
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@464 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 14:49:11 +00:00
inoussa
4bf1ccf6cc Mark helper routines as INLINE if supported.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@463 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 14:47:04 +00:00
inoussa
675a16b787 Update implementation to use fpc Thread manager semaphore routines
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@462 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 14:45:19 +00:00
inoussa
2a3c64a6e6 move initialization and finalization instructions to init/finit procs
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@461 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-06-06 13:27:02 +00:00
inoussa
9a0f011f53 ufclassedit.pas : native class type were not showed
uwsttypelibraryedit.pas : GetTypeNode() was causing AV

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@327 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-01-21 23:52:52 +00:00
inoussa
77f2ea719a git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@322 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 18:22:00 +00:00
inoussa
5643472e99 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@321 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 18:12:38 +00:00
inoussa
292fd5eb21 search capability
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@320 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-01-08 17:35:20 +00:00
inoussa
8e23174862 separate session file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@319 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-01-08 17:30:14 +00:00
inoussa
29ace27b35 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@318 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:28:45 +00:00
inoussa
39f4363e56 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@317 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:26:19 +00:00
inoussa
6a27d090ba git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@316 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:24:01 +00:00
inoussa
78be98ceae git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@315 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:20:42 +00:00
inoussa
908dacedda git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@314 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:14:24 +00:00
inoussa
dc82cbf6a4 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@313 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:11:14 +00:00
inoussa
2ec197e2c7 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@312 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:09:27 +00:00
inoussa
a14bc8d2a2 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@311 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:08:38 +00:00
inoussa
2b232e3d18 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@310 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2008-01-08 17:07:55 +00:00
inoussa
dcd5a69d38 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@306 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2007-12-29 18:52:34 +00:00
inoussa
7764171659 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@305 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2007-12-29 18:32:26 +00:00
inoussa
683d9d9f9d resync
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@304 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-12-29 17:21:48 +00:00
inoussa
4ac8b874cf json serialization : client & server
base64 encoded support + tests
new tests for schema parsers : complex type extending simple type

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@303 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-12-29 00:58:19 +00:00
inoussa
a53b4f1c6e typ_lib_edtr bug fix
more tests and fix
Delphi GUI DUnit test suite runer 

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@292 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-12-19 23:31:52 +00:00
inoussa
56ce4246c0 Delphi6 compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@285 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-11-12 09:21:46 +00:00
inoussa
952fa6ce12 Apache module extension to be a dll/so hosting env
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@278 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-10-22 12:44:00 +00:00
inoussa
343b11db66 wsdl parser : assume style=document binding if not specified
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@277 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-10-19 15:30:20 +00:00
inoussa
dc2b1b55c0 xsd generator
wsdl generator

xsd & wsdl parser test : embedded record

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-16 00:31:45 +00:00
inoussa
e7786c75b4 xsd parser tests suite :
- array test
 - record test

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@266 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-10 22:19:20 +00:00
inoussa
1c633e091d wsdl2pas_imp.pas has been reorganized :
- xsd_parser.pas XML schema parser
  - wsdl_parser.pas WSDL parser ( uses xsd_parser to parse type definitions )

ws_helper now supports XML Schema ( .XSD files ) parsing.

test cases for XSD and WSDL parsers

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@264 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-09 22:30:50 +00:00
inoussa
77e718ba57 Delphi compiles ws_helper ( omitted file )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@256 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-02 19:52:25 +00:00
inoussa
95fb7fb08f Delphi compiles ws_helper
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@254 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-09-02 19:05:47 +00:00
inoussa
a670b3cc11 Record definition partialy supported in Type Library Editor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@245 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-21 22:14:13 +00:00
inoussa
1069954eba Record support :
- Field may be hidden by calling SetFieldSerializationVisibility()
  - Field may be mapped to XML Attribute by calling RegisterAttributeProperty()

Some methods and routines have been marked "inline". By default the "inline" modifier is not enable. To enable it
uncomment the "//{$DEFINE USE_INLINE}" line in wst_global.inc.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-19 21:04:16 +00:00
inoussa
11a897fc26 Object Pascal "record" serialization ( first commit! )
TTest_TIntfPoolItem
TTest_TSimpleItemFactory
TTest_XmlRpcFormatterExceptionBlock
TTest_SoapFormatterExceptionBlock
Record serialization test

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-19 00:29:43 +00:00
inoussa
bbee29cb90 Release 0.5 copy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@242 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-15 01:48:46 +00:00
inoussa
7788fcc3f4 typo in documentation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@241 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-14 22:04:55 +00:00
inoussa
9ecff4f98c git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@240 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2007-08-14 18:53:43 +00:00
inoussa
65dab20c6f Delphi compatibility fix ( node filtering )
Add Delphi amazon sample

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@239 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-13 18:12:23 +00:00
inoussa
1b7b1d4349 fix wsdl parametter ambiguity
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@238 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-13 15:50:55 +00:00
inoussa
ab89744bda fpc compatibility fix
doc update

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@236 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-08-12 15:18:57 +00:00
inoussa
22093d6e75 test suite to use CThread on unix systems
save serialized streams to files 

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-31 10:48:24 +00:00
inoussa
c8296c17b9 PowerPC compatibility fix ( from Philip J Hess )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-28 20:05:58 +00:00
inoussa
bd61ea0229 FPC 2.0.4 compatibility ( TFormBorderStyle is not present )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-28 18:19:53 +00:00
inoussa
8f8b770f34 + Range check error fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@225 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-25 16:37:32 +00:00
inoussa
02efb4cb8a + add delphi DUnit (9.3) test suite
delphi compatibility 

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@224 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-25 00:30:44 +00:00
inoussa
d27d04532d Document UpdateObject
Type Library Editor : type alias definition added.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-22 17:09:02 +00:00
inoussa
0900785a6e linux validation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@221 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-20 20:36:45 +00:00
inoussa
b482688bff linux validation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@220 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-20 20:26:40 +00:00
inoussa
2728fb56d8 Type library editor : array editor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@219 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-20 16:13:16 +00:00
inoussa
fd170582cf + Indy TCP server listner ( FPC & Delphi )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@217 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-20 00:25:29 +00:00
inoussa
b78e642342 Fix fpc pooling
Services implementation pooling
Services configuration in external file

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@216 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-18 20:27:46 +00:00
inoussa
726114b2ae Delphi pooling is ok
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@215 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-18 11:23:56 +00:00
inoussa
7032cef6b7 - Type Library Editor : array support
- better Delphi support
- server listeners refactored to ease service creation

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@214 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-14 23:17:03 +00:00
inoussa
5ce9841611 Delphi server side support ( binary, soap, xmlrpc ):
- the Indy http_server compile and works
 - for xml, the Delphi xmldom unit as used ( tested with msxml )

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@213 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-13 22:33:55 +00:00
inoussa
65f4a3dffd + TStringBufferRemotable = reading a node's raw buffer
+ Better Delphi support : client & server( new )
    - SOAP, XMLRPC and BINARY formats

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-12 14:46:45 +00:00
inoussa
2418e96d91 WSDL Type library Editor :
- class editing bug fix
 - Header block are now persisted in wsdl as a documentation

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@210 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-08 21:43:09 +00:00
inoussa
549deb3e6d lazarus IDE integration :
- WSDL file import ( GUI ) menu   Project/Web Services Toolkit/Import WSDL File ...
  - WSDL Type Library Editor ( GUI ) Project/Web Services Toolkit/Type Library Editor...


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-07-07 20:56:01 +00:00
inoussa
6ca7b4a51d + XmlRpc format support ( server and client )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-06-28 23:33:38 +00:00
inoussa
ba1e2d2d2b xml rpc start
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@194 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-06-26 20:42:29 +00:00
inoussa
0d3a0a126b git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@191 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2007-06-24 23:49:07 +00:00
inoussa
63754badc0 switching the internal pascal parser to fcl-passrc
type_lib_edtr: type library editor

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@190 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-06-24 23:33:51 +00:00
inoussa
a9e53d8b96 service implementation pooling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@189 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-06-24 15:32:38 +00:00
inoussa
c3e6d4b260 made a copy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-06-23 13:41:44 +00:00
inoussa
790cf39be4 Linux compatibility fixing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-05-06 19:31:24 +00:00
inoussa
320f639458 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@161 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2007-05-05 21:50:59 +00:00
inoussa
2a350f8827 preparing for the 0.4 release
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@159 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-05-05 19:05:01 +00:00
inoussa
74d5466765 client : new TCP transport implementation ( using synapse library ) in synapse_tcp_protocol.pas
server : TCP server implementatiion ( using synapse library ) in synapse_tcp_server.pas
Delphi : first binary format support
bugs fix in the WSDL generation for the server side

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@158 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-05-02 22:55:35 +00:00
inoussa
44f1a2f5da ws_helper :
+ wst_CreateInstance_<service_name>();
      new function to create a default proxy based on the address and params provided by the wsdl file.

wst runtime :
  + GetServiceDefaultFormatProperties()
  + GetServiceDefaultAddress()

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@153 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-26 23:23:41 +00:00
inoussa
558fbb5c86 bugs fixs
Amazon sample runs well

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@148 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-22 23:05:25 +00:00
inoussa
7d05065529 ws_helper : Better attribute parsing in nested types
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-17 00:52:02 +00:00
inoussa
bbeed9acfd ws_helper : nested type definition parsing
Example :
	        <xs:element name="NestedType">
	                <xs:complexType>
	                        <xs:sequence>
	                                <xs:element name="Property_1" type="xs:string"/>
	                                <xs:element name="Property_2" minOccurs="0" maxOccurs="unbounded">
      		                              <xs:complexType>
      	                                          <xs:sequence>
      	                                                 <xs:element name="Name" type="xs:string"/>
      	                                                 <xs:element name="Value" type="xs:string"/>
      	                                          </xs:sequence>
      	                                </xs:complexType>
	                                </xs:element>
	                        </xs:sequence>
	                </xs:complexType>
	        </xs:element>

ws_helper : Soap Binding Style are now recorded in the metadata registration subroutine generated by ws_helper


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-12 00:48:00 +00:00
inoussa
2090bf84b2 ws_helper parses ( and records in procedure Register_%service%_ServiceMetadata() )
- service/port for <soap:address>
  - binding/operation for "soapAction"
  
ws_helper : better parsing of "function" operations

ws_helper supports a new switch :
  -u MODE Generate the pascal translation of the WSDL input file
       MODE value may be U for used types or A for all types


Complexe types extending with simpleContent support in the runtime and ws_helper :
   sample WSDL type
  	<xs:complexType name="MeasureType">
  		<xs:simpleContent>
  			<xs:extension base="xs:decimal">
  				<xs:attribute name="UnitSystem" type="xs:token" use="optional">
  				</xs:attribute>
  				<xs:attribute name="ZeroPoint" type="string" use="optional">
  				</xs:attribute>
  			</xs:extension>
  		</xs:simpleContent>
  	</xs:complexType> 


embedded array support :
   sample WSDL type
      <xsd:complexType name="EmbeddeArraySample">
        <xsd:sequence>
          <xsd:element name="Name" type="xsd:string"/>
          <xsd:element name="Count" type="xsd:int"/>
          <xsd:element name="ArrayItem" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>

   sample instance of "EmbeddeArraySample"
      <example>
        <Name>WST NAME</Name>
        <Count>3</Count>
        <ArrayItem>Item 0</ArrayItem>
        <ArrayItem>Item 1</ArrayItem>
        <ArrayItem>Item 2</ArrayItem>
      </example>

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-04-02 13:19:48 +00:00
inoussa
49b0c3d159 soapAction parsing for operation, soap:address ( location ) parsing
TServiceOperation now has Properties ( see IModuleMetadataMngr.SetServiceCustomData ),
Code has been refactored to use ParseFilter() instead using TRttiFilterCreator

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@136 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-03-25 23:47:16 +00:00
inoussa
0071bd8371 First implementation of the "WSDL to Pascal" fonctionality support in ws_helper.
ws_helper now has the following parameters :
  ws_helper [-u] [-p] [-b] [-i] [-oPATH] inputFilename
    -u  Generate the pascal translation of the WSDL input file
    -p  Generate service proxy
    -b  Generate service binder
    -i  Generate service minimal implementation
    -o  PATH  Relative output directory
    -a  PATH  Absolute output directory

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@135 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2007-03-23 23:22:35 +00:00
inoussa
78de51ca7f Patch for procedure LoadObjectFromStream() from Martin Smat.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@39 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-11-25 15:42:41 +00:00
inoussa
b5ff30595d git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@37 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2006-11-12 13:31:22 +00:00
inoussa
0cb149edf4 Assertion fix in the parser.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@33 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-10-29 15:06:12 +00:00
inoussa
e1f3f1041c library protocol added ( Hosting services into dynamic library DLL/SO).
connexion string format is
  lib:FileName=<A File Name>;target=<the target service>

example :lib:FileName=C:\Programmes\lazarus\wst\tests\library\obj\lib_server.dll;target=ICalculator

todo : test on Linux, write Documentation in the Wiki.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@32 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-10-29 01:50:19 +00:00
inoussa
35695810f7 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@31 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2006-10-28 17:04:49 +00:00
inoussa
05d331486c Removed file/folder
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-08-26 23:35:53 +00:00
inoussa
1fa6d5c0b2 Renamed to 0.3.1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-08-26 23:30:34 +00:00
inoussa
7ab139e6b8 3.1 branche creation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-08-26 02:27:41 +00:00
inoussa
eb00bf60c9 3.1 tag creation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-08-26 02:24:19 +00:00
inoussa
4381e28da6 first import
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2006-08-26 00:35:42 +00:00