Jacek Caban
|
7076fc1340
|
mshtml: Added IDOMEvent::get_target implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:43:10 +01:00 |
Jacek Caban
|
49abeb63cb
|
mshtml: Added IDOMEvent::get_currentTarget implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:43:07 +01:00 |
Jacek Caban
|
e150f96a3e
|
mshtml: Fixed event target leak in dispatch_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:43:04 +01:00 |
Jacek Caban
|
8600c2a573
|
mshtml: Ignore preventDefault calls for non-cancelable events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:42:55 +01:00 |
Jacek Caban
|
a27ad40e31
|
mshtml: Added IDOMEvent::get_cancelable implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:42:52 +01:00 |
Jacek Caban
|
4678a85966
|
mshtml: Added IDOMEvent::get_bubbles implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:42:50 +01:00 |
Jacek Caban
|
1508eb484f
|
mshtml: Use IDOMEvent for IHTMLEventObj::get_type implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:42:47 +01:00 |
Jacek Caban
|
dc5aefcebb
|
mshtml: Added IDOMEvent::get_type implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:42:44 +01:00 |
Jacek Caban
|
d121009f24
|
mshtml: Store event type string in DOMEvent object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-12-01 18:42:40 +01:00 |
Jacek Caban
|
bb9bc082b7
|
mshtml: Pass listener type as a string to remove_event_listener.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-30 19:07:18 +01:00 |
Jacek Caban
|
ebefab4b03
|
mshtml: Pass listener type as a string to get_listener_container.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-30 19:07:16 +01:00 |
Jacek Caban
|
26f731f4a0
|
mshtml: Store listener container type as a string.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-30 19:07:13 +01:00 |
Jacek Caban
|
dda20ef4ec
|
mshtml: Removed unused impl_from_DispatchEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-30 19:07:09 +01:00 |
Jacek Caban
|
ed62ae5faa
|
mshtml: Added support for default removeEventListener capture argument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-28 19:08:29 +01:00 |
Jacek Caban
|
d84f6f72cc
|
mshtml: Hook addEventListener InvokeEx calls to allow capture default value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-24 16:48:03 +01:00 |
Jacek Caban
|
eafbe884a2
|
mshtml: Use variant_bool helper where appropriate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-02 19:12:08 +01:00 |
Jacek Caban
|
bbffabf1b1
|
mshtml: Added IDOMEvent::get_defaultPrevented implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-02 19:12:08 +01:00 |
Jacek Caban
|
1366b33c81
|
mshtml: Expose IEventTarget to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-01 23:16:08 +01:00 |
Jacek Caban
|
0c0dd3d582
|
mshtml: Added DOMContentLoaded event implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-11-01 23:16:08 +01:00 |
Jacek Caban
|
d2552c06a0
|
mshtml: Release listeners in call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-30 19:34:06 +01:00 |
Jacek Caban
|
2bffe9af8d
|
mshtml: Added support for capturing event phase.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-25 19:13:23 +02:00 |
Jacek Caban
|
8e32ee6aad
|
mshtml: Added IDOMEvent::removeEventListener implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-25 19:13:18 +02:00 |
Jacek Caban
|
da8c7dde86
|
mshtml: Added IDOMEvent::addEventListener implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-25 19:13:11 +02:00 |
Jacek Caban
|
d1f1e93c46
|
mshtml: Properly invoke event listeners in IE9+ mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-25 19:13:06 +02:00 |
Jacek Caban
|
87d4a5a29a
|
mshtml: Store all event listeners in a list.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-25 19:12:53 +02:00 |
Jacek Caban
|
231d1d3c33
|
mshtml: Store all attached listeners before calling them in call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-25 19:12:46 +02:00 |
Jacek Caban
|
85527dbdf3
|
mshtml: Added IDOMEvent:get_eventPhase implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-24 21:54:24 +02:00 |
Jacek Caban
|
c29d776de8
|
mshtml: Rename fire_event_obj and dispatch_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:37 +02:00 |
Jacek Caban
|
a252059a88
|
mshtml: Don't use fire_event to dispatch document and frame element readystatechange event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:36 +02:00 |
Jacek Caban
|
9130720e85
|
mshtml: Don't use fire_event in postMessage.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:36 +02:00 |
Jacek Caban
|
b271b48d5b
|
mshtml: Use create_event_from_nsevent in handle_htmlevent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:36 +02:00 |
Jacek Caban
|
62e76f1847
|
mshtml: Use fire_event_obj to dispatch XHR readystatechange event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:36 +02:00 |
Jacek Caban
|
aaa576463c
|
mshtml: Store current IHTMLEventObj in DOMEvent and create it in fire_event_obj if needed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:36 +02:00 |
Jacek Caban
|
aa6882cba8
|
mshtml: Implement IDOMEvent::stopPropagation and use it where appropriate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:36 +02:00 |
Jacek Caban
|
d5b0c1d77c
|
mshtml: Implement IDOMEvent::preventDefault and use it where appropriate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 18:59:35 +02:00 |
Jacek Caban
|
22cfd58540
|
mshtml: Pass DOMEvent to call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:16:11 +02:00 |
Jacek Caban
|
8def42e755
|
mshtml: Store event target in DOMEvent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:16:09 +02:00 |
Jacek Caban
|
bbfe9e768a
|
mshtml: Pass DOMEvent instead of event id to fire_event_obj.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:16:07 +02:00 |
Jacek Caban
|
af3376a6ae
|
mshtml: Store event id in DOMEvent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:16:04 +02:00 |
Jacek Caban
|
3077358aa1
|
mshtml: Store DOMEvent instead of nsIDOMEvent in HTMLEventObj.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:16:02 +02:00 |
Jacek Caban
|
8c74926bf9
|
mshtml: Added IDocumentEvent::createEvent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:16:00 +02:00 |
Jacek Caban
|
0a288a2e91
|
mshtml: Set current event target in fire_event_obj.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:15:57 +02:00 |
Jacek Caban
|
6dc67c4234
|
mshtml: Use event target vtbl to set current window event in fire_event_obj.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:15:54 +02:00 |
Jacek Caban
|
57b830526b
|
mshtml: Use event target vtbl to construct target chain in fire_event_obj.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-19 17:15:51 +02:00 |
Jacek Caban
|
5a9f5470ef
|
mshtml: Update event_info array.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-18 17:14:02 +02:00 |
Jacek Caban
|
969583850e
|
mshtml: Store event target as EventTarget in HTMLEventObj.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-18 17:14:00 +02:00 |
Jacek Caban
|
ec5d0d44ba
|
mshtml: Call default event handles through event target vtbl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-18 17:13:58 +02:00 |
Jacek Caban
|
62c7dd0576
|
mshtml: Always use event target as script this in call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-18 17:13:56 +02:00 |
Jacek Caban
|
0c35bf7c8e
|
mshtml: Use vtbl to get ConnectionPointContainer from event target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-18 17:13:53 +02:00 |
Jacek Caban
|
e5c0759c0c
|
mshtml: Use separated struct for event target vtbl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-18 17:13:50 +02:00 |