Commit Graph

438 Commits

Author SHA1 Message Date
Nikolay Sivov 61f693846a msxml3: Initial tests for IObjectWithSite support for httprequest. 2011-03-28 17:31:40 +02:00
Nikolay Sivov ae2057cbb8 msxml3: Clean formatting chars before passing to base64 decoder. 2011-03-17 13:06:51 +01:00
Nikolay Sivov cde8e6c8cc msxml3: Support VT_BSTR|VT_BYREF as source in load(). 2011-03-16 14:14:22 +01:00
Nikolay Sivov 59f64b2896 msxml3: Merge save() tests to a single function. 2011-03-16 14:14:22 +01:00
Nikolay Sivov c26c55995a msxml3: Add IXMLDOMSelection stub. 2011-03-14 12:38:59 +01:00
Nikolay Sivov c48b7566bd msxml3: Unlink node first before adding it as a child. 2011-03-14 12:19:01 +01:00
Nikolay Sivov 68cc66d800 msxml3: Fix reference counting behaviour for named map. 2011-03-11 11:49:04 +01:00
Nikolay Sivov 710b643b2f msxml3: Some get_attributes() tests. 2011-03-10 14:10:16 +01:00
Nikolay Sivov 6194d30145 msxml3: Put together similar tests using tabled test data. 2011-03-09 12:29:44 +01:00
Nikolay Sivov 0ecc9201c3 msxml3: Fix some leaks in tests. 2011-03-08 17:28:35 +01:00
Nikolay Sivov 1b1c4c0140 msxml3: Merge obsolete interfaces tests in a single file. 2011-03-08 12:29:26 +01:00
Nikolay Sivov f9f431186f msxml3: Implemented get_doctype() with basic tests. 2011-03-07 13:19:11 +01:00
Nikolay Sivov 46fa479105 msxml3: Implement get_nodeTypedValue() for nodes that can't have type. 2011-03-07 13:19:05 +01:00
Nikolay Sivov 0f3c247e46 msxml3: Properly update xmldoc refcounts on insertBefore().
insertBefore() is able to work on nodes from different documents, so on 
adding child or sibling it's possible that libxml2 switches doc pointer 
for a node, we need to update refcounts to cover that case.
2011-03-07 13:18:55 +01:00
Nikolay Sivov 14ec98bd14 msxml3: Test to show namespace definition output for children. 2011-03-04 16:26:00 +01:00
Nikolay Sivov 179daa20b9 msxml3: Remove child with parent method first before insert with insertBefore(). 2011-03-04 16:26:00 +01:00
Nikolay Sivov 756ae9e3ee msxml3: Test insertBefore() behaviour with node relinking, simplify common test cases. 2011-03-04 16:25:59 +01:00
Nikolay Sivov 59f7b8899b msxml3: Link dom attribute with parent interface pointer. 2011-03-03 17:47:13 +01:00
Nikolay Sivov d04fd1d067 msxml3: Fail on certain node types in insertBefore() for attributes, remove broken tests. 2011-03-03 17:47:12 +01:00
Nikolay Sivov a22096c90c msxml3: Add get_output() implementation for processor. 2011-03-01 13:21:58 +01:00
Nikolay Sivov 0c16c79c71 msxml3: Reject xmlns attribute to be added to element. 2011-02-28 11:09:07 +01:00
Nikolay Sivov 4e5075bcc4 msxml3/tests: Remove broken test and parameter check. 2011-02-28 11:09:04 +01:00
Austin English 37e6dc0846 msxml3/tests: Remove win9x hacks. 2011-02-25 11:08:31 +01:00
Alistair Leslie-Hughes 955685a777 msxml3: Add IObjectSafety support to IXMLHTTPRequest. 2011-02-22 16:34:46 +01:00
Nikolay Sivov df08e9b4f6 msxml3: Store document event handler for ready state notification. 2011-02-22 12:28:25 +01:00
Alistair Leslie-Hughes 27bb5a0f52 msxml3: Add IObjectWithSite support to IXMLHttpRequest. 2011-02-18 17:03:01 +01:00
Nikolay Sivov edeff310b1 msxml3: Null pointer for schema uri should be treated as empty. 2011-02-17 17:27:22 +01:00
Nikolay Sivov 4e079d6b3d msxml3: Initial implementation of transform() method. 2011-02-16 16:49:34 +01:00
Nikolay Sivov bb47bab7ce msxml3: Store output stream for processor. 2011-02-16 16:49:21 +01:00
Nikolay Sivov 392934af90 msxml3: Basic put_input() method for IXSLProcessor. 2011-02-16 16:48:51 +01:00
Nikolay Sivov 8fdf64e882 msxml3: Add a stub IXSLProcessor. 2011-02-15 16:51:30 +01:00
Nikolay Sivov 855ca45f29 msxml3: Add basic putref_stylesheet() implementation. 2011-02-15 16:51:30 +01:00
Austin English cbbb4b8dbf msxml3/tests: Make sure return value is used (LLVM/Clang). 2011-02-10 10:28:01 -06:00
Austin English fd2c5bb32e msxml3/tests: Remove unneeded assignment (LLVM/Clang). 2011-02-08 14:45:54 -06:00
Nikolay Sivov f6ce8b7196 msxml3/tests: Fix a lot of leaks in tests (Valgrind). 2011-01-17 12:52:19 +01:00
Alexandre Julliard f6b6c7bade include: Correctly define the msxml typelib by directly including xmldom.idl and xmldso.idl. 2010-12-21 12:17:11 +01:00
Adam Martinson 2f0e73f896 msxml3/tests: Move domdoc.c schema-related tests to schema.c. 2010-11-25 11:49:07 +01:00
Adam Martinson f3678ec193 msxml3: Fix domdoc_getElementsByTagName()/domelem_getElementsByTagName(). 2010-11-24 12:03:06 +01:00
Adam Martinson c19fa9b04b msxml3: Use the associated schema for domelem_get_dataType(). 2010-11-24 12:01:13 +01:00
Adam Martinson b7cdaba817 msxml3: Move schema cache into the domdoc_properties struct. 2010-11-16 11:48:55 +01:00
Michael Stefaniuc fa4c8c0900 msxml3/tests: Remove redundant NULL check before SysFreeString (smatch). 2010-11-16 11:43:20 +01:00
Paul Vriens dc2306de5a msxml3/tests: Fix some test failures on Win98/WinMe. 2010-11-15 13:20:05 +01:00
Adam Martinson 2c451f869a msxml3: Use built-in urn:schemas-microsoft-com:datatypes schema for validation. 2010-11-15 13:19:57 +01:00
Adam Martinson 5fc439a7f8 msxml3: XDR schema support. 2010-11-15 13:03:06 +01:00
Adam Martinson 2a4c07a7e2 msxml3/tests: XDR schema tests. 2010-11-15 13:02:45 +01:00
Alexandre Julliard 6c90ebd5e5 include: Move coclass definitions to msxml2.idl. 2010-11-10 12:07:59 +01:00
Adam Martinson 7d37e7e6f6 msxml3/tests: Tests for node_get_dataType() with XDR schemas. 2010-11-09 11:46:34 +01:00
Nikolay Sivov 99e3873f30 msxml3: Fix duplicated declarations after document ::get_xml(). 2010-11-09 11:44:50 +01:00
Nikolay Sivov 8f976c5d53 msxml3: Encode special characters while setting attribute content. 2010-11-05 11:25:00 +01:00
Adam Martinson 85ced167bd msxml3: Fix node_get_text() whitespace handling. 2010-11-04 11:56:29 +01:00
Adam Martinson e16914963e msxml3: Implement XSLPattern collection methods. 2010-11-03 14:56:26 +01:00
Adam Martinson 42ccbc5132 msxml3: Add XSLPattern nodeType() method. 2010-11-03 14:50:43 +01:00
Adam Martinson c367215bbc msxml3: Implement domdoc schema validation. 2010-11-03 14:44:50 +01:00
Francois Gouget b990617a95 Assorted spelling fixes. 2010-11-02 13:16:57 +01:00
Francois Gouget e71dac1ead msxml3/tests: Small spelling fix in a nonexistent resource. 2010-11-02 13:16:29 +01:00
Francois Gouget 3e331731c9 msxml3/tests: Add a trailing '\n' to ok() calls. 2010-11-02 13:16:24 +01:00
Adam Martinson 5c7bcdadcf msxml3: Add error code defines. 2010-11-02 12:51:51 +01:00
Nikolay Sivov 6556ad57f3 msxml3: Get rid of ::get_prefix() forward. 2010-11-01 12:39:15 +01:00
Nikolay Sivov eef194a799 msxml3: Implement a trivial case of ::put_nodeTypedValue() for elements. 2010-11-01 12:39:02 +01:00
Adam Martinson e7d8bbab44 msxml3/tests: Add XSLPattern collection method tests. 2010-10-29 17:28:14 +02:00
Adam Martinson 77b7323b4f msxml3: Fix XSLPattern namespace handling. 2010-10-29 17:28:11 +02:00
Nikolay Sivov 843bd25012 msxml3/tests: Some encoding switching tests. 2010-10-29 14:21:21 +02:00
Adam Martinson 35643b73e3 msxml3/tests: Add namespace-related XSLPattern tests. 2010-10-28 12:38:13 +02:00
Nikolay Sivov adfd305821 msxml3: Handle passed BSTR argument as a WCHAR string in ::createProcessingInstruction(). 2010-10-26 13:01:41 +02:00
Michael Stefaniuc 6f0c968a7b msxml3/tests: Remove superfluous NULL check before free (Smatch). 2010-10-26 11:55:13 +02:00
Nikolay Sivov 2a080e85e4 msxml3: Add stub IConnectionPoint, return points for supported IIDs. 2010-10-25 14:30:26 +02:00
Nikolay Sivov 0f2c996092 msxml3: Add stub connection container support. 2010-10-25 14:30:11 +02:00
Adam Martinson 70f10e1a9f msxml3: Implement schema_cache_get(). 2010-10-21 16:14:44 +02:00
Adam Martinson d87b8b8eb9 msxml3: Implement schema_cache_get_namespaceURI(). 2010-10-21 16:14:36 +02:00
Adam Martinson 491ec41f5a msxml3: Implement schema_cache_addCollection(). 2010-10-21 16:14:26 +02:00
Adam Martinson eac6ed018c msxml3: Implement schema_cache_remove(). 2010-10-21 16:14:16 +02:00
Adam Martinson f8bdf8b5af msxml3: Implement schema_cache_get_length(). 2010-10-21 16:14:09 +02:00
Adam Martinson ab136a4fc2 msxml3/tests: Internal schema doc storage tests. 2010-10-21 16:14:00 +02:00
Nikolay Sivov 88adaa0617 msxml3: Partially implement ::setAttributeNode(). 2010-10-21 12:29:53 +02:00
Nikolay Sivov ac6671b7f3 msxml3: Fix response text conversion to WCHAR string. 2010-10-13 11:19:53 +02:00
Nikolay Sivov ace3a81d13 msxml3: Implement POST support with supplied body data. 2010-10-13 11:19:53 +02:00
Nikolay Sivov f0546a1961 msxml3: Implement ::get_responseBody(). 2010-10-08 11:56:45 +02:00
Nikolay Sivov e1ca5965b8 msxml3: Implement ::abort(). 2010-10-08 11:56:45 +02:00
Nikolay Sivov eebf331e89 msxml3: Implement ::get_responseText() for UTF-8 and UTF-16 (little endian) response encoding. 2010-10-07 12:00:27 +02:00
Nikolay Sivov 58bce9422e msxml3: Implement ready state change callback. 2010-10-06 14:41:03 +02:00
Nikolay Sivov 7e7b2a3f82 msxml3: Implemented ::get_status(). 2010-10-05 13:05:14 +02:00
Adam Martinson 4f78c04ec8 msxml3: XSLPattern support.
Parse XSLPattern queries and translate them into equivalent XPath queries.
XSLPattern built-in functions/operators are translated to their XPath
counterparts where applicable.  If no direct XPath counterpart exists,
they are registered as custom XPath functions for the sake of speed where
possible.  As a last resort, they are translated into compound XPath
expressions to accomplish the task, if more slowly.
If the parser encounters an error, the original XSLPattern query is
returned, as this is more likely to work than a mangled one.
2010-10-04 16:18:54 +02:00
Adam Martinson ff644cb1b1 msxml3: Partial stub domdoc_validate(). 2010-10-04 15:00:06 +02:00
Adam Martinson 6e6375344b msxml3/tests: Tests for domdoc_validate(). 2010-10-04 15:00:06 +02:00
Adam Martinson 679dbe6f31 msxml3: Stub domdoc_get_readyState(). 2010-10-04 15:00:06 +02:00
Nikolay Sivov d69a7165be msxml3: Add basic bind callback for moniker binding. 2010-10-04 14:52:12 +02:00
Adam Martinson 49fa9de580 msxml3: Implement preserveWhiteSpace property. 2010-10-01 14:21:26 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Nikolay Sivov 1ac256a588 msxml3/httprequest: Implement IXMLHttpRequest::setRequestHeader(). 2010-09-29 11:25:01 +02:00
Nikolay Sivov 2a85bc0367 msxml3/httprequest: Store passed data for IXMLHttpRequest::open(). 2010-09-29 11:24:44 +02:00
Adam Martinson 1f93a47667 msxml3: Move domdoc properties into their own struct.
Unhooks domdoc properties from both the domdoc and xmlDoc.
After the domdoc <-> xmlDoc connection is no longer an open question,
the domdoc::properties pointer can be removed and rerouted through
xmlDoc::_private::properties as long as it's impossible to have a domdoc
with domdoc::node.node == NULL.  With all of the checks for this, the
current code suggests that it's perfectly possible.
2010-09-29 11:14:35 +02:00
Adam Martinson 05f011b735 msxml3: Implement SelectionNamespaces property. 2010-09-29 11:12:47 +02:00
Adam Martinson c515d384ef msxml3/tests: Prevent a double-free in test_get_ownerDocument(). 2010-09-28 17:33:17 +02:00
Nikolay Sivov 5a91bea3b2 msxml3/tests: Fix locale dependent string comparison. 2010-09-20 13:48:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Nikolay Sivov af4377f86a msxml3/tests: Store test data as a table for ::nodeTypedValue() tests. 2010-09-18 13:03:51 +02:00
Nikolay Sivov 893e8a46b2 msxml3: Store selected query language in backend document instance. 2010-09-18 13:03:33 +02:00
Nikolay Sivov a930084d86 msxml3: Fix ::selectSingleNode() behaviour on invalid arguments. 2010-09-18 13:03:26 +02:00
Nikolay Sivov e5cd19a4cb msxml3/tests: Don't raise a test error on first try to create a document. 2010-09-16 10:10:37 -05:00
Paul Vriens 14316fc17f msxml3/tests: Step to the next item on failure as well. 2010-09-15 10:34:45 -05:00