Commit Graph

582 Commits

Author SHA1 Message Date
inoussa
4f0e76aa7a forget test define
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1858 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 03:04:00 +00:00
inoussa
2ed47823d7 update date to 2011
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1857 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 03:02:43 +00:00
inoussa
ac7aeb38c8 XSD's "include" handling, better "uses" generation for schema files translalted to pascal, better generated file names, handling of "import" and "include" in sub-directories, Handling of TComplexEnumContentRemotable
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1856 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 02:59:57 +00:00
inoussa
f2ef6e252b Fix crash in Delphi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1855 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 02:49:04 +00:00
inoussa
0663087930 TComplexEnumContentRemotable implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1854 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 02:47:41 +00:00
inoussa
6a2cfcfb33 AnsiChar and WideChar implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1853 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 02:44:55 +00:00
inoussa
9ce86062fb Use "AResponse.ContentStream" instead of "AResponse.Content" because the later does interpret #13 as new and so replaced with #10. This is needed for binary format.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-26 15:10:43 +00:00
inoussa
1e9af50ca1 Delphi Compatibility
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1802 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-16 12:41:05 +00:00
inoussa
adcb4e3979 Complete DataFilter Implementation + tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1798 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-15 02:10:42 +00:00
inoussa
4e6ea3a726 sample, tcp blocktype handling
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1784 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-08 02:26:00 +00:00
inoussa
0a24ccf684 TCP protocole now supports block type prefixed messages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1783 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-08 02:24:18 +00:00
inoussa
d1ae85de1d Updated to use FPC's servers (TCP and HTTP) implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1782 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-06 17:10:39 +00:00
inoussa
1793c3f0f4 TwstFPHttpListener : add options to control execution in threads.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1781 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-06 17:08:44 +00:00
inoussa
2466c0ab1a Updated to use FPC's servers (TCP and HTTP) implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1780 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-06 17:01:02 +00:00
inoussa
564226d183 Fix Synapse Http protocol Clear request buffer before writing the new data stream.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-28 09:32:52 +00:00
inoussa
942e341330 More specific doc for Apache module, rebuild sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1756 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-22 12:36:38 +00:00
inoussa
45ed50343c Add "UInt32" definition
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1755 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-22 12:31:45 +00:00
inoussa
b976ea6730 More specific doc for Apache module, rebuild sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1754 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-07-22 12:29:38 +00:00
inoussa
5fe2309336 Refactor TBaseTransport and TBaseTCPTransport so http and tcp transports no longer manage filtering which is now done by TBaseTransport and TBaseTCPTransport
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1675 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-14 11:38:18 +00:00
inoussa
b4f37d07e4 FPC 2.5.1 compatibility support(tkHelper handling)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1674 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-14 10:46:00 +00:00
inoussa
af4df646fb fpc's tcpserver and tcpclient support provided by Michael Van Canneyt.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1670 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-09 08:53:31 +00:00
inoussa
1d5b1799c9 fpc's httpserver and httpclient support provided by Michael Van Canneyt.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1640 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-23 11:24:02 +00:00
inoussa
c98b7de06a re-raise the exception
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1613 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-05-05 09:56:01 +00:00
sekelsenmat
2b84aaadad webservice toolkit: Fixes the compilation of the synapse package
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1569 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-04-15 14:50:04 +00:00
inoussa
6468c52f16 Add "GetTransportName()" method to ITransport
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1518 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-03-01 15:42:53 +00:00
inoussa
a11ccc8c85 Delphi XE compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-22 10:16:27 +00:00
inoussa
e99fbdfde3 Allow enum properties to be compared to integers
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1484 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-02 15:42:43 +00:00
inoussa
848a2159be Correct test for string-based type (optional)properties (for storage)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1483 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-02 15:37:47 +00:00
inoussa
2e55ad976d UnicodeString Fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1482 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-02 15:34:13 +00:00
inoussa
1ba130c8c4 Delphi 2010 compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1481 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-02 15:31:32 +00:00
inoussa
489e76849b Delphi 2010 compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1480 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-02 11:09:33 +00:00
inoussa
5495efb66f Implement DropFileEvent
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1385 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-26 12:49:40 +00:00
inoussa
4d54efd4e7 Typo correction(WriteDocumetation > WriteDocumentation).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1384 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-26 09:50:16 +00:00
inoussa
c816b22922 Correct optional property generation in XSD
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1382 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-25 20:52:04 +00:00
inoussa
1c255f37a7 suppress various warnings/hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1372 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-08 14:26:03 +00:00
inoussa
3bf012d3a2 Type Library Editor AV Correction
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1360 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-11-01 12:08:12 +00:00
inoussa
2fd9828e4e Base32 encoding + tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1357 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-27 21:20:19 +00:00
inoussa
c800c26ab4 Transform inline error text to ResourceString
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1355 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-16 18:38:07 +00:00
inoussa
3524335cab Transform inline error text to ResourceString
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1354 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-16 18:22:28 +00:00
inoussa
409a5f8ba7 Add xsd:language
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1351 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-15 13:46:26 +00:00
inoussa
2e7fa04712 Replace property "store" prefix by sWST_PROP_STORE_PREFIX( = 'wstHas_') (fix)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1350 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-15 13:43:44 +00:00
inoussa
3c12d5aa39 XSD "import" handling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1341 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-11 12:28:07 +00:00
inoussa
040e7012bf Replace property "store" prefix by sWST_PROP_STORE_PREFIX( = 'wstHas_')
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1340 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-11 12:23:49 +00:00
inoussa
ed37484810 Replace property "store" prefix by sWST_PROP_STORE_PREFIX( = 'wstHas_')
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1339 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-11 12:22:23 +00:00
inoussa
7787d207ee suppress various warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1334 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-04 10:56:27 +00:00
inoussa
e0bb0bd04f suppress various warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1333 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-04 10:30:19 +00:00
inoussa
6bac809dd9 Forget to commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1332 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-01 20:46:25 +00:00
inoussa
fbaef11db8 composed name handling (such as "one-prop")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1331 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-01 20:44:10 +00:00
inoussa
28bb2f355f fix : user_client_console.lpi
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1330 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-10-01 19:02:18 +00:00
inoussa
73653e4c9b easy access interface should be handle only in the unit containing the original interface.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1318 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-08 14:02:52 +00:00
inoussa
f8809ed35c Delete "_" if it is the last character of the generated name.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1317 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-08 14:00:31 +00:00
inoussa
61c6016709 fix warning
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1316 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-08 13:57:34 +00:00
inoussa
80f5f83a1a Fix TInProcessTransport
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1315 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-08 13:54:13 +00:00
inoussa
c9fc9311ef +Client side HTTP Cookie management,
+TBaseProxy implements IServiceProtocol to expose its serializer and transport
+TBaseTransport unimplemented methods now throw exception
+"Filter" implementation for synapse

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1312 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-01 00:42:16 +00:00
inoussa
e39994c6db Add "IsActive()"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1311 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-01 00:35:41 +00:00
inoussa
ed28927351 metadata service : regenerate from wsdl file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1310 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-01 00:29:10 +00:00
inoussa
d246ccc22b spell correction
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1309 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-09-01 00:24:32 +00:00
inoussa
cf243fb88b Add filter feature, implemented as service extension.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-04 19:29:17 +00:00
inoussa
7f8f0aade3 Add "Clone" functionality to Editor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1260 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-19 11:00:35 +00:00
inoussa
a37f60260f Fix AV with xml
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1259 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-19 10:44:34 +00:00
inoussa
41db3ae6da Fix Compilation with fpc-trunck
Take advantage of fcl-json "Clone" method

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1258 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-19 10:42:25 +00:00
inoussa
9546f5bb9e Fix Compilation with fpc-trunck
Take advantage of fcl-json "Clone" method

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-19 10:41:15 +00:00
inoussa
2e5b08e9d7 Correct "easy access" proxy implementation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1256 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-16 15:28:21 +00:00
inoussa
af61b10bc5 Correct SOAP Header namespace generation (THeaderBlockProxy case) 2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1255 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-16 13:48:52 +00:00
inoussa
b25d0e271a Correct SOAP Header namespace generation (THeaderBlockProxy case)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1254 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-16 11:21:18 +00:00
inoussa
4c78816d50 Correct SOAP Header namespace generation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1253 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-15 17:04:25 +00:00
inoussa
c75480148f Correct "easy access" proxy implementation not to free result property.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1252 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-14 18:04:43 +00:00
inoussa
27705788ce small fix : remove file writing, fix interface reference
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-02 15:43:58 +00:00
inoussa
19b53bc223 fix wsdl operation attributes parsing when there are multiple attributes : unit test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1243 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-02 15:33:29 +00:00
inoussa
c5eeaadf18 fix wsdl operation attributes parsing when there are multiple attributes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1242 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-01 22:30:37 +00:00
inoussa
2f4c394c01 Restore file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-06-01 14:00:31 +00:00
inoussa
739b3a43cb fcl-web module to integrate WST in a fcl-web application by Michael Van Canneyt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1230 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-26 08:43:29 +00:00
inoussa
599991c430 Fix "httpd" path
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-04-17 21:58:08 +00:00
inoussa
bae81d0e49 Create default service binding for interfaces while parsing Pascal files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-03-25 12:33:32 +00:00
inoussa
ca6cdc0315 Compatibility with new fcp-passrc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-27 16:17:21 +00:00
inoussa
d6d7852372 SOAP test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-27 16:13:41 +00:00
inoussa
8aa02153fc Delphi compatibility
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1169 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-27 16:10:25 +00:00
inoussa
83d29760ee Define TByteDynArray as Types.TByteDynArray
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1168 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-27 15:06:36 +00:00
inoussa
4251a64fec Fix mem leak in GetServiceDefaultAddress and GetServiceDefaultFormatProperties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1165 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-24 16:34:06 +00:00
inoussa
57ede0e824 Change "virtual" to "override" as it should be.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1157 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-12 12:08:32 +00:00
inoussa
4c0d2981e5 Avoid "TInterfacedPersistent" : it does not actually implement interface life style. Fix binder memory leak.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-08 12:03:09 +00:00
inoussa
ea4816281b Use fixed enum values to be maximize on the wire compatibility
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1154 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-02-06 15:45:07 +00:00
inoussa
e5deae64c9 clean the binding unit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1149 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-29 15:55:18 +00:00
inoussa
5bd5ea7644 fix Apache module sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1148 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-29 15:30:24 +00:00
inoussa
a1b9de2436 Disable file writing ( debug )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1117 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-06 10:17:44 +00:00
inoussa
0069871e72 xsd_TryStrToDate : do not reject if fractional milisecond part contains more than 3 digits
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1116 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-06 10:16:10 +00:00
inoussa
34030812f8 Serialization : By default, attributes are no longer qualified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1114 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-05 19:59:56 +00:00
inoussa
45b6cbd540 TSOAPBaseFormatter.ReadBuffer : Correct usage of qualified name form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1040 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-09 17:39:30 +00:00
inoussa
9d3c5a7bea TBaseComplexSimpleContentRemotable.Save/Load : persist attributes using their registered external name.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1039 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-09 17:35:46 +00:00
inoussa
421ccf5a75 SetAsEmbeddedType
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1029 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-01 15:53:14 +00:00
inoussa
ae739b0486 Metadata Repository : Change "ServiceCount" and "OperationCount" to Word instead of Byte. Note that all files generated by ws_helper should be regenerated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1028 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-01 15:50:52 +00:00
inoussa
63ea74c175 fix sLOCAL_TYPE_REGISTER_REFERENCE to 'typeRegistryInstance' due to Michael Joyner.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1023 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-30 10:08:59 +00:00
inoussa
b657d48b62 compilation fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1022 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-30 09:52:43 +00:00
inoussa
a1e5f64e80 ws_helper generator :
when option "-y" ( easy access interface generation ) is specified, ws_helper no longer blocks on invalid methods, it just skip them.
  Better implementation of the proxy for easy access interface methods

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1021 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-30 09:50:20 +00:00
inoussa
85e796e962 ws_helper code generation option -gEP : enum type''s items are prefixed with the enum name
Add more Object Pascal keywords to the parser

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1020 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-26 10:39:50 +00:00
inoussa
7ff8d383ef schema sparser => External type definitions referenced by <import> statement in XSD files or WSDL schema section are now handle. Note that the external files must reside in the same folder as the main schema being parsed. The external files are parsed and used in the main file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1015 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-23 17:55:10 +00:00
inoussa
e49d2da336 Make sure to always use a valid identifier for a type name.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1012 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-16 09:28:25 +00:00
inoussa
d028fcba64 Check the parent context ( for not nil ) before using it : avoid an AV exception.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1011 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-16 09:25:37 +00:00
inoussa
2f31267ad0 Break in case of cycle in the object inheritance ( which should not happen )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1010 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-16 09:21:37 +00:00
inoussa
99cae074b1 Make the "Name Control" the active one of the form by default
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-13 10:09:43 +00:00
inoussa
73d227205a suppress warning
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1001 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-10 10:52:11 +00:00
inoussa
4915b284cc Unit renaming option in ws_helper.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-09 10:02:37 +00:00
inoussa
b2525ef5c1 Parse only _once_ any binding (wsdl).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-09 09:58:51 +00:00
inoussa
5d40568799 Include extra units ( generated from included namespaces ) in the unit(interface, proxy, binder, implementation ) "uses" clause.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@998 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-09 09:55:09 +00:00
inoussa
c7e3cdf5c8 Better Array generation
Define "float" as "Single"

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-09 09:48:35 +00:00
inoussa
6719a67d5d Add DateTimeToDateTimeRec()
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@996 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-11-09 09:44:12 +00:00
inoussa
0cb1073a97 Specifiying Ancestor type : better name of the combobox items
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-13 19:37:28 +00:00
inoussa
3c2298e4eb Currency (native type) support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@979 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 17:41:09 +00:00
inoussa
b6b09eca44 Specifiying property type : better name of the combobox items
compilation fix

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@978 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 13:11:15 +00:00
inoussa
b94b6d8a61 suppress warning
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@977 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 13:07:44 +00:00
inoussa
d639b8d8d0 DateTime, Duration and Time argument creation ( Avoid AV )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@976 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 13:06:19 +00:00
inoussa
9ed0e0209c customization of runtime wsdl page
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@975 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 13:04:27 +00:00
inoussa
ffe9a95736 support for anyType and schema_Type
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@974 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 13:00:48 +00:00
inoussa
08f0ab3254 DateTime, Duration and Time argument creation ( Avoid AV )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@973 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-07 12:26:58 +00:00
inoussa
420a28dc1d Preparing Type name and Element disambiguation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@950 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-02 12:24:19 +00:00
inoussa
8206c61bd6 Patch from Michael Van Canneyt : check for error in synapse http requesting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-17 17:15:19 +00:00
inoussa
8bdfcc9df7 Test suite : fix memory leaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@915 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 17:42:46 +00:00
inoussa
5089c12136 Test suite : fix memory leaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@914 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-16 17:41:03 +00:00
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
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