Commit Graph

93 Commits

Author SHA1 Message Date
Hans Leidekker df4046a370 webservices: Add support for writing double values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:00 +09:00
Hans Leidekker 46821e27ab webservices: Implement WsCopyNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:48 +09:00
Hans Leidekker e74502b837 webservices: Insert start/end element nodes at the same time in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:43 +09:00
Hans Leidekker f449b1324f webservices: Decode XML entities.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:33 +09:00
Hans Leidekker f01a209e2b webservices: Implement WsSetReaderPosition.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:31 +09:00
Hans Leidekker 5ad0066068 webservices: Implement WsGetReaderPosition.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:24 +09:00
Hans Leidekker 768197795d webservices: Implement WsMoveWriter.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:58 +09:00
Hans Leidekker 13ef81e4c0 webservices: Validate parent nodes in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:58 +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
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 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 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 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 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 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 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 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
Hans Leidekker cceb19d0b2 webservices: Keep track of prefix bindings.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-10 11:39:18 +09:00
Hans Leidekker 7a6595bf51 webservices: Add support for attribute field mappings in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:31:02 +09:00
Hans Leidekker d5255f51b2 webservices: Move the reader to EOF at end of data in WsReadEndElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:31:00 +09:00
Hans Leidekker b7178446fc webservices: Don't read past the closing bracket in read_element.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-02 23:30:57 +09:00
Michael Stefaniuc 1496777d5f webservices: Print the debug string and not the pointer to it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:41 +09:00
Hans Leidekker 3609e3f47f webservices: Implement WsGetNamespaceFromPrefix.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 22:39:38 +09:00
Hans Leidekker e0ff2f930d webservices: Add support for namespace attributes in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 22:39:26 +09:00
Hans Leidekker bc131a2653 webservices: Set bytes pointer to NULL if length is zero in alloc_xml_string and alloc_utf8_text.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 22:39:21 +09:00
Hans Leidekker 57a7870649 webservices: Implement WS_MOVE_TO_PARENT_ELEMENT in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:47 +09:00
Hans Leidekker 88e53782e8 webservices: Implement WS_MOVE_TO_END_ELEMENT in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:46 +09:00
Hans Leidekker 5c4a061f39 webservices: Implement WS_MOVE_TO_CHILD_ELEMENT in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:46 +09:00
Hans Leidekker 36df4893bf webservices: Implement WS_MOVE_TO_PREVIOUS_ELEMENT in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:46 +09:00
Hans Leidekker 9b58a3993f webservices: Implement WS_MOVE_TO_NEXT_ELEMENT in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:46 +09:00
Hans Leidekker d2ecd8692a webservices: Implement WS_MOVE_TO_ROOT_ELEMENT in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:46 +09:00