Commit Graph

183 Commits

Author SHA1 Message Date
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
Hans Leidekker fe65b87dac webservices: Insert an end element node for self-closing tags 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 6449cb3b67 webservices: Reset the attribute index in read_element.
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 46393a3f86 webservices: Implement WsFindAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:45 +09:00
Hans Leidekker 48975081b8 webservices: Parse CDATA nodes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 23:49:24 +09:00
Hans Leidekker b960e6f81b webservices: Don't validate reader state in read_endelement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 23:49:19 +09:00
Hans Leidekker 417ac65ef6 webservices: Implement WsReadEndAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 23:49:17 +09:00
Hans Leidekker 9fb780ec08 webservices: Add support for structure types in WsReadType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:31:30 +09:00
Hans Leidekker bd4361cb0f webservices: Implement WsReadStartAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:31:27 +09:00
Hans Leidekker 6086ad0fe3 webservices: Reject end elements without a parent in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:18 +09:00
Hans Leidekker d641bc080b webservices: Parse element names.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 23:13:45 +09:00
Hans Leidekker 477b76497f webservices: Parse attribute names.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 23:13:43 +09:00
Hans Leidekker adcdb4c2bd webservices: Avoid some casts.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 23:13:40 +09:00
Alistair Leslie-Hughes 7aefdc2f18 webservices: Add missing break.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 21:56:19 +09:00
Hans Leidekker 83e4e13571 webservices: Implement WsWriteText.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:31 +09:00
Hans Leidekker 919b1b5fdc webservices: Implement WsWriteStartAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:31 +09:00
Hans Leidekker 1e3b84a75e webservices: Implement WsWriteStartElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 19:43:02 +09:00
Hans Leidekker 2bfcd98c30 webservices: Implement WsMoveReader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 19:42:56 +09:00
Hans Leidekker 29b1c115fe webservices: Parse self-closing tags.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 19:42:50 +09:00
Hans Leidekker e3859dffad webservices: Implement WsAlloc.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 19:42:46 +09:00
Hans Leidekker ff990d3426 webservices: Keep track of the parent-child relationship between nodes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 19:42:38 +09:00
Hans Leidekker 4977635361 webservices: Implement WsXmlStringEquals.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 19:42:21 +09:00
Hans Leidekker 506e981d08 webservices: Implement WsSetInputToBuffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 19:24:26 +09:00
Hans Leidekker 096348607b webservices: Implement WsCreateXmlBuffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 19:24:04 +09:00
Hans Leidekker 9eee37f53f webservices: Add a stub implementation of WsGetXmlAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 19:23:54 +09:00
Hans Leidekker ce71c50f30 webservices: Add support for character set detection.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 19:23:48 +09:00
Hans Leidekker 2eab711859 webservices: Parse comment nodes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 19:23:44 +09:00
Hans Leidekker 65e04e006e webservices: Implement WsCreateWriter and WsFreeWriter.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:19 +09:00
Hans Leidekker 63e0b48516 webservices: Accept single quote as attribute value delimiter.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:19 +09:00
Hans Leidekker 935e9eb8bb webservices: Add a stub implementation of WsGetErrorString.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:19 +09:00
Hans Leidekker 8c9600b9fa webservices: Implement WsReadType for a number of basic types.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 17:50:22 +09:00
Hans Leidekker ef3e05ee5b webservices: Implement WsReadNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 17:50:16 +09:00
Hans Leidekker 45ded33bc9 webservices: Implement WsReadEndElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 17:50:08 +09:00
Hans Leidekker bac2d5c37f webservices: Implement WsReadStartElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 17:50:00 +09:00
Hans Leidekker 3ec48f1d9d webservices: Implement WsReadToStartElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-09 17:49:49 +09:00
Hans Leidekker 7b16d186e6 webservices: Implement WsFillReader. 2015-09-16 22:10:57 +09:00
Hans Leidekker 8bef93521f webservices: Implement WsGetReaderNode. 2015-09-16 22:10:53 +09:00
Hans Leidekker cf8efc384a webservices: Implement WsSetInput. 2015-09-15 19:45:55 +09:00
Hans Leidekker 0e3b3e07ad webservices: Implement WsGetReaderProperty. 2015-09-15 19:45:46 +09:00
Hans Leidekker a3004d11de webservices: Implement WsCreateReader and WsFreeReader. 2015-09-15 19:45:41 +09:00
Hans Leidekker 9061ee4e8c webservices: Implement WsGetHeapProperty. 2015-09-14 22:31:43 +09:00
Hans Leidekker 5db34f7da1 webservices: Implement WsCreateHeap and WsFreeHeap. 2015-09-14 22:31:38 +09:00
Hans Leidekker a1d2f21392 webservices: Implement WsGetErrorProperty and WsSetErrorProperty. 2015-09-11 18:21:32 +09:00
Hans Leidekker 60f1b8514e webservices: Implement WsCreateError and WsFreeError. 2015-09-11 18:21:13 +09:00