Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1178f7b4
Commit
1178f7b4
authored
Feb 23, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Remove forward to removeChild() method for nodes.
parent
12d4683f
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
37 additions
and
33 deletions
+37
-33
attribute.c
dlls/msxml3/attribute.c
+3
-2
cdata.c
dlls/msxml3/cdata.c
+3
-2
comment.c
dlls/msxml3/comment.c
+3
-2
docfrag.c
dlls/msxml3/docfrag.c
+3
-2
domdoc.c
dlls/msxml3/domdoc.c
+4
-3
element.c
dlls/msxml3/element.c
+3
-2
entityref.c
dlls/msxml3/entityref.c
+3
-2
msxml_private.h
dlls/msxml3/msxml_private.h
+1
-0
node.c
dlls/msxml3/node.c
+8
-14
pi.c
dlls/msxml3/pi.c
+3
-2
text.c
dlls/msxml3/text.c
+3
-2
No files found.
dlls/msxml3/attribute.c
View file @
1178f7b4
...
...
@@ -326,10 +326,11 @@ static HRESULT WINAPI domattr_replaceChild(
static
HRESULT
WINAPI
domattr_removeChild
(
IXMLDOMAttribute
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
domattr
*
This
=
impl_from_IXMLDOMAttribute
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
domattr_appendChild
(
...
...
dlls/msxml3/cdata.c
View file @
1178f7b4
...
...
@@ -337,10 +337,11 @@ static HRESULT WINAPI domcdata_replaceChild(
static
HRESULT
WINAPI
domcdata_removeChild
(
IXMLDOMCDATASection
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
domcdata
*
This
=
impl_from_IXMLDOMCDATASection
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
domcdata_appendChild
(
...
...
dlls/msxml3/comment.c
View file @
1178f7b4
...
...
@@ -330,10 +330,11 @@ static HRESULT WINAPI domcomment_replaceChild(
static
HRESULT
WINAPI
domcomment_removeChild
(
IXMLDOMComment
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
domcomment
*
This
=
impl_from_IXMLDOMComment
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
domcomment_appendChild
(
...
...
dlls/msxml3/docfrag.c
View file @
1178f7b4
...
...
@@ -334,10 +334,11 @@ static HRESULT WINAPI domfrag_replaceChild(
static
HRESULT
WINAPI
domfrag_removeChild
(
IXMLDOMDocumentFragment
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
domfrag
*
This
=
impl_from_IXMLDOMDocumentFragment
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
domfrag_appendChild
(
...
...
dlls/msxml3/domdoc.c
View file @
1178f7b4
...
...
@@ -1217,11 +1217,12 @@ static HRESULT WINAPI domdoc_replaceChild(
static
HRESULT
WINAPI
domdoc_removeChild
(
IXMLDOMDocument3
*
iface
,
IXMLDOMNode
*
childNode
,
IXMLDOMNode
**
oldChild
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
childNode
,
oldChild
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
...
...
dlls/msxml3/element.c
View file @
1178f7b4
...
...
@@ -345,10 +345,11 @@ static HRESULT WINAPI domelem_replaceChild(
static
HRESULT
WINAPI
domelem_removeChild
(
IXMLDOMElement
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
domelem
*
This
=
impl_from_IXMLDOMElement
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
domelem_appendChild
(
...
...
dlls/msxml3/entityref.c
View file @
1178f7b4
...
...
@@ -328,10 +328,11 @@ static HRESULT WINAPI entityref_replaceChild(
static
HRESULT
WINAPI
entityref_removeChild
(
IXMLDOMEntityReference
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
entityref
*
This
=
impl_from_IXMLDOMEntityReference
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
entityref_appendChild
(
...
...
dlls/msxml3/msxml_private.h
View file @
1178f7b4
...
...
@@ -271,6 +271,7 @@ extern HRESULT node_clone(xmlnode*,VARIANT_BOOL,IXMLDOMNode**);
extern
HRESULT
node_get_prefix
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_get_base_name
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_get_namespaceURI
(
xmlnode
*
,
BSTR
*
);
extern
HRESULT
node_remove_child
(
xmlnode
*
,
IXMLDOMNode
*
,
IXMLDOMNode
**
);
extern
HRESULT
DOMDocument_create_from_xmldoc
(
xmlDocPtr
xmldoc
,
IXMLDOMDocument3
**
document
);
extern
HRESULT
SchemaCache_validate_tree
(
IXMLDOMSchemaCollection2
*
iface
,
xmlNodePtr
tree
);
...
...
dlls/msxml3/node.c
View file @
1178f7b4
...
...
@@ -401,22 +401,16 @@ HRESULT node_replace_child(xmlnode *This, IXMLDOMNode *newChild, IXMLDOMNode *ol
return
S_OK
;
}
static
HRESULT
WINAPI
xmlnode_removeChild
(
IXMLDOMNode
*
iface
,
IXMLDOMNode
*
childNode
,
IXMLDOMNode
**
oldChild
)
HRESULT
node_remove_child
(
xmlnode
*
This
,
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
xmlnode
*
This
=
impl_from_IXMLDOMNode
(
iface
);
xmlnode
*
child_node
;
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
childNode
,
oldChild
);
if
(
!
childNode
)
return
E_INVALIDARG
;
if
(
!
child
)
return
E_INVALIDARG
;
if
(
oldChild
)
*
oldChild
=
NULL
;
child_node
=
get_node_obj
(
child
Node
);
child_node
=
get_node_obj
(
child
);
if
(
!
child_node
)
{
FIXME
(
"childNode is not our node implementation
\n
"
);
return
E_FAIL
;
...
...
@@ -424,7 +418,7 @@ static HRESULT WINAPI xmlnode_removeChild(
if
(
child_node
->
node
->
parent
!=
This
->
node
)
{
WARN
(
"childNode %p is not a child of %p
\n
"
,
child
Node
,
iface
);
WARN
(
"childNode %p is not a child of %p
\n
"
,
child
,
This
);
return
E_INVALIDARG
;
}
...
...
@@ -432,8 +426,8 @@ static HRESULT WINAPI xmlnode_removeChild(
if
(
oldChild
)
{
IXMLDOMNode_AddRef
(
child
Node
);
*
oldChild
=
child
Node
;
IXMLDOMNode_AddRef
(
child
);
*
oldChild
=
child
;
}
return
S_OK
;
...
...
@@ -1152,7 +1146,7 @@ static const struct IXMLDOMNodeVtbl xmlnode_vtbl =
NULL
,
NULL
,
NULL
,
xmlnode_removeChild
,
NULL
,
xmlnode_appendChild
,
xmlnode_hasChildNodes
,
xmlnode_get_ownerDocument
,
...
...
@@ -1494,7 +1488,7 @@ static HRESULT WINAPI unknode_removeChild(
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
{
unknode
*
This
=
unknode_from_IXMLDOMNode
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
return
node_remove_child
(
&
This
->
node
,
domNode
,
oldNode
);
}
static
HRESULT
WINAPI
unknode_appendChild
(
...
...
dlls/msxml3/pi.c
View file @
1178f7b4
...
...
@@ -344,10 +344,11 @@ static HRESULT WINAPI dom_pi_replaceChild(
static
HRESULT
WINAPI
dom_pi_removeChild
(
IXMLDOMProcessingInstruction
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
dom_pi
*
This
=
impl_from_IXMLDOMProcessingInstruction
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
dom_pi_appendChild
(
...
...
dlls/msxml3/text.c
View file @
1178f7b4
...
...
@@ -343,10 +343,11 @@ static HRESULT WINAPI domtext_replaceChild(
static
HRESULT
WINAPI
domtext_removeChild
(
IXMLDOMText
*
iface
,
IXMLDOMNode
*
domNode
,
IXMLDOMNode
**
oldNode
)
IXMLDOMNode
*
child
,
IXMLDOMNode
**
oldChild
)
{
domtext
*
This
=
impl_from_IXMLDOMText
(
iface
);
return
IXMLDOMNode_removeChild
(
&
This
->
node
.
IXMLDOMNode_iface
,
domNode
,
oldNode
);
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
child
,
oldChild
);
return
node_remove_child
(
&
This
->
node
,
child
,
oldChild
);
}
static
HRESULT
WINAPI
domtext_appendChild
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment