Commit Graph

698 Commits

Author SHA1 Message Date
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
Gerald Pfeifer 632a6c7904 msxml3: Use the existing READYSTATE type instead of creating our own enum READYSTATE (and mixing the two). 2010-10-04 14:59:59 +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 7afdf5d920 Make some variable declarations extern. 2010-10-01 13:42:22 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Adam Martinson 776a8662f0 msxml3: Expose the XML parser SAX callback interface.
This eliminates a few function calls; libxml will call this indirectly
through the old method.  By writing our own callback functions or
wrapping the default ones we can manipulate the xmlDoc as it's being
parsed, allowing us to match the way msxml parses.
2010-09-30 17:51:17 +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 f2ed4de962 msxml3: Remove some useless initializers. 2010-09-18 13:03:44 +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
Andrew Nguyen c858e583cd msxml3: Correct the prototype of DOMDocument_create when compiling without libxml2. 2010-09-15 11:29:03 -05:00
Paul Vriens 14316fc17f msxml3/tests: Step to the next item on failure as well. 2010-09-15 10:34:45 -05:00
Nikolay Sivov 9c951e7520 msxml3: Properly set default value for SelectionLanguage property. 2010-09-14 09:42:56 -05:00
Nikolay Sivov 4e94abd710 msxml3: Fix IXMLDOMNode::get_namespaceURI() for empty URIs. 2010-09-14 09:42:43 -05:00
Nikolay Sivov 154c0828bf msxml3: Fix IXMLDOMNode::get_prefix() for empty prefix. 2010-09-14 09:42:36 -05:00
Nikolay Sivov 8d055c7854 msxml3: Support elements with namespaces. 2010-09-14 09:42:29 -05:00
Jacek Caban addefe4ce5 msxml3: Don't use xmlnode's IXMLDOMNode iface in insertBefore implementations. 2010-09-13 10:59:02 -05:00
Jacek Caban e9ebd8c964 msxml3: Don't use xmlnode's IXMLDOMNode iface in get_attributes implementations. 2010-09-13 10:58:56 -05:00
Jacek Caban 55175042eb msxml3: Don't use xmlnode's IXMLDOMNode iface in get_[previous|next]Sibling implementations. 2010-09-13 10:31:58 -05:00
Alistair Leslie-Hughes 5e5cd71ff1 msxml: Added support to create msxml4/6 interfaces. 2010-09-13 10:31:49 -05:00
Joris Huizer 33042ed137 msxml3/tests: Add lastChild tests. 2010-09-09 14:58:23 +02:00
Joris Huizer 37f61acb77 msxml3: Fix copy/paste error in get_lastChild functions. 2010-09-09 12:45:42 +02:00
Jacek Caban 4f210e21a5 msxml3: Don't use xmlnode's IXMLDOMNode iface in get_[first|last]Node implementations. 2010-09-08 19:49:30 +02:00
Jacek Caban c8b15e90bd msxml3: Don't use xmlnode's IXMLDOMNode iface in get_childNode implementations. 2010-09-08 19:49:30 +02:00
Jacek Caban 6e76c894e8 msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeType and get_nodeParent implementations. 2010-09-07 16:01:32 +02:00
Jacek Caban 9413fab39e msxml3: Don't use xmlnode's IXMLDOMNode iface in put_nodeValue implementations. 2010-09-07 16:01:26 +02:00
Nikolay Sivov 398e649414 msxml3/tests: Basic test for ::setAttributeNode(). 2010-09-07 11:31:50 +02:00
Nikolay Sivov 97e78d9a0e msxml3/tests: Some tests for ::get_ownerDocument() returned document instance. 2010-09-07 11:31:45 +02:00
Nikolay Sivov 0adfd6cf4c msxml3/domdoc: Implement IXMLDOMNamedNodeMap::removeQualifiedItem(). 2010-09-07 11:31:39 +02:00
Nikolay Sivov e7bfb98e60 msxml3/tests: Add a helper to create document instance, remove useless output. 2010-09-07 11:30:18 +02:00
Jacek Caban 6ce537baac msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeValue implementations. 2010-09-06 16:13:22 +02:00
Jacek Caban 7a68fad273 msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeName implementations. 2010-09-06 16:13:22 +02:00
Jacek Caban 27b4f11c0b msxml3: Use xmlnode child object's IXMLDOMNode implementation as base interface.
The plan is to get rid of IXMLDOMNode interface in xmlnode object and use 
proper inheritance.
2010-09-06 16:13:22 +02:00
Jacek Caban 8a82ae668a msxml3: Use get_node_obj to get xmlnode from iface in replaceChild implementation. 2010-09-06 16:13:22 +02:00
Jacek Caban 4f61cd2840 msxml3: Use separate object for unknown node type implementation. 2010-09-06 16:13:22 +02:00
Jacek Caban a92e95eab1 msxml3: Use fake IID to safely cast IXMLDOMNode interface to xmlnode object. 2010-09-06 16:13:21 +02:00
Jacek Caban 0670d092f1 msxml3: Added node_query_inerface function for common xmlnode child objects implementation. 2010-09-06 16:13:21 +02:00
Jacek Caban f5348b25af msxml3: Store outer iface as IXMLDOMNode instead of IUnknown in xmlnode. 2010-09-06 16:13:21 +02:00
Alexandre Goujon 8aa6ed97c8 msxml3/tests: Be more verbose when get_text fails. 2010-09-03 16:02:31 +02:00