Commit Graph

479 Commits

Author SHA1 Message Date
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Michael Stefaniuc 328f60a686 msxml3: Do not cast void pointers to other pointer types. 2008-12-05 12:36:21 +01:00
Vincent Povirk 445588ba10 msxml3/tests: Fix string format warnings. 2008-12-05 12:30:14 +01:00
Michael Karcher afb17f29e1 msxml3: attach_xmldoc may fail.
The upcoming new implementation of attach_xmldoc needs HeapAlloc. Prepare
for the failure case.
2008-12-01 14:22:12 +01:00
Michael Karcher 8b293040a3 msxml3: Remove attach_xmldoc(This, NULL) calls.
This->node should never be zero. Each IXMLDOMNode (and derived interfaces)
always represents a present libxml data object. There is no no-data
IXMLDOMNode, although there might be documents without a root element.
2008-12-01 14:22:12 +01:00
Michael Karcher 1c49bc83ae msxml3: Specialize attach_xmlnode to XML documents.
attach_xmlnode is only used to attach XML document nodes, and a cast
is needed on each call. Rename it to attach_xmldoc, change the
parameter type to move the cast at one point into the function.
2008-12-01 14:22:12 +01:00
Michael Karcher b282572ee3 msxml3: Move attach_xmlnode.c to domdoc.c. 2008-12-01 14:22:12 +01:00
Michael Karcher a6594da463 msxml3: Quiet noisy fixmes.
The FIXME messages for unknown interfaces should not be emitted for
interfaces that should not get implemented. Origin 8 spams you with
these messsages.
2008-12-01 14:22:12 +01:00
Michael Karcher aefe3456fb msxml3/tests: Fix BSTR leak. 2008-12-01 14:22:12 +01:00
Michael Karcher e55da04e77 msxml3: Avoid duplicate encoding.
The libxml documentation suggests to either use
xmlEncodedEntitiesReentrant or xmlEncodeSpecialChars, but if you apply
both, you end up producing "&".
2008-12-01 14:22:12 +01:00
Alistair Leslie-Hughes 1049c3a123 msxml3: Implement IXMLDOMAttribute get/put value. 2008-12-01 14:01:33 +01:00
Francois Gouget 848b5092ba msxml3: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:03 +01:00
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