Commit Graph

147 Commits

Author SHA1 Message Date
Hans Leidekker c97da062ff webservices/tests: Add message tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:54 +09:00
Hans Leidekker 6d87b2489d webservices: Implement WsGetMessageProperty and WsSetMessageProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:54 +09:00
Hans Leidekker 33cebe51e1 webservices: Implement WsCreateMessage and WsFreeMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Hans Leidekker dbbcd290fd webservices: Add support for reading GUID values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Hans Leidekker acf64c4e68 webservices: Avoid writing redundant namespace attributes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Nikolay Sivov 5310f9690f webservices: Added WsResetError().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 17:09:54 +09:00
Hans Leidekker 20686f47af webservices: Add support for encoded UTF-8 characters in WsDecodeUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 22:14:25 +09:00
Hans Leidekker 57e69a6b48 webservices: Implement WsEncodeUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:52 +09:00
Hans Leidekker 24bdad63e4 webservices: Implement WsDecodeUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:52 +09:00
Hans Leidekker 177d8d781f webservices: Implement WsReadValue.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 21:18:34 +09:00
Hans Leidekker ec0cae49d2 webservices: Implement WsReadElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 21:18:34 +09:00
Hans Leidekker 524fa65734 webservices: Add support for reading double values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 21:18:33 +09:00
Hans Leidekker ce91365b10 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:06 +09:00
Hans Leidekker dfc47061bd webservices: Add support for reading arrays of pointers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:04 +09:00
Hans Leidekker 297dd85ca5 webservices: Reset the reader position if the next node doesn't match the type to read.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:02 +09:00
Hans Leidekker 7fb361d763 webservices: Validate parent nodes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:16:59 +09:00
Hans Leidekker f4b3363790 webservices: Flush the writer in WsWriteText.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:16:57 +09:00
Nikolay Sivov 8b5a9051bf webservices: Actually use channel type in WsCreateServiceProxyFromTemplate() (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 21:16:11 +09:00
Hans Leidekker 49799912c5 webservices: Implement WsFileTimeToDateTime.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:56:06 +09:00
Hans Leidekker 2bcff80cda webservices: Implement WsDateTimeToFileTime.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:56:01 +09:00
Hans Leidekker 3268ceb573 webservices: Add support for reading date values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:55:55 +09:00
Hans Leidekker 7ff383e5e2 webservices: Add a stub implementation of WsCall.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:55:51 +09:00
Hans Leidekker cdd2f163ca webservices/tests: Add service proxy tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker bd56d1a0f1 webservices: Implement WsOpenServiceProxy and WsCloseServiceProxy.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker be767562ae webservices: Implement WsOpenChannel and WsCloseChannel.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker a04361f9bd webservices: Implement WsCreateServiceProxyFromTemplate.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker 7c60c0169d webservices: Implement WsGetServiceProxyProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker b353271afa webservices: Implement WsCreateServiceProxy and WsFreeServiceProxy.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker 767056dc3e webservices: Implement WsResetHeap.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:35 +09:00
Hans Leidekker 19fecc4f21 webservices: Add generic property handlers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:35 +09:00
Nikolay Sivov 1ccc521697 webservices: Fix unsupported options detection (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 01:17:24 +09:00
Hans Leidekker 1f79f36373 webservices/tests: Add channel tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:11 +09:00
Hans Leidekker 5f5c389010 webservices: Implement WsGetChannelProperty and WsSetChannelProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:11 +09:00
Hans Leidekker 8d9bf53758 webservices: Implement WsCreateChannel and WsFreeChannel.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:11 +09:00
Hans Leidekker 2b5b0f0174 webservices: Add support for reading enum values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:10 +09:00
Hans Leidekker 4bb2e5efea webservices: Reject field mappings without a description.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:09 +09:00
Hans Leidekker 7af5a14de1 webservices: Fix a typo.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:08 +09:00
Hans Leidekker a5a12491ac webservices: Fix reader movement for text field mappings.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:08 +09:00
Hans Leidekker 0652e61859 webservices/tests: Add more tests for repeating element field mappings.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:08 +09:00
Hans Leidekker 54a6db3d9b webservices: Always skip comment and empty text nodes in WsReadType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 23:12:45 +09:00
Hans Leidekker a73701aec2 webservices: Reset the read position if an opening bracket is not followed by a valid name character.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 23:05:58 +09:00
Hans Leidekker ad2fe7e9a2 webservices: Use addition in read_skip.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 23:05:53 +09:00
Hans Leidekker 92cb3bc0e2 webservices: Add support for item ranges.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 23:05:48 +09:00
Hans Leidekker d53d073ed6 webservices: Pass exact size in read_type_struct_field.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 23:05:39 +09:00
Hans Leidekker b807964ec9 webservices: Add support for repeating element field mappings in WsReadType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:37:20 +09:00
Hans Leidekker 5650300786 webservices/tests: Add more structure type tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:37:17 +09:00
Hans Leidekker 805143d40b webservices: Add support for text field mappings in WsReadType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:36:28 +09:00
Hans Leidekker 49bc8b4cc7 webservices: Add a helper to determine node type.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:36:26 +09:00
Hans Leidekker e4a68fd576 webservices: Fix memory leaks on error paths in WsCreateReader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:36:24 +09:00
Hans Leidekker f162da498f webservices: Add support for optional values in WsReadType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:36:22 +09:00