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
13d25e5e00
Do not generate 2 type hints
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2573 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-22 13:31:03 +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
80b84e6c7d
Handle untyped properties
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2507 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-09-06 12:31:10 +00:00
0cb1b33ac4
Use "LocalName" and "NamespaceURI" to handle in-line name-space
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2488 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-08-13 20:40:08 +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
8b1e3a960e
Parser's "CaseSensitive" implementation fix.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1963 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-16 00:56:48 +00:00
fc1c449cd2
xsd's "choice" construct parsing + tests
...
parser is case sensitive b default now, + tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-14 02:31:02 +00:00
788d3ba426
Issue a error message instead of crashing if no "targetNamespace" is provided.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1934 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-10 22:29:42 +00:00
e9067503ae
Parser's "CaseSensitive" implementation. To got the parser Case-Sensitive, provide the "-cS" argument at command line when using ws_helper.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1931 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-09-10 03:44:54 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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