Commit Graph

1501 Commits

Author SHA1 Message Date
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
Nikolay Sivov 17d1c0fbc7 msxml3: Fix BSTR retval handling for IVBSAXLocator. 2014-03-05 11:49:25 +01:00
Nikolay Sivov 7ca1ac7365 msxml3: Fix retval BSTR handling for IVBSAXXMLReader. 2014-03-05 11:49:21 +01:00
Nikolay Sivov 969f060e58 msxml3: Fix IVBSAXAttributes handling of retval BSTRs. 2014-03-05 11:49:17 +01:00
Nikolay Sivov 3cce31b132 msxml3: Fix return values for some methods needed by SAX reader. 2014-03-05 11:49:12 +01:00
Nikolay Sivov 89c21a89a6 msxml3: Added stubs for ISAXErrorHandler/IVBSAXErrorHandler for MXWriter. 2014-03-05 11:49:09 +01:00
Nikolay Sivov 71ecd3b422 msxml3: Added stub support for ISAXDTDHandler/IVBSAXDTDHandler for MXWriter. 2014-03-05 11:49:04 +01:00
Nikolay Sivov d745e612ac msxml3: Added partial implementation of IVBSAXContentHandler for MXWriter. 2014-03-04 11:50:10 +01:00
Nikolay Sivov d6de1be777 msxml3: Added IVBSAXLexicalHandler interface for MXWriter. 2014-03-03 17:02:48 +01:00
Nikolay Sivov 94dcff1dda msxml3: Added IVBSAXDeclHandler interface for MXWriter. 2014-03-03 17:02:46 +01:00
Nikolay Sivov a28ace9ae7 msxml3: Support more variant types in putProperty(). 2014-03-03 17:02:45 +01:00
Nikolay Sivov a41446b1f7 msxml3: Fix IVBSAXXMLReader interface definition. 2014-03-03 17:02:43 +01:00
Nikolay Sivov 2b4f20b8c3 msxml3: Support VT_BSTR|VT_BYREF as reader input. 2014-03-03 17:02:42 +01:00
Nikolay Sivov 19eecac79c msxml3: Unify Invoke()/InvokeEx() tracing format. 2014-03-03 17:02:41 +01:00
Nikolay Sivov ff847e8cb3 msxml3: Pass XSL processor parameters to libxml2. 2014-02-14 11:51:11 +01:00
Nikolay Sivov 2d80fb33ee msxml3: Implement addParameter() for XSLProcessor. 2014-02-13 10:44:32 +01:00
Jacek Caban 76ce1f1679 msxml3: Read stream data until Read fails or returns 0 bytes. 2014-02-12 19:15:27 +01:00
Jacek Caban 7dc605ae78 msxml3: Fixed qname leak.
Spotted by Hans Leidekker.
2014-02-12 19:15:16 +01:00
Dmitry Timoshkov fdba11a263 msxml3: IXMLElementCollection::QueryInterface should return NULL interface on error. 2014-02-05 15:43:06 +01:00
Dmitry Timoshkov 9e9d3b2236 msxml3: Use interface instead of implementation pointer to forward IEnumVARIANT::AddRef and IEnumVARIANT::Release for IXMLElementCollection. 2014-02-05 15:43:01 +01:00
Dmitry Timoshkov 9ab9aebf65 msxml3: Add separate QueryInterface implementation for IEnumVARIANT interface exported by IXMLElementCollection. 2014-02-05 15:42:53 +01:00
Dmitry Timoshkov de3ec1c55c msxml3: Don't return implementation pointer as an interface. 2014-02-05 15:42:41 +01:00
Dmitry Timoshkov 41d34aa69b msxml3/tests: Add a test to show that IXMLElementCollection enumerator doesn't recognize IID_IXMLElementCollection. 2014-02-05 15:42:22 +01:00
Nikolay Sivov fa21e6dd7c msxml3/tests: Fix a couple of test failure when msxml4 is actually present. 2014-02-05 13:49:31 +01:00
Alexandre Julliard 8aa64e3580 configure: Automatically expand _CFLAGS and _LIBS variables in all makefiles. 2014-01-30 12:42:56 +01:00
Alexandre Julliard d5c5c0684e msxml3/tests: Run tests against the winehq server. 2014-01-29 21:54:22 +01:00
Frédéric Delanoy fd096ddbc9 msxml3/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:56 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Dmitry Timoshkov cdc9eff5d2 msxml3: Remove unused IUnknown *outer parameter from object constructors. 2014-01-09 14:23:39 +01:00
Frédéric Delanoy 949f1a0161 msxml3/tests: Use BOOL type where appropriate. 2014-01-06 17:14:40 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Marcus Meissner 88923cd6f3 msxml3: Avoid double free of str (Coverity). 2014-01-01 20:45:21 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Frédéric Delanoy 8a4e5ec68b msxml3/tests: Constify some character strings. 2013-12-27 14:31:53 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Frédéric Delanoy 1c972c5987 msxml3: Constify a character string. 2013-12-18 11:39:24 +01:00
Nikolay Sivov 40c8d6aa0a msxml3: Store document url in properties so every instance could see it. 2013-12-16 16:08:39 +01:00
Alexandre Julliard ca41acc1f9 makefiles: Automatically update the IDL_H_SRCS variable. 2013-12-15 10:23:06 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Alexandre Julliard 6bb1bda555 msxml3/tests: Avoid including xmldom.h. 2013-11-25 15:15:54 +01:00
Jacek Caban 66677e616f msxml3: Compile tests with __WINESRC__ defined. 2013-11-18 11:17:29 +01:00
Jacek Caban fe0f945769 msxml3: Return NULL instead of empty string in IXMLElement::get_tagName. 2013-11-18 11:16:54 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Nikolay Sivov e0344e1a28 msxml3: Implement url() property of IXMLDOMDocument. 2013-11-04 17:41:11 +01:00
Nikolay Sivov 61c8a4e6ea msxml3/tests: Consolidate check for available class versions. 2013-11-04 17:41:11 +01:00
Frédéric Delanoy cbd65f1c65 msxml3/tests: Use BOOL type where appropriate. 2013-10-30 09:45:49 +01:00
Nikolay Sivov 0fc177fe2f msxml3: Set referer in case with no user headers too. 2013-10-28 14:22:54 +01:00
Nikolay Sivov 32f56af204 msxml3/tests: Fix test failures on newer systems. 2013-10-28 10:42:23 +01:00
Nikolay Sivov 13aac41b06 msxml3: Set referrer header to container url. 2013-10-17 20:29:42 +02:00
Alexandre Julliard 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Nikolay Sivov abdf02526e msxml3: Handle parser failure when loading from url. 2013-10-14 10:48:34 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Frédéric Delanoy 30aec559ac msxml3: Use BOOL type where appropriate. 2013-10-01 10:50:54 +02:00
Alexandre Julliard b618910b84 msxml3: Don't use libxslt without libxml. 2013-09-16 11:47:19 +02:00
Nikolay Sivov 26d42b9d5c msxml3: Added ISupportErrorInfo support for schema cache. 2013-09-09 22:10:01 +02:00
Michael Stefaniuc f695cb6da1 msxml3: Avoid shadowing a function parameter. 2013-09-03 16:58:19 +02:00
Nikolay Sivov db79c6bd89 msxml3: Fix a warning accessing internal buffer of xmlOutputBuffer. 2013-08-21 14:24:06 +02:00
Nikolay Sivov 9554dfb13c msxml3: Fix a warning in DTD dumping code on recent libxml2 versions. 2013-08-21 14:24:06 +02:00
Nikolay Sivov 610320864b msxml3: Apostrophe is never escaped by writer. 2013-08-20 13:00:57 +02:00
Nikolay Sivov b1bf9a62f9 msxml3: Unescape '&' back to '&' in attribute value. 2013-07-31 22:26:53 +02:00
Nikolay Sivov ccf04d644b msxml3: Implement setting attributes properties with IMXAttributes. 2013-07-30 19:11:30 +02:00
Nikolay Sivov 11736f36c9 msxml3: Implement IMXAttributes_removeAttribute(). 2013-07-30 19:11:20 +02:00
Nikolay Sivov 5dc468f025 msxml3: Support for external entities in writer. 2013-07-29 14:28:23 +02:00
Nikolay Sivov b3d85d41d9 msxml3: Implement output indentation for writer. 2013-07-29 14:28:20 +02:00
Nikolay Sivov 88e94c7ef8 msxml3: Store namespace info for created attribute, fix returned properties. 2013-07-27 11:54:26 -05:00
Marcus Meissner f6a16d8e04 msxml3/tests: Check ISAXContentHandler_endDocument (Coverity). 2013-07-22 19:31:27 +02:00
Nikolay Sivov 47159b6a66 msxml3/tests: Fix test failures with IObjectWithSite.
This fixes test failure on Win8 that apparently implements it same way
as wine does. Refcount tests are removed, added corresponding broken
condition.

