Hans Leidekker
008efda737
webservices: Fix is_nil_element in binary mode.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:06 +01:00
Andrey Gusev
5485189eb0
webservices/tests: Fix resource leak.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 21:47:00 +01:00
Hans Leidekker
1ca988d4f4
webservices/tests: Register an exception with the firewall to avoid a dialog.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-18 12:35:13 +01:00
Hans Leidekker
209ad4c087
webservices/tests: Merge the listener tests into channel.c.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-18 12:35:13 +01:00
Hans Leidekker
f85c6f283a
webservices: Don't use the dictionary for UTF-16 text.
...
Although UTF-16 text is converted to UTF-8 before transmission it's
stored inline rather than in the dictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 18:22:40 +01:00
Hans Leidekker
8b11866534
webservices: Enable dictionary lookup after setting the output buffer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 18:21:23 +01:00
Hans Leidekker
ca0b46a10c
webservices: Implement WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 18:21:19 +01:00
Hans Leidekker
bb586c7e73
webservices: Don't require specific writer state for element mappings in WsWriteType.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 18:21:14 +01:00
Hans Leidekker
a81671b522
webservices: Store the async context directly in struct receive_message.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-08 18:21:11 +01:00
Zebediah Figura
48b581befd
webservices: Stub WsAbortChannel().
...
Powerpoint 2016 calls this while loading some themes.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 10:28:40 +01:00
Hans Leidekker
6d2f4471ed
webservices: Fix handling of namespace attributes in WsWriteNode.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 14:32:09 +02:00
Andrey Gusev
131397e784
webservices: Fix misplaced parenthesis.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 19:49:29 +02:00
Hans Leidekker
c80c45127e
webservices: Get rid of insert_string_cb.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:37 +02:00
Hans Leidekker
3076f5e3fb
webservices: Always create a copy of strings to insert in the dictionary.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:34 +02:00
Hans Leidekker
0567952c70
webservices: Fix return value in read_type_text.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:32 +02:00
Hans Leidekker
de139491f6
webservices: Set event handles to NULL on error.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:30 +02:00
Hans Leidekker
a808821d72
webservices: Simplify get_field_size.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:26 +02:00
Hans Leidekker
ca13227ebc
webservices: Implement WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING in the reader.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:39 +02:00
Hans Leidekker
04ae90993a
webservices: Support more text types in is_empty_text_node.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:34 +02:00
Hans Leidekker
71121270ae
webservices/tests: Add tests for asynchronous WsReceiveMessage.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:31 +02:00
Hans Leidekker
97ccfe2078
webservices: Add asynchronous support for WsReceiveMessage.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:26 +02:00
Hans Leidekker
049d8cfc7d
webservices: Read the string table in all sized envelopes.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:21 +02:00
Hans Leidekker
9169053957
webservices: Use separate dictionaries for sending and receiving messages.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:18 +02:00
Hans Leidekker
98a3892412
webservices: Add traces.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:14 +02:00
Francois Gouget
73ef39fe63
webservices: Alloc_utf16_text() is unused, so remove it.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Hans Leidekker
2946dc71aa
webservices: Include a RelatesTo header in reply messages.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
ab522ac59b
webservices: Parse the MessageID header.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
f9ae309767
webservices: Add support for multiple message descriptions in WsReceiveMessage.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
e5704b4e1d
webservices: Build a session dictionary for strings not present in the static dictionary.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
18a77c327e
webservices: Also use the dictionary for writing UTF-8 text values.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
7b0a05c151
webservices: Add a mechanism to use the builtin static dictionary in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
7727e00178
webservices: Store the action header as WS_XML_STRING.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
1a28e34a91
webservices: Return HRESULT from insert_string.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
19f540dbcb
webservices: Implement WsSendReplyMessage.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker
ffbddae542
webservices: Store headers in WsReadEnvelopeStart.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:00 +02:00
Hans Leidekker
c51b41f905
webservices: Set cache control headers.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-25 13:58:49 +02:00
Hans Leidekker
c94ccee16a
webservices: Create a new HTTP request for each message.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-25 13:58:47 +02:00
Hans Leidekker
887af1b3bb
webservices: Implement the Message Framing Protocol.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Hans Leidekker
bb2344b711
webservices: Write Action and To headers unless the addressing version is WS_ADDRESSING_VERSION_TRANSPORT.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Hans Leidekker
0ea201cbf7
webservices: Set default channel envelope and addressing versions.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Hans Leidekker
82306e84f3
webservices: Add support for reading float values.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Sebastian Lackner
f53b6bfde0
webservices: Remove dead code in read_attribute_value_bin.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker
35de20a8b3
webservices/tests: Add tests.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker
dbe2163d43
webservices: Add support for DATETIME records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker
f40d88a0c7
webservices: Add support for UNIQUE_ID records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker
b85e6800d0
webservices: Add support for GUID records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker
30abce8782
webservices: Add support for double records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker
bfa4a6010b
webservices: Add support for integer records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:52 +02:00
Hans Leidekker
a2eb6d6f7e
webservices: Add support for BOOL records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:12:44 +02:00
Hans Leidekker
11028500a7
webservices: Add support for byte records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:08:30 +02:00
Hans Leidekker
7018ccd4bc
webservices: Add support for 16-bit length text records in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:08:24 +02:00
Hans Leidekker
f1f510d947
webservices: Handle all supported native text types in the reader type conversion.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:08:12 +02:00
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
Hans Leidekker
e091c1ec1a
webservices: Set namespace attributes for prefixes introduced by attributes.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 16:28:28 +02:00
Hans Leidekker
4331bb7861
webservices: Add support for writing namespace attributes in binary mode.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 16:28:25 +02:00
Hans Leidekker
24d39bc3c4
webservices: Add initial support for binary XML in the writer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 16:28:21 +02:00
Hans Leidekker
da030566e7
webservices: Implement WsSkipNode.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 16:28:18 +02:00
Owen Rudge
acf6b4eeec
webservices: Write empty prefix if "prefix" is NULL and "ns" is empty.
...
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-19 09:58:03 +02:00
Hans Leidekker
87522d67cf
webservices: Implement WS_XML_WRITER_PROPERTY_BUFFERS.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:18 +02:00
Hans Leidekker
3f20b66a54
webservices: Use a WS_BYTES structure to store XML buffer data.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:16 +02:00
Hans Leidekker
eaf2cd11ae
webservices: Fix duplicating attributes.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:14 +02:00
Hans Leidekker
a1c9801dc6
webservices: Treat empty prefixes as NULL.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:12 +02:00
Hans Leidekker
bae46fb214
webservices: Properly handle readers positioned at BOF or EOF in WsCopyNode.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:10 +02:00
Hans Leidekker
b37f7e81d2
webservices: Move the reader to the next node in WsCopyNode.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:06 +02:00
Hans Leidekker
9f52fec0d8
webservices: Implement WsReadAttribute.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:27 -05:00
Hans Leidekker
f541c82612
webservices: Don't trace output parameters in WsReadQualifiedName.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:20 -05:00
Hans Leidekker
350cf6654e
webservices: Allow listeners to be cancelled.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:11 -05:00
Nikolay Sivov
aaf4e75a62
webservices/tests: Enable WsInitializeMessage() tests (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>
2017-05-08 07:00:59 -05:00
Hans Leidekker
ba014d9998
webservices: Implement WsWriteCharsUtf8.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker
1e187771da
webservices: Implement WsWriteChars.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker
86738d095d
webservices: Implement WsWriteBytes.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker
e61291479f
webservices: Implement WsReadQualifiedName.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker
992da70339
webservices: Implement WsWriteQualifiedName.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:38 +02:00
Hans Leidekker
40b5dc9541
webservices: Support appending text with multiple WsWriteText calls.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:38 +02:00
Hans Leidekker
c305b21be3
webservices/tests: Add tests.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:18 +02:00
Hans Leidekker
804e9b6068
webservices: Implement WsWriteMessageEnd.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:15 +02:00
Hans Leidekker
6d4f83162a
webservices: Implement WsWriteMessageStart.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:06 +02:00
Hans Leidekker
84dcb316b9
webservices: Implement WsReadMessageEnd.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:00 +02:00
Hans Leidekker
ccdd9cb1ce
webservices: Implement WsReadMessageStart.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:17:53 +02:00
Hans Leidekker
e725d9e3c7
webservices/tests: Add tests.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:21:05 +02:00
Hans Leidekker
31b0d5fab8
webservices: Read message headers in read_envelope_start.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:21:03 +02:00
Hans Leidekker
0ab53b3f91
webservices: Add support for incoming UDP connections.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:21:01 +02:00
Hans Leidekker
17a3dd17ce
webservices: Add support for incoming TCP connections.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:20:59 +02:00
Hans Leidekker
e64d8f1b0b
webservices: Add support for outgoing UDP connections.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:20:55 +02:00
Hans Leidekker
a6318e25c8
webservices: Add support for outgoing TCP connections.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:59:01 +02:00
Hans Leidekker
a3999d77ef
webservices: Implement WsResetListener.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker
9cacff8e07
webservices: Implement WsCreateChannelForListener.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker
823aa24f85
webservices: Implement WsOpenListener and WsCloseListener.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker
79be5ad469
webservices: Reuse the message read buffer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker
71cc41b932
webservices/tests: Add listener tests.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:23 +02:00
Hans Leidekker
92fdb3ffb5
webservices: Implement WsGetListenerProperty and WsSetListenerProperty.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:19 +02:00
Hans Leidekker
83a2c56fc0
webservices: Implement WsCreateListener and WsFreeListener.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:15 +02:00
Hans Leidekker
3c78421499
webservices: Implement WsResetServiceProxy.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:08 +02:00
Hans Leidekker
e1e36be4b8
webservices: Keep track of service proxy state.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:04 +02:00
Hans Leidekker
29d4c50391
webservices: Implement WsResetChannel.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:02 +02:00
Hans Leidekker
6f3afc1a1c
webservices: Implement WsResetMessage.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker
4f1c7dc195
webservices: Don't allocate an XML buffer until it is needed.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker
9716776326
webservices: Implement WS_CHANNEL_PROPERTY_CHANNEL_TYPE.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker
7c94cf90ae
webservices: Move heap support to a separate file.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker
55e60aab5c
webservices: Move error support to a separate file.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:13 +02:00
Hans Leidekker
bdbab7b63a
webservices: Use a table in get_header_name.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:13 +02:00