Commit Graph

451 Commits

Author SHA1 Message Date
Hans Leidekker 7dd6388c1e webservices: Fix handling of union fields that match noneEnumValue.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 10:04:02 +01:00
Hans Leidekker 90baefe6d5 webservices: Use the search index to look up the union field, if available.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-08 10:04:00 +01:00
Hans Leidekker 481ee636c1 webservices: Don't use MSG_PEEK.
As suggested by Jacek.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 21:50:57 +01:00
Hans Leidekker 5a58080a66 webservices: Implement WsRequestReply.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:18:52 +01:00
Hans Leidekker 57db798965 webservices: Add support for UTF-8 encoded text in read_message_id.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:18:44 +01:00
Hans Leidekker ec2ea93bbb webservices: Increase the maximum size of the channel writer buffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:18:39 +01:00
Hans Leidekker 3b7fd4ffed webservices: Add traces.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:18:35 +01:00
Hans Leidekker 26008a7b82 webservices: Try to receive the whole message at once.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:18:33 +01:00
Hans Leidekker bd7c86bb4f webservices: Also trace return values in the URL functions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-31 16:18:30 +01:00
Hans Leidekker dea016dbe8 webservices: Add more tests for default envelope and adressing versions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 17:30:59 +02:00
Hans Leidekker 366e693f6b webservices: Trace return values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 17:30:58 +02:00
Hans Leidekker 91ef13ce7e webservices: Don't set the critical section name in the Windows build.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 17:30:56 +02:00
Hans Leidekker bdce252136 webservices: Add a version resource.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 17:30:53 +02:00
Michael Stefaniuc 9d52b5f847 webservices: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-12 23:15:14 +02:00
Hans Leidekker 3c3ab8911e webservices: Send incremental string table updates with messages in the same session.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 16:02:58 +02:00
Hans Leidekker d120f7f841 webservices: Use the static dictionary only while writing the message header.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 16:02:56 +02:00
Hans Leidekker 8355a96dd3 webservices: Implement WsShutdownSessionChannel.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 16:02:54 +02:00
Hans Leidekker e222e88ac4 webservices: Avoid accessing the old user buffer in WsSetOutput/ToBuffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 16:02:50 +02:00
Hans Leidekker ab2f25d40c webservices: Avoid a warning from HeapDestroy.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 16:02:48 +02:00
Michael Stefaniuc c07f18fbf1 webservices/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Hans Leidekker 85b6fe50ea webservices: Fix handling of empty text field mappings.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 16:14:36 +02:00
Hans Leidekker 80e3f19c30 webservices: Handle WS_XML_TEXT_TYPE_INT64 in text_to_uint64.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 16:14:34 +02:00
Hans Leidekker 28ac1f146f webservices/tests: Make test data local if it's only used in one place.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 16:14:31 +02:00
Hans Leidekker 10897a1f26 webservices: Call WSACleanup when the dll is unloaded.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 16:14:29 +02:00
Hans Leidekker 079f84d918 webservices: Properly restore the reader position when the next element doesn't match.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-18 16:13:28 +02:00
Michael Stefaniuc 0c91b5ebcd webservices: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:59 +01:00
Hans Leidekker e3851a8740 webervices/tests: Add tests for out of range string IDs.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:15 +01:00
Hans Leidekker 69ea451bde webservices: Also set localname and value for xmlns attributes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:14 +01:00
Hans Leidekker 5afd702c99 webservices: Simplify write_dict_string.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:12 +01:00
Hans Leidekker 3b6f7148b6 webservices: Don't write a colon for namespace attributes with empty prefix.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:10 +01:00
Hans Leidekker a3f80e3ab5 webservices: Take the output encoding into account in WsCopyNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:08 +01:00
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