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
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
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
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
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
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
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
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
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
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
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
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
52cb1f0bf5
Fix Binder's code generation.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3874 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-07 14:14:04 +00:00
a9a772e219
Fix "record" marshalling, Better Proxy/Binder generated code
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-03 13:33:43 +00:00
041a6b2a36
License change : All the code in WST is now using the FPC' RTL license (modified LGPL see COPYING.modifiedLGPL)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2997 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-03 16:34:30 +00:00
29fbe0a4b9
Generator :
...
* unit without types should not have a "type" section
* alias definitions should occurs according to their dependency on each other
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2841 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-19 14:37:07 +00:00
467d62d6d7
"HAS_EXP_TREE" define to handle fcl-passrc expressions
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-29 19:31:17 +00:00
76d8fd4b55
Use TList2
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2572 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-22 13:26:09 +00:00
6bbca25247
fcl-passrc now uses TFPList instead of TList.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-26 17:54:55 +00:00
e4e3f34376
"CaseSensitive" fixes.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-11-15 19:11:17 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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