Commit Graph

388 Commits

Author SHA1 Message Date
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