Commit Graph

729 Commits

Author SHA1 Message Date
Jacek Caban c4e9787e86 mshtml: Store event handlers in rb tree.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:31 +01:00
Jacek Caban c12b4b4846 mshtml: Return event target as EventTarget from DispatchEx vtbl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:57 +01:00
Jacek Caban e1d54def73 mshtml: Return event target as EventTarget in NodeImplVtbl.get_event_target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:55 +01:00
Jacek Caban 74a759673d mshtml: Use inner window's event target for body element.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:53 +01:00
Jacek Caban ebee2a8346 mshtml: Added MHTMLDocument object implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 13:49:01 +01:00
Jacek Caban 6e94b955c2 mshtml: Added support for COM aggregation in HTMLDocument object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 20:40:13 +01:00
Jacek Caban 2fb4de7b5e mshtml: Renamed unk_imp to outer_unk.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:38 +01:00
Jacek Caban 0e8c7bece6 mshtml: Added MHTMLDocument object class factory stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 15:51:37 +01:00
Jacek Caban 9679755a06 mshtml: Use rb tree instead of list to map nsIDOMWindowProxy to HTMLOuterWindow.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:02:02 +09:00
Jacek Caban d72d640308 mshtml: Export IElementSelector for all elements in compatibility mode >= IE8.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:13 +09:00
Jacek Caban 91e7a02845 mshtml: Added support for exposing different sets of properties from DispatchEx depending on compatibility mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:09 +09:00
Jacek Caban f6a00dbd25 mshtml: Use callback to register additional IDispatch interfaces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:53 +09:00
Jacek Caban 73bdf9d926 mshtml: Expose IHTMLDocument6 to IDispatch.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:23 +09:00
Jacek Caban bda4b35aa3 mshtml: Store compatibility mode provided by meta element.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:16 +09:00
Jacek Caban 13c3ae6d93 mshtml: Store dispex_data_t pointer instead of dispex_static_data_t in DispatchEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:05 +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
Francois Gouget 3998a7aa54 mshtml: Nswindow_to_window() is not used anymore, remove it.
It has been superseded by mozwindow_to_window().

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:27:37 +09:00
Jacek Caban 1b04f09be4 mshtml: Added IHTMLElement6 stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:33 +09:00
Jacek Caban ba9da24d7c mshtml: Added IElementSelector interface stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 12:23:19 +09:00
Jacek Caban 92300cc4dc mshtml: Added IDocumentSelector::querySelectorAll implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:18 +09:00
Jacek Caban 5dddf32c20 mshtml: Added IDocumentSelector stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 00:09:18 +09:00
Jacek Caban 3a16c8bbca mshtml: Wine Gecko 2.47 release.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 13:43:54 +09:00
Piotr Caban 60fe748543 mshtml: Make it possible to clear timer and interval with any of clearTimeout and clearInterval functions.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:45:59 +09:00
Piotr Caban 4e77355f3a mshtml: Fix HTMLWindow3_setInterval behavior on 0 msec intervals.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:45:57 +09:00
Jacek Caban baf9db63ed mshtml: Added HTMLHtmlElement object implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:21 +09:00
Jacek Caban 7c1fa88ced mshtml: Added IHTMLElement::put_outerText implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:05 +09:00
Jacek Caban 17fcc112ad mshtml: Added IHTMLElement4::setAttributeNode implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:29 +09:00
Jacek Caban a3ab8d6792 mshtml: Split conversion to string out of get_elem_attr_value_by_dispid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:22 +09:00
Jacek Caban 6c637ab9c6 mshtml: Added support for IHTMLDOMAttribute::nodeValue property on detached attributes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 22:54:25 +09:00
Jacek Caban c0fda9824e mshtml: Expose XMLHttpRequest constructor to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:02 +09:00
Jacek Caban db105f08d2 mshtml: Wine Gecko 2.44 release.
Includes fixes by Sebastian Lackner.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:39 +09:00
Jacek Caban 5910925728 mshtml: Added IHTMLDocument2::get_defaultCharset implementation.
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 0987f7fdea mshtml: Expose IHTMLUniqueName for IDispatch of all element objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:50 +09:00
Jacek Caban a52cb2b87a mshtml: Added IHTMLUniqueName::get_uniqueID implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:23 +09:00
Jacek Caban 40b2deb843 mshtml: Added IHTMLUniqueName interface stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:18 +09:00
Jacek Caban 8f6097a99b mshtml: Added IHTMLDocument3::uniqueID implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-09 17:30:03 +09:00
Dmitry Timoshkov 3662980f41 mshtml: Add IHTMLEditServices stub implementation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:25 +09:00
Gerald Pfeifer a0da827d61 mshtml: Adjust NS_ERROR_GENERATE_FAILURE to avoid shift overflow. 2015-09-08 15:10:59 +09:00
Alex Henrie 0c986f98ad mshtml: Use the same click event handler for anchor and area elements. 2015-08-17 14:38:51 +09:00
Alex Henrie f36d761650 mshtml: Stub out HTMLAreaElement. 2015-08-05 23:46:28 +09:00
Zhenbo Li 4e6e9a1485 mshtml: Add nsChannel_GetResponseStatusText implementation. 2015-07-22 17:43:01 +02:00
Zhenbo Li d6b92300af mshtml: Add IHTMLXMLHttpRequest:open() method implementation. 2015-07-01 19:18:12 +09:00
Zhenbo Li deb884a6d8 mshtml: Add IHTMLXMLHttpRequestFactory::create() method implementation. 2015-07-01 19:18:12 +09:00
Zhenbo Li 82d090dd6d mshtml: Implement IHTMLXMLHttpRequest as a stub. 2015-06-11 14:41:35 +09:00
Zhenbo Li 0036b8bf2e mshtml: Implement IHTMLXMLHttpRequestFactory as a stub. 2015-06-10 23:30:39 +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 2f4e85abb8 mshtml: Make HTMLInnerWindow inherit from EventTarget. 2015-05-15 18:05:37 +09:00
Jacek Caban a1d837c341 mshtml: Moved getting event target data pointer to DispatchEx vtbl. 2015-05-15 18:05:34 +09:00
Jacek Caban f908f03cd9 mshtml: Added new EventTarget struct representing event targets. 2015-05-15 18:05:27 +09:00