Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
cef2907d
Commit
cef2907d
authored
Jan 23, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Get rid of PRUint16 type.
parent
2d100f4e
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
15 deletions
+14
-15
editor.c
dlls/mshtml/editor.c
+2
-2
htmlanchor.c
dlls/mshtml/htmlanchor.c
+1
-1
htmldoc3.c
dlls/mshtml/htmldoc3.c
+1
-1
htmlelemcol.c
dlls/mshtml/htmlelemcol.c
+1
-1
htmlevent.c
dlls/mshtml/htmlevent.c
+2
-2
htmlnode.c
dlls/mshtml/htmlnode.c
+2
-2
nsembed.c
dlls/mshtml/nsembed.c
+1
-1
nsiface.idl
dlls/mshtml/nsiface.idl
+1
-2
txtrange.c
dlls/mshtml/txtrange.c
+3
-3
No files found.
dlls/mshtml/editor.c
View file @
cef2907d
...
@@ -218,7 +218,7 @@ static void remove_child_attr(nsIDOMElement *elem, LPCWSTR tag, nsAString *attr_
...
@@ -218,7 +218,7 @@ static void remove_child_attr(nsIDOMElement *elem, LPCWSTR tag, nsAString *attr_
PRUint32
child_cnt
,
i
;
PRUint32
child_cnt
,
i
;
nsIDOMNode
*
child_node
;
nsIDOMNode
*
child_node
;
nsIDOMNodeList
*
node_list
;
nsIDOMNodeList
*
node_list
;
PRUint
16
node_type
;
UINT
16
node_type
;
nsIDOMElement_HasChildNodes
(
elem
,
&
has_children
);
nsIDOMElement_HasChildNodes
(
elem
,
&
has_children
);
if
(
!
has_children
)
if
(
!
has_children
)
...
@@ -266,7 +266,7 @@ static void get_font_size(HTMLDocument *This, WCHAR *ret)
...
@@ -266,7 +266,7 @@ static void get_font_size(HTMLDocument *This, WCHAR *ret)
nsIDOMNode
*
node
=
NULL
,
*
tmp_node
;
nsIDOMNode
*
node
=
NULL
,
*
tmp_node
;
nsAString
tag_str
;
nsAString
tag_str
;
LPCWSTR
tag
;
LPCWSTR
tag
;
PRUint
16
node_type
;
UINT
16
node_type
;
nsresult
nsres
;
nsresult
nsres
;
*
ret
=
0
;
*
ret
=
0
;
...
...
dlls/mshtml/htmlanchor.c
View file @
cef2907d
...
@@ -646,7 +646,7 @@ static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t eid,
...
@@ -646,7 +646,7 @@ static HRESULT HTMLAnchorElement_handle_event(HTMLDOMNode *iface, eventid_t eid,
if
(
eid
==
EVENTID_CLICK
)
{
if
(
eid
==
EVENTID_CLICK
)
{
nsIDOMMouseEvent
*
mouse_event
;
nsIDOMMouseEvent
*
mouse_event
;
PRUint
16
button
;
UINT
16
button
;
nsresult
nsres
;
nsresult
nsres
;
TRACE
(
"CLICK
\n
"
);
TRACE
(
"CLICK
\n
"
);
...
...
dlls/mshtml/htmldoc3.c
View file @
cef2907d
...
@@ -74,7 +74,7 @@ HRESULT get_doc_elem_by_id(HTMLDocumentNode *doc, const WCHAR *id, HTMLElement *
...
@@ -74,7 +74,7 @@ HRESULT get_doc_elem_by_id(HTMLDocumentNode *doc, const WCHAR *id, HTMLElement *
assert
(
nsres
==
NS_OK
);
assert
(
nsres
==
NS_OK
);
if
(
nsnode
&&
nselem
)
{
if
(
nsnode
&&
nselem
)
{
PRUint
16
pos
;
UINT
16
pos
;
nsres
=
nsIDOMNode_CompareDocumentPosition
(
nsnode
,
(
nsIDOMNode
*
)
nselem
,
&
pos
);
nsres
=
nsIDOMNode_CompareDocumentPosition
(
nsnode
,
(
nsIDOMNode
*
)
nselem
,
&
pos
);
if
(
NS_FAILED
(
nsres
))
{
if
(
NS_FAILED
(
nsres
))
{
...
...
dlls/mshtml/htmlelemcol.c
View file @
cef2907d
...
@@ -79,7 +79,7 @@ static void elem_vector_normalize(elem_vector_t *buf)
...
@@ -79,7 +79,7 @@ static void elem_vector_normalize(elem_vector_t *buf)
static
inline
BOOL
is_elem_node
(
nsIDOMNode
*
node
)
static
inline
BOOL
is_elem_node
(
nsIDOMNode
*
node
)
{
{
PRUint
16
type
=
0
;
UINT
16
type
=
0
;
nsIDOMNode_GetNodeType
(
node
,
&
type
);
nsIDOMNode_GetNodeType
(
node
,
&
type
);
...
...
dlls/mshtml/htmlevent.c
View file @
cef2907d
...
@@ -564,7 +564,7 @@ static HRESULT WINAPI HTMLEventObj_get_keyCode(IHTMLEventObj *iface, LONG *p)
...
@@ -564,7 +564,7 @@ static HRESULT WINAPI HTMLEventObj_get_keyCode(IHTMLEventObj *iface, LONG *p)
static
HRESULT
WINAPI
HTMLEventObj_get_button
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLEventObj_get_button
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
PRUint
16
button
=
0
;
UINT
16
button
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
@@ -1049,7 +1049,7 @@ static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *e
...
@@ -1049,7 +1049,7 @@ static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *e
BOOL
prevent_default
=
FALSE
;
BOOL
prevent_default
=
FALSE
;
HTMLInnerWindow
*
window
;
HTMLInnerWindow
*
window
;
HTMLDOMNode
*
node
;
HTMLDOMNode
*
node
;
PRUint
16
node_type
;
UINT
16
node_type
;
nsresult
nsres
;
nsresult
nsres
;
HRESULT
hres
;
HRESULT
hres
;
...
...
dlls/mshtml/htmlnode.c
View file @
cef2907d
...
@@ -373,7 +373,7 @@ static HRESULT WINAPI HTMLDOMNode_Invoke(IHTMLDOMNode *iface, DISPID dispIdMembe
...
@@ -373,7 +373,7 @@ static HRESULT WINAPI HTMLDOMNode_Invoke(IHTMLDOMNode *iface, DISPID dispIdMembe
static
HRESULT
WINAPI
HTMLDOMNode_get_nodeType
(
IHTMLDOMNode
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLDOMNode_get_nodeType
(
IHTMLDOMNode
*
iface
,
LONG
*
p
)
{
{
HTMLDOMNode
*
This
=
impl_from_IHTMLDOMNode
(
iface
);
HTMLDOMNode
*
This
=
impl_from_IHTMLDOMNode
(
iface
);
PRUint
16
type
=
-
1
;
UINT
16
type
=
-
1
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
@@ -1085,7 +1085,7 @@ void HTMLDOMNode_Init(HTMLDocumentNode *doc, HTMLDOMNode *node, nsIDOMNode *nsno
...
@@ -1085,7 +1085,7 @@ void HTMLDOMNode_Init(HTMLDocumentNode *doc, HTMLDOMNode *node, nsIDOMNode *nsno
static
HRESULT
create_node
(
HTMLDocumentNode
*
doc
,
nsIDOMNode
*
nsnode
,
HTMLDOMNode
**
ret
)
static
HRESULT
create_node
(
HTMLDocumentNode
*
doc
,
nsIDOMNode
*
nsnode
,
HTMLDOMNode
**
ret
)
{
{
PRUint
16
node_type
;
UINT
16
node_type
;
HRESULT
hres
;
HRESULT
hres
;
nsIDOMNode_GetNodeType
(
nsnode
,
&
node_type
);
nsIDOMNode_GetNodeType
(
nsnode
,
&
node_type
);
...
...
dlls/mshtml/nsembed.c
View file @
cef2907d
...
@@ -914,7 +914,7 @@ static HRESULT nsnode_to_nsstring_rec(nsIContentSerializer *serializer, nsIDOMNo
...
@@ -914,7 +914,7 @@ static HRESULT nsnode_to_nsstring_rec(nsIContentSerializer *serializer, nsIDOMNo
nsIDOMNodeList
*
node_list
=
NULL
;
nsIDOMNodeList
*
node_list
=
NULL
;
cpp_bool
has_children
=
FALSE
;
cpp_bool
has_children
=
FALSE
;
nsIContent
*
nscontent
;
nsIContent
*
nscontent
;
PRUint
16
type
;
UINT
16
type
;
nsresult
nsres
;
nsresult
nsres
;
nsIDOMNode_HasChildNodes
(
nsnode
,
&
has_children
);
nsIDOMNode_HasChildNodes
(
nsnode
,
&
has_children
);
...
...
dlls/mshtml/nsiface.idl
View file @
cef2907d
...
@@ -44,7 +44,6 @@ typedef nsIIDRef nsCIDRef;
...
@@ -44,7 +44,6 @@ typedef nsIIDRef nsCIDRef;
typedef
WCHAR
PRUnichar
;
typedef
WCHAR
PRUnichar
;
typedef
ULONG
PRUint32
;
typedef
ULONG
PRUint32
;
typedef
WORD
PRUint16
;
typedef
ULONGLONG
PRUint64
;
typedef
ULONGLONG
PRUint64
;
/*
/*
...
@@ -57,7 +56,7 @@ typedef ULONGLONG PRUint64;
...
@@ -57,7 +56,7 @@ typedef ULONGLONG PRUint64;
#
define
int64_t
INT64
#
define
int64_t
INT64
#
define
uint8_t
UINT8
#
define
uint8_t
UINT8
#
define
uint16_t
PRUint
16
#
define
uint16_t
UINT
16
#
define
uint32_t
PRUint32
#
define
uint32_t
PRUint32
#
define
uint64_t
PRUint64
#
define
uint64_t
PRUint64
...
...
dlls/mshtml/txtrange.c
View file @
cef2907d
...
@@ -54,7 +54,7 @@ typedef struct {
...
@@ -54,7 +54,7 @@ typedef struct {
}
wstrbuf_t
;
}
wstrbuf_t
;
typedef
struct
{
typedef
struct
{
PRUint
16
type
;
UINT
16
type
;
nsIDOMNode
*
node
;
nsIDOMNode
*
node
;
PRUint32
off
;
PRUint32
off
;
nsAString
str
;
nsAString
str
;
...
@@ -116,9 +116,9 @@ static int string_to_nscmptype(LPCWSTR str)
...
@@ -116,9 +116,9 @@ static int string_to_nscmptype(LPCWSTR str)
return
-
1
;
return
-
1
;
}
}
static
PRUint
16
get_node_type
(
nsIDOMNode
*
node
)
static
UINT
16
get_node_type
(
nsIDOMNode
*
node
)
{
{
PRUint
16
type
=
0
;
UINT
16
type
=
0
;
if
(
node
)
if
(
node
)
nsIDOMNode_GetNodeType
(
node
,
&
type
);
nsIDOMNode_GetNodeType
(
node
,
&
type
);
...
...
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