Commit Graph

167 Commits

Author SHA1 Message Date
Michael Stefaniuc a14674aa36 mshtml: Avoid casts from COM objects to interfaces.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-19 23:13:34 +09:00
Jacek Caban dba85f124b mshtml: Added a helper to get vtbl from DispatchEx and use it to access vtbl outside dispex.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:50 +09:00
Jacek Caban fd2f645d16 mshtml: Moved dispex_data_t pointer to the end of dispex_static_data_t struct.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:45 +09:00
Jacek Caban b04cc8d278 mshtml: Added FIXME for drag and dragstart events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:37 +09:00
Jacek Caban 7d2bba4647 mshtml: Added IHTMLWindow2::onunload property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:54 +09:00
Jacek Caban 8abd37637a mshtml: Improved FIXMEs about unimplemented events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:54 +09:00
Jacek Caban 60538b4cd9 mshtml: Ensure that bind_event is not called multiple times for the same event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:02:02 +09:00
Jacek Caban feed9d4750 mshtml: Added IHTMLWindow6::onmessage property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 12:51:30 +09:00
Jacek Caban 86116b16bf mshtml: Added support for focusout event and IHTMLElement4::onfocusout property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:45 +09:00
Jacek Caban a86a4e6557 mshtml: Added support for focusin event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Jacek Caban 1dc502c5b4 mshtml: Pass node as an object to fire_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Jacek Caban b692aad3b6 mshtml: Allow events without event object specified and EVENT_DEFAULTLISTENER flag in dispatch_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Jacek Caban f2ceadc6e6 mshtml: Initialize dest VARIANT before VariantCopy call.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 01:56:07 +09:00
Jacek Caban 8d85da757a mshtml: Added support for binding XHR events. 2015-07-02 13:42:55 +09:00
Jacek Caban 9981890397 mshtml: Pass EventTarget to call_event_handlers. 2015-05-26 14:36:57 +09:00
Marcus Meissner 47086b9aaf mshtml: Fixed incorrect NULL ptr check (Coverity). 2015-05-21 13:55:14 +09:00
Jacek Caban c1079f2571 mshtml: Use bind_event in set_event_handler. 2015-05-21 13:55:07 +09:00
Jacek Caban 7950f780df mshtml: Get rid of no longer needed detach_event argument. 2015-05-21 13:55:03 +09:00
Jacek Caban 189cb568ee mshtml: Use vtbl for binding to event in attach_event. 2015-05-21 13:54:58 +09:00
Jacek Caban 4686f3d761 mshtml: Removed unneeded argument from ensure_nsevent_handler. 2015-05-18 14:06:29 +09:00
Jacek Caban 25dee9f5be mshtml: Initialize output value before passing it to VariantCopy. 2015-05-15 21:58:06 +09:00
Jacek Caban 6919c86601 mshtml: Get rid of get_node_event_target. 2015-05-15 18:06:09 +09:00
Jacek Caban 760f9de851 mshtml: Pass EventTarget to update_cp_events. 2015-05-15 18:06:05 +09:00
Jacek Caban 21151f3ec6 mshtml: Pass EventTarget to detach_event. 2015-05-15 18:06:01 +09:00
Jacek Caban 513c77d9e4 mshtml: Pass EventTarget to attach_event. 2015-05-15 18:05:57 +09:00
Jacek Caban f2fa7e662e mshtml: Pass EventTarget to get_event_handler. 2015-05-15 18:05:52 +09:00
Jacek Caban f26597753a mshtml: Pass EventTarget to set_event_handler. 2015-05-15 18:05:46 +09:00
Jacek Caban f908f03cd9 mshtml: Added new EventTarget struct representing event targets. 2015-05-15 18:05:27 +09:00
Jacek Caban 71cae1fceb mshtml: Added IHTMLEventObj::get_returnValue implementation. 2015-05-05 10:16:11 +09:00
Jacek Caban 7c85ed6aab mshtml: Fixed binding event scripts to window objects. 2015-04-20 14:37:33 +09:00
Jacek Caban 144056bce0 mshtml: Allow setting event handlers to strings. 2015-03-11 12:42:42 +09:00
Jacek Caban 347842a6a1 mshtml: Added IHTMLElement4::focusin semi-stub implementation. 2014-12-16 13:33:05 +01:00
Jacek Caban 55ce76c181 mshtml: Mark mousedown event as cancelable. 2014-12-10 19:32:31 +01:00
Jacek Caban f5e3281a80 mshtml: Wine Gecko 2.34 release. 2014-11-03 20:52:52 +09:00
Jacek Caban 6b18008202 mshtml: Added semi-stub IHTMLElement4::onmousewheel propery implementation. 2014-09-11 11:48:37 +02:00
Jacek Caban 5d2ee3ee82 mshtml: Bind events to document node instead of body element. 2014-09-10 21:36:51 +02:00
Jacek Caban 255894c1f1 mshtml: Override default onsubmit action with our submit implementation. 2014-08-20 13:13:24 +02:00
Jacek Caban df62eea186 mshtml: Use get_elem_attr_value helper in check_event_attr. 2014-06-11 13:04:17 +02:00
Jacek Caban cac04a675c mshtml: Use debugmsg_mshtml_guid in a few more places. 2014-05-08 12:14:21 +02:00
Jacek Caban 9c45b34c62 mshtml: Bind events not sent to default view to body element instead of directly to target. 2014-03-11 19:39:39 +01:00
Jacek Caban 5cdb4a273e mshtml: Added support for 'document' and 'window' script for attribute values. 2013-10-01 19:07:18 +02:00
Jacek Caban 93f9d824eb mshtml: Added IHTMLEventObj::y implementation. 2013-09-30 20:36:35 +02:00
Jacek Caban c24767262b mshtml: Added IHTMLEventObj::x implementation. 2013-09-30 20:36:35 +02:00
Jacek Caban d3e8d44e9c mshtml: Added HTMLElementEvents2 support. 2013-03-15 16:18:08 +01:00
Jacek Caban af6c518e7d mshtml: Use lazy allocation for connection points. 2013-03-15 16:18:05 +01:00
Jacek Caban 5069ad71b4 mshtml: Don't crash if fire_event_obj is called on detached document. 2013-02-19 19:50:54 +01:00
Andrew Talbot a9200aa99d mshtml: Avoid signed-unsigned integer comparisons. 2013-02-18 10:33:29 +01:00
Jacek Caban 07e72de9a4 mshtml: Get rid of PRUint32 outside XPCOM C API. 2013-01-23 20:47:25 +01:00
Jacek Caban cef2907da7 mshtml: Get rid of PRUint16 type. 2013-01-23 20:47:23 +01:00
Jacek Caban d83822adbe mshtml: Don't use PRInt32 in property getters implementations. 2013-01-18 14:46:42 +01:00