Commit Graph

1527 Commits

Author SHA1 Message Date
Francois Gouget ed42959693 msxml3/tests: Make test_namespaces_as_attributes() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:37:49 +02:00
Daniel Lehman 9b950387e5 msxml3/tests: Add test for treating namespaces as attributes.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-31 09:05:20 +02:00
Alistair Leslie-Hughes 8ad509ed70 msxml3: Accept NormalizeAttributeValues property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:56 +02:00
Michael Stefaniuc 962b31c80b include: Add a generic available ARRAY_SIZE().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:39:15 +02:00
Michael Stefaniuc 39bd2c96ba msxml3/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Thomas Faber a64403904d msxml3: Avoid buffer overflow in BindStatusCallback_GetBindInfo (DPH).
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-24 10:32:07 +02:00
Jacek Caban 35bd57ec5e msxml3/tests: Added invalid host XHR tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 10:19:20 +02:00
Jacek Caban f6b5b31083 msxml3/tests: Added IServerXMLHTTPRequest tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 10:19:18 +02:00
Nikolay Sivov 6b7e1131e5 msxml3: Use ARRAY_SIZE() macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:27 +01:00
Nikolay Sivov a62bed3bb8 msxml3/saxreader: Allow setting default value for schema-validation feature.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:26 +01:00
Nikolay Sivov 585e12fa9d msxml3/saxreader: Accept external-general-entities and external-parameter-entities.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:24 +01:00
Nikolay Sivov 1d78226f51 msxml3/saxreader: Accept disabled "exhaustive-errors" property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:21 +01:00
Alex Henrie f9e1dbb83d msxml3: Remove CRs in domtext_put_data and add them in domtext_get_xml.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Nikolay Sivov 75782e7cc3 msxml3/tests: Use the global HeapAlloc() helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Nikolay Sivov 9cb8629fb7 msxml3: Use the global HeapAlloc() helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Michael Stefaniuc 82825d9cfc msxml3: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 10:00:07 +01:00
Nikolay Sivov 5e947df1fe msxml3: Register msxsl:node-set() extension function.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:16 +01:00
Nikolay Sivov 92513a9edd msxml3: Implement custom document importing callback.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:14 +01:00
Nikolay Sivov cdaf5625d1 msxml3: Use IUri API to load documents.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:12 +01:00
Nikolay Sivov cefe6e8de5 msxml3/tests: Use temporary user directory for test files.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-12 15:02:49 +01:00
Alex Henrie 53a55fbdb1 msxml3/tests: Make put_data_types const.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-10 18:48:49 +01:00
Alex Henrie b8711196b1 msxml3/tests: Add missing return value checks to domdoc tests (Coverity).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-10 18:48:45 +01:00
Nikolay Sivov 3e8acbac87 msxml3/tests: Simplify test error path.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 22:47:24 +01:00
Nikolay Sivov f3693d2b46 msxml3/tests: Add missing return value test (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-26 10:12:36 +01:00
Nikolay Sivov 418c1d32bb msxml3/httpreq: Return S_OK from setTimeouts().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 10:02:40 +01:00
Nikolay Sivov 41365ce72c msxml3: Partially implement transformNodeToObject().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-23 10:33:54 +02:00
Piotr Caban afdf7491ef msxml3: Use correct string length in saxreader_get_cdata_chunk.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:49 +02:00
Nikolay Sivov af07789cdc msxml3/httpreq: Added ISupportErrorInfo stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-29 18:08:00 +02:00
Nikolay Sivov 79f11f2282 msxml3/httpreq: Support HEAD request.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 18:54:11 +02:00
Alistair Leslie-Hughes 2ccf4ab8ed msxml3/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-02 13:52:37 +02:00
Nikolay Sivov 870de39ca4 msxml3/tests: Initialize string pointer on default case too (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:05:37 +02:00
Nikolay Sivov b565149104 msxml3/tests: Consistently use non-null pointer value.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 10:05:33 +02:00
Nikolay Sivov d7d5d93e86 msxml3: Improve error handling (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-10 21:51:39 +02:00
Nikolay Sivov cebed397c3 msxml3: Added support for setting IResponse as xsl processor output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 10:26:14 +02:00
Nikolay Sivov d1f1731960 msxml3/tests: Added a test for IResponse processor output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-28 10:26:12 +02:00
Nikolay Sivov ea9b797409 msxml3: Support IPersistStream* as IXSLProcessor output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-27 10:57:38 +02:00
Daniel Lehman cf08ea1b3a msxml3/tests: Free ready state BSTR (Valgrind).
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-23 17:08:00 +01:00
Nikolay Sivov ba018b5253 msxml3/saxreader: Handle NULL interface input in parse().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 09:54:12 +01:00
Nikolay Sivov 2656f73817 msxml3/tests: A bit more tests for IPersist* interfaces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 15:03:14 +01:00
Daniel Lehman 8bc68f3491 msxml3: Don't QI for IPersistStream in internal_parse.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 10:30:36 +01:00
Francois Gouget 135e98a428 msxml3: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
And standardize their parameter names.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-21 13:36:46 +01:00
Jacek Caban 6e94b955c2 mshtml: Added support for COM aggregation in HTMLDocument object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Nikolay Sivov 45dd9d1796 msxml3: Accept AllowXsltScript and AllowDocumentFunction properties.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:44 +01:00
Nikolay Sivov 2191d97765 msxml3: Duplicate stylesheet document before passing it to libxslt.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:44 +01:00
André Hentschel 1242648fae msxml3: Remove dead initialization (clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 08:52:04 +01:00
Huw Davies 5124eb99fe msxml3/tests: Windows 10 no longer supports variants by reference, so pass it directly.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-18 16:03:35 +01:00
Alistair Leslie-Hughes a9115b36c6 msxml3: Implement IXMLParser GetParserState.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 20:17:31 +09:00
Nikolay Sivov 01c63bdf76 msxml3: Remove redundant refcount field.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:50:10 +09:00
Michael Stefaniuc 158e7e26fc msxml3: Don't cast from a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 15:31:16 +09:00
Nikolay Sivov 1140291adc msxml3/schema: Support element nodes in add().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 22:14:46 +09:00