From 77c26c7a1a7a0fc63a89f3515f748752b679c891 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Fri, 19 Jul 2013 08:16:21 +0400
Subject: [PATCH 26/26] Fix test failures with IObjectWithSite
2013-07-19 14:39:35 +02:00
Francois Gouget f2deca025e msxml3/tests: Add a trailing '\n' to an ok() call. 2013-07-09 22:21:58 +02:00
John Chadwick 36345a6c69 msxml3/tests: Add additional xpath conformance tests. 2013-07-08 15:15:43 +02:00
Nikolay Sivov facc14ead9 msxml3: Properly trace variant value. 2013-05-31 12:00:28 +02:00
Nikolay Sivov e5261f03e6 msxml3: Fix ignorable whitespace detection in case of formatting text nodes. 2013-05-15 10:55:48 +02:00
Jacek Caban 2dd4e497d6 msxml3: Correctly handle VT_NULL in IXMLHTTPRequest::send. 2013-05-10 17:53:07 +02:00
Nikolay Sivov 6a7bf66b29 msxml3: Explicitly use NULL_tid to terminate support error id arrays. 2013-05-07 15:15:27 +02:00
Nikolay Sivov 6cc0e706dd msxml3: Always return False for nodes that can't have children. 2013-05-06 17:07:23 +02:00
Nikolay Sivov 0403f34b78 msxml3: Fix ignorable whitespace detection. 2013-05-06 17:07:19 +02:00
Alexandre Julliard 8dabde1782 configure: Add a helper macro for invoking pkg-config, and use it for libxml. 2013-05-03 17:09:09 +02:00
Alexandre Julliard 2710f05cef msxml3: Don't unload external libraries on process shutdown. 2013-04-30 18:44:46 +02:00
Victor Martinez Calvo 0a6ab4b713 msxml3: Fix SafeArrayGetUBond check in BindStatusCallback_create. 2013-04-04 13:28:46 +02:00
Nikolay Sivov 448e939ebe msxml3: Embed user/password in uri used to create a moniker. 2013-03-26 12:09:48 +01:00
Alistair Leslie-Hughes 6f2f577fa5 msxml3: Implment IXMLParser SetInput. 2013-03-15 11:45:05 +01:00
Marcus Meissner 5d0ae3d112 msxml3: Initialize hr (Coverity). 2013-03-15 11:42:00 +01:00
Nikolay Sivov 81ffe0432e msxml3: Use characters callback helper in one more place. 2013-03-14 12:03:38 +01:00
Nikolay Sivov 6874bf3c4e msxml3: Process CDATA section before reporting it. 2013-03-13 16:27:51 +01:00
Francois Gouget 78a52bd867 msxml3/tests: Make test_xmlns_attribute() static. 2013-03-12 12:56:38 +01:00
Nikolay Sivov 40d30cf399 msxml3: Fix some test failures on Windows 8. 2013-03-12 11:23:55 +01:00
Nikolay Sivov 2321f8b06f msxml3: Added a simple test for CDATA processing with SAX reader. 2013-03-12 11:23:50 +01:00
Alistair Leslie-Hughes 850d077a4b msxml3: Implement IXMLParser Get/Set Factory. 2013-03-07 12:46:53 +01:00
Alistair Leslie-Hughes 461951e3d4 msxml3: Add xmlns attribute test. 2013-03-07 12:46:47 +01:00
Nikolay Sivov 431e77bec4 msxml3: CDATA nodes can't have children. 2013-03-04 11:16:25 +01:00
Nikolay Sivov 2d5c9f4f46 msxml3: Filter unsupported child nodes in insertBefore() for elements. 2013-03-04 11:16:20 +01:00
Nikolay Sivov 2907ad98c0 msxml3: Avoid unneeded variant copy in setAttribute(), leak fixed as a side effect. 2013-03-01 18:03:29 +01:00
Nikolay Sivov d4d92616b9 msxml3: Don't make a variant copy if no need to for setting node value. 2013-03-01 18:03:29 +01:00
Nikolay Sivov c9563be542 msxml3: Escape value for attribute in put_value(). 2013-03-01 18:03:29 +01:00
Nikolay Sivov a935a44b44 msxml3: Remove unneeded cast to xmlDocPtr. 2013-03-01 18:03:29 +01:00
Nikolay Sivov e5affa7040 msxml3: Update backing docs refcount in put_documentElement(). 2013-02-27 19:23:09 +01:00
Nikolay Sivov 01dd81a78c msxml3: Update refcount in replaceNode(). 2013-02-27 19:23:08 +01:00
Nikolay Sivov cb9d787be1 msxml3: Better handle cross-tree node moves. 2013-02-27 19:23:06 +01:00
Nikolay Sivov de9250537d msxml3: Fail to insert a node of unsupported type to a document. 2013-02-25 13:03:47 +01:00
Andrew Talbot 5360780a9b msxml3: Avoid signed-unsigned integer comparisons. 2013-02-20 10:33:35 +01:00
Nikolay Sivov a701528fec msxml3: Remove separate structures for test interfaces. 2012-12-24 17:35:30 +01:00
Nikolay Sivov f445da0afa msxml3: Make callback data available for ready state event handler. 2012-12-24 17:35:23 +01:00
Nikolay Sivov 83e87a3232 msxml3: More tests for DISPID_VALUE properties handling. 2012-12-20 12:21:52 +01:00
Nikolay Sivov aaa8186a2e msxml3: Add custom handling for DISPID_VALUE for node list. 2012-12-17 20:31:14 +01:00
Nikolay Sivov 9f9ff5528c msxml3: Some tests to show that DISPID_VALUE properties are handled specially. 2012-12-14 17:37:44 +01:00
Nikolay Sivov 9336a3903c msxml3: GetMaxSize() is not a stub. 2012-12-11 20:45:41 +01:00
Jacek Caban b93dbb49c0 msxml3: Tests code clean up. 2012-12-07 12:04:19 +01:00
Jacek Caban e310a88402 msxml3: Added URL validation tests. 2012-12-07 12:04:13 +01:00
Jacek Caban f49376bd08 msxml3: Added basic URL validation in safe mode. 2012-12-07 12:04:05 +01:00
Jacek Caban b7a26db575 msxml3: Use IUri for storing XMLHTTPRequest URL. 2012-12-06 20:31:30 +01:00
Jacek Caban d6d0a27fe8 msxml3: Moved XMLHTTPRequest tests to separated file. 2012-12-04 16:56:18 +01:00
Michael Stefaniuc 0432f6f86e msxml3: Remove superfluous function pointer casts. 2012-12-04 10:54:58 +01:00
Nikolay Sivov 2684eee0b2 msxml3: Initialize body pointer and size for unknown types (Coverity). 2012-11-29 11:16:17 +01:00
Nikolay Sivov 00484ed942 msxml3: Fix a leak on error path. 2012-11-29 11:16:09 +01:00
Nikolay Sivov f929611a68 msxml3: Revert "msxml3: AddRef() typeinfo pointers only when we have to.".
This reverts commit 6e566ce6c2.
2012-11-29 11:16:02 +01:00
Nikolay Sivov cf8564a992 msxml3: Check return value (Coverity). 2012-11-28 20:14:46 +01:00
Nikolay Sivov b2643d3841 msxml3: Fix handling of NULL object site (Coverity). 2012-11-28 20:14:46 +01:00
Nikolay Sivov 21be19a1dc msxml3: Actually use skipped entity event data. 2012-11-28 20:14:45 +01:00
Nikolay Sivov 818917a09e msxml3: Properly store SystemID and PublicID (Coverity). 2012-11-28 20:14:45 +01:00
Nikolay Sivov 5aa1754b7e msxml3: No need to keep a reference to a temporarily used stream. 2012-11-27 16:58:40 +01:00
Nikolay Sivov db9d8ebb08 msxml3: Support ISequentialStream as a document load source. 2012-11-27 16:58:29 +01:00
Nikolay Sivov b296b08a5c msxml3: Move document loading from stream to a separate function. 2012-11-27 16:58:20 +01:00
Andrew Talbot 6256379a96 msxml3: Remove unused variable. 2012-11-22 11:54:49 +01:00
Nikolay Sivov 2b5ddbfe9a msxml3: Properly update node to doc link when cloning. 2012-11-21 19:20:54 +01:00
André Hentschel c02b84d3c5 msxml3: Fix possible NULL pointer access in heap_strdupW. 2012-11-19 16:36:58 +01:00
Nikolay Sivov 6e566ce6c2 msxml3: AddRef() typeinfo pointers only when we have to. 2012-11-19 16:35:22 +01:00