Commit Graph

544 Commits

Author SHA1 Message Date
inoussa
ca6be693e4 Fix compilation due to generatorbase unit addition.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4648 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-05-13 10:31:22 +00:00
inoussa
472fee7c6b Java Language interface files generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4645 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-05-11 17:14:23 +00:00
inoussa
6e209c21fa <choice> construct parsing : Fix for unbounded embedded cases.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-05-04 12:32:49 +00:00
inoussa
357860b2cf Synapse timeout (Thanks MVC).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4631 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-26 08:59:45 +00:00
inoussa
327dd4aab6 Fix Date/Duration/Time string parsing for empty strings (Thanks MVC).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4630 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-23 16:43:26 +00:00
inoussa
fb72045f86 Provide an option not to create fields from XSD's "choice" construct.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4629 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-23 16:35:43 +00:00
inoussa
870591f5a1 Attributes cannot be array properties, Fix + test case.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-23 15:02:11 +00:00
inoussa
fc29551d2c Alias creation => avoid name clash with containing module.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4626 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-22 08:56:05 +00:00
inoussa
4134c3a7be +NCName support
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4625 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-22 08:53:28 +00:00
inoussa
68466d4ade INDY_9 http client timeout fix, thanks Dimitrios Chr. Ioannidis.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4618 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-12 08:11:20 +00:00
inoussa
6a72f29dbd Indy HTTP client protocol, add "Connect" and "Read" timeout.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4612 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-09 11:54:35 +00:00
inoussa
0f266666b8 Memory leak fix, Thanks MVC.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4609 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-07 09:32:35 +00:00
inoussa
d28952365f +Indy HTTPS support (Thanks Patrick Kolla-ten Venne).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4524 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-27 12:53:13 +00:00
inoussa
11ff04e6c3 Server side Exceptions forwarding to client fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-16 19:36:30 +00:00
inoussa
980f7f882d Fix: Hyphens(-) support in procedure/function names of the service's interface.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4509 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-16 19:35:06 +00:00
inoussa
f7ec2ce337 json serializer: do not raise exception when a scope is not found, while reading.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4508 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-16 12:54:54 +00:00
inoussa
9c774a0c9b JSON Complexe's simple content name from "__" to "value".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4387 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-11 08:57:45 +00:00
inoussa
0dd86c13fc Simplify Save/Load as simple types for TBaseDateRemotable, TDurationRemotable and TTimeRemotable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4386 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-11 08:55:48 +00:00
inoussa
50422d2d69 JsonRPC : Fix error finding, content type.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4385 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-09 12:25:35 +00:00
inoussa
84e2cd2341 JSON Formatter: serialize enum's string representation, SaveTo(Stream/File) using UTF8, fix ContentType.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4384 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-11-09 12:21:26 +00:00
inoussa
13dd0a7955 SOAP serializer : ID and HREF usage fix, thanks DawnCode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4380 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-26 16:44:22 +00:00
inoussa
0d7318fc29 test : do not save generated files.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-13 15:15:33 +00:00
inoussa
9a060b2d23 Fix Binary Format optional object read failing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4268 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-13 15:14:26 +00:00
inoussa
9af4fbd355 SOAP : the "Body" element must be namespace qualified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4247 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-04 13:14:54 +00:00
inoussa
4bea59601f Fix ws_helper's generator.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4246 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-04 12:40:08 +00:00
inoussa
17376005fa With FPC >=3.x use the native unicode string manager.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4245 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-04 12:01:37 +00:00
inoussa
4649ff02cc Initialize memory before use : Fix Repository.Properties AV.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-04 11:59:32 +00:00
inoussa
abaae03afa defaultElementForm, defaultAttributeForm : Runtime WSDL/XSD generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-31 13:16:03 +00:00
inoussa
f666da77a0 defaultElementForm, defaultAttributeForm : Type Library Editor Support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4232 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:16:53 +00:00
inoussa
5622ce75fd defaultElementForm, defaultAttributeForm : XSD generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:15:27 +00:00
inoussa
d5f0b8a092 element/attribute form : specify options at registration optimization(to avoid double serializer initializations).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4230 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-30 19:11:41 +00:00
inoussa
67fb1e1e7f defaultElementForm, defaultAttributeForm : XSD parsing and runtime handling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4221 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-29 18:46:37 +00:00
inoussa
41b65aae4f Add simple Xml serializer.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4210 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-15 16:03:09 +00:00
inoussa
20a4f70c7f (XSD's) ElementFormDefault and AttributeFormDefault, group and attributeGroup, parsing and runtime handling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4209 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-15 16:02:12 +00:00
inoussa
505eed8501 Server Exception reporting to client: For the server to report the "faultCode" and the "faultString", a service implementation should raise an exception that inherits from "EBaseRemoteException".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4201 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-07-03 10:46:22 +00:00
inoussa
10ee3da8f0 Empty arrays should be created.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4199 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-30 01:15:11 +00:00
inoussa
de6c82440d type_lib_edtr : Persistent options across sessions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4193 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-26 15:44:09 +00:00
inoussa
22e5adbb82 Type Library Editor : Options Editor for customization.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4189 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-13 12:33:36 +00:00
inoussa
15a0e9c9c2 Fix metadata cloning.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4188 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-13 10:44:35 +00:00
inoussa
852fe15662 Fix "DoSendAndReceive" to "protected", Thanks Michael Van Canneyt.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4141 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-18 18:46:08 +00:00
inoussa
132cc4c0ff Synapse HTTP protocol's header management fix (Thanks mcarro)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4067 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-25 17:29:31 +00:00
inoussa
cdcc835400 Fixws_helper code generation : Qualified interface name in proxy code(Thanks mcarro)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4066 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-25 17:27:45 +00:00
inoussa
dedfe4b7ee ws_helper code generation : "-gSS" (resp. "-gSU") to map XSD' "string" to Object Pascal "String" (resp. "UnicodeString").
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3940 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-09 18:38:02 +00:00
inoussa
7d8ea2ba7b XSD parser : Better forwarded types parsing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3938 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-08 22:14:55 +00:00
inoussa
201891920d Change PtrInt to in generated code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3917 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-31 12:27:49 +00:00
inoussa
7793cf2063 Improve project files (Thanks Juha)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3893 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 09:36:07 +00:00
inoussa
b5cd38509b Remove redundant casts, PtrInt -> Integer, IInterface in classes definitions (Thanks Juha) 1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3892 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 09:34:01 +00:00
inoussa
8b22dded32 Remove redundant casts, PtrInt -> Integer, IInterface in classes definitions (Thanks Juha) 1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3891 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-19 09:31:59 +00:00
inoussa
e0b19fe05c Fix compilation : Add unit path "..\.." to packages. (Thanks Juha)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3889 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-18 00:17:53 +00:00
inoussa
4cd756e318 Interface File Generator => use qualified type name (unit.type) to disambiguate name collision.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3888 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-18 00:09:46 +00:00