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
07e72de9
Commit
07e72de9
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 PRUint32 outside XPCOM C API.
parent
cef2907d
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
66 additions
and
65 deletions
+66
-65
binding.h
dlls/mshtml/binding.h
+1
-1
editor.c
dlls/mshtml/editor.c
+2
-2
htmldoc.c
dlls/mshtml/htmldoc.c
+1
-1
htmlelem.c
dlls/mshtml/htmlelem.c
+2
-2
htmlelemcol.c
dlls/mshtml/htmlelemcol.c
+3
-3
htmlevent.c
dlls/mshtml/htmlevent.c
+1
-1
htmlform.c
dlls/mshtml/htmlform.c
+1
-1
htmlimg.c
dlls/mshtml/htmlimg.c
+2
-2
htmlnode.c
dlls/mshtml/htmlnode.c
+3
-3
htmlselect.c
dlls/mshtml/htmlselect.c
+1
-1
htmlstylesheet.c
dlls/mshtml/htmlstylesheet.c
+2
-2
htmltextnode.c
dlls/mshtml/htmltextnode.c
+1
-1
htmlwindow.c
dlls/mshtml/htmlwindow.c
+4
-4
mshtml_private.h
dlls/mshtml/mshtml_private.h
+3
-3
navigate.c
dlls/mshtml/navigate.c
+6
-6
nsembed.c
dlls/mshtml/nsembed.c
+11
-9
nsiface.idl
dlls/mshtml/nsiface.idl
+1
-2
nsio.c
dlls/mshtml/nsio.c
+15
-15
nsservice.c
dlls/mshtml/nsservice.c
+2
-2
propbag.c
dlls/mshtml/propbag.c
+1
-1
script.c
dlls/mshtml/script.c
+1
-1
txtrange.c
dlls/mshtml/txtrange.c
+2
-2
No files found.
dlls/mshtml/binding.h
View file @
07e72de9
...
...
@@ -43,7 +43,7 @@ typedef struct {
nsIURI
*
referrer
;
char
*
content_type
;
char
*
charset
;
PRUint
32
response_status
;
UINT
32
response_status
;
REQUEST_METHOD
request_method
;
struct
list
response_headers
;
struct
list
request_headers
;
...
...
dlls/mshtml/editor.c
View file @
07e72de9
...
...
@@ -215,7 +215,7 @@ static nsISelection *get_ns_selection(HTMLDocument *This)
static
void
remove_child_attr
(
nsIDOMElement
*
elem
,
LPCWSTR
tag
,
nsAString
*
attr_str
)
{
cpp_bool
has_children
;
PRUint
32
child_cnt
,
i
;
UINT
32
child_cnt
,
i
;
nsIDOMNode
*
child_node
;
nsIDOMNodeList
*
node_list
;
UINT16
node_type
;
...
...
@@ -408,7 +408,7 @@ static void handle_arrow_key(HTMLDocument *This, nsIDOMKeyEvent *event, const ch
void
handle_edit_event
(
HTMLDocument
*
This
,
nsIDOMEvent
*
event
)
{
nsIDOMKeyEvent
*
key_event
;
PRUint
32
code
;
UINT
32
code
;
nsIDOMEvent_QueryInterface
(
event
,
&
IID_nsIDOMKeyEvent
,
(
void
**
)
&
key_event
);
...
...
dlls/mshtml/htmldoc.c
View file @
07e72de9
...
...
@@ -1666,7 +1666,7 @@ static HRESULT dispid_from_elem_name(HTMLDocumentNode *This, BSTR name, DISPID *
{
nsIDOMNodeList
*
node_list
;
nsAString
name_str
;
PRUint
32
len
;
UINT
32
len
;
unsigned
i
;
nsresult
nsres
;
...
...
dlls/mshtml/htmlelem.c
View file @
07e72de9
...
...
@@ -1649,7 +1649,7 @@ HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *eve
nsres
=
nsIDOMEvent_QueryInterface
(
event
,
&
IID_nsIDOMKeyEvent
,
(
void
**
)
&
key_event
);
if
(
NS_SUCCEEDED
(
nsres
))
{
PRUint
32
code
=
0
;
UINT
32
code
=
0
;
nsIDOMKeyEvent_GetKeyCode
(
key_event
,
&
code
);
...
...
@@ -1716,7 +1716,7 @@ static HRESULT HTMLElement_populate_props(DispatchEx *dispex)
BSTR
name
;
VARIANT
value
;
unsigned
i
;
PRUint
32
len
;
UINT
32
len
;
DISPID
id
;
nsresult
nsres
;
HRESULT
hres
;
...
...
dlls/mshtml/htmlelemcol.c
View file @
07e72de9
...
...
@@ -496,7 +496,7 @@ static void create_all_list(HTMLDocumentNode *doc, HTMLDOMNode *elem, elem_vecto
{
nsIDOMNodeList
*
nsnode_list
;
nsIDOMNode
*
iter
;
PRUint
32
list_len
=
0
,
i
;
UINT
32
list_len
=
0
,
i
;
nsresult
nsres
;
HRESULT
hres
;
...
...
@@ -550,7 +550,7 @@ IHTMLElementCollection *create_all_collection(HTMLDOMNode *node, BOOL include_ro
IHTMLElementCollection
*
create_collection_from_nodelist
(
HTMLDocumentNode
*
doc
,
nsIDOMNodeList
*
nslist
)
{
PRUint
32
length
=
0
,
i
;
UINT
32
length
=
0
,
i
;
HTMLDOMNode
*
node
;
elem_vector_t
buf
;
HRESULT
hres
;
...
...
@@ -585,7 +585,7 @@ IHTMLElementCollection *create_collection_from_nodelist(HTMLDocumentNode *doc, n
IHTMLElementCollection
*
create_collection_from_htmlcol
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLCollection
*
nscol
)
{
PRUint
32
length
=
0
,
i
;
UINT
32
length
=
0
,
i
;
elem_vector_t
buf
;
HTMLDOMNode
*
node
;
HRESULT
hres
=
S_OK
;
...
...
dlls/mshtml/htmlevent.c
View file @
07e72de9
...
...
@@ -542,7 +542,7 @@ static HRESULT WINAPI HTMLEventObj_put_keyCode(IHTMLEventObj *iface, LONG v)
static
HRESULT
WINAPI
HTMLEventObj_get_keyCode
(
IHTMLEventObj
*
iface
,
LONG
*
p
)
{
HTMLEventObj
*
This
=
impl_from_IHTMLEventObj
(
iface
);
PRUint
32
key_code
=
0
;
UINT
32
key_code
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmlform.c
View file @
07e72de9
...
...
@@ -510,7 +510,7 @@ static HRESULT HTMLFormElement_get_dispid(HTMLDOMNode *iface,
HTMLFormElement
*
This
=
impl_from_HTMLDOMNode
(
iface
);
nsIDOMHTMLCollection
*
elements
;
nsAString
nsname
,
nsstr
;
PRUint
32
len
,
i
;
UINT
32
len
,
i
;
nsresult
nsres
;
HRESULT
hres
=
DISP_E_UNKNOWNNAME
;
...
...
dlls/mshtml/htmlimg.c
View file @
07e72de9
...
...
@@ -494,7 +494,7 @@ static HRESULT WINAPI HTMLImgElement_put_width(IHTMLImgElement *iface, LONG v)
static
HRESULT
WINAPI
HTMLImgElement_get_width
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
PRUint
32
width
;
UINT
32
width
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -528,7 +528,7 @@ static HRESULT WINAPI HTMLImgElement_put_height(IHTMLImgElement *iface, LONG v)
static
HRESULT
WINAPI
HTMLImgElement_get_height
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
PRUint
32
height
;
UINT
32
height
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmlnode.c
View file @
07e72de9
...
...
@@ -137,7 +137,7 @@ static HRESULT WINAPI HTMLDOMChildrenCollection_Invoke(IHTMLDOMChildrenCollectio
static
HRESULT
WINAPI
HTMLDOMChildrenCollection_get_length
(
IHTMLDOMChildrenCollection
*
iface
,
LONG
*
p
)
{
HTMLDOMChildrenCollection
*
This
=
impl_from_IHTMLDOMChildrenCollection
(
iface
);
PRUint
32
length
=
0
;
UINT
32
length
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -158,7 +158,7 @@ static HRESULT WINAPI HTMLDOMChildrenCollection_item(IHTMLDOMChildrenCollection
HTMLDOMChildrenCollection
*
This
=
impl_from_IHTMLDOMChildrenCollection
(
iface
);
nsIDOMNode
*
nsnode
=
NULL
;
HTMLDOMNode
*
node
;
PRUint
32
length
=
0
;
UINT
32
length
=
0
;
nsresult
nsres
;
HRESULT
hres
;
...
...
@@ -212,7 +212,7 @@ static HRESULT HTMLDOMChildrenCollection_get_dispid(DispatchEx *dispex, BSTR nam
HTMLDOMChildrenCollection
*
This
=
impl_from_DispatchEx
(
dispex
);
WCHAR
*
ptr
;
DWORD
idx
=
0
;
PRUint
32
len
=
0
;
UINT
32
len
=
0
;
for
(
ptr
=
name
;
*
ptr
&&
isdigitW
(
*
ptr
);
ptr
++
)
idx
=
idx
*
10
+
(
*
ptr
-
'0'
);
...
...
dlls/mshtml/htmlselect.c
View file @
07e72de9
...
...
@@ -415,7 +415,7 @@ static HRESULT WINAPI HTMLSelectElement_put_length(IHTMLSelectElement *iface, LO
static
HRESULT
WINAPI
HTMLSelectElement_get_length
(
IHTMLSelectElement
*
iface
,
LONG
*
p
)
{
HTMLSelectElement
*
This
=
impl_from_IHTMLSelectElement
(
iface
);
PRUint
32
length
=
0
;
UINT
32
length
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmlstylesheet.c
View file @
07e72de9
...
...
@@ -148,7 +148,7 @@ static HRESULT WINAPI HTMLStyleSheetRulesCollection_get_length(IHTMLStyleSheetRu
LONG
*
p
)
{
HTMLStyleSheetRulesCollection
*
This
=
impl_from_IHTMLStyleSheetRulesCollection
(
iface
);
PRUint
32
len
=
0
;
UINT
32
len
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
@@ -294,7 +294,7 @@ static HRESULT WINAPI HTMLStyleSheetsCollection_get_length(IHTMLStyleSheetsColle
LONG
*
p
)
{
HTMLStyleSheetsCollection
*
This
=
impl_from_IHTMLStyleSheetsCollection
(
iface
);
PRUint
32
len
=
0
;
UINT
32
len
=
0
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmltextnode.c
View file @
07e72de9
...
...
@@ -122,7 +122,7 @@ static HRESULT WINAPI HTMLDOMTextNode_toString(IHTMLDOMTextNode *iface, BSTR *St
static
HRESULT
WINAPI
HTMLDOMTextNode_get_length
(
IHTMLDOMTextNode
*
iface
,
LONG
*
p
)
{
HTMLDOMTextNode
*
This
=
impl_from_IHTMLDOMTextNode
(
iface
);
PRUint
32
length
=
0
;
UINT
32
length
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmlwindow.c
View file @
07e72de9
...
...
@@ -323,11 +323,11 @@ static HRESULT WINAPI HTMLWindow2_Invoke(IHTMLWindow2 *iface, DISPID dispIdMembe
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
}
static
HRESULT
get_frame_by_index
(
HTMLOuterWindow
*
This
,
PRUint
32
index
,
HTMLOuterWindow
**
ret
)
static
HRESULT
get_frame_by_index
(
HTMLOuterWindow
*
This
,
UINT
32
index
,
HTMLOuterWindow
**
ret
)
{
nsIDOMWindowCollection
*
nsframes
;
nsIDOMWindow
*
nswindow
;
PRUint
32
length
;
UINT
32
length
;
nsresult
nsres
;
nsres
=
nsIDOMWindow_GetFrames
(
This
->
nswindow
,
&
nsframes
);
...
...
@@ -363,7 +363,7 @@ HRESULT get_frame_by_name(HTMLOuterWindow *This, const WCHAR *name, BOOL deep, H
HTMLOuterWindow
*
window
=
NULL
;
nsIDOMWindow
*
nswindow
;
nsAString
name_str
;
PRUint
32
length
,
i
;
UINT
32
length
,
i
;
nsresult
nsres
;
HRESULT
hres
=
S_OK
;
...
...
@@ -476,7 +476,7 @@ static HRESULT WINAPI HTMLWindow2_get_length(IHTMLWindow2 *iface, LONG *p)
{
HTMLWindow
*
This
=
impl_from_IHTMLWindow2
(
iface
);
nsIDOMWindowCollection
*
nscollection
;
PRUint
32
length
;
UINT
32
length
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/mshtml_private.h
View file @
07e72de9
...
...
@@ -39,7 +39,7 @@
#include "nsiface.h"
#define NS_ERROR_GENERATE_FAILURE(module,code) \
((nsresult) (((
PRUint32)(1<<31)) | ((PRUint32)(module+0x45)<<16) | ((PRUint
32)(code))))
((nsresult) (((
UINT32)(1<<31)) | ((UINT32)(module+0x45)<<16) | ((UINT
32)(code))))
#define NS_OK ((nsresult)0x00000000L)
#define NS_ERROR_FAILURE ((nsresult)0x80004005L)
...
...
@@ -793,13 +793,13 @@ void nsfree(void*) DECLSPEC_HIDDEN;
void
nsACString_InitDepend
(
nsACString
*
,
const
char
*
)
DECLSPEC_HIDDEN
;
void
nsACString_SetData
(
nsACString
*
,
const
char
*
)
DECLSPEC_HIDDEN
;
PRUint
32
nsACString_GetData
(
const
nsACString
*
,
const
char
**
)
DECLSPEC_HIDDEN
;
UINT
32
nsACString_GetData
(
const
nsACString
*
,
const
char
**
)
DECLSPEC_HIDDEN
;
void
nsACString_Finish
(
nsACString
*
)
DECLSPEC_HIDDEN
;
BOOL
nsAString_Init
(
nsAString
*
,
const
PRUnichar
*
)
DECLSPEC_HIDDEN
;
void
nsAString_InitDepend
(
nsAString
*
,
const
PRUnichar
*
)
DECLSPEC_HIDDEN
;
void
nsAString_SetData
(
nsAString
*
,
const
PRUnichar
*
)
DECLSPEC_HIDDEN
;
PRUint
32
nsAString_GetData
(
const
nsAString
*
,
const
PRUnichar
**
)
DECLSPEC_HIDDEN
;
UINT
32
nsAString_GetData
(
const
nsAString
*
,
const
PRUnichar
**
)
DECLSPEC_HIDDEN
;
void
nsAString_Finish
(
nsAString
*
)
DECLSPEC_HIDDEN
;
HRESULT
return_nsstr
(
nsresult
,
nsAString
*
,
BSTR
*
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/navigate.c
View file @
07e72de9
...
...
@@ -145,8 +145,8 @@ static nsresult NSAPI nsInputStream_Available(nsIInputStream *iface, PRUint64 *_
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsInputStream_Read
(
nsIInputStream
*
iface
,
char
*
aBuf
,
PRUint
32
aCount
,
PRUint
32
*
_retval
)
static
nsresult
NSAPI
nsInputStream_Read
(
nsIInputStream
*
iface
,
char
*
aBuf
,
UINT
32
aCount
,
UINT
32
*
_retval
)
{
nsProtocolStream
*
This
=
impl_from_nsIInputStream
(
iface
);
DWORD
read
=
aCount
;
...
...
@@ -168,11 +168,11 @@ static nsresult NSAPI nsInputStream_Read(nsIInputStream *iface, char *aBuf, PRUi
}
static
nsresult
NSAPI
nsInputStream_ReadSegments
(
nsIInputStream
*
iface
,
nsresult
(
WINAPI
*
aWriter
)(
nsIInputStream
*
,
void
*
,
const
char
*
,
PRUint32
,
PRUint32
,
PRUint
32
*
),
void
*
aClousure
,
PRUint32
aCount
,
PRUint
32
*
_retval
)
nsresult
(
WINAPI
*
aWriter
)(
nsIInputStream
*
,
void
*
,
const
char
*
,
UINT32
,
UINT32
,
UINT
32
*
),
void
*
aClousure
,
UINT32
aCount
,
UINT
32
*
_retval
)
{
nsProtocolStream
*
This
=
impl_from_nsIInputStream
(
iface
);
PRUint
32
written
=
0
;
UINT
32
written
=
0
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p %p %d %p)
\n
"
,
This
,
aWriter
,
aClousure
,
aCount
,
_retval
);
...
...
@@ -1002,7 +1002,7 @@ HRESULT bind_mon_to_wstr(HTMLInnerWindow *window, IMoniker *mon, WCHAR **ret)
static
HRESULT
read_post_data_stream
(
nsChannelBSC
*
This
,
nsChannel
*
nschannel
)
{
PRUint64
available
=
0
;
PRUint
32
data_len
=
0
;
UINT
32
data_len
=
0
;
char
*
data
,
*
post_data
;
nsresult
nsres
;
HRESULT
hres
=
S_OK
;
...
...
dlls/mshtml/nsembed.c
View file @
07e72de9
...
...
@@ -53,6 +53,8 @@ WINE_DECLARE_DEBUG_CHANNEL(gecko);
#define NS_STRING_CONTAINER_INIT_DEPEND 0x0002
#define NS_CSTRING_CONTAINER_INIT_DEPEND 0x0002
typedef
UINT32
PRUint32
;
static
nsresult
(
CDECL
*
NS_InitXPCOM2
)(
nsIServiceManager
**
,
void
*
,
void
*
);
static
nsresult
(
CDECL
*
NS_ShutdownXPCOM
)(
nsIServiceManager
*
);
static
nsresult
(
CDECL
*
NS_GetComponentRegistrar
)(
nsIComponentRegistrar
**
);
...
...
@@ -798,7 +800,7 @@ void nsACString_SetData(nsACString *str, const char *data)
NS_CStringSetData
(
str
,
data
,
PR_UINT32_MAX
);
}
PRUint
32
nsACString_GetData
(
const
nsACString
*
str
,
const
char
**
data
)
UINT
32
nsACString_GetData
(
const
nsACString
*
str
,
const
char
**
data
)
{
return
NS_CStringGetData
(
str
,
data
,
NULL
);
}
...
...
@@ -827,7 +829,7 @@ void nsAString_SetData(nsAString *str, const PRUnichar *data)
NS_StringSetData
(
str
,
data
,
PR_UINT32_MAX
);
}
PRUint
32
nsAString_GetData
(
const
nsAString
*
str
,
const
PRUnichar
**
data
)
UINT
32
nsAString_GetData
(
const
nsAString
*
str
,
const
PRUnichar
**
data
)
{
return
NS_StringGetData
(
str
,
data
,
NULL
);
}
...
...
@@ -960,7 +962,7 @@ static HRESULT nsnode_to_nsstring_rec(nsIContentSerializer *serializer, nsIDOMNo
}
if
(
has_children
)
{
PRUint
32
child_cnt
,
i
;
UINT
32
child_cnt
,
i
;
nsIDOMNode
*
child_node
;
nsIDOMNode_GetChildNodes
(
nsnode
,
&
node_list
);
...
...
@@ -1273,7 +1275,7 @@ static nsrefcnt NSAPI nsWebBrowserChrome_Release(nsIWebBrowserChrome *iface)
}
static
nsresult
NSAPI
nsWebBrowserChrome_SetStatus
(
nsIWebBrowserChrome
*
iface
,
PRUint
32
statusType
,
const
PRUnichar
*
status
)
UINT
32
statusType
,
const
PRUnichar
*
status
)
{
NSContainer
*
This
=
impl_from_nsIWebBrowserChrome
(
iface
);
TRACE
(
"(%p)->(%d %s)
\n
"
,
This
,
statusType
,
debugstr_w
(
status
));
...
...
@@ -1310,7 +1312,7 @@ static nsresult NSAPI nsWebBrowserChrome_SetWebBrowser(nsIWebBrowserChrome *ifac
}
static
nsresult
NSAPI
nsWebBrowserChrome_GetChromeFlags
(
nsIWebBrowserChrome
*
iface
,
PRUint
32
*
aChromeFlags
)
UINT
32
*
aChromeFlags
)
{
NSContainer
*
This
=
impl_from_nsIWebBrowserChrome
(
iface
);
WARN
(
"(%p)->(%p)
\n
"
,
This
,
aChromeFlags
);
...
...
@@ -1318,7 +1320,7 @@ static nsresult NSAPI nsWebBrowserChrome_GetChromeFlags(nsIWebBrowserChrome *ifa
}
static
nsresult
NSAPI
nsWebBrowserChrome_SetChromeFlags
(
nsIWebBrowserChrome
*
iface
,
PRUint
32
aChromeFlags
)
UINT
32
aChromeFlags
)
{
NSContainer
*
This
=
impl_from_nsIWebBrowserChrome
(
iface
);
WARN
(
"(%p)->(%08x)
\n
"
,
This
,
aChromeFlags
);
...
...
@@ -1407,7 +1409,7 @@ static nsrefcnt NSAPI nsContextMenuListener_Release(nsIContextMenuListener *ifac
}
static
nsresult
NSAPI
nsContextMenuListener_OnShowContextMenu
(
nsIContextMenuListener
*
iface
,
PRUint
32
aContextFlags
,
nsIDOMEvent
*
aEvent
,
nsIDOMNode
*
aNode
)
UINT
32
aContextFlags
,
nsIDOMEvent
*
aEvent
,
nsIDOMNode
*
aNode
)
{
NSContainer
*
This
=
impl_from_nsIContextMenuListener
(
iface
);
nsIDOMMouseEvent
*
event
;
...
...
@@ -1667,7 +1669,7 @@ static nsrefcnt NSAPI nsEmbeddingSiteWindow_Release(nsIEmbeddingSiteWindow *ifac
}
static
nsresult
NSAPI
nsEmbeddingSiteWindow_SetDimensions
(
nsIEmbeddingSiteWindow
*
iface
,
PRUint
32
flags
,
LONG
x
,
LONG
y
,
LONG
cx
,
LONG
cy
)
UINT
32
flags
,
LONG
x
,
LONG
y
,
LONG
cx
,
LONG
cy
)
{
NSContainer
*
This
=
impl_from_nsIEmbeddingSiteWindow
(
iface
);
WARN
(
"(%p)->(%08x %d %d %d %d)
\n
"
,
This
,
flags
,
x
,
y
,
cx
,
cy
);
...
...
@@ -1675,7 +1677,7 @@ static nsresult NSAPI nsEmbeddingSiteWindow_SetDimensions(nsIEmbeddingSiteWindow
}
static
nsresult
NSAPI
nsEmbeddingSiteWindow_GetDimensions
(
nsIEmbeddingSiteWindow
*
iface
,
PRUint
32
flags
,
LONG
*
x
,
LONG
*
y
,
LONG
*
cx
,
LONG
*
cy
)
UINT
32
flags
,
LONG
*
x
,
LONG
*
y
,
LONG
*
cx
,
LONG
*
cy
)
{
NSContainer
*
This
=
impl_from_nsIEmbeddingSiteWindow
(
iface
);
WARN
(
"(%p)->(%08x %p %p %p %p)
\n
"
,
This
,
flags
,
x
,
y
,
cx
,
cy
);
...
...
dlls/mshtml/nsiface.idl
View file @
07e72de9
...
...
@@ -43,7 +43,6 @@ typedef REFIID nsIIDRef;
typedef
nsIIDRef
nsCIDRef
;
typedef
WCHAR
PRUnichar
;
typedef
ULONG
PRUint32
;
typedef
ULONGLONG
PRUint64
;
/*
...
...
@@ -57,7 +56,7 @@ typedef ULONGLONG PRUint64;
#
define
uint8_t
UINT8
#
define
uint16_t
UINT16
#
define
uint32_t
PRUint
32
#
define
uint32_t
UINT
32
#
define
uint64_t
PRUint64
typedef
uint64_t
DOMTimeStamp
;
...
...
dlls/mshtml/nsio.c
View file @
07e72de9
...
...
@@ -1127,14 +1127,14 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
return
nsres
;
}
static
nsresult
NSAPI
nsChannel_GetContentDisposition
(
nsIHttpChannel
*
iface
,
PRUint
32
*
aContentDisposition
)
static
nsresult
NSAPI
nsChannel_GetContentDisposition
(
nsIHttpChannel
*
iface
,
UINT
32
*
aContentDisposition
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aContentDisposition
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_SetContentDisposition
(
nsIHttpChannel
*
iface
,
PRUint
32
aContentDisposition
)
static
nsresult
NSAPI
nsChannel_SetContentDisposition
(
nsIHttpChannel
*
iface
,
UINT
32
aContentDisposition
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
FIXME
(
"(%p)->(%u)
\n
"
,
This
,
aContentDisposition
);
...
...
@@ -1270,7 +1270,7 @@ static nsresult NSAPI nsChannel_SetAllowPipelining(nsIHttpChannel *iface, cpp_bo
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_GetRedirectionLimit
(
nsIHttpChannel
*
iface
,
PRUint
32
*
aRedirectionLimit
)
static
nsresult
NSAPI
nsChannel_GetRedirectionLimit
(
nsIHttpChannel
*
iface
,
UINT
32
*
aRedirectionLimit
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1279,7 +1279,7 @@ static nsresult NSAPI nsChannel_GetRedirectionLimit(nsIHttpChannel *iface, PRUin
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_SetRedirectionLimit
(
nsIHttpChannel
*
iface
,
PRUint
32
aRedirectionLimit
)
static
nsresult
NSAPI
nsChannel_SetRedirectionLimit
(
nsIHttpChannel
*
iface
,
UINT
32
aRedirectionLimit
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1288,7 +1288,7 @@ static nsresult NSAPI nsChannel_SetRedirectionLimit(nsIHttpChannel *iface, PRUin
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_GetResponseStatus
(
nsIHttpChannel
*
iface
,
PRUint
32
*
aResponseStatus
)
static
nsresult
NSAPI
nsChannel_GetResponseStatus
(
nsIHttpChannel
*
iface
,
UINT
32
*
aResponseStatus
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1571,7 +1571,7 @@ static nsresult NSAPI nsHttpChannelInternal_SetDocumentURI(nsIHttpChannelInterna
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetRequestVersion
(
nsIHttpChannelInternal
*
iface
,
PRUint32
*
major
,
PRUint
32
*
minor
)
static
nsresult
NSAPI
nsHttpChannelInternal_GetRequestVersion
(
nsIHttpChannelInternal
*
iface
,
UINT32
*
major
,
UINT
32
*
minor
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
...
...
@@ -1580,7 +1580,7 @@ static nsresult NSAPI nsHttpChannelInternal_GetRequestVersion(nsIHttpChannelInte
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetResponseVersion
(
nsIHttpChannelInternal
*
iface
,
PRUint32
*
major
,
PRUint
32
*
minor
)
static
nsresult
NSAPI
nsHttpChannelInternal_GetResponseVersion
(
nsIHttpChannelInternal
*
iface
,
UINT32
*
major
,
UINT
32
*
minor
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
...
...
@@ -2862,7 +2862,7 @@ static nsresult NSAPI nsStandardURL_SetMutable(nsIStandardURL *iface, cpp_bool a
return
NS_OK
;
}
static
nsresult
NSAPI
nsStandardURL_Init
(
nsIStandardURL
*
iface
,
PRUint
32
aUrlType
,
LONG
aDefaultPort
,
static
nsresult
NSAPI
nsStandardURL_Init
(
nsIStandardURL
*
iface
,
UINT
32
aUrlType
,
LONG
aDefaultPort
,
const
nsACString
*
aSpec
,
const
char
*
aOriginCharset
,
nsIURI
*
aBaseURI
)
{
nsWineURI
*
This
=
impl_from_nsIStandardURL
(
iface
);
...
...
@@ -3109,7 +3109,7 @@ static nsresult NSAPI nsProtocolHandler_GetDefaultPort(nsIProtocolHandler *iface
}
static
nsresult
NSAPI
nsProtocolHandler_GetProtocolFlags
(
nsIProtocolHandler
*
iface
,
PRUint
32
*
aProtocolFlags
)
UINT
32
*
aProtocolFlags
)
{
nsProtocolHandler
*
This
=
impl_from_nsIProtocolHandler
(
iface
);
...
...
@@ -3220,7 +3220,7 @@ static nsresult NSAPI nsIOService_GetProtocolHandler(nsIIOService *iface, const
}
static
nsresult
NSAPI
nsIOService_GetProtocolFlags
(
nsIIOService
*
iface
,
const
char
*
aScheme
,
PRUint
32
*
_retval
)
UINT
32
*
_retval
)
{
TRACE
(
"(%s %p)
\n
"
,
debugstr_a
(
aScheme
),
_retval
);
return
nsIIOService_GetProtocolFlags
(
nsio
,
aScheme
,
_retval
);
...
...
@@ -3415,14 +3415,14 @@ static nsresult NSAPI nsNetUtil_ParseContentType(nsINetUtil *iface, const nsACSt
return
nsINetUtil_ParseContentType
(
net_util
,
aTypeHeader
,
aCharset
,
aHadCharset
,
aContentType
);
}
static
nsresult
NSAPI
nsNetUtil_ProtocolHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
PRUint
32
aFlags
,
cpp_bool
*
_retval
)
static
nsresult
NSAPI
nsNetUtil_ProtocolHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
UINT
32
aFlags
,
cpp_bool
*
_retval
)
{
TRACE
(
"()
\n
"
);
return
nsINetUtil_ProtocolHasFlags
(
net_util
,
aURI
,
aFlags
,
_retval
);
}
static
nsresult
NSAPI
nsNetUtil_URIChainHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
PRUint
32
aFlags
,
cpp_bool
*
_retval
)
static
nsresult
NSAPI
nsNetUtil_URIChainHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
UINT
32
aFlags
,
cpp_bool
*
_retval
)
{
TRACE
(
"(%p %08x %p)
\n
"
,
aURI
,
aFlags
,
_retval
);
...
...
@@ -3449,14 +3449,14 @@ static nsresult NSAPI nsNetUtil_NewSimpleNestedURI(nsINetUtil *iface, nsIURI *aU
}
static
nsresult
NSAPI
nsNetUtil_EscapeString
(
nsINetUtil
*
iface
,
const
nsACString
*
aString
,
PRUint
32
aEscapeType
,
nsACString
*
_retval
)
UINT
32
aEscapeType
,
nsACString
*
_retval
)
{
TRACE
(
"(%s %x %p)
\n
"
,
debugstr_nsacstr
(
aString
),
aEscapeType
,
_retval
);
return
nsINetUtil_EscapeString
(
net_util
,
aString
,
aEscapeType
,
_retval
);
}
static
nsresult
NSAPI
nsNetUtil_EscapeURL
(
nsINetUtil
*
iface
,
const
nsACString
*
aStr
,
PRUint
32
aFlags
,
static
nsresult
NSAPI
nsNetUtil_EscapeURL
(
nsINetUtil
*
iface
,
const
nsACString
*
aStr
,
UINT
32
aFlags
,
nsACString
*
_retval
)
{
TRACE
(
"(%s %08x %p)
\n
"
,
debugstr_nsacstr
(
aStr
),
aFlags
,
_retval
);
...
...
@@ -3465,7 +3465,7 @@ static nsresult NSAPI nsNetUtil_EscapeURL(nsINetUtil *iface, const nsACString *a
}
static
nsresult
NSAPI
nsNetUtil_UnescapeString
(
nsINetUtil
*
iface
,
const
nsACString
*
aStr
,
PRUint
32
aFlags
,
nsACString
*
_retval
)
UINT
32
aFlags
,
nsACString
*
_retval
)
{
TRACE
(
"(%s %08x %p)
\n
"
,
debugstr_nsacstr
(
aStr
),
aFlags
,
_retval
);
...
...
dlls/mshtml/nsservice.c
View file @
07e72de9
...
...
@@ -124,7 +124,7 @@ static nsresult NSAPI nsPromptService_ConfirmCheck(nsIPromptService *iface,
static
nsresult
NSAPI
nsPromptService_ConfirmEx
(
nsIPromptService
*
iface
,
nsIDOMWindow
*
aParent
,
const
PRUnichar
*
aDialogTitle
,
const
PRUnichar
*
aText
,
PRUint
32
aButtonFlags
,
const
PRUnichar
*
aButton0Title
,
const
PRUnichar
*
aText
,
UINT
32
aButtonFlags
,
const
PRUnichar
*
aButton0Title
,
const
PRUnichar
*
aButton1Title
,
const
PRUnichar
*
aButton2Title
,
const
PRUnichar
*
aCheckMsg
,
cpp_bool
*
aCheckState
,
LONG
*
_retval
)
{
...
...
@@ -185,7 +185,7 @@ static nsresult NSAPI nsPromptService_PromptPassword(nsIPromptService *iface,
static
nsresult
NSAPI
nsPromptService_Select
(
nsIPromptService
*
iface
,
nsIDOMWindow
*
aParent
,
const
PRUnichar
*
aDialogTitle
,
const
PRUnichar
*
aText
,
PRUint
32
aCount
,
const
PRUnichar
**
aSelectList
,
const
PRUnichar
*
aText
,
UINT
32
aCount
,
const
PRUnichar
**
aSelectList
,
LONG
*
aOutSelection
,
cpp_bool
*
_retval
)
{
FIXME
(
"(%p %s %s %d %p %p %p)
\n
"
,
aParent
,
debugstr_w
(
aDialogTitle
),
...
...
dlls/mshtml/propbag.c
View file @
07e72de9
...
...
@@ -273,7 +273,7 @@ static HRESULT fill_props(nsIDOMHTMLElement *nselem, PropertyBag *prop_bag)
nsIDOMHTMLParamElement
*
nsparam
;
nsAString
name_str
,
value_str
;
nsIDOMNodeList
*
params
;
PRUint
32
length
,
i
;
UINT
32
length
,
i
;
nsIDOMNode
*
nsnode
;
nsresult
nsres
;
HRESULT
hres
=
S_OK
;
...
...
dlls/mshtml/script.c
View file @
07e72de9
...
...
@@ -1173,7 +1173,7 @@ void bind_event_scripts(HTMLDocumentNode *doc)
nsIDOMNode
*
script_node
;
nsAString
selector_str
;
IDispatch
*
event_disp
;
PRUint
32
length
,
i
;
UINT
32
length
,
i
;
WCHAR
*
event
;
nsresult
nsres
;
HRESULT
hres
;
...
...
dlls/mshtml/txtrange.c
View file @
07e72de9
...
...
@@ -56,7 +56,7 @@ typedef struct {
typedef
struct
{
UINT16
type
;
nsIDOMNode
*
node
;
PRUint
32
off
;
UINT
32
off
;
nsAString
str
;
const
PRUnichar
*
p
;
}
dompos_t
;
...
...
@@ -377,7 +377,7 @@ static nsIDOMNode *prev_node(HTMLTxtRange *This, nsIDOMNode *iter)
return
NULL
;
}
static
nsIDOMNode
*
get_child_node
(
nsIDOMNode
*
node
,
PRUint
32
off
)
static
nsIDOMNode
*
get_child_node
(
nsIDOMNode
*
node
,
UINT
32
off
)
{
nsIDOMNodeList
*
node_list
;
nsIDOMNode
*
ret
=
NULL
;
...
...
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