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
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
91513caa16
msxml3: Handle all variant types in IXMLDOMDocument::createNode.
2008-10-07 13:42:16 +02:00
Alistair Leslie-Hughes
954cb31448
msxml3: Add IDispatchEx support to IXMLDOMDocument2.
2008-09-03 14:21:43 +02:00
Francois Gouget
4560ce24d8
msxml3: Add a '\n' to a Wine trace.
2008-09-02 13:58:33 +02:00
Alistair Leslie-Hughes
373a43f0af
msxml3: Added and corrected trace string.
2008-08-18 17:15:56 +02:00
Piotr Caban
6b2e7a18ba
msxml3: Generalize bsc_t implementation.
2008-07-28 11:35:02 +02:00
Zhangrong Huang
89f1bfabe3
msxml3: Add support for accessing document node.
2008-07-16 19:56:24 +02:00
Francois Gouget
6dd7f060a2
msxml3: Fix compilation on systems that don't support nameless unions.
2008-07-14 12:29:53 +02:00
Piotr Caban
4799f06f20
msxml3: Fixed typo in create_bsc.
2008-07-14 12:27:55 +02:00
Piotr Caban
616fd82062
msxml3: Skip the first XML declaration in file generated by domdoc_save.
...
This is the last patch needed for Photoshop CS3 installer.
2008-07-09 11:31:23 +02:00
Piotr Caban
7f84185aa4
msxml3: Split DOMDocument_create.
2008-07-09 11:31:23 +02:00
Piotr Caban
8221a65049
msxml3: Return better bindf in GetBindInfo.
2008-07-09 11:31:23 +02:00
Piotr Caban
d8b22b9fb5
msxml3: Use OnDataAvailable for reading stream.
2008-07-09 11:31:23 +02:00
Piotr Caban
a08962d41c
msxml3: Store current bsc in domdoc.
2008-07-09 11:31:23 +02:00
Piotr Caban
56e231a4e5
msxml3: Store IBinding in bsc.
2008-07-09 11:31:22 +02:00
Piotr Caban
0f76b41809
msxml3: Make bsc heap based object.
2008-07-09 11:31:22 +02:00
Piotr Caban
223df167cb
msxml3: Implemented domdoc_put_documentElement.
2008-07-09 11:31:22 +02:00
Alistair Leslie-Hughes
d659e63d73
msxml3: Added support to create an Attribute in createNode.
2008-07-03 11:50:51 +02:00
Alexandre Julliard
5a849d31cf
msxml3: Fix a compile error without xml headers.
2008-06-11 20:02:49 +02:00
Alistair Leslie-Hughes
f4a797e90b
msxml3: Implement IObjectSafety for IXMLDOMDocument2.
2008-04-29 14:58:02 +02:00
Alistair Leslie-Hughes
340f34ddf6
msxml3: Added IObjectWithSite support in IXMLDOMDocument2.
2008-04-28 14:31:10 +02:00
Alistair Leslie-Hughes
6167c6122a
msxml3: Allow IXMLDOMDocument to save as another IXMLDOMDocument.
2008-03-12 12:25:19 +01:00
Alistair Leslie-Hughes
e2ac47a4f1
msxml3: Implemented IDispatch for IXMLDOMDocument2.
2008-02-19 14:16:18 +01:00
Alistair Leslie-Hughes
af15cfefcd
msxml3: Return correct IDispatch Interface.
2008-01-22 12:00:31 +01:00
Alistair Leslie-Hughes
a81d22d423
msxml3: Implement IXMLDOMEntityReference interface.
2008-01-22 11:59:54 +01:00
Alistair Leslie-Hughes
c40d4997b3
msxml3: Implement IXMLDOMDocumentFragment Interface.
2008-01-21 12:36:39 +01:00
Alistair Leslie-Hughes
ed5a22fb29
msxml3: Implement IXMLDOMImplementation Interface.
2008-01-18 11:56:58 +01:00
Alistair Leslie-Hughes
b57a7e01d6
msxml3: Implement GetClassID for XMLDocument IPersistStream interface.
2008-01-14 15:52:53 +01:00
Alistair Leslie-Hughes
b9e9e041e8
msxml3: Implemented IXMLDOMCDATASection COM Object.
2008-01-14 15:52:34 +01:00
Alistair Leslie-Hughes
3c94fb72de
msxml3: Suppress IID_IRunnableObject FIXME since its not supported.
2008-01-09 13:38:03 +01:00
Alistair Leslie-Hughes
f31cd30841
msxml3: createProcessingInstruction: Check arguments are valid.
2008-01-09 13:38:02 +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
7ec06c8442
msxml3: Implement IPersistStream.
2007-12-10 14:37:11 +01:00
Alistair Leslie-Hughes
43d92f4d76
msxml: Implement createTextNode.
2007-11-21 12:55:31 +01:00
Alistair Leslie-Hughes
8de2d5290a
msxml3: Return E_INVALIDARG on bad parameter.
2007-11-13 15:05:59 +01:00
Mikołaj Zalewski
e1cbec75c1
msxml3: Improve the XPath queries handling.
2007-05-18 14:50:21 +02:00
Mikołaj Zalewski
bf3849ad6f
msxml3: Implement IXMLDOMDocument2::setProperty("SelectionLanguage", ...).
2007-05-14 14:22:08 +02:00
Huw Davies
1780ca678c
msxml3: Implement {get,putref}_schemas.
2007-02-28 13:28:18 +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
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
Michael Stefaniuc
7ff24491d9
msxml3: Win64 printf format warning fixes.
2006-10-05 11:35:02 +02:00
Alexandre Julliard
0b8c80351a
msxml3: Make some functions and variables static.
2006-08-02 13:28:36 +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
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02: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
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
727970e242
msxml: Implement save.
2006-01-24 14:43:18 +01:00
Huw Davies
50c64c04df
msxml: Implement createNode, appendChild and insertAfter.
2006-01-11 21:15:12 +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
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
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
Mike McCormack
ded8dd8b82
Forward IXMLDOMDocument methods to contained node.
2005-08-22 09:24:36 +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
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
70adb8f565
Add a configure test for xmlReadMemory.
2005-08-12 10:35:17 +00:00
Mike McCormack
cb52019ea0
Increment the document's refcount when creating the root element.
2005-08-11 10:58:11 +00:00
Mike McCormack
ed748a305e
Implement IXMLDOMDocument::loadXML.
2005-08-11 10:32:36 +00:00
Mike McCormack
65293d8edf
Create a node object and use it to hold libxml2 pointers.
2005-08-10 09:54:22 +00:00
Mike McCormack
8a43775e2d
Use xmlParseMemory instead of xmlReadIO.
2005-08-08 18:34:24 +00:00
Mike McCormack
3b5c2221cc
Implemented the IXMLDOMElement interface.
2005-08-03 10:58:47 +00:00
Mike McCormack
dcc2d6c254
Initial implementation of msxml3 based on libxml2.
2005-08-02 11:29:04 +00:00