Commit Graph

1439 Commits

Author SHA1 Message Date
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
Nikolay Sivov f6d22b06c6 msxml3: Make it clear when encoded buffer is created. 2012-11-19 16:35:22 +01:00
Nikolay Sivov 7a00f31ecf msxml3: Stub support for external entity resolver. 2012-11-16 17:42:48 +01:00
Nikolay Sivov a644bad2af msxml3: Store handler pointers so casts to particular type are avoided. 2012-11-16 17:42:47 +01:00
André Hentschel 5e031741cd msxml3: Fix remaining memory leak (coverity). 2012-11-13 18:09:48 +01:00
Nikolay Sivov 47d2f3caf5 msxml3: Disable text data escaping for format nodes set with put_data(). 2012-11-12 13:16:58 +01:00
Nikolay Sivov f9ab8dab51 msxml3: Fix a redundant newline in transformation result in html mode. 2012-11-12 13:16:58 +01:00
Nikolay Sivov 9860e85ac8 msxml3: Add VT_INT to VARIANT tracing helper. 2012-11-12 13:16:57 +01:00
Nikolay Sivov 3d013afec7 msxml3: Fix indexed access to schema collection namespace uris. 2012-11-01 15:09:13 +01:00
André Hentschel 764011a94f msxml3: Avoid memory leak (coverity). 2012-10-29 10:38:37 +01:00
Alexandre Julliard 2763a983fe Mark all lexers as never-interactive. 2012-10-01 12:19:25 +02:00
Nikolay Sivov 65598b975c msxml3: Implemented IConnectionPoint_Advise for document object. 2012-09-24 22:27:25 +02:00
Thomas Faber c9d389c311 msxml3: Do not directly write to resource section. 2012-09-14 11:46:11 +02:00
Jacek Caban e679471885 Always define WIDL_C_INLINE_WRAPPERS. 2012-08-28 14:41:13 +02:00
Nikolay Sivov 2a8552a925 msxml3: Implement xmldecl-version property for a reader. 2012-08-27 11:32:00 +02:00
Nikolay Sivov 6ca60b59c9 msxml3: Enable inline wrappers for tests. 2012-07-30 17:13:34 +02:00
Alexandre Julliard 32a188e862 msxml3: Fix an uninitialized variable. 2012-07-27 17:05:28 +02:00
Nikolay Sivov f14c2f712f msxml3: Enable inline wrappers and fix warnings. 2012-07-27 17:05:22 +02:00
Nikolay Sivov 5b7a55f67f msxml3: Accept ISequentialStream as reader input. 2012-07-24 13:36:26 +02:00
Nikolay Sivov c3fd306f61 msxml3: Accept selection namespaces string with trailing spaces. 2012-07-19 15:44:16 +02:00
Nikolay Sivov 007ac83fc9 msxml3: Use single helper to test for handler presence. 2012-07-17 12:50:18 +02:00
Nikolay Sivov 33a1f892b8 msxml3: Implement a common way to store and get callback interface pointers. 2012-07-16 15:21:46 +02:00
Nikolay Sivov 2bff764df0 msxml3: Implement put/get for DTD handler callback interface. 2012-07-16 15:21:46 +02:00
Nikolay Sivov 13d95525c3 msxml3: Protect from null pointer in load(). 2012-07-16 15:21:45 +02:00
Nikolay Sivov ec8ec0fa9b msxml3: Add VT_I1 type to variant dump helper. 2012-07-09 15:06:00 -04:00
Nikolay Sivov 9a28ac8f7b msxml3: Remove unneeded xmlInitParser call. 2012-07-09 15:05:54 -04:00
Nikolay Sivov 41aa34758e msxml3: Fix xml declaration output when it's specified in loaded document (in case of file). 2012-07-09 15:05:47 -04:00
Nikolay Sivov 46d08bb6ce msxml3: Fix xml declaration output when it's specified in loaded document (in case of stream). 2012-07-09 15:05:41 -04:00
Nikolay Sivov 1a0552443c msxml3: Don't use stream written value when saving to stream. 2012-07-09 15:05:31 -04:00
Nikolay Sivov 1625dae7e3 msxml3: Added _newEnum() support for IXMLDOMNamedNodeMap. 2012-07-03 12:03:10 +02:00
Nikolay Sivov a9aee4c03f msxml3: Add support for bin.hex element type encoding. 2012-07-02 19:18:06 +02:00
Nikolay Sivov 2b5dd13a0a msxml3: Fix putref_schemas()/get_schemas() behaviour on NULL pointer. 2012-07-02 19:18:06 +02:00
Nikolay Sivov 892b21088e msxml3: Implement _newEnum() for schema cache. 2012-07-02 19:18:04 +02:00
Nikolay Sivov 03ad0acfad msxml3: Add IEnumVARIANT support for IXMLDOMNodeList. 2012-07-02 19:18:03 +02:00
Nikolay Sivov 27eedd5f5e msxml3: Make it possible to use different outer objects with single IEnumVARIANT implementation. 2012-07-02 19:18:03 +02:00
Nikolay Sivov f139a88fd5 msxml3: Fix node interface leak after nextNode(). 2012-07-02 19:18:02 +02:00
Nikolay Sivov 60dd1c6a6e msxml3: Correct IEnumVARIANT regarding IUnknown forwarding. 2012-07-02 19:18:02 +02:00
Nikolay Sivov a11ce7945a msxml3: Implement put_nodeTypedValue() for bin.base64 type and commonly used input vartypes. 2012-06-29 10:46:44 +02:00
Nikolay Sivov 1796632166 msxml3: Support VT_UI1|VT_ARRAY variant debug output. 2012-06-29 10:23:29 +02:00
Nikolay Sivov fd5e384979 msxml3: Support VT_I2 variants tracing. 2012-06-25 18:12:51 +02:00
Nikolay Sivov 3ec82583d0 msxml3: Accept VT_ERROR body as empty data. 2012-06-25 18:12:50 +02:00
Nikolay Sivov 76dc17b496 msxml3: Fix async flag setting. 2012-06-25 18:12:50 +02:00
Nikolay Sivov d7a21dedbb msxml3: Recognise PROPFIND method in open(). 2012-06-25 18:12:49 +02:00
Nikolay Sivov 924a4e1371 msxml3: Basic refcount test for IMXNamespacePrefixes. 2012-06-25 10:40:26 +02:00
Nikolay Sivov acce94a04e msxml3: Implement internalEntityDecl() for writer. 2012-06-25 10:40:18 +02:00
Nikolay Sivov d20e487717 msxml3: Initial implementation of attributeDecl() in writer. 2012-06-25 10:40:11 +02:00
Nikolay Sivov 7c9a1b52e3 msxml3: Fix closing of open element. 2012-06-25 10:40:03 +02:00
Nikolay Sivov 5e08765fbb msxml3: Properly handle -1 as length of element qualified name in startElement(). 2012-06-25 10:39:55 +02:00
Nikolay Sivov 6ab3f1ae99 msxml3: Return stream reference from get_output() if stream is set. 2012-06-25 10:39:47 +02:00
Nikolay Sivov 7cbd9dcdc3 msxml3: Reader shouldn't depend on input being properly allocated BSTR string. 2012-06-18 11:59:41 +02:00
Nikolay Sivov 16ef649b5f msxml3: Revert: msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting.
This reverts commit c2c8b9e771 and adds
a comment for uri reporting feature that some application use, for
example Office 2010.  The problem is that namespace uri pointer should
stay the same and we keep it in element stack for that, MXAttributes
allocates new string for each attribute and won't work as needed
unfortunately.
2012-06-18 11:59:41 +02:00
Ulrik Dickow fc8ab63563 msxml3/tests: Test namespace change for all document versions. 2012-06-13 19:39:56 +02:00
Alistair Leslie-Hughes 524a817195 msxml3: Implement IXMLParser Get/Set Flags. 2012-06-12 10:18:01 +02:00
Nikolay Sivov ad914986e8 msxml3: Fix status text value parsing. 2012-06-11 12:19:07 +02:00
Nikolay Sivov c2c8b9e771 msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting. 2012-06-11 12:19:07 +02:00
Michael Stefaniuc 90f93e3819 msxml3/tests: Fix the expected values in some ok() messages. 2012-06-04 19:36:23 +02:00
Nikolay Sivov 84863dfff7 msxml3: Use constant to store supported safety options. 2012-05-21 11:46:54 +02:00
Nikolay Sivov ec2114e66e msxml3: Added IDispatch support for IServerXMLHTTPRequest. 2012-05-21 11:46:48 +02:00
Nikolay Sivov 1a94d8f3c1 msxml3: Stub support for IServerXMLHTTPRequest. 2012-05-21 11:46:42 +02:00
Nikolay Sivov 82fe81c404 msxml3: Move methods implementation to separate functions, so it can be reused. 2012-05-21 11:46:32 +02:00
Nikolay Sivov 9a4d8c30d1 msxml3/tests: A test to show that writer flushes buffer to stream automatically. 2012-05-21 11:46:13 +02:00
Nikolay Sivov cce2b95a8f msxml3/tests: Fix test crashes running old versions. 2012-05-21 11:46:06 +02:00
Nikolay Sivov 08d3b4b9fc msxml3: Support dumping VT_VARIANT|VT_BYREF variants. 2012-05-21 11:45:56 +02:00