Commit Graph

1392 Commits

Author SHA1 Message Date
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
Michael Stefaniuc e86063d686 msxml3/tests: Check the correct return value. 2012-05-16 18:30:22 +02:00
Nikolay Sivov edf6162340 msxml3: Remove no longer used get_xml() option to mess with encoding attribute. 2012-05-15 16:26:46 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Austin English 5de180beeb msxml3: Avoid a dangling else (LLVM/Clang). 2012-05-14 17:53:07 +02:00
Nikolay Sivov 320d419be1 msxml3: Support iso-8859-x encodings in writer. 2012-05-14 17:46:59 +02:00
Nikolay Sivov fb8fa44bb9 msxml3: Store encoding-codepage mapping in a table. 2012-05-14 17:46:50 +02:00
Nikolay Sivov 9c0486d7a8 msxml3/tests: Really test load() on files with leading spaces. 2012-05-09 17:50:15 +02:00
Nikolay Sivov b2a5d37a46 msxml3/tests: Correct variant type. 2012-05-09 17:50:04 +02:00
Nikolay Sivov fc4dab4c3b msxml3: Add a helper to check that lexical handler is set. 2012-05-08 16:22:28 +02:00
Nikolay Sivov 2dc6711f6d msxml3: Protect content callbacks from being called on reset content handler pointer. 2012-05-08 16:22:21 +02:00
Nikolay Sivov b80c71abe6 msxml3: Make ::put_data() use passed BSTR as general WCHAR buffer. 2012-05-07 17:21:26 +02:00
Nikolay Sivov fc7aea37f6 msxml3: Test for attribute value normalization. 2012-04-30 11:00:58 +02:00
Nikolay Sivov 9756cbf70f msxml3: Use dispex support for IDispatch implementation of process instruction node. 2012-04-30 11:00:51 +02:00
Nikolay Sivov 28335fb39b msxml3: Query for handler interface instead of using what was passed in Variant directly. 2012-04-27 11:59:50 +02:00
Nikolay Sivov 3bc1bdaee7 msxml3: Support disabled escaping mode when writing attribute values. 2012-04-26 19:27:52 +02:00
Nikolay Sivov 622c94acad msxml3: Support disabled escaping mode for characters() callback. 2012-04-26 19:27:42 +02:00
Nikolay Sivov 9472b8ca43 msxml3: Implement getURI() for IMXAttributes. 2012-04-24 11:37:57 +02:00
Nikolay Sivov 3f5ec72fcf msxml3: Implement getLocalName() for IMXAttributes. 2012-04-24 11:37:53 +02:00
Nikolay Sivov 521467fd08 msxml3: Added getName() for IMXAttributes. 2012-04-23 11:44:31 +02:00
Nikolay Sivov 9a509594f9 msxml3: Added getValueFromName() for IMXAttributes. 2012-04-23 11:44:24 +02:00
Nikolay Sivov fd42393792 msxml3: getPrefix() should check all pushed contexts as well. 2012-04-23 11:44:17 +02:00
Nikolay Sivov 43241140aa msxml3: Implement push/pop operations for contexts. 2012-04-23 11:44:09 +02:00
Nikolay Sivov 221f9efe27 msxml3: Switch parser encoding manually when it won't be able to detect it (UTF-16 case). 2012-04-23 11:44:01 +02:00
Nikolay Sivov 4fb5872bd2 msxml3: Support 'namespace-prefixes' feature. 2012-04-20 11:58:57 +02:00
Nikolay Sivov 1554cbc4d7 msxml3: Make failing Locator QI a warning. 2012-04-19 12:06:00 +02:00
Nikolay Sivov 54df4811c6 msxml3: Fix handling of feature values. 2012-04-19 12:05:55 +02:00
Nikolay Sivov f27159a59f msxml3: Respect 'namespaces' feature calling content handler callbacks. 2012-04-19 12:05:50 +02:00
Nikolay Sivov 137a21d04c msxml3: Use lookup table for feature names. 2012-04-19 12:05:42 +02:00
Nikolay Sivov 9a5da56f56 msxml3: Set namespace-prefixes on by default. 2012-04-17 11:48:35 +02:00
Nikolay Sivov 8dcd01bbeb msxml3: Added getIndexFromName() implementation for SAXAttributes. 2012-04-17 11:48:30 +02:00
Nikolay Sivov 6f95c6990a msxml3: Added IMXAttributes::clear(). 2012-04-17 11:48:24 +02:00
Nikolay Sivov f9c3a51fd8 msxml3: Fix end prefix iteration for SAXXMLReader40. 2012-04-17 11:48:18 +02:00
Nikolay Sivov bcd858547b msxml3: Use expected/actual sequence concept for reader tests including attributes tests. 2012-04-16 12:04:43 +02:00
Nikolay Sivov 1478648b9f msxml3: Support ignorable whitespaces output in writer. 2012-03-26 18:15:51 +02:00
Nikolay Sivov 8072884136 msxml3: Support processing instructions in writer. 2012-03-26 18:15:50 +02:00
Michael Stefaniuc 4df6fe1246 msxml3: Print the debug string and not the pointer to it. 2012-03-26 18:15:22 +02:00
Alexandre Julliard 58fe32e1ea msxml3: Avoid building code that isn't used without libxml. 2012-03-16 13:02:54 +01:00
Nikolay Sivov a58249cd5c msxml3: Added IVBSAXAttributes for MXAttributes. 2012-03-15 19:55:55 +01:00
Nikolay Sivov 72187762a3 msxml3: Implement getValueFromQName() for MXAttributes. 2012-03-15 19:55:50 +01:00
Jacek Caban f0f5c45b93 msxml3: Avoid BAD_CAST in schemasInit. 2012-03-15 19:55:31 +01:00
Nikolay Sivov c685b92b3d msxml3: Implement getIndexFromQName() for MXAttributes. 2012-03-14 11:52:42 +01:00
Nikolay Sivov 69bc096645 msxml3: Implement getType() for MXAttributes. 2012-03-14 11:52:36 +01:00
Nikolay Sivov 4cddf045fc msxml3: Implement getValue() for MXAttributes. 2012-03-14 11:52:29 +01:00
Nikolay Sivov 6ac1cc682b msxml3: Implement ISAXAttributes_getQName() for MXAttributes. 2012-03-13 11:08:43 +01:00
Nikolay Sivov 3eaa0df728 msxml3: Implement ISAXAttributes::getLength() for MXAttributes. 2012-03-13 11:08:43 +01:00
Nikolay Sivov 70aa4f1a43 msxml3: Implement IMXAttributes::addAttribute(). 2012-03-13 11:08:42 +01:00
Piotr Caban 7a6494e227 msxml3: Added XMLView IPersistMoniker_Load test. 2012-03-13 11:08:40 +01:00