Commit Graph

610 Commits

Author SHA1 Message Date
Nikolay Sivov 173c4884ac msxml3: Implement IXMLDOMCDATASection::deleteData() with tests. 2010-01-29 14:59:02 +01:00
Nikolay Sivov 97c2a25472 msxml3/tests: Fix interface leak. 2010-01-21 09:05:47 +01:00
Nikolay Sivov 5f72a88590 msxml3: Implement IXMLDOMComment::deleteData() with tests. 2010-01-19 15:03:54 +01:00
Nikolay Sivov ff992282aa msxml3: Use a helper to check for created content handler. 2010-01-19 12:21:48 +01:00
Nikolay Sivov 7724b053e2 msxml3: Implement IXMLDOMElement::removeAttribute(). 2010-01-19 12:21:30 +01:00
Mike Kaplinskiy 90cf2f1ac3 msxml: getElementsByTagName does not respect namespaces.
We can't just use //tagname; we have to do //*[local-name()='tagname'].
2010-01-18 14:35:49 +01:00
Nikolay Sivov e6edbc451d msxml3/tests: Fix interface leak and message typo. 2010-01-18 14:18:55 +01:00
Nikolay Sivov f9cb63116d msxml3: Track linked/unlinked state for element and free node data only when unlinked. 2010-01-18 14:18:48 +01:00
Nikolay Sivov 20e63dcfd1 msxml3: In IXMLElementCollection store pointer to node instead of pointer to children.
Collection should be able to track node removal from children list.
2010-01-18 14:18:39 +01:00
Nikolay Sivov 7f5cedf70a msxml3: Implement IXMLElement::removeChild() with some tests. 2010-01-18 14:18:29 +01:00
Nikolay Sivov 5afdfaba86 msxml3: Don't preallocate root element, return new instance on each call. 2010-01-18 14:18:21 +01:00
Nikolay Sivov 1cad1646e5 msxml3/xmldoc: Don't leak document and stream on next IXMLDocument::Load(). 2010-01-14 09:42:30 -06:00
Nikolay Sivov 6c1275a57c msxml3/xmldoc: IPersistStreamInit::InitNew() seems to do nothing for IXMLDocument. 2010-01-14 09:42:21 -06:00
Nikolay Sivov a18ee2111a msxml3/xmldoc: Fix IPersistStreamInit::GetClassID() for IXMLDocument. 2010-01-14 09:42:10 -06:00
Nikolay Sivov 1b2f1867c8 msxml3/tests: Add some tests for IPersistStreamInit implementation of IXMLDocument. 2010-01-14 09:42:04 -06:00
Nikolay Sivov 1aaf2bd548 msxml3: Get rid of upper case converting helper. 2010-01-11 11:33:46 -06:00
Nikolay Sivov af502d236e msxml3: Implement IXMLDocument::get_doctype(). 2010-01-11 11:33:27 -06:00
Nikolay Sivov 04288208d0 msxml3: Implement IXMLDocument::get_version(). 2010-01-11 11:33:20 -06:00
Nikolay Sivov 73a955efff msxml3: Fix string leak while parsing with IXMLDOMDocument. 2010-01-11 11:31:36 -06:00
Nikolay Sivov 1c040a38c6 msxml3/tests: Fix some string leaks in tests. 2010-01-11 11:31:30 -06:00
Nikolay Sivov b122cd7a1c msxml3: Don't lose pointer to externaly allocated xmlSAXHandler copy. 2010-01-11 11:31:22 -06:00
Nikolay Sivov e4d895c7ee msxml3: Don't leak externaly allocated xmlSAXHandler. 2010-01-11 11:31:14 -06:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Huw Davies 318c7b24ee msxml3: Correctly test the variant returned by get_nodeValue.
Found by Valgrind.
2009-12-09 14:53:31 +01:00
Piotr Caban 9ede36aa2b msxml3: Fix VARIANT_from_xmlChar implementation. 2009-12-07 14:18:25 +01:00
Rob Shearman 211e4fc0fe msxml3: Fix double-free of BSTR in domdoc tests.
Using the _bstr_ allocator adds the returned string to a cache, so the
string shouldn't be freed with SysFreeString. Therefore, just replace
the lone call to _bstr_ in this function by a straight call to
SysAllocString.
2009-12-02 16:08:52 +01:00
Marcus Meissner ed26bb09c5 msxml3: Move element usage into element!=NULL check (Coverity). 2009-11-29 16:36:59 +01:00
Francois Gouget e98719f79e msxml3: Make some functions static in node.c. 2009-11-24 15:53:36 +01:00
Marcus Meissner 80995b684b msxml3: Fix NULL ptr checking in domdoc test (Coverity). 2009-11-23 13:09:31 +01:00
Piotr Caban 8700253775 msxml3: Implemented xmlnode_get_nodeTypedValue 'bin.base64' data type handling. 2009-11-20 11:13:23 +01:00
Piotr Caban 3c58b1c418 msxml3: Implemented xmlnode_get_nodeTypedValue 'bin.hex' data type handling. 2009-11-20 11:13:16 +01:00
Piotr Caban 2a9eb6e3bb msxml3: Implemented more data types handling xmlnode_get_nodeTypedValue. 2009-11-20 11:13:09 +01:00
Piotr Caban 6633001d6e msxml3: Remove test that fails on some systems. 2009-11-19 11:35:45 +01:00
Piotr Caban 5f26c60982 msxml3: Ignore nanoseconds in xmlnode_get_nodeTypedValue. 2009-11-19 11:09:46 +01:00
Piotr Caban f4f7198610 msxml3: Implemented xmlnode_get_nodeTypedValue 'i1' data type handling. 2009-11-19 11:09:40 +01:00
Piotr Caban 0d78a883c0 msxml3: Implemented xmlnode_get_nodeTypedValue date related data types handling. 2009-11-18 11:51:05 +01:00
Piotr Caban 39f0504c86 msxml3: Implemented xmlnode_get_nodeTypedValue 'boolean' data type handling. 2009-11-18 11:51:05 +01:00
Piotr Caban 47e037d4bb msxml3: Implemented xmlnode_get_nodeTypedValue 'fixed.14.4' data type handling. 2009-11-18 11:51:05 +01:00
Piotr Caban 44980403da msxml3: Implemented xmlnode_get_nodeTypedValue 'int' data type handling. 2009-11-18 11:51:04 +01:00
Piotr Caban 0a6d3a70ca msxml3: Implemented xmlnode_get_nodeTypedValue 'number' data type handling. 2009-11-18 11:51:04 +01:00
Piotr Caban b56031c3a6 msxml3: Implemented xmlnode_get_nodeTypedValue 'string' data type handling. 2009-11-18 11:51:04 +01:00
Jacek Caban 04eff32bbb msxml3: Store xmlnode structure instead of pointer in node implementations. 2009-10-15 12:06:17 +02:00
Alexandre Julliard fa6ffb4d5d Fix empty function prototypes. 2009-10-07 12:24:53 +02:00
Jacek Caban 83e912743c msxml3: Get rid of node internal IUnknown. 2009-09-30 16:36:55 +02:00
Jacek Caban 4ca6e39f64 msxml3: Store xmlnode pointer in dom_pi. 2009-09-30 16:31:54 +02:00
Jacek Caban 2ed8402597 msxml3: Store xmlnode pointer in entityref. 2009-09-30 16:31:48 +02:00
Jacek Caban 8513db208d msxml3: Store xmlnode pointer in domfrag. 2009-09-30 16:31:41 +02:00
Jacek Caban 3d16dc095f msxml3: Store xmlnode pointer in domcomment. 2009-09-30 16:31:34 +02:00
Jacek Caban bd407680c6 msxml3: Store xmlnode pointer in domcdata. 2009-09-30 16:31:26 +02:00
Jacek Caban f78f5a6110 msxml3: Store xmlnode pointer in domattr. 2009-09-30 16:31:12 +02:00
Jacek Caban 321a8e2268 msxml3: Store pointer to node object in domtext. 2009-09-30 16:30:57 +02:00
Alistair Leslie-Hughes 30087f9660 msxml3: Add IDispatchEx support to IXMLDOMElement. 2009-09-10 10:49:17 +02:00
Alexandre Julliard 5be5e06e12 msxml3: Move typelib definitions out of #ifdef HAVE_LIBXML2. 2009-09-01 14:05:02 +02:00
Jacek Caban c4a9d1cfa2 msxml3: Added more IDispatchEx tests. 2009-08-29 17:13:04 +02:00
Jacek Caban cdc8e02f5b msxml3: Use IXMLDOMSelection as a main queryresult interface. 2009-08-29 17:13:00 +02:00
Jacek Caban 7b30c79cfd msxml3: Moved IDispatchEx implementation from domdoc to xmlnode. 2009-08-29 17:12:57 +02:00
Jacek Caban c2b2e1ea9b msxml3: Get rid of not used aggregation support in domelement. 2009-08-24 15:17:31 +02:00
Jacek Caban 438ff138d2 msxml3: Store xmlnode object in domdoc. 2009-08-21 13:50:36 +02:00
Jacek Caban 38c0667334 msxml3: Store xmlnode object in domelem. 2009-08-21 13:50:20 +02:00
Jacek Caban d48246e1cc msxml3: Return xmlnode object from create_basic_node. 2009-08-21 13:50:11 +02:00
Alistair Leslie-Hughes 89c92bee63 msxml3: Support loading windows file paths. 2009-08-19 17:27:41 +02:00
Alexandre Julliard 2ce5dba498 msxml3/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:55 +02:00
Jacek Caban 7447145d64 msxml3: Optimize bstr_from_xmlChar implementation. 2009-08-14 13:59:10 +02:00
Alistair Leslie-Hughes 489c1a8d43 msxml3: Register missing MXXMLWriter interfaces. 2009-08-14 13:59:10 +02:00
Alistair Leslie-Hughes e00425e6c4 msxml3: IXMLDOMElement doesn't support IObjectIdentity. 2009-08-14 13:59:10 +02:00
Gerald Pfeifer 875f0c2470 msxml3: Tweak two assertions. 2009-06-01 16:16:04 +02:00
Francois Gouget 5ef481922f Assorted spelling fixes. 2009-04-20 15:25:26 +02:00
Michael Stefaniuc 947bf5834f msxml3: Change the remaining long variables to LONG. 2009-03-10 12:06:30 +01:00
Michael Stefaniuc de68b01e8c msxml3: Change long to LONG in msxml.idl. 2009-03-10 12:06:21 +01:00
Michael Stefaniuc bd87b49614 msxml3: Change long to LONG in msxml2.idl and xmldom.idl. 2009-03-10 12:06:14 +01:00
Alistair Leslie-Hughes 17db41c349 msxml3: Use our parent doc if we don't have one. 2009-02-09 17:17:09 +01:00
Marcus Meissner 525a5510d1 msxml3: Handle get_element returning NULL (Coverity). 2009-01-29 12:48:13 +01:00
Michael Stefaniuc 6a5dda7143 msxml3: Remove superfluous pointer casts. 2009-01-26 14:31:05 +01:00
Alistair Leslie-Hughes d77acecbff msxml3: Implement IXMLDOMDocument2 IPersistStream_Save. 2009-01-22 15:28:24 +01:00
Alistair Leslie-Hughes 5bedc409d5 msxml3: IXMLDOMDocument2 async default value is VARIANT_TRUE. 2009-01-22 15:28:24 +01:00
Alistair Leslie-Hughes ceed55a46a msxml3: Register missing SAXXMLReader Components. 2009-01-22 15:28:24 +01:00
Alistair Leslie-Hughes 421dca6a96 msxml3: Add fixme for unsupported parameter. 2009-01-14 12:40:56 +01:00
Alistair Leslie-Hughes 549befe706 msxml3: Use xmlNodeGetContent to get text data. 2008-12-23 19:55:55 +01:00
Alistair Leslie-Hughes 40fdc88efc msxml3: Add ISupportErrorInfo interface to IXMLDOMDocument. 2008-12-20 11:43:01 +01:00
Alistair Leslie-Hughes c5c29c28f2 msxml3: Make functions static. 2008-12-20 11:33:05 +01:00
Alistair Leslie-Hughes 561cf9f746 msxml3: Corrected getAttributeNode to return correct values. 2008-12-17 13:52:41 +01:00
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