Commit Graph

181 Commits

Author SHA1 Message Date
4f6721697c Handle the case of a method having the same name of its parent's service name, +test.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6681 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-10-11 11:41:28 +00:00
aed9ac03f5 Fix: No longer require SOAP namespace until when it is necessary.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6677 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-10-06 12:17:52 +00:00
5844f338bf Using TPasTypeAliasType for alias type.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6676 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-10-06 12:16:20 +00:00
fcf442a847 Parser: convert DateTime to String in Java.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-08-15 18:34:46 +00:00
be12b3e03e Update version to 0.7
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5952 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-22 14:56:17 +00:00
c29ba3334f FPC 3.1.1+ support.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5938 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-06-15 09:17:38 +00:00
b8b487e621 XSD/WSDL parser, "group" construct : On "ref" site multiple occurrence handling + tests.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-20 19:41:11 +00:00
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
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
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
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
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
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
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
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
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
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
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
00128bbf70 Be case insensitive while parsing Pascal Code, log warning on XDS generation, fix AV (TPasUnresolvedTypeRef handling)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3823 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-04 13:11:07 +00:00
e195112d8b IDE ImportDlg's option to include files now works (Thanks Juha Maninnen) :
* Flag ofRevert is not needed. File is not added to project if already there.
  * Invalidate file cache after generating a Pascal file.
 Prevents error when opening it. Works also with older Lazarus versions.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-19 10:14:01 +00:00
af326242a5 xsd_generator : Move duplicated code to a function (Thanks Juha Maninnen)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3177 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 15:16:14 +00:00
31bbc5c053 XSD generator: prevent a Nil object reference (=>AV) (Thanks Juha Maninnen)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3176 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-06-16 15:11:10 +00:00
1ca4e37446 Parser : map xsd:string to UnicodeString.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3055 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 17:25:51 +00:00
3c995d69dd Delphi compatibility fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 17:24:38 +00:00
aa29744538 Parser : map xsd:decimal to Currency.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-17 14:58:42 +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
a0ef2a66bf XSD schema import support : GUI handling, store relative fie name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2993 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-03 15:27:53 +00:00
0bff229235 Fix schema "import" generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2986 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-02 01:49:33 +00:00
019e7b604f IDE auto generated changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-01 17:00:35 +00:00
4edd9df7fa Better XSD/WSDL generation : "import" nodes are correctly generated.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-01 16:58:45 +00:00
402f527cbb Remove not used variables, fix uninitialized variables.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-25 19:05:55 +00:00
2ba7ee7cd2 Add support for External Schema referencing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2947 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-04-18 13:36:57 +00:00
3222dc18bc FPC-2.6.2 compatibility fix
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2842 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-19 15:25:37 +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
0a2294b0d7 * Remove duplicated class' properties(Complex type restriction case)
* Add the "_" prefix or the "_Type" suffix only when necessary
* Search module by namespace if a namespace is provided (FindModule)
* Parse schema's imported documents

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-19 11:04:25 +00:00
c56afc479f Auto unit renaming
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2817 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-10-30 14:38:32 +00:00
58f603bdbe Correct base type searching : if not found then create a unresolved item.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2777 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-08-27 16:39:08 +00:00
ab893594d7 Handle top level(global) declared attribute and references
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-03-05 15:48:26 +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
cd54972062 Use TFPList in fpc 2.6.1 now
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2579 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-22 14:44:59 +00:00
7d73bd43ac Use TFPList in fpc 2.6.1 now
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2574 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-22 13:37:15 +00:00