Commit Graph

368 Commits

Author SHA1 Message Date
Hans Leidekker 1ff81aa7f1 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker 387061881c webservices: Store all text in native format in binary mode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker b9a464f76d webservices: Add support for setting the channel encoding.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker ede77edb44 webservices: Add support for appending byte records in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker c41e66fe01 webservices: Add support for union types in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker c51ab4cd14 webservices: Add support for union types in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker 95308f22d4 webservices: Store byte records as WS_XML_BASE64_TEXT.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Alistair Leslie-Hughes 75c0879826 webservices/tests: Use standard wine_dbgstr_longlong.
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>
2017-07-05 09:18:17 +02:00
Hans Leidekker 28dd2e11d4 webservices: Handle text records with implicit end element.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 11:14:15 +02:00
Hans Leidekker d29c0e2bdf webservices: Fix the empty text case for a couple of data types.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 11:14:10 +02:00
Hans Leidekker 5a0b3ff301 webservices/tests: Add more dictionary tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 11:13:49 +02:00
Hans Leidekker 119afbd151 webservices: Fix reading byte records with 2 and 4 byte length.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 11:13:43 +02:00
Hans Leidekker c59dd19c4e webservices: Make sure to use the right dictionary to look up text values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 11:13:39 +02:00
Hans Leidekker 5c24d44973 webservices: Add an index to the static dictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 11:13:30 +02:00
Hans Leidekker 2f2a23a9bd webservices: Fix write option mapping in write_type_struct_field.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-29 11:13:24 +02:00
Hans Leidekker 4019682855 webservices: Add support for dynamic string callbacks.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 10:58:14 +02:00
Hans Leidekker f7488ac67d webservices: Allow the dictionary functions to be used with any dictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 10:58:09 +02:00
Hans Leidekker 7fef84e3c5 webservices: Add support for reading WS_XML_QNAME values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 10:04:30 +02:00
Hans Leidekker db6476f0ae webservices: Add support for reading WS_XML_STRING values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 10:04:28 +02:00
Hans Leidekker 164024eaa9 webservices: Add support for reading WS_UNIQUE_ID values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 10:04:26 +02:00
Hans Leidekker 9fa4ed7860 webservices: Add support for reading WS_STRING values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 10:04:24 +02:00
Hans Leidekker f07f21cafe webservices: Add support for writing WS_XML_QNAME values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 10:04:22 +02:00
Hans Leidekker 1746d162e7 webservices: Add support for writing WS_UNIQUE_ID values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 10:04:20 +02:00
Marcus Meissner 960d534278 webservices: Fixed memory leak in build_custom_header (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 10:38:42 +02:00
Marcus Meissner b65f0f2a97 webservices: Free header on error exit (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-19 12:04:19 +02:00
Hans Leidekker 1ba1821949 webservices: Store buffer encoding and character set.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 11:19:02 +02:00
Hans Leidekker 83bdbc1e38 webservices: Implement WsReadXmlBuffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 11:19:00 +02:00
Hans Leidekker 087631bbbc webservices: Restore the current pointer after reading ahead in read_move_to.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 11:18:56 +02:00
Hans Leidekker f2b399784d webservices/tests: Add a test for WsCopyNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 11:18:54 +02:00
Hans Leidekker 14c1cd97e5 webservices: Support more text record types in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 11:18:52 +02:00
Hans Leidekker 5154290ac0 webservices: Add a static builtin dictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 11:18:48 +02:00
Hans Leidekker 1fb0e25cfb webservices: Pass AI_PASSIVE when resolving the hostname for a listener socket.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:46 +02:00
Hans Leidekker b458799863 webservices: Restrict connections to IPv4 for now.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:46 +02:00
Hans Leidekker cb1882f72e webservices: Set SO_REUSEADDR on listener sockets.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:46 +02:00
Hans Leidekker 06f6346df3 webservices: Support more text record types in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:45 +02:00
Hans Leidekker 03a63781fa webservices: Implement WsGetCustomHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:45 +02:00
Hans Leidekker 64d029a811 webservices: Implement WsGetHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:45 +02:00
Hans Leidekker cd83b80acc webservices: Write correct envelope headers for WS_ENVELOPE_VERSION_NONE.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-06 13:08:45 +02:00
Hans Leidekker 419604e15b webservices: Implement WsGetDictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 11:15:23 +02:00
Hans Leidekker 8214fcfa5d webservices: Add a builtin dictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 11:15:20 +02:00
Hans Leidekker 0e942e5021 webservices: Add support for dictionary strings in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 11:15:17 +02:00
Hans Leidekker 51d934abbc webservices: Add support for dictionary strings in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 11:15:15 +02:00
Hans Leidekker d843845e07 webservices/tests: Add more binary mode reading tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:01 +02:00
Hans Leidekker 6f65dbc04c webservices: Add support for reading comments in binary mode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:01 +02:00
Hans Leidekker b9953cef4e webservices: Add support for reading text in binary mode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:00 +02:00
Hans Leidekker 78428d963e webservices: Add support for reading attributes in binary mode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:00 +02:00
Hans Leidekker 505d60f988 webservices: Add initial support for binary XML in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:00 +02:00
Hans Leidekker 2ac3492537 webservices/tests: Add a test to show that the reader converts text to UTF-8.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:00 +02:00
Hans Leidekker df5c1b6ed8 webservices: Add support for writing comments in binary mode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:00 +02:00
Hans Leidekker e6b9f9a634 webservices: Add support for writing attributes and text in binary mode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 16:28:31 +02:00