Commit Graph

268 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes f31cd30841 msxml3: createProcessingInstruction: Check arguments are valid. 2008-01-09 13:38:02 +01:00
Alistair Leslie-Hughes 91ad27ea25 msxml3: lastChild not supported for CDATASection, Comment, PI and Text Nodes. 2008-01-09 13:38:02 +01:00
Alistair Leslie-Hughes 4e908f65fb msxml3: nextSibling not supported for Attribute, Document and Document Fragment Nodes. 2008-01-09 13:38:02 +01:00
Lei Zhang 672a6995c0 msxml: Fix compilation on machines without libxml2. 2008-01-07 22:56:58 +01:00
Francois Gouget ca64f7c75a msxml3/tests: Add the trailing '\n' to an ok() call. 2008-01-07 12:37:02 +01:00
Alistair Leslie-Hughes 667df8e47f msxml3: Tests for get_xml, createAttribute, CreateComment, setNamedItem. 2008-01-04 12:00:41 +01:00
Alistair Leslie-Hughes 11331847ac msxml3: Implement get_xml. 2008-01-04 12:00:04 +01:00
Alistair Leslie-Hughes cdac6b5005 msxml3: Cannot add an attribute with appendChild. 2008-01-04 11:59:29 +01:00
Alistair Leslie-Hughes 0a80e7c04e msxml3: Add missing values for get_nodeName. 2008-01-04 11:59:04 +01:00
Alistair Leslie-Hughes 300191d58c msxml3: Implement createAttribute. 2008-01-04 11:58:39 +01:00
Alistair Leslie-Hughes 2e3f5243ca msxml3: Implement createComment. 2008-01-04 11:58:16 +01:00
Alistair Leslie-Hughes 48c0e684cb msxml3: Implement setNamedItem. 2008-01-04 11:57:32 +01:00
Alistair Leslie-Hughes 7c1a7491ec msxml3: Return E_INVALIDARG when value is NULL. 2008-01-03 13:30:41 +01:00
Alistair Leslie-Hughes 3b43ea73ef msxml3: Fix memory leaks in tests. 2007-12-24 13:31:02 +01:00
Alistair Leslie-Hughes 497c2949c7 msxml3: Fix memory leak in tests. 2007-12-14 12:26:33 +01:00
Alistair Leslie-Hughes 93b6476671 msxml3: Fix memory leak in test. 2007-12-11 12:09:22 +01:00
Alistair Leslie-Hughes b2add094ad msxml: Register missing components. 2007-12-11 12:08:51 +01:00
Alistair Leslie-Hughes 7ec06c8442 msxml3: Implement IPersistStream. 2007-12-10 14:37:11 +01:00
Alistair Leslie-Hughes 3fcc0cae51 msxml3: Fix memory leak. 2007-12-10 12:35:55 +01:00
Alistair Leslie-Hughes e3bfe193ca msxml3: Fix memory leaks. 2007-12-10 12:27:18 +01:00
Alistair Leslie-Hughes 86af5b9754 msxml3: Implement cloneNode. 2007-12-07 17:36:01 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Alistair Leslie-Hughes f35673e9e9 msxml: Tests for createTextNode. 2007-11-21 12:55:35 +01:00
Alistair Leslie-Hughes 43d92f4d76 msxml: Implement createTextNode. 2007-11-21 12:55:31 +01:00
Alistair Leslie-Hughes c443674d13 msxml: Always return a string in get_text. 2007-11-21 12:54:31 +01:00
Alistair Leslie-Hughes 9845a9ced4 msxml: Added test for get_text. 2007-11-21 12:54:25 +01:00
Huw Davies 02be3e260a msxml3: Don't leak an interface on failure. 2007-11-16 12:33:08 +01:00
Alistair Leslie-Hughes 9c657b26af msxml: Test for insertBefore with a NULL output parameter. 2007-11-15 11:11:27 +01:00
Alistair Leslie-Hughes 7fbf828afa msxml: Allow insertBefore to have a NULL output parameter. 2007-11-15 11:11:19 +01:00
Rob Shearman 306129c92e msxml3: Don't leak node in xmldoc_createElement in the wrong type was specified. 2007-11-15 11:07:28 +01:00
Rob Shearman 76d0cab17d msxml3: Fix some memory leaks of name in test_xmldoc. 2007-11-15 11:07:25 +01:00
Alistair Leslie-Hughes fad20c9ce0 msxml3: Enable test for bad argument / fix memory leak. 2007-11-13 15:06:11 +01:00
Alistair Leslie-Hughes 8de2d5290a msxml3: Return E_INVALIDARG on bad parameter. 2007-11-13 15:05:59 +01:00
Alistair Leslie-Hughes 2ad4f102f7 msxml3: Fix memory leak. 2007-11-07 13:20:57 +01:00
Alistair Leslie-Hughes 73e2ff5901 msxml: Fix a memory leak. 2007-11-05 15:00:52 +01:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Stefan Leichter 5987d3a37b msxml3: Remove 'recursive registry key delete' function. 2007-08-27 11:58:30 +02:00
Andrew Talbot 11904c80fa msxml3: Cast-qual warning fix. 2007-07-25 13:02:13 +02:00
Mikołaj Zalewski 3c29359286 msxml3/tests: Avoid a crash that happens on some native systems. 2007-07-19 13:22:28 +02:00
Rob Shearman d3a524cdba msxml3: Implement IXMLDOMNode::get_text for CDATA, processing instruction and comment nodes. 2007-07-13 12:27:20 +02:00
Michael Stefaniuc 0152ec0375 janitorial: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:50 +02:00
Alexandre Julliard 6d8c6c5a3a msxml: Don't use VariantClear on an uninitialized variant. 2007-06-11 15:00:11 +02:00
Francois Gouget fa48cb042c Assorted spelling fixes. 2007-05-29 13:47:18 +02:00
Alexandre Julliard e269fa378b msxml3: Fixed compilation without libxml. 2007-05-29 12:05:20 +02:00
James Hawkins e24667cc6e msxml3: Add tests for IXMLDocument. 2007-05-25 20:12:38 +02:00
James Hawkins 9c04d0d8ca msxml3: Add tests for IXMLElement and IXMLElementCollection. 2007-05-25 20:12:27 +02:00
James Hawkins f5e9a1ea6f msxml3: Add initial implementation of IXMLDocument. 2007-05-25 20:12:12 +02:00
James Hawkins 74f18d968f msxml3: Add initial implementation of IXMLElement and IXMLElementCollection. 2007-05-25 20:11:15 +02:00
Mikołaj Zalewski 08fc650869 msxml3: Implement IXMLDOMElement::getElementsByTagName. 2007-05-18 20:00:03 +02:00
Mikołaj Zalewski 37ea00731a msxml3: Add tests for XPath queries with namespaces. 2007-05-18 19:59:52 +02:00
Mikołaj Zalewski b5c1d274c5 msxml3: For queries the get_item should change the current position. 2007-05-18 19:59:45 +02:00
Mikołaj Zalewski e1cbec75c1 msxml3: Improve the XPath queries handling. 2007-05-18 14:50:21 +02:00
Andrew Talbot abea9c409f msxml3: Exclude unused headers. 2007-05-15 12:19:27 +02:00
Mikołaj Zalewski bf3849ad6f msxml3: Implement IXMLDOMDocument2::setProperty("SelectionLanguage", ...). 2007-05-14 14:22:08 +02:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Huw Davies 1780ca678c msxml3: Implement {get,putref}_schemas. 2007-02-28 13:28:18 +01:00
Huw Davies c30c6e23ba msxml3: Add a schema cache object. 2007-02-28 13:28:13 +01:00
Huw Davies cdac075e41 msxml3: Register schema cache classes. 2007-02-26 19:04:14 +01:00
Huw Davies 9ceb5a3ea7 msxml3: Convert the domdoc object to use the IXMLDOMDocument2 interface. 2007-02-26 17:33:45 +01:00
Hans Leidekker 78e0f23b68 msxml3: Stub out some more getters and setters of IXMLDOMDocument. 2007-02-19 12:41:51 +01:00
Paul Vriens 695fa7542a msxml3/tests: Cast-qual warning fixes. 2007-01-24 11:59:08 +01:00
Bang Jun-Young 45e8e360cd msxml3: config.h police. 2007-01-22 13:29:07 +01:00
Andrew Talbot 7786576525 msxml3: Remove unused functions. 2007-01-15 14:22:35 +01:00
Colin Pitrat f57bf10024 msxml: nextNode and reset functions. 2006-12-29 12:49:40 +01:00
Rob Shearman 588e423bde msxml3: Add a simple test for XMLHTTP. 2006-12-28 12:23:45 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Francois Gouget 9c297ffed2 msxml3: Add '\n' to Wine trace. 2006-12-05 10:31:47 +01:00
Lei Zhang 6a530aba76 msxml3: Fix compiles for systems with libxml2 version 2.6.14 and below. 2006-11-30 16:35:35 +01:00
Huw Davies 459dd11f3f msxml3: Implement createElement. 2006-11-17 15:51:33 +01:00
Huw Davies 7c34694c01 msxml3: Implement createProcessingInstruction with a stub PI object. 2006-11-17 11:04:42 +01:00
Huw Davies 4696417941 msxml3: Support both v 2.x and 3.0 version independent clsids as well as the v 3.0 version dependent clsid. 2006-11-14 11:42:24 +01:00
Huw Davies 9e1284df23 msxml3: Add the CLSID_DOMDocument define in msxml2.idl to match the PSDK. 2006-11-14 11:42:17 +01:00
Huw Davies 8518ee38e3 msxml3: Initialize the uuids that aren't in libuuid. 2006-11-14 11:42:14 +01:00
Paul Chitescu c75d739d32 msxml3: Check parameters of IXMLDOMNode::insertBefore(). 2006-11-02 21:00:12 +01:00
Eric Pouech 858bebc7c8 msxml: Fixed list walking in xmlnodelist_get_length. 2006-10-24 11:32:24 +02:00
Hans Leidekker fe1f3b0da5 msxml3/tests: Win64 printf format warning fixes. 2006-10-13 14:49:46 +02:00
Louis. Lenders 2d6b45081b msxml3: Add a version resource. 2006-10-09 15:23:38 +02:00
Michael Stefaniuc 7ff24491d9 msxml3: Win64 printf format warning fixes. 2006-10-05 11:35:02 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Dan Hipschman 47b6d3a1e3 msxml3: Fix IXMLDOMNamedNodeMap_getNamedItem() conformance on error. 2006-09-21 11:26:25 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Francois Gouget b28f6e52e1 msxml3: DOMFreeThreadedDocument's thread model is Both, not Free. 2006-08-09 20:37:29 +02:00
Alexandre Julliard 0b8c80351a msxml3: Make some functions and variables static. 2006-08-02 13:28:36 +02:00
Robert Shearman 2afa602059 msxml3: Add progids for MSXML.DOMDocument and MSXML.FreeThreadedDOMDocument.
Don't delete the progid key when unregistering coclasses - this is now 
done in unregister_progids.
2006-08-01 11:21:27 +02:00
Robert Shearman 1933135f0d msxml3: Separate the writing of progids from the writing of classes.
This allows writing multiple progids that refer to one class.
Support writing out Version and VersionIndependentProgId keys for classes.
2006-08-01 11:21:22 +02:00
Robert Shearman 986b33d171 msxml3: Use general DLL registration framework to register CLSIDs and ProgID's. 2006-07-24 13:46:44 +02:00
Huw Davies a307901ac0 msxml3: removeChild should catch a NULL child node. 2006-07-19 09:38:35 +02:00
Huw Davies 120e808f13 msxml3: Add a test to check that selectSingleNode returns a NULL-ptr when it doesn't find a match. 2006-07-19 09:38:29 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Huw Davies 187ab1c028 msxml3: Implement removeChild. 2006-07-11 12:05:06 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Huw Davies 54c85d3d04 msxml3: Always have a libxml doc associated with a domdoc object, even if the object has no nodes.
This means we don't need to add checks for NULL libxml node ptrs in our node implementation.
2006-06-27 21:14:02 +02:00
Robert Shearman e072d7a0a3 msxml: Text nodes with just whitespace should be stripped. 2006-06-14 13:36:07 +02:00
Robert Shearman 1df06e5c4a msxml: Implement IXMLDOMElement for text elements by using
create_element instead of create_basic_node.
2006-06-14 13:35:51 +02:00
Robert Shearman 09ddab1481 msxml: Allow the element implementation to be aggregatable. 2006-06-14 13:35:38 +02:00
Robert Shearman 79b2742120 msxml3: Fix domelem_get_tagName to return a string with the namespace prefixed, if it is present. 2006-06-12 15:56:23 +02:00
Robert Shearman 6dd935bc33 msxml3: Initialise output interface pointers to NULL in xmlnodelist_QueryInterface and xmlnodelist_nextNode. 2006-06-12 15:56:16 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Huw Davies 4eb389bbdf msxml3: Fix for empty node lists. 2006-02-24 11:21:37 +01:00
Huw Davies cce65b70b7 msxml3: Improve parse error handling a bit. 2006-02-21 19:48:44 +01:00
Huw Davies 7ee50b699d msxml3: Use url monikers to load xml. 2006-02-21 19:48:30 +01:00
Huw Davies a545fee719 msxml3: Implement comment node. 2006-02-16 19:37:53 +01:00
Huw Davies 04d5d0a630 msxml3: Fix get_text on text nodes. 2006-02-16 19:33:39 +01:00
Huw Davies 1c3daceb00 msxml: Implement getElementsByTagName. 2006-02-14 10:38:21 +01:00
Hans Leidekker 964ef89f09 msxml3: Implement DllUnregisterServer. 2006-02-14 10:38:05 +01:00
Huw Davies 5673a58297 msxml: Add ISupportErrorInfo for named node maps. 2006-02-10 15:14:33 +01:00
Huw Davies e1e1f79288 msxml: Issue a fixme if the interface is not implemented. 2006-01-27 19:22:56 +01:00
Huw Davies 727970e242 msxml: Implement save. 2006-01-24 14:43:18 +01:00
Huw Davies 5d629e7ce8 msxml: Text node implementation. 2006-01-19 11:56:34 +01:00
Huw Davies 917a801d80 msxml: Implement get_nodeTypedValue. 2006-01-18 14:22:23 +01:00
Huw Davies ef23ab4729 msxml: Add attribute node implementation. 2006-01-18 11:28:34 +01:00
Huw Davies e7187ff31f msxml: Fix for get_nodeValue on attributes. 2006-01-16 20:43:02 +01:00
Huw Davies 65707fb940 msxml: Implement setAttribute. 2006-01-16 20:42:39 +01:00
Huw Davies d9fc6985fa msxml: Implement getAttribute. 2006-01-14 17:05:32 +01:00
Huw Davies 50c64c04df msxml: Implement createNode, appendChild and insertAfter. 2006-01-11 21:15:12 +01:00
Huw Davies bce90cfb85 msxml: Fix for selectNodes when the node has no children. 2006-01-11 20:54:32 +01:00
Huw Davies a48bb7b3de msxml: It's valid to release an empty document. 2006-01-10 19:58:42 +01:00
Huw Davies 3f6bb98f39 Make the node object aggregatable so that the element object (and in
future all of the other node types) can use it.
2005-12-01 18:46:42 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Huw Davies f0c1e349e1 Release a stray node. 2005-11-23 14:30:22 +01:00
Huw Davies c868b45113 Ref count the xmlDocPtr.
If two nodes refer to the same xmlNodePtr don't return same object.
2005-11-18 15:05:26 +00:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Huw Davies 5b8be5dca6 Include msxml2.h rather than msxml.h and xmldom.h. 2005-11-08 19:59:36 +00:00
Huw Davies c36873602a Implement selectSingleNode. 2005-11-08 16:10:13 +00:00
Huw Davies 52e8200cee Implement get_parseError. 2005-11-08 13:10:49 +00:00
Huw Davies d1b21b5c50 Fix cut-n-paste error in licence text. 2005-11-08 12:46:43 +00:00
Huw Davies 3d0c66277a Filter out CTEXT nodes when building element child lists.
get_item and get_length should honour the filter.
Add some '\n's to the tests so that libxml2 lists CTEXT nodes.
2005-11-05 10:42:45 +00:00
Stefan Huehner 5834740231 Add indexed access to attributes (nodemap) and childNodes
(nodelist), with some testcases.
2005-11-03 12:04:52 +00:00
Stefan Huehner d148ca4e0a Extend get_nodeName add testcases for it. 2005-11-02 19:55:30 +00:00
Mike McCormack a182e093b0 Implement IXMLDOMNode::get_nodeName. 2005-11-02 10:55:03 +00:00
Huw Davies 82aa918a30 Actually print the IIDs. 2005-10-31 21:04:31 +00:00
Stefan Huehner 927ba076f1 Fix IXMLDOMDocument error handling. 2005-10-26 10:09:22 +00:00
Huw Davies 119da5a94c Don't try to release the node if we haven't loaded one. 2005-10-06 11:34:15 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Mike McCormack f3719a881e Implemented IXMLDOMNode::selectNodes. 2005-09-03 09:39:38 +00:00
Mike McCormack 3b7e1ed1ea Add some node tests. 2005-08-23 09:37:42 +00:00
Mike McCormack da3393d4d7 Implement IXMLDOMNode::hasChildNode(). 2005-08-22 09:24:44 +00:00
Mike McCormack ded8dd8b82 Forward IXMLDOMDocument methods to contained node. 2005-08-22 09:24:36 +00:00
Mike McCormack d61f8f8b28 Forward IXMLDOMElement methods derived from IXMLDOMNode to the
element's contained node.
2005-08-22 09:23:52 +00:00
Mike McCormack 23e9a042c0 Implement the IXMLDOMNodeList interface for
IXMLDOMNode::get_childNodes.
2005-08-19 15:18:05 +00:00
Mike McCormack eb889cf5d9 Forward some IXMLDOMDocument methods to the implemenation's contained
node.
2005-08-19 11:23:02 +00:00
Mike McCormack dc2e14d9f6 Implement parentNode, firstChild, lastChild, previousSibling and
nextSibling methods.
2005-08-19 11:22:47 +00:00
Mike McCormack 2386023474 Use a single function to create all IXMLDOMNode implementations. 2005-08-19 10:03:27 +00:00
Mike McCormack 23f192d299 Make each IXMLDOMNode interface represent one libxml2 xmlNodePtr. 2005-08-18 10:48:13 +00:00
Francois Gouget fae73a1090 Assorted spelling fixes. 2005-08-17 09:56:24 +00:00
Mike McCormack 2b7ae268e5 Fix a search and replace mishap. 2005-08-17 09:53:08 +00:00