Commit Graph

220 Commits

Author SHA1 Message Date
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