Commit Graph

126 Commits

Author SHA1 Message Date
Nikolay Sivov 624202be4b msxml3: Fix long types warnings in traces.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 17:19:41 +01:00
Alexandre Julliard bca1b7f2fa mxsml3: Use the bundled libxml2 and libxslt and build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-20 16:16:07 +02:00
Damjan Jovanovic 06cd8d3d2e msxml3: Return S_FALSE from IXMLDOMNamedNodeMap::nextNode() when there are no attributes.
Currently Wine return S_FALSE when IXMLDOMNamedNodeMap::nextNode()
has run out of attributes to return, but when an XML node has no
attributes at all, it returns S_OK despite setting the nextNode
output parameter to NULL, causing the caller to crash when it
accesses this pointer. Return S_FALSE in this case instead.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50603
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-22 17:57:47 +02:00
Jefferson Carpenter 653504a3ca msxml3: Null check newNode in domelem insertBefore.
Signed-off-by: Jefferson Carpenter <jeffersoncarpenter2@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-31 23:00:29 +02:00
Alexandre Julliard a75cc9e626 msxml3: Only allow ASCII characters in number conversion.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-27 15:57:07 +01:00
Daniel Lehman 38844dc31e msxml3: Handle namespaces in removeNamedItem.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 20:51:16 +02:00
Hans Leidekker 0bec5dfeec msxml3: Add support for 'int' in IXMLDOMElement_put_dataType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-23 10:12:11 +02:00
Daniel Lehman 4460cb3377 msxml3: Treat namespaces as floating attributes.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:52:45 +02:00
Daniel Lehman 27980430a0 msxml3: Allow creating floating attributes.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:52:41 +02:00
Daniel Lehman a20d152282 msxml3: Treat namespace as attribute in IXMLDOMElement::getAttribute.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:02:38 +09:00
André Hentschel 1014867726 msxml3: Declare debug channels only when needed (Clang). 2015-02-23 22:10:50 +09:00
Nikolay Sivov 9e576e1089 msxml3: Fix some string leaks (Valgrind). 2014-05-06 09:56:24 +02:00
Nikolay Sivov f9df884536 msxml3: Fixed attribute value string leak (Valgrind). 2014-04-28 14:00:50 +02:00
Nikolay Sivov 6a7bf66b29 msxml3: Explicitly use NULL_tid to terminate support error id arrays. 2013-05-07 15:15:27 +02:00
Marcus Meissner 5d0ae3d112 msxml3: Initialize hr (Coverity). 2013-03-15 11:42:00 +01:00
Nikolay Sivov 2d5c9f4f46 msxml3: Filter unsupported child nodes in insertBefore() for elements. 2013-03-04 11:16:20 +01:00
Nikolay Sivov 2907ad98c0 msxml3: Avoid unneeded variant copy in setAttribute(), leak fixed as a side effect. 2013-03-01 18:03:29 +01:00
Andrew Talbot 6256379a96 msxml3: Remove unused variable. 2012-11-22 11:54:49 +01:00
Nikolay Sivov a9aee4c03f msxml3: Add support for bin.hex element type encoding. 2012-07-02 19:18:06 +02:00
Nikolay Sivov a11ce7945a msxml3: Implement put_nodeTypedValue() for bin.base64 type and commonly used input vartypes. 2012-06-29 10:46:44 +02:00
Nikolay Sivov edf6162340 msxml3: Remove no longer used get_xml() option to mess with encoding attribute. 2012-05-15 16:26:46 +02:00
Nikolay Sivov b148063031 msxml3: Replace macro with another enum entry. 2012-01-23 15:59:53 +01:00
Nikolay Sivov ed908b7b18 msxml3: Forward IDispatch to IDispatchEx when supported. 2011-11-21 11:03:30 +01:00
Nikolay Sivov b26ad412d3 msxml3: Added common ISupportErrorInfo implementation. 2011-11-21 11:03:13 +01:00
Nikolay Sivov f87aee778d msxml3: Properly handle qualified names in getAttributeNode(). 2011-11-15 19:37:29 +01:00
Nikolay Sivov b6d3068c24 msxml3: Support multiple IXMLDOMNamedNodeMap implementations. 2011-11-15 19:37:29 +01:00
Nikolay Sivov fe1f692d91 msxml3: Block attempt to modify namespace definition with setAttribute(). 2011-10-27 19:34:36 +02:00
Francois Gouget 55a6db8912 msxml3: Fix printing NULL strings. 2011-09-21 18:39:51 +02:00
Adam Martinson 5ab513bd9e msxml3: Fix a couple incorrect uses of VariantChangeType(). 2011-06-21 12:24:37 +02:00
Nikolay Sivov ae2057cbb8 msxml3: Clean formatting chars before passing to base64 decoder. 2011-03-17 13:06:51 +01:00
Francois Gouget 11d1ff154f msxml3: Make element_get_dt() static and move it around to avoid a forward declaration. 2011-03-16 14:14:23 +01:00
Nikolay Sivov 9176c9e886 msxml3: Downgrade FIXME to TRACE for unsupported interfaces. 2011-03-14 12:39:27 +01:00
Nikolay Sivov c26c55995a msxml3: Add IXMLDOMSelection stub. 2011-03-14 12:38:59 +01:00
Nikolay Sivov fb96151b0e msxml3: Move string conversion helper to header. 2011-03-11 11:49:18 +01:00
Nikolay Sivov 68cc66d800 msxml3: Fix reference counting behaviour for named map. 2011-03-11 11:49:04 +01:00
Nikolay Sivov d05435167a msxml3: Trace ref counts for all dom objects. 2011-03-07 13:18:35 +01:00
Nikolay Sivov 179daa20b9 msxml3: Remove child with parent method first before insert with insertBefore(). 2011-03-04 16:26:00 +01:00
Nikolay Sivov 59f7b8899b msxml3: Link dom attribute with parent interface pointer. 2011-03-03 17:47:13 +01:00
Nikolay Sivov 37ce949745 msxml3: Always set out pointer to null on failed QueryInterface. 2011-03-01 13:21:58 +01:00
Nikolay Sivov 0c16c79c71 msxml3: Reject xmlns attribute to be added to element. 2011-02-28 11:09:07 +01:00
Nikolay Sivov bf01d1b3d7 msxml3: Remove transformNode() forward. 2011-02-24 15:49:30 +01:00
Nikolay Sivov aac690d4fc msxml3: Remove selectSingleNode() forward. 2011-02-24 15:49:29 +01:00
Nikolay Sivov 004944c81a msxml3: Remove selectNodes() forward. 2011-02-24 15:49:29 +01:00
Alexandre Julliard a1c8f6df84 msxml3: Include the system libxml headers before the Windows headers. 2011-02-24 15:49:28 +01:00
Nikolay Sivov d0bff37cb2 msxml3: Remove get_text() forward. 2011-02-23 18:22:18 +01:00
Nikolay Sivov 2e5a0dd63f msxml3: Remove get_ownerDocument() forward. 2011-02-23 18:22:12 +01:00
Nikolay Sivov 3d63982f86 msxml3: Remove hasChildNodes() forward. 2011-02-23 18:22:04 +01:00
Nikolay Sivov 5775bcde4a msxml3: Remove appendChild() forward. 2011-02-23 18:21:57 +01:00
Nikolay Sivov 1178f7b46e msxml3: Remove forward to removeChild() method for nodes. 2011-02-23 18:21:51 +01:00
Nikolay Sivov a0a464ad81 msxml3: Use helper to consistently dump variant parameters. 2011-02-22 12:30:37 +01:00