Commit Graph

1527 Commits

Author SHA1 Message Date
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
Piotr Caban 1f2c20cff3 msxml3/tests: Run IXMLDOMNode::get_text whitespace tests on other msxml versions.
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-11-25 01:28:32 +09:00
Piotr Caban ef127caef2 msxml3/tests: Add CDATA block to whitespace trimming 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-11-19 20:55:15 +09:00
Piotr Caban fa01cd0880 msxml3/tests: Show that sub-elements should not be divided with ' ' in IXMLDOMNode_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-11-19 20:55:15 +09:00
Piotr Caban 80df8c03e2 msxml3/tests: Add tests for sub-nodes whitespaces trimming while getting node 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-11-19 20:55:15 +09:00
Piotr Caban 4386cac6ca msxml3/tests: Add more 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-11-19 20:55:15 +09:00
Alexandre Julliard 8e81f6d582 makefiles: Generate correct dependencies for included typelib files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 17:26:30 +09:00
Alexandre Julliard d8cc1dccba makefiles: Add makedep pragmas in all IDL source files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Alistair Leslie-Hughes f912d85deb msxml3/tests: Fix memory leaks (valgrind).
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>
2015-10-30 16:39:14 +09:00
Nikolay Sivov 121b859fc5 msxml3/tests: Add missing return value test (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:05 +09:00
Daniel Lehman a20d152282 msxml3: Treat namespace as attribute in IXMLDOMElement::getAttribute.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:02:38 +09:00
Thomas Faller f259ba33bb msxml3: Fix invalid read. 2015-09-02 14:54:00 +09:00
Daniel Lehman 1f7fb03ee9 msxml3: Fix crash when merging Text nodes. 2015-08-18 14:55:24 +09:00
Zhenbo Li 59c2b325ea msxml3: Handle NULL parameter in IXMLDOMElement::get_ownerDocument(). 2015-08-13 15:07:01 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Nikolay Sivov cfe52abcf4 msxml3: Handle SafeArrayAccessData() failure in load() (Coverity). 2015-06-15 14:49:33 +09:00
Sebastian Lackner 45e00e5516 msxml3: Add a missing break (Coverity). 2015-04-20 14:38:09 +09:00
Jacek Caban 20b2e1bdb5 msxml3: Create unknode object only for node types supported by msxml. 2015-04-16 20:46:04 +09:00
Nikolay Sivov e1b160b005 msxml3: Explicitly list acceptable libxml2->msxml node types for unknode. 2015-04-02 23:14:36 +09:00
Francois Gouget 61652263fa msxml3: Mark internal symbols with hidden visibility. 2015-03-24 20:01:34 +09:00
Francois Gouget ce40bcf054 msxml3: Remove unneeded NONAMELESSUNION directives. 2015-03-16 15:04:24 +09:00
Michael Stefaniuc 7c4d45c00b msxml3/tests: Merge two adjacent if blocks with identical condition (PVS-Studio). 2015-03-06 20:32:04 +09:00
Sebastian Lackner 76a09f4e29 msxml3: Fix incorrect size argument of FormatMessageW. 2015-03-02 13:51:14 +09:00
André Hentschel 1014867726 msxml3: Declare debug channels only when needed (Clang). 2015-02-23 22:10:50 +09:00
Nikolay Sivov fd925d0e5b msxml3: Remove child node in one place in node_insert_before(). 2015-01-20 17:52:28 +01:00
Michael Stefaniuc 1caf6286f0 msxml3/tests: Actually test the return values (PVS-Studio). 2015-01-19 14:21:00 +01:00
Michael Stefaniuc fe61400088 msxml3/tests: Remove an unused assignment (PVS-Studio). 2015-01-19 14:20:56 +01:00
André Hentschel 1463325797 msxml3/tests: Remove unused code (Clang). 2014-12-02 10:32:13 +01:00
Alexandre Julliard c24fe2253c msxml3: Update pure_parser directive to avoid a deprecation warning. 2014-11-28 18:17:04 +01:00
André Hentschel c4a73bd4d1 msxml3: Remove unused strings (Clang). 2014-11-20 22:32:02 +09:00
Nikolay Sivov 0430513448 msxml3: Return S_FALSE in getNamedItem() of PI node. 2014-10-30 23:09:20 +09:00
Nikolay Sivov d7eec962e2 msxml3: Implement 'name' and 'nodeName' properties for doctype node. 2014-10-07 20:22:10 +02:00
Nikolay Sivov 66b5dd71e9 msxml3/saxreader: Fix attributes array growing size. 2014-08-04 16:18:50 +02:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Nikolay Sivov 45b9027258 msxml3/tests: Accept Stat() method called on test stream. 2014-06-16 09:31:19 +02:00
Marcus Meissner 2c984fc8e2 msxml3: Removed unused allocation (Coverity). 2014-05-20 09:45:11 +02:00
Nikolay Sivov 8e52466757 msxml3: Remove no longer used helper. 2014-05-15 11:29:46 +02:00
Huw Davies 305db0f65b msxml3/tests: Fix test on win 8. 2014-05-14 11:25:06 +02:00
Nikolay Sivov 82bb4f51c1 msxml3: Implement empty tagname case of getElementsByTagName() for document. 2014-05-13 11:45:29 +02:00
Nikolay Sivov 239d8077db msxml3: Support 'any attribute' selection [@*] in XSLPattern predicates. 2014-05-13 11:45:25 +02:00
Huw Davies 9e3d103dcb msxml3/tests: Don't test the variant payload for the VT_EMPTY type. 2014-05-13 11:44:50 +02:00
Huw Davies 8335335c1d msxml3/tests: Fix a failing test on win 8. 2014-05-13 11:44:43 +02:00
Huw Davies 25e5daf872 msxml3/tests: Don't test the values of alignment holes in the variant structure. 2014-05-13 11:44:39 +02:00
Huw Davies f5aaaf215d msxml3/tests: Don't overwrite a variant which is later used in a QueryInterface call. 2014-05-09 14:24:20 +02:00
Nikolay Sivov 9e576e1089 msxml3: Fix some string leaks (Valgrind). 2014-05-06 09:56:24 +02:00
Nikolay Sivov c7f1262613 msxml3: Fix a string leak in msxml6 mode (Valgrind). 2014-05-05 12:17:54 +02:00
Nikolay Sivov c9c47459a9 msxml3/tests: Fix some stream instance leaks (Valgrind). 2014-05-05 12:17:54 +02:00
Nikolay Sivov 1742449ad8 msxml3/tests: Null-terminate a string before A->W conversion (Valgrind). 2014-05-05 12:17:53 +02:00
Nikolay Sivov 30410d48fd msxml3/tests: Fix a BSTR leak (Valgrind). 2014-05-05 12:17:52 +02:00
Austin English 980e9225d2 msxml3: Complain louder if libxslt was missing at compile time. 2014-04-28 14:36:59 +02:00
Nikolay Sivov 3b16986a35 msxml3/tests: Fixed attributes map leak (Valgrind). 2014-04-28 14:00:55 +02:00
Nikolay Sivov 98a9fbe79f msxml3: Fix XPath query result leak (Valgrind). 2014-04-28 14:00:53 +02:00
Nikolay Sivov f9df884536 msxml3: Fixed attribute value string leak (Valgrind). 2014-04-28 14:00:50 +02:00
Nikolay Sivov 039712970b msxml3/tests: Fix enumerator instance leak (Valgrind). 2014-04-25 16:18:16 +02:00
Nikolay Sivov c2c37f8c40 msxml3: Fix a leak when trying to add to readonly collection (Valgrind). 2014-04-25 16:18:14 +02:00
Hans Leidekker 6074267652 msxml3: Fix a couple of memory leaks (valgrind). 2014-04-17 13:27:02 +02:00
Nikolay Sivov 026c861794 msxml3/tests: Fix accessing released intreface pointer. 2014-04-16 10:53:18 +02:00
Nikolay Sivov 52c6c6a1d1 msxml3: Fix transformation result output for stream and BSTR cases. 2014-04-14 10:25:43 +02:00
Nikolay Sivov ff0ed20c2f msxml3: IXSLProcessor_put_output() is not a stub. 2014-04-08 09:25:52 +02:00
Nikolay Sivov 6ed7d9dd1c msxml3/tests: Protect from invalid array access (Coverity). 2014-04-07 15:34:36 +02:00
Nikolay Sivov db8ff72f00 msxml3: Handle NULL child in appendChild(). 2014-04-03 11:11:16 +02:00
Nikolay Sivov 93bd41c3f7 msxml3/tests: Check return values (Coverity). 2014-03-31 11:46:09 +02:00
Thomas Faber 9d79ca78db msxml3: Avoid a variable-length array. 2014-03-25 13:55:46 +01:00
Nikolay Sivov c7d45060e5 msxml3: Fix some test failures on Win8.1. 2014-03-13 20:22:20 +01:00
Nikolay Sivov 02af74400f msxml3: Respect stylesheet output mode when dumping resulting document. 2014-03-13 20:22:13 +01:00
Nikolay Sivov c633a51773 msxml3/tests: Fixed some test failures. 2014-03-10 10:42:21 +01:00
Nikolay Sivov 5b43c42c88 msxml3: Remove dynamic properties support. 2014-03-10 10:42:02 +01:00
Marcus Meissner 6e25c34f2f msxml3: Mirror the NULL checking logic (Coverity). 2014-03-10 10:40:35 +01:00
Nikolay Sivov d7aee26d7f msxml3: Make propputref methods invocable with DISPATCH_PROPERTYPUT. 2014-03-07 11:30:51 +01:00
Nikolay Sivov 87fb169f9c msxml3: Implement endElement() for writer's IVBSAXContentHandler. 2014-03-06 12:01:25 +01:00
Nikolay Sivov dc37ed1f7a msxml3: Implement startElement() for writer's IVBSAXContentHandler. 2014-03-06 12:01:25 +01:00