Commit Graph

517 Commits

Author SHA1 Message Date
Ricardo Filipe e5e301b7a5 msxml3: Check some dead store results (llvm/clang). 2008-11-20 14:28:25 +01:00
Francois Gouget 681d375136 msxml3: Fix compilation on systems that don't have xsltInit().
Reduce the scope of xsltInit().
Remove an include that was needed only for xsltInit().
2008-11-19 12:09:24 +01:00
Francois Gouget 3d384f172c msxml3: Dynamically load libxslt.so and only call xsltInit() if present. 2008-11-18 13:04:05 +01:00
Andrew Talbot ce3af50d10 msxml3: Void function should not return a value. 2008-11-14 11:02:15 +01:00
Michael Karcher 2adcef7954 msxml3: Simplify IXMLDOMNodeMap::removeNamedItem. 2008-11-03 14:05:16 +01:00
Michael Karcher 813da72423 msxml3: Clean up initialization. 2008-11-03 14:05:03 +01:00
Michael Karcher 00c57d6bbc msxml3: IXMLCDATASection is not an element. 2008-10-31 13:26:53 +01:00
Marcus Meissner 3948541a6c msxml3: Fixed if nesting / ptr checking problems in xmlnode_transformNode. 2008-10-31 13:06:27 +01:00
Marcus Meissner 8524cc17b3 msxml3: Fixed NULL ptr dereference possibilities (Coverity). 2008-10-31 13:06:09 +01:00
Alistair Leslie-Hughes 13606ed49d msxml3: Add support to get_nodeTypedValue on Element Nodes. 2008-10-28 12:46:29 +01:00
Andrew Talbot 68f0e06434 msxml3: Sign-compare warning fix. 2008-10-23 12:13:29 +02:00
Jacek Caban d318813a5a msxml3: Silence invalid FIXME. 2008-10-17 11:44:10 +02:00
Jacek Caban 57aa75f78f msxml3: Fixed dynamic properties allocation. 2008-10-17 11:44:05 +02:00
Jacek Caban e7ff101996 msxml3: Update orphaned list in put_documentElement. 2008-10-17 11:44:02 +02:00
Michael Karcher 859f3bff88 msxml3: Initialize xmldoc->_private in IPersistStream::Load for IXMLDOMDocument. 2008-10-15 14:01:57 +02:00
Michael Karcher f229469de3 msxml3: Use orphan node list. 2008-10-13 11:54:06 +02:00
Michael Karcher e497ed823e msxml3: Add an orphan node list to xmlDoc. 2008-10-13 11:54:01 +02:00
Michael Karcher 0f8950d646 msxml3: Use the _private element of xmlDoc as pointer. 2008-10-13 11:53:26 +02:00
Michael Karcher 2cde9f52da msxml3: Remove unneeded code.
xmlNewDocFragment has already set xmlNode->doc, no need to do
that again.
2008-10-13 11:52:50 +02:00
Michael Karcher 19d635f9a3 msxml3: Fix memory leaks in node.c. 2008-10-13 11:52:44 +02:00
Michael Karcher f5ac0f3277 msxml3/tests: Fix assorted memory leaks. 2008-10-13 11:52:31 +02:00
Michael Karcher 352dc0fc0d msxml3: Fix leaking the BindStatusCallback if bind_url fails. 2008-10-13 11:52:23 +02:00
Michael Karcher ae2017a984 msxml3: Fix leaks in callers of xmlChar_from_wchar. 2008-10-13 11:52:18 +02:00
Michael Karcher 0803167ff0 msxml3: Remove superflous re-conversion from wide chars to utf8. 2008-10-13 11:52:05 +02:00
Michael Karcher adab2e5701 msxml3: Use right COM invocation macro. 2008-10-13 11:51:43 +02:00
Michael Karcher b7ac3bde68 msxml3: IXMLDOMNode_put_nodeValue: Use variant coercion. 2008-10-13 11:51:34 +02:00
Michael Karcher c729305511 msxml3: Correct handling of listLength == NULL in IXMLDOMNamedNodeMap::get_length. 2008-10-13 11:51:02 +02:00
Michael Karcher dfc5a00cb0 msxml3: Implementation of IXMLDOMNamedNodeMap::removeNamedItem. 2008-10-13 11:50:52 +02:00
Michael Karcher 9fe98546e4 msxml3: Text node should not aggregate element. 2008-10-10 12:26:52 +02:00
Michael Karcher 64e44d1156 msxml3: _domtext->element is in fact a IXMLDOMNode. 2008-10-10 12:26:45 +02:00
Alistair Leslie-Hughes bcc1fda727 msxml3: Add IXMLHTTPRequest support. 2008-10-09 13:15:16 +02:00
Piotr Caban b84e4789af msxml: Added CDATA related events handling. 2008-10-08 14:08:49 +02:00
Piotr Caban db2761a8d6 msxml: Added ISAXLexicalHandler_comment event. 2008-10-08 14:08:45 +02:00
Piotr Caban 1596a1acbf msxml: Fix parsing <.../> elements. 2008-10-08 14:08:41 +02:00
Piotr Caban c801c18ad2 msxml: Rewrite ISAXContentHandler_characters. 2008-10-08 14:08:38 +02:00
Michael Stefaniuc 256ce911be msxml3/tests: Use SUCCEEDED instead of !FAILED. 2008-10-08 13:43:04 +02:00
Paul Vriens 59f8cd533d msxml3/tests: Compare instead of assign. 2008-10-08 12:20:28 +02:00
Michael Karcher 57ee10ff12 msxml3: Revert "Simplify IXMLDOMNode::removeChild".
The simplification was bad, native msxml works if interface pointers
to the wrong interface are passed in. Tests included.
2008-10-07 13:45:40 +02:00
Michael Karcher 91513caa16 msxml3: Handle all variant types in IXMLDOMDocument::createNode. 2008-10-07 13:42:16 +02:00
Michael Karcher 27e9a98350 msxml3: replaceNode accepts IXMLDOMElement instead of IXMLDOMNode. 2008-10-07 13:42:05 +02:00
Michael Karcher 6fe686f599 msxml3: Basic implementation of IXMLDOMNode::replaceChild. 2008-10-07 13:41:54 +02:00
Michael Karcher 2a21579b08 msxml3/tests: Valgrind fix. 2008-10-07 13:41:43 +02:00
Michael Karcher 9d65ec2702 msxml3: Parameter validation for IXMLDOMNode::replaceChild and tests. 2008-10-06 14:19:37 +02:00
Michael Karcher 3bdf45534b msxml3: Simplify IXMLDOMNode::removeChild. 2008-10-06 14:19:23 +02:00
Michael Karcher 30351482e8 msxml3: Fail a bit earlier on removeChild(...,NULL,...). 2008-10-06 14:19:11 +02:00
Michael Karcher 75606f3583 msxml3: removeChild can only delete direct children. 2008-10-06 14:19:04 +02:00
Michael Karcher d1c8083b93 msxml3/tests: Clean up test_removeChild.
Rename variables to help the reader following the xml traversal. While doing
that, I encountered a possible typo, as node_list2 was never used after being
acquired. This version now really tries to delete a grandchild and expects
a failure.
2008-10-06 14:18:55 +02:00
Piotr Caban 2a55b8d8e7 msxml: Fix implementation of ISAXContentHandler_characters. 2008-10-02 10:42:32 -05:00
Piotr Caban c7fc926552 msxml: Partial implementation of ISAXXMLReader_putProperty. 2008-10-02 10:42:27 -05:00
Alistair Leslie-Hughes 2b5a59c092 msxml3: Correct cast. 2008-10-01 11:42:23 -05:00
Michael Stefaniuc 1949a8c245 msxml3/tests: Remove redundant NULL check before SysFreeString (Smatch). 2008-09-25 11:18:57 +02:00
Detlef Riekenberg f4558c6475 msxml3: Remove redundant NULL check before SysFreeString. 2008-09-23 12:12:33 +02:00
Piotr Caban 0532df61be msxml3/test: Add test for ISAXXMLReader_parse (passing XMLDOMDocument as argument). 2008-09-22 11:49:22 +02:00
Piotr Caban eb72aa05db msxml3: Fix xmlnode_get_xml to work properly with XML_DOCUMENT_NODE. 2008-09-22 11:49:17 +02:00
Piotr Caban a28b604f77 msxml3: Change order of interface recognition and fix typo. 2008-09-22 11:49:06 +02:00
Alistair Leslie-Hughes b64b5ea5ea msxml3: Correct IDispatchEx Invoke to return the correct object. 2008-09-18 13:28:40 +02:00
Alistair Leslie-Hughes 8af99c9751 msxml3: Correct test. 2008-09-15 11:47:56 +02:00
Alistair Leslie-Hughes 811c0e00be msxml3: Add IXMLDOMCharacterData to IXMLDOMComment. 2008-09-12 12:36:03 +02:00
Alistair Leslie-Hughes 84072a81b8 msxml3: Add IXMLDOMCharacterData to IXMLDOMCDATASection. 2008-09-12 12:36:00 +02:00
Rob Shearman 60b4feedca include: Fix function names in IVBSAXXMLReader interface in msxml2.idl. 2008-09-09 12:32:16 +02:00
Piotr Caban 38b0573543 msxml3: Change SAX IStream parser implementation. 2008-09-09 11:46:17 +02:00
Marcus Meissner 980ffb8eb4 msxml3: Fixed incorrect MultiByteToWideChar. 2008-09-05 11:21:35 +02:00
Alistair Leslie-Hughes 5e1ac66b25 msxml3: Add IDispatchEx test. 2008-09-03 14:21:45 +02:00
Alistair Leslie-Hughes 954cb31448 msxml3: Add IDispatchEx support to IXMLDOMDocument2. 2008-09-03 14:21:43 +02:00
Alistair Leslie-Hughes c6a64414df msxml3: Correct FIXME. 2008-09-03 14:21:43 +02:00
Paul Vriens e1c9c2597a msxml3/tests: Fix a test on win98. 2008-09-03 14:21:41 +02:00
Paul Vriens fe360d6aa2 msxml3/tests: Use CreateFileA to please win98. 2008-09-03 14:21:41 +02:00
Francois Gouget 4560ce24d8 msxml3: Add a '\n' to a Wine trace. 2008-09-02 13:58:33 +02:00
Paul Vriens 7af5d5fb23 msxml3/tests: Add a missing CoUninitialize. 2008-09-02 13:28:51 +02:00
Paul Vriens 7fb12e84f5 msxml3/tests: Add a missing CoUninitialize. 2008-09-02 13:28:46 +02:00
Alistair Leslie-Hughes ac29a3d838 msxml3: Correct unsupported functions in IDispatchEx. 2008-08-27 13:21:24 +02:00
Rob Shearman fd75c21c6d msxml3: Use CP_UNIXCP instead of CP_ACP in libxmlFatalError as the input string is one generated by a native OS function. 2008-08-27 13:21:21 +02:00
Piotr Caban ceb8979222 msxml3: Added custom queryresult DISPIDs implementation. 2008-08-25 11:29:45 +02:00
Piotr Caban 2841755c16 msxml3: Added IDispatchEx QueryInterface test. 2008-08-22 10:42:37 +02:00
Piotr Caban 3e3a5b187e msxml3: Added queryresult's IDispatchEx implementation.
File dispex.c is copied from mshtml.dll. Jacek helped me to write this patch.
2008-08-22 10:42:33 +02:00
Piotr Caban 12f7e0aa39 msxml3: Code clean up. 2008-08-22 10:41:29 +02:00
Piotr Caban 379e543bba msxml3: Use LoadTypeLibEx to register typelib. 2008-08-22 10:41:21 +02:00
Piotr Caban 7b7a187956 msxml3: Fix IVBErrorHandler related bugs. 2008-08-21 13:26:36 +02:00
Piotr Caban 126c0abeef msxml3: Add error handling when reading from IStream. 2008-08-21 13:26:26 +02:00
Piotr Caban 655155feb8 msxml3: Add ISAXAttributes_getValueFromQName implementation. 2008-08-21 13:26:11 +02:00
Piotr Caban c9893d176d msxml3: Add ISAXAttributes_getValueFromName implementation. 2008-08-21 13:26:04 +02:00
Piotr Caban fa221f56a3 msxml3: Add ISAXAttributes_getIndexFromQName implementation. 2008-08-21 13:25:58 +02:00
Piotr Caban 0afbcd5def msxml3: Add ISAXAttributes_getIndexFromName implementation. 2008-08-21 13:25:50 +02:00
Piotr Caban 5e1af9b965 msxml3: Add ISAXAttributes_getName implementation. 2008-08-21 13:25:34 +02:00
Piotr Caban f3ab228ae7 msxml3: Fix checking if ContentHandler was set. 2008-08-21 13:25:24 +02:00
Piotr Caban 03f7909709 msxml3: Add ISAXContentHandler_endPrefix event. 2008-08-21 13:24:13 +02:00
Alistair Leslie-Hughes 373a43f0af msxml3: Added and corrected trace string. 2008-08-18 17:15:56 +02:00
Piotr Caban a94e4c196c msxml3: Add namespaces to attributes. 2008-08-04 13:51:57 +02:00
Piotr Caban e9d34b7f5a msxml3: Add ISAXContentHandler_startPrefixMapping event. 2008-08-04 13:51:53 +02:00
Piotr Caban 7be136bcd5 msxml3: Add implementation of ISAXAttributes_getURI. 2008-08-04 13:51:17 +02:00
Piotr Caban 7a5a7819f8 msxml3: Add NULL pointers check in getLocalName, getQName and getValue. 2008-08-04 13:51:11 +02:00
Piotr Caban 319d86c733 msxml3: Return QNames properly. 2008-08-04 13:50:55 +02:00
Michael Stefaniuc 0f5d6827db msxml3: Remove redundant NULL checks before HeapFree and fix a memleak (Smatch). 2008-08-04 13:03:42 +02:00
Piotr Caban cb6bcd0028 msxml3: Integrate implementation of IVBSAXXMLReader and ISAXXMLReader interfaces. 2008-08-01 11:18:11 +02:00
Piotr Caban d439ca5e2a msxml3: Add IVBSAXLocator implementation. 2008-08-01 11:18:11 +02:00
Piotr Caban c52e0919fb msxml3: Prepare libxml2 callbacks for IVBSAX... interfaces implementation. 2008-08-01 11:18:11 +02:00
Piotr Caban cafbf853ab msxml3: Added IVBSAXAttributes implementation. 2008-08-01 11:18:11 +02:00
Piotr Caban 4c69e86dea msxml3: Prepare functions for IVBSAX... interfaces implementation. 2008-08-01 11:18:11 +02:00
Piotr Caban 6818cc6fee msxml3: Added ISAXAttributes_getQName implementation. 2008-08-01 11:18:11 +02:00
Piotr Caban df5e40ec72 msxml3: Reorganize parse_buffer function (make use of libxml2 parserInternals.h). 2008-08-01 11:18:11 +02:00