Commit Graph

1478 Commits

Author SHA1 Message Date
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
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