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
fb9620f1
Commit
fb9620f1
authored
May 17, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
May 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Wine Gecko 2.21 release.
parent
d3c3a38f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
16 deletions
+58
-16
addons.c
dlls/appwiz.cpl/addons.c
+3
-3
htmlelem2.c
dlls/mshtml/htmlelem2.c
+4
-4
nsiface.idl
dlls/mshtml/nsiface.idl
+0
-0
nsio.c
dlls/mshtml/nsio.c
+47
-5
propbag.c
dlls/mshtml/propbag.c
+4
-4
No files found.
dlls/appwiz.cpl/addons.c
View file @
fb9620f1
...
...
@@ -53,14 +53,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
appwizcpl
);
#define GECKO_VERSION "
1.9
"
#define GECKO_VERSION "
2.21
"
#ifdef __i386__
#define ARCH_STRING "x86"
#define GECKO_SHA "
d2553224848a926eacfa8685662ff1d7e8be2428
"
#define GECKO_SHA "
a514fc4d53783a586c7880a676c415695fe934a3
"
#elif defined(__x86_64__)
#define ARCH_STRING "x86_64"
#define GECKO_SHA "c
7cd0994f89dd15b36ce8dacaa33d0ec47c407d1
"
#define GECKO_SHA "c
6f249ff2c6eb7dfe423ef246aba54e1a3b26934
"
#else
#define ARCH_STRING ""
#define GECKO_SHA "???"
...
...
dlls/mshtml/htmlelem2.c
View file @
fb9620f1
...
...
@@ -1254,22 +1254,22 @@ static HRESULT WINAPI HTMLElement2_getElementsByTagName(IHTMLElement2 *iface, BS
IHTMLElementCollection
**
pelColl
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement2
(
iface
);
nsIDOM
NodeList
*
nslist
;
nsIDOM
HTMLCollection
*
nscol
;
nsAString
tag_str
;
nsresult
nsres
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
v
),
pelColl
);
nsAString_InitDepend
(
&
tag_str
,
v
);
nsres
=
nsIDOMHTMLElement_GetElementsByTagName
(
This
->
nselem
,
&
tag_str
,
&
ns
list
);
nsres
=
nsIDOMHTMLElement_GetElementsByTagName
(
This
->
nselem
,
&
tag_str
,
&
ns
col
);
nsAString_Finish
(
&
tag_str
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetElementByTagName failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
*
pelColl
=
create_collection_from_
nodelist
(
This
->
node
.
doc
,
nslist
);
nsIDOM
NodeList_Release
(
nslist
);
*
pelColl
=
create_collection_from_
htmlcol
(
This
->
node
.
doc
,
nscol
);
nsIDOM
HTMLCollection_Release
(
nscol
);
return
S_OK
;
}
...
...
dlls/mshtml/nsiface.idl
View file @
fb9620f1
This diff is collapsed.
Click to expand it.
dlls/mshtml/nsio.c
View file @
fb9620f1
...
...
@@ -834,7 +834,7 @@ static nsresult NSAPI nsChannel_SetContentCharset(nsIHttpChannel *iface,
return
NS_OK
;
}
static
nsresult
NSAPI
nsChannel_GetContentLength
(
nsIHttpChannel
*
iface
,
LONG
*
aContentLength
)
static
nsresult
NSAPI
nsChannel_GetContentLength
(
nsIHttpChannel
*
iface
,
INT64
*
aContentLength
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -843,11 +843,11 @@ static nsresult NSAPI nsChannel_GetContentLength(nsIHttpChannel *iface, LONG *aC
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_SetContentLength
(
nsIHttpChannel
*
iface
,
LONG
aContentLength
)
static
nsresult
NSAPI
nsChannel_SetContentLength
(
nsIHttpChannel
*
iface
,
INT64
aContentLength
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
FIXME
(
"(%p)->(%
d)
\n
"
,
This
,
aContentLength
);
FIXME
(
"(%p)->(%
s)
\n
"
,
This
,
wine_dbgstr_longlong
(
aContentLength
)
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
...
...
@@ -1382,6 +1382,15 @@ static nsresult NSAPI nsChannel_IsNoCacheResponse(nsIHttpChannel *iface, cpp_boo
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_RedirectTo
(
nsIHttpChannel
*
iface
,
nsIURI
*
aNewURI
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aNewURI
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
const
nsIHttpChannelVtbl
nsChannelVtbl
=
{
nsChannel_QueryInterface
,
nsChannel_AddRef
,
...
...
@@ -1435,7 +1444,8 @@ static const nsIHttpChannelVtbl nsChannelVtbl = {
nsChannel_SetResponseHeader
,
nsChannel_VisitResponseHeaders
,
nsChannel_IsNoStoreResponse
,
nsChannel_IsNoCacheResponse
nsChannel_IsNoCacheResponse
,
nsChannel_RedirectTo
};
static
inline
nsChannel
*
impl_from_nsIUploadChannel
(
nsIUploadChannel
*
iface
)
...
...
@@ -1719,6 +1729,34 @@ static nsresult NSAPI nsHttpChannelInternal_SetAllowSpdy(nsIHttpChannelInternal
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetLoadAsBlocking
(
nsIHttpChannelInternal
*
iface
,
cpp_bool
*
aLoadAsBlocking
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aLoadAsBlocking
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_SetLoadAsBlocking
(
nsIHttpChannelInternal
*
iface
,
cpp_bool
aLoadAsBlocking
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
aLoadAsBlocking
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetLoadUnblocked
(
nsIHttpChannelInternal
*
iface
,
cpp_bool
*
aLoadUnblocked
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aLoadUnblocked
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_SetLoadUnblocked
(
nsIHttpChannelInternal
*
iface
,
cpp_bool
aLoadUnblocked
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
aLoadUnblocked
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
const
nsIHttpChannelInternalVtbl
nsHttpChannelInternalVtbl
=
{
nsHttpChannelInternal_QueryInterface
,
nsHttpChannelInternal_AddRef
,
...
...
@@ -1741,7 +1779,11 @@ static const nsIHttpChannelInternalVtbl nsHttpChannelInternalVtbl = {
nsHttpChannelInternal_SetCacheKeysRedirectChain
,
nsHttpChannelInternal_HTTPUpgrade
,
nsHttpChannelInternal_GetAllowSpdy
,
nsHttpChannelInternal_SetAllowSpdy
nsHttpChannelInternal_SetAllowSpdy
,
nsHttpChannelInternal_GetLoadAsBlocking
,
nsHttpChannelInternal_SetLoadAsBlocking
,
nsHttpChannelInternal_GetLoadUnblocked
,
nsHttpChannelInternal_SetLoadUnblocked
};
...
...
dlls/mshtml/propbag.c
View file @
fb9620f1
...
...
@@ -272,7 +272,7 @@ static HRESULT fill_props(nsIDOMHTMLElement *nselem, PropertyBag *prop_bag)
{
nsIDOMHTMLParamElement
*
nsparam
;
nsAString
name_str
,
value_str
;
nsIDOM
NodeList
*
params
;
nsIDOM
HTMLCollection
*
params
;
UINT32
length
,
i
;
nsIDOMNode
*
nsnode
;
nsresult
nsres
;
...
...
@@ -286,12 +286,12 @@ static HRESULT fill_props(nsIDOMHTMLElement *nselem, PropertyBag *prop_bag)
if
(
NS_FAILED
(
nsres
))
return
E_FAIL
;
nsres
=
nsIDOM
NodeList
_GetLength
(
params
,
&
length
);
nsres
=
nsIDOM
HTMLCollection
_GetLength
(
params
,
&
length
);
if
(
NS_FAILED
(
nsres
))
length
=
0
;
for
(
i
=
0
;
i
<
length
;
i
++
)
{
nsres
=
nsIDOM
NodeList
_Item
(
params
,
i
,
&
nsnode
);
nsres
=
nsIDOM
HTMLCollection
_Item
(
params
,
i
,
&
nsnode
);
if
(
NS_FAILED
(
nsres
))
{
hres
=
E_FAIL
;
break
;
...
...
@@ -330,7 +330,7 @@ static HRESULT fill_props(nsIDOMHTMLElement *nselem, PropertyBag *prop_bag)
}
}
nsIDOM
NodeList
_Release
(
params
);
nsIDOM
HTMLCollection
_Release
(
params
);
return
hres
;
}
...
...
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