87f1793580
TAbstractEncodedStringRemotable: +LoadFromBuffer/+SaveToBuffer.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4649 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-05-13 17:37:26 +00:00
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
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
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
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
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
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
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
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
0a71476b03
Fix Integer/Cardinal instead of PtrInt/PtrUInt (Thanks Juha)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3859 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-02 17:48:42 +00:00
212d56a5ff
Change TObjectCollectionRemotable.*Item 's index parameter to Integer instead of PtrInt; (Fix Delphi)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3718 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-11 12:24:54 +00:00
3afe6477ca
Fix : "FreeObjectProperties" was called two times.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3086 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-24 13:01:15 +00:00
ab38ec3c50
Better transport error reporting : ETransportExecption.ExtendedErrorInfo (Thanks to Michael Van Canneyt)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3023 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-05-08 14:15:38 +00:00
048ad30635
Make "FreeObjectProperties" a method of TBaseRemotable
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2839 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-19 10:52:20 +00:00
e6dea1efeb
Load/Save data from raw buffer
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2588 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-10-31 12:23:50 +00:00
0663087930
TComplexEnumContentRemotable implementation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1854 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-08-29 02:47:41 +00:00
2e55ad976d
UnicodeString Fix
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1482 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-02-02 15:34:13 +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
cf243fb88b
Add filter feature, implemented as service extension.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1269 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-08-04 19:29:17 +00:00
34030812f8
Serialization : By default, attributes are no longer qualified.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1114 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-05 19:59:56 +00:00
9d3c5a7bea
TBaseComplexSimpleContentRemotable.Save/Load : persist attributes using their registered external name.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1039 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-12-09 17:35:46 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
73d1b45eb8
Serialiers : exceptions are no longer used internally to signal missing optional properties.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@875 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-29 01:57:44 +00:00
28da302bc6
TObjectCollectionRemotable now inherits from TBaseArrayRemotable instead of TAbstractComplexRemotable, that make more sense.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@863 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-26 12:32:45 +00:00
0fc47f2004
+ runtime WSDL generation : SOAP Header blocks should not derive from THeaderBlock
...
+ test case
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@862 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-25 23:21:48 +00:00
abf1f15cde
* Serialization : array and collection now have a "Options" property that can be used to indicate that they should be serialized, empty or not. To do so just include "ioAlwaysSerialize" in the "Options" property of the instance you want to customize.
...
* Test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@861 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-25 13:54:10 +00:00
5164d80f26
Fix number parsing format : set wst_FormatSettings.ThousandSeparator = #0
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-16 00:55:56 +00:00
fe7e4d82a9
serialization :
...
* Empty array should not be serialized
* When reading a array, if there is no array in the serialized stream, the input argument should be cleaned
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@818 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-01 22:28:39 +00:00
6315b87d48
Complex objects serialization : serializer objects must be notified for external property name registration and update themself accordingly.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@817 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-31 19:00:10 +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
20cd52f952
Updated to use wst_consts.pas
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-05-06 16:55:36 +00:00
d2abf9846b
+Delphi : QWord = UInt64 for CompilerVersion > 16.0
...
+THeaderBlockProxy :
This class is used as a wrapper to allow a TBaseRemotable instance to be sent and received as a header block
+ICallContext.AddHeader() :
Overload to support classes that do not inherit from THeaderBlock
+TTypeRegistryItem.AddExternalSynonym(), TTypeRegistryItem.IsExternalSynonym()
Usefull when a xsd defines a complex type and a "element" which type is the complex one.
+TTypeRegistry.FindByDeclaredName():
Add an option to include the external synonyms in the search
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-18 15:53:10 +00:00
be86fa976b
Delphi compatibility fix
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@740 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-03-13 17:10:21 +00:00
cff1351132
+ Base64( refactored ),
...
+ Base16
+ Extendable "AnsiChar" and "WideChar"
+ tests
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@665 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-01-19 17:46:33 +00:00
de258de519
Delphi 2009 support
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@626 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-12-12 22:02:35 +00:00
a43bb35944
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@609 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-11-24 15:39:35 +00:00
6f801dd3f8
ICallContext now has a property manager ( GetPropertyManager() ). At server side the so got property manager can be used to query the remote client informations such as its IP address ( RemoteIP )
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@573 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-25 02:24:25 +00:00
812edb945c
Part 1
...
FPC UnicodeString support (+ test cases)
WideString support (+ test cases)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-09-13 15:18:03 +00:00