Commit Graph

1497 Commits

Author SHA1 Message Date
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
Francois Gouget c7292a5816 msxml3: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 11:31:14 +09:00
Andrey Gusev 73152bd347 msxml3/tests: Fix a typo in variable name.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-25 15:43:29 +09:00
Nikolay Sivov 11a01849e8 msxml3/tests: Simplify refcount checks.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:36:16 +09:00
Andrey Gusev 78d9a85054 msxml3: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-03 10:05:20 +09:00
Nikolay Sivov 3e96f98cda msxml3/tests: Remove duplicated test check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 13:17:34 +09:00
Nikolay Sivov ea0d29184c msxml3/mxwriter: Implement notation declaration output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 13:17:31 +09:00
Nikolay Sivov 30b661ad9c msxml3/mxwriter: Use 4K for internal buffer size.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov 737d90c21c msxml3/mxwriter: Flush internal buffer as soon as it's filled.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov 67efaac30f msxml3/mxwriter: Handle allocation failure in get_output().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov 8147f9001d msxml3/mxwriter: No need to use contiguous allocation in case of BSTR output.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov 7d72595475 msxml3/tests: Use win_skip() consistently.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:28 +09:00
Nikolay Sivov f21fc727c7 msxml3/tests: Remove useless VariantClear().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:25 +09:00
Nikolay Sivov ba4fcecfa3 msxml3/mxwriter: Simplify argument check in externalEntityDecl().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:22 +09:00
Nikolay Sivov 62bd656711 msxml3/mxwriter: Don't allocate output buffer structure separately from the writer.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:19 +09:00
Jacek Caban 0df7cb2f19 msxml6: Added support for CLSID_XMLSchemaCache60 in XMLSchemaCache60::QueryInterface.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 16:23:17 +09:00
Jacek Caban 8c810372bc msxml3: Store xmlnode reference in xmlnodemap object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 16:23:13 +09:00
Nikolay Sivov d241788d28 msxml3: Accept VT_UNKNOWN input for IXMLDOMSchemaCollection::add().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 19:05:30 +09:00
Nikolay Sivov cdda92fc4e msxml3/tests: Simplify a couple of tests using todo_wine_if().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:43 +09:00
Nikolay Sivov 529451e47f msxml3/tests: Fix BSTR leak warning (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 15:08:42 +01:00
Nikolay Sivov 08be561fbf msxml3/tests: Fix a stream leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 19:26:25 +01:00
Nikolay Sivov b3356593d3 msxml3/tests: Fix a minor variant leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 19:26:22 +01:00
Nikolay Sivov 81fbbb30a5 msxml3/tests: Fix some leaks while testing attribute values (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 19:26:20 +01:00
Nikolay Sivov e0737207e7 msxml3: Add missing break for text node case (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 16:13:18 +01:00
Nikolay Sivov 02e0e122a5 msxml3: Fix cloneNode() for document nodes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 11:13:05 +01:00
Nikolay Sivov f6bfc309ed msxml3: Clear request headers on Open().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:35:07 +01:00
Piotr Caban e2cf78232d msxml3/tests: Use exact comparison in IXMLDOMNode::get_text tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Piotr Caban 028d5e5179 msxml3: Add support for CDATA nodes in node_get_text.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Piotr Caban 900fe6afa6 msxml3: Reimplement node_get_text helper so it uses information about ignorred white space nodes.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Piotr Caban bc0eca60c6 msxml3: Store information about ignorrable whitespace nodes in xmlNode._private variable.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Piotr Caban 7bd995a116 msxml3: Update xmlNode reference count when nodes are merged in node_insert_before.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:27 +01:00