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
8abd3763
Commit
8abd3763
authored
May 26, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
May 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Improved FIXMEs about unimplemented events.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ee7bc087
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
htmlelem.c
dlls/mshtml/htmlelem.c
+1
-1
htmlevent.c
dlls/mshtml/htmlevent.c
+8
-1
No files found.
dlls/mshtml/htmlelem.c
View file @
8abd3763
...
...
@@ -3732,7 +3732,7 @@ static HRESULT WINAPI HTMLElement4_put_onmousewheel(IHTMLElement4 *iface, VARIAN
{
HTMLElement
*
This
=
impl_from_IHTMLElement4
(
iface
);
FIXME
(
"(%p)->(%s) semi-stub
\n
"
,
This
,
debugstr_variant
(
&
v
));
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_variant
(
&
v
));
return
set_node_event
(
&
This
->
node
,
EVENTID_MOUSEWHEEL
,
&
v
);
}
...
...
dlls/mshtml/htmlevent.c
View file @
8abd3763
...
...
@@ -173,6 +173,7 @@ typedef struct {
#define EVENT_BIND_TO_BODY 0x0008
#define EVENT_CANCELABLE 0x0010
#define EVENT_HASDEFAULTHANDLERS 0x0020
#define EVENT_FIXME 0x0040
static
const
event_info_t
event_info
[]
=
{
{
abortW
,
onabortW
,
EVENTT_NONE
,
DISPID_EVMETH_ONABORT
,
...
...
@@ -226,7 +227,7 @@ static const event_info_t event_info[] = {
{
mouseupW
,
onmouseupW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEUP
,
EVENT_DEFAULTLISTENER
|
EVENT_BUBBLE
},
{
mousewheelW
,
onmousewheelW
,
EVENTT_MOUSE
,
DISPID_EVMETH_ONMOUSEWHEEL
,
0
},
EVENT_FIXME
},
{
pasteW
,
onpasteW
,
EVENTT_NONE
,
DISPID_EVMETH_ONPASTE
,
EVENT_CANCELABLE
},
{
readystatechangeW
,
onreadystatechangeW
,
EVENTT_NONE
,
DISPID_EVMETH_ONREADYSTATECHANGE
,
...
...
@@ -1416,6 +1417,9 @@ static HRESULT set_event_handler_disp(EventTarget *event_target, eventid_t eid,
{
event_target_t
*
data
;
if
(
event_info
[
eid
].
flags
&
EVENT_FIXME
)
FIXME
(
"unimplemented event %s
\n
"
,
debugstr_w
(
event_info
[
eid
].
name
));
remove_event_handler
(
event_target
,
eid
);
if
(
!
disp
)
return
S_OK
;
...
...
@@ -1518,6 +1522,9 @@ HRESULT attach_event(EventTarget *event_target, BSTR name, IDispatch *disp, VARI
return
S_OK
;
}
if
(
event_info
[
eid
].
flags
&
EVENT_FIXME
)
FIXME
(
"unimplemented event %s
\n
"
,
debugstr_w
(
event_info
[
eid
].
name
));
data
=
get_event_target_data
(
event_target
,
TRUE
);
if
(
!
data
)
return
E_OUTOFMEMORY
;
...
...
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