Commit Graph

206 Commits

Author SHA1 Message Date
Jacek Caban 83e912743c msxml3: Get rid of node internal IUnknown. 2009-09-30 16:36:55 +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 d48246e1cc msxml3: Return xmlnode object from create_basic_node. 2009-08-21 13:50:11 +02:00
Jacek Caban 7447145d64 msxml3: Optimize bstr_from_xmlChar implementation. 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
Alistair Leslie-Hughes 17db41c349 msxml3: Use our parent doc if we don't have one. 2009-02-09 17:17:09 +01:00
Michael Stefaniuc 6a5dda7143 msxml3: Remove superfluous pointer casts. 2009-01-26 14:31:05 +01:00
Alistair Leslie-Hughes 549befe706 msxml3: Use xmlNodeGetContent to get text data. 2008-12-23 19:55:55 +01:00
Michael Stefaniuc 328f60a686 msxml3: Do not cast void pointers to other pointer types. 2008-12-05 12:36:21 +01:00
Michael Karcher b282572ee3 msxml3: Move attach_xmlnode.c to domdoc.c. 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
Francois Gouget 3d384f172c msxml3: Dynamically load libxslt.so and only call xsltInit() if present. 2008-11-18 13:04:05 +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
Michael Karcher f229469de3 msxml3: Use orphan node list. 2008-10-13 11:54:06 +02:00
Michael Karcher 19d635f9a3 msxml3: Fix memory leaks in node.c. 2008-10-13 11:52:44 +02:00
Michael Karcher ae2017a984 msxml3: Fix leaks in callers of xmlChar_from_wchar. 2008-10-13 11:52:18 +02:00
Michael Karcher b7ac3bde68 msxml3: IXMLDOMNode_put_nodeValue: Use variant coercion. 2008-10-13 11:51:34 +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 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 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
Piotr Caban eb72aa05db msxml3: Fix xmlnode_get_xml to work properly with XML_DOCUMENT_NODE. 2008-09-22 11:49:17 +02:00
Alistair Leslie-Hughes c6a64414df msxml3: Correct FIXME. 2008-09-03 14:21:43 +02:00
Alistair Leslie-Hughes 95660514d3 msxml3: Format get_xml string to be more like msxml3. 2008-07-28 14:29:07 +02:00
Zhangrong Huang c4ac69b755 msxml3: Add support for accessing CDATASection node. 2008-07-16 19:56:24 +02:00
Zhangrong Huang 89f1bfabe3 msxml3: Add support for accessing document node. 2008-07-16 19:56:24 +02:00
Piotr Caban d676f7e5bb msxml3: Fixed xmlnode_removeChild. 2008-07-11 14:22:25 +02:00
Piotr Caban 93e76ece37 msxml3: oldChild in xmlnode_removeChild may be NULL. 2008-07-10 18:11:22 +02:00
Piotr Caban 800463c21b msxml3: Implemented xmlnode_get_ownerDocument. 2008-07-09 11:31:23 +02:00
Piotr Caban 26b95dc7fd msxml3: Use IXMLDOMNode_get_nodeType in xmlnode_appendChild. 2008-07-09 11:31:22 +02:00
Alistair Leslie-Hughes af80b06f0f msxml3: Implement IDispatch for IXMLDOMNode. 2008-04-29 14:57:47 +02:00
Alistair Leslie-Hughes 42db8b439f msxml3: Corrected transformNode. 2008-04-25 14:47:55 +02:00
Alistair Leslie-Hughes 38634f0eb9 msxml3: Implement get_prefix. 2008-04-21 12:10:37 +02:00
Alistair Leslie-Hughes 8842ccb636 msxml3: Implement get_namespaceURI. 2008-04-21 12:10:37 +02:00
Alistair Leslie-Hughes 880bacb5f1 msxml3: Implement transformNode. 2008-04-17 12:25:29 +02:00
Austin English 05faae7b5a Spelling fixes. 2008-04-09 12:07:39 +02:00
Francois Gouget 304b415284 Assorted spelling fixes. 2008-03-19 11:21:27 +01:00
Alistair Leslie-Hughes 077e9d8945 msxml3: Remove Byte since it's not a valid datatype. 2008-03-05 11:20:38 +01:00
Alistair Leslie-Hughes 6dee6819b2 msxml3: Implement IXMLDOMProcessingInstruction_get_nodeName. 2008-03-03 11:57:49 +01:00
Alistair Leslie-Hughes c43b0706a3 msxml3: Implement IXMLDOMCDATASection_get_nodeValue. 2008-03-03 11:57:28 +01:00
Alistair Leslie-Hughes a1f5fef880 msxml3: Implement IXMLDOMComment_get_nodeValue. 2008-02-28 12:56:34 +01:00
Francois Gouget 39844efc5f msxml3: Add a trailing '\n' to a Wine trace. 2008-02-27 14:52:23 +01:00
Alistair Leslie-Hughes 75a8444a8b msxml3: Implement IXMLDOMNode put_nodeValue. 2008-02-25 13:35:17 +01:00
Alistair Leslie-Hughes a2debce7c5 msxml3: Correct get_nodeValue for PI Nodes. 2008-02-21 12:26:19 +01:00
Alistair Leslie-Hughes 3c4cc5fb88 msxml3: Implement put_dataType. 2008-02-20 12:09:49 +01:00
Alistair Leslie-Hughes bfeb14d0d8 msxml3: Entity Reference nodes do not support attributes property. 2008-01-21 12:37:04 +01:00
Alistair Leslie-Hughes 8c3dd87fa8 msxml3: Attribute nodes are not typed. 2008-01-18 11:56:19 +01:00
Alistair Leslie-Hughes 055b5e44fe msxml3: Implement get_nodeTypeString. 2008-01-16 12:16:39 +01:00
Alistair Leslie-Hughes b2101b8177 msxml3: Implement put_text. 2008-01-16 12:16:25 +01:00
Alistair Leslie-Hughes bf4a43e1e0 msxml3: Correct get_attributes for CDATA Section. 2008-01-14 15:51:43 +01:00
Alistair Leslie-Hughes e989d48f43 msxml3: Implement get_dataType. 2008-01-14 15:51:37 +01:00
Alistair Leslie-Hughes e906b136eb msxml3: get_attributes not supported for Attribute, CData, Comment, Doc, Doc Frag, Entity and Text Nodes. 2008-01-09 13:38:02 +01:00
Alistair Leslie-Hughes 2896c46245 msxml3: previousSibling not supported for Attribute, Document and Document Fragment Nodes. 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
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 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 86af5b9754 msxml3: Implement cloneNode. 2007-12-07 17:36:01 +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 7fbf828afa msxml: Allow insertBefore to have a NULL output parameter. 2007-11-15 11:11:19 +01:00
Rob Shearman d3a524cdba msxml3: Implement IXMLDOMNode::get_text for CDATA, processing instruction and comment nodes. 2007-07-13 12:27:20 +02:00
Mikołaj Zalewski e1cbec75c1 msxml3: Improve the XPath queries handling. 2007-05-18 14:50:21 +02:00
Paul Chitescu c75d739d32 msxml3: Check parameters of IXMLDOMNode::insertBefore(). 2006-11-02 21:00:12 +01:00
Michael Stefaniuc 7ff24491d9 msxml3: Win64 printf format warning fixes. 2006-10-05 11:35:02 +02:00
Huw Davies a307901ac0 msxml3: removeChild should catch a NULL child node. 2006-07-19 09:38:35 +02:00
Huw Davies 187ab1c028 msxml3: Implement removeChild. 2006-07-11 12:05:06 +02:00
Robert Shearman 09ddab1481 msxml: Allow the element implementation to be aggregatable. 2006-06-14 13:35:38 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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
Huw Davies e1e1f79288 msxml: Issue a fixme if the interface is not implemented. 2006-01-27 19:22:56 +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 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
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
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 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 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
Mike McCormack f3719a881e Implemented IXMLDOMNode::selectNodes. 2005-09-03 09:39:38 +00:00
Mike McCormack da3393d4d7 Implement IXMLDOMNode::hasChildNode(). 2005-08-22 09:24:44 +00:00
Mike McCormack 23e9a042c0 Implement the IXMLDOMNodeList interface for
IXMLDOMNode::get_childNodes.
2005-08-19 15:18:05 +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
Mike McCormack 2b7ae268e5 Fix a search and replace mishap. 2005-08-17 09:53:08 +00:00
Mike McCormack 65293d8edf Create a node object and use it to hold libxml2 pointers. 2005-08-10 09:54:22 +00:00