Commit Graph

292 Commits

Author SHA1 Message Date
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
Hans Leidekker 5a88f52f3f webservices: No longer prefer native.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:13 +02:00
Sebastian Lackner 348fcb18af webservices: Fix uninitialized variable in WsWriteArray.
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-03-09 10:18:02 +01:00
Sebastian Lackner b665b05166 webservices: Return the correct HRESULT on error.
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-03-09 10:18:00 +01:00
Sebastian Lackner 0a3dbf0eb0 webservices: Don't set is_addressed when an error occurred.
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-03-09 10:17:59 +01:00
Sebastian Lackner 3c6c6a3cae webservices: Unlock critical section before returning.
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-03-09 10:17:57 +01:00
Hans Leidekker 36c5252265 webservices: Protect readers with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:50 +01:00
Hans Leidekker dea8708079 webservices: Protect heaps with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:49 +01:00
Hans Leidekker f261a830c4 webservices: Protect errors with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:47 +01:00
Hans Leidekker bf589507cd webservices: Protect writers with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:45 +01:00
Hans Leidekker fc30e2054c webservices: Protect proxies with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:43 +01:00
Hans Leidekker 4cd4f7c4ca webservices: Protect channels with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:41 +01:00
Hans Leidekker 2422fe8457 webservices: Protect messages with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:39 +01:00
Hans Leidekker c6a392b984 webservices: Implement WS_HEAP_PROPERTY_REQUESTED_SIZE and WS_HEAP_PROPERTY_ACTUAL_SIZE.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:37 +01:00
Hans Leidekker 46315d8d27 webservices: Enforce the heap limit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 16:44:49 +01:00
Francois Gouget 304bd8e203 webservices: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
And standardize their formatting and type names.

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-02-22 12:01:50 +01:00
Hans Leidekker e231ee53b4 webservices/tests: Add an empty response message test.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:33 +01:00
Hans Leidekker 2c1ce1a025 webservices/tests: Add more tests for WsReadEnvelopeStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:31 +01:00
Hans Leidekker a0ea3bd741 webservices/tests: Add helpers to set various description structures.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:29 +01:00
Hans Leidekker aaab5410a1 webservices: Fix use of month as array index.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:27 +01:00
Hans Leidekker 35c09b52d9 webservices: Set and restore the full floating point control word.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:44 +01:00
Austin English 59112f2194 webservices: Allocate enough memory for WS_XML_TEXT_TYPE_DOUBLE on Valgrind.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 13:30:41 +01:00
Hans Leidekker 3b050d615d webservices/tests: Add a helper to print the contents of the output buffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 13:30:39 +01:00
Hans Leidekker e4288daa62 webservices: Add support for serializing array parameters in WsCall.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:49 -06:00
Hans Leidekker 0a23523313 webservices: Add support for repeating element field mappings in WsWriteType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:46 -06:00
Hans Leidekker 43e213e24c webservices: Fix calculation of the end of a UTF-8 sequence.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:43 -06:00
Hans Leidekker 28f66b2a34 webservices/tests: Fix argument order in WsCreateMessage calls (Clang).
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:40 -06:00
Hans Leidekker f90f1f88a9 webservices/tests: Mark some test results as broken.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:37 -06:00
Hans Leidekker d91f985e22 webservices: Implement WsCall.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:40:05 +02:00