Commit Graph

292 Commits

Author SHA1 Message Date
Dmitry Timoshkov ec29d40e4e mshtml: Add support for DIID_HTMLDocumentEvents2 connection point sink.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-19 20:41:26 +02:00
Dmitry Timoshkov 756d9cdc6f mshtml: Add better stub for HTMLDocument7::get_onmsthumbnailclick.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-18 23:51:51 +02:00
Alexandre Julliard 5182813ae0 mshtml: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 14:34:51 +02:00
Michael Stefaniuc 6f9f57e85f mshtml: Print the debug string and not the pointer to it.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-31 21:38:48 +01:00
Andrey Gusev 870598b8b0 mshtml: Remove redundant condition.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 19:20:39 +01:00
Jacek Caban 7c2ec67d1e mshtml: Expose IDOMCustomEvent to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban 757c3025c1 mshtml: Add IDOMCustomEvent::detail property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban 7e15e49495 mshtml: Add IDOMCustomEvent::initCustomEvent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban 57cf4a38ac mshtml: Add IDOMCustomEvent interface stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 16:26:05 +01:00
Jacek Caban adcb216208 mshtml: Try to avoid use_event_quirks in call_event_handlers if possible.
It may cause an unintended lock on document mode.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 22:26:07 +02:00
Michael Stefaniuc 12b85004aa mshtml: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 10:28:28 +02:00
Jacek Caban 6f3f291c09 mshtml: Support input event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-12 14:38:08 +02:00
Jacek Caban 39766bcded mshtml: Use nsIDOMEvent directly to prevent default event handling in dispatch_event_object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 09:24:19 -06:00
Jacek Caban d7c94cc7d8 mshtml: Register load, error and abort events directly in event target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 21:46:28 +01:00
Jacek Caban 113fc68259 mshtml: Forward IHTMLEventObj::toElement and fromElement implementation to IDOMMouseEvent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:50 +01:00
Jacek Caban beb0b78a5a mshtml: Added IDOMMouseEvent::fromElement property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:48 +01:00
Jacek Caban c0d248f2a5 mshtml: Added IDOMMouseEvent::toElement property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:46 +01:00
Jacek Caban cf6d34d815 mshtml: Improved IDOMMouseEvent::offset[XY] stubs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-21 15:51:44 +01:00
Jacek Caban 832b90d4a5 mshtml: Added IDOMMouseEvent::relatedTarget implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:56 +01:00
Jacek Caban 69af9a4c9d mshtml: Get rid of no longer needed document argument in get_node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:53 +01:00
Jacek Caban abd27e0926 mshtml: Added IDOMKeyboardEvent::which and IDOMMouseEvent::which properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-16 19:19:44 +01:00
Jacek Caban 881ba0627b mshtml: Added IDOMEvent::pageX and pageY properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 19:35:07 +01:00
Jacek Caban 5896677d9e mshtml: Added IDOMMouseEvent::buttons property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 19:35:06 +01:00
Jacek Caban 2e91bf3212 mshtml: Added IDOMEvent::view property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 19:35:04 +01:00
Jacek Caban ab210dd7a4 mshtml: Added IDOMEvent::stopImmediatePropagation implementaition.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-15 19:35:02 +01:00
Jacek Caban 0666c6c2fd mshtml: Pass Gecko element as nsIDOMElement to check_event_attr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-13 09:07:15 +01:00
Jacek Caban a25d8c342f mshtml: Always set valid IEventTarget vtbl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-08 21:07:46 +01:00
Jacek Caban d3cd6a3691 mshtml: Added IHTMLKeyboardEvent::location property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 22:22:53 +01:00
Jacek Caban b8c5f98c06 mshtml: Use IDOMKeyboardEvent instead of nsIDOMKeyEvent in IHTMLEventObj implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:58 +01:00
Jacek Caban 169fde0d58 mshtml: Expose IDOMKeyboardEvent to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:58 +01:00
Jacek Caban 4947c70fe2 mshtml: Added IDOMKeyboardEvent key state getters implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:58 +01:00
Jacek Caban e9f0b4ff61 mshtml: Added key and char code IDOMKeyboardEvent getters implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:58 +01:00
Jacek Caban fff36a7896 mshtml: Added IDOMKeyboardEvent stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:58 +01:00
Jacek Caban 20159346c7 mshtml: Expose IHTMLUIEvent to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:58 +01:00
Jacek Caban 18ae7c7deb mshtml: Added IDOMUIEvent::detail property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 10:01:04 +01:00
Jacek Caban f5a0252670 mshtml: Added IDOMUIEvent::initUIEvent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 10:01:02 +01:00
Jacek Caban 90bccb498a mshtml: Use nsIDOMUIEvent stored in DOMEvent in IHTMLEventObj::get_[xy] implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 10:00:58 +01:00
Jacek Caban 28e2f7a85e mshtml: Added IDOMUIEvent stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 10:00:55 +01:00
Jacek Caban 65ce11478c mshtml: Use IDOMMouseEvent instead of nsIDOMMouseEvent in IHTMLEventObj implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:31 +01:00
Jacek Caban 5711c85a20 mshtml: Expose IDOMMouseEvent to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:30 +01:00
Jacek Caban 05b0c8f72b mshtml: Added IDOMMouseEvent::initMouseEvent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:28 +01:00
Jacek Caban 17eb66c798 mshtml: Added IDOMMouseEvent::button property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:27 +01:00
Jacek Caban 6a16a5f424 mshtml: Added IDOMMouseEvent key state getters implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:25 +01:00
Jacek Caban feb957b276 mshtml: Added IDOMMouseEvent position getters implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:23 +01:00
Jacek Caban aa2be899a6 mshtml: Use DispDOMEvent for DOMEvent object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:22 +01:00
Jacek Caban a2d61dd4d7 mshtml: Added IDOMMouseEvent stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 17:33:20 +01:00
Jacek Caban 07954f3621 mshtml: Added IDOMEvent::get_srcElement implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 21:25:30 +01:00
Francois Gouget a7c696aee9 mshtml: Make IEventTarget_{add,remove}EventListener_hook() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 16:12:19 +01:00
Jacek Caban c0f96a406f mshtml: Added IDOMEvent::get_timeStamp implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 20:31:13 +01:00
Jacek Caban d6d23a5339 mshtml: Added IDOMEvent::dispatchEvent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 19:54:16 +01:00