Commit Graph

145 Commits

Author SHA1 Message Date
Hans Leidekker 234115c8cc webservices: Implement WS_TYPE_ATTRIBUTE_FIELD_MAPPING for the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 19:32:04 +01:00
Hans Leidekker 9616d2586c webservices: Implement WS_ANY_ATTRIBUTES_FIELD_MAPPING for the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 19:32:04 +01:00
Hans Leidekker 0f911b7aa4 webservices: Add support for WS_FIELD_NILLABLE_ITEM.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 15:59:02 +01:00
Alexandre Julliard 311f6c8453 webservices: Use _control87() instead of directly manipulating the FPU register.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 22:42:34 +01:00
Hans Leidekker 7236d982c9 webservices: Add support for writing WS_ENUM_TYPE values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-25 16:28:59 +02:00
Alexandre Julliard 4da92b60b6 webservices: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-26 18:04:56 +02:00
Hans Leidekker 3e326c9a19 webservices: Add support for stream output.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-04 16:13:11 +01:00
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 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
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 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
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 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 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 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 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
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
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 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 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 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 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 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 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
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 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 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 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 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