Commit Graph

83 Commits

Author SHA1 Message Date
Hans Leidekker fbc08085da webservices/tests: Add tests.
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 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 db591a0583 webservices: Implement WsWriteStartCData and WsWriteEndCData.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 23:49:29 +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 50797a803d webservices: Support more writer states in WsWriteText.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 23:49:22 +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 5eed03cb28 webservices: Implement WsWriteAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:31:18 +09:00
Hans Leidekker 0b57ba1904 webservices: Implement WsWriteValue.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:31:12 +09:00
Hans Leidekker 2f37267312 webservices: Implement WsWriteElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:31:02 +09:00
Hans Leidekker 98d19212e7 webservices: Add support for structure types in WsWriteType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:30:54 +09:00
Hans Leidekker 8676f7bae0 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:19 +09:00
Hans Leidekker 2563356bd6 webservices: Implement WsWriteType for a number of basic types.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:19 +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 ed33639561 webservices: Implement WsWriteXmlBufferToBytes.
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 32e20cbf32 webservices: Implement WsWriteXmlBuffer.
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 44d850c259 webservices: Attributes inherit the prefix from their element.
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 4f0b912236 webservices: Simplify handling of quotes in write_attribute.
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 a443318d18 webservices/tests: Add more tests for WsReadEndElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 23:13:48 +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 038cb1183a webservices/tests: Add more tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:32 +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 112e1af5f1 webservices: Implement WsWriteEndAttribute.
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 08c32f4ec3 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:30 +09:00
Hans Leidekker f236df36fc webservices: Implement WsWriteEndStartElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:30 +09:00
Hans Leidekker e9435db25f webservices: Avoid writing redundant namespace attributes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:30 +09:00
Hans Leidekker c08fb1a211 webservices: Implement WsWriteEndElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:29 +09:00
Hans Leidekker 349641575c webservices: Add support for retrieving the output buffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:29 +09:00
Hans Leidekker 062aa59ddf webservices: Reset writer state in WsSetOutput and WsSetOutputToBuffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-10 19:43:06 +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