Commit Graph

41 Commits

Author SHA1 Message Date
Alexandre Julliard 5182813ae0 mshtml: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 14:34:51 +02:00
Jacek Caban 9f4d05b11c mshtml: Alloc proper BSTR size in return_nscstr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:48 +01:00
Jacek Caban a5c79dc8a9 mshtml: Suport load event in HTMLXMLHttpRequest object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 15:07:09 +01:00
Jacek Caban 74d6c6d2fb mshtml: Properly support custom event listeners in XMLHttpRequest object.
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 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 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 17d43ef54e mshtml: Don't set no_event_obj for XHR events.
It's no longer needed.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-25 19:13:35 +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 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 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 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
Jacek Caban e38c2ceb51 mshtml: Use window event target instead of body only for selected event properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 09:00:36 +02:00
Jacek Caban 632d897c10 mshtml: Introduce EventTarget_QI.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 08:30:49 +02:00
Jacek Caban d69f1f01e5 mshtml: Introduce EventTarget_Init.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 08:30:45 +02:00
Jacek Caban 856dc7eda4 mshtml: Added delayed DispatchEx init support and use it to expose IHTMLDOMNode3 from document node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:41:19 +09:00
Jacek Caban 21a30da6bf mshtml: Added IProvideClassInfo2 implementation for HTMLXMLHttpRequest object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:54 +02:00
Jacek Caban abdec32f68 mshtml.idl: Added HTMLXMLHttpRequest coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:16:12 +02:00
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 68d2f9c6a6 mshtml: Release event target in XMLHttpRequest destructor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:13 +01: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 5ae224dee8 mshtml: Added support for sending BSTR over IHTMLXMLHttpRequst::send.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 22:40:07 +09:00
Jacek Caban 206bebfd8f mshtml: Added IHTMLXMLHttpRequest::getResponseHeader implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 13:33:07 +09:00
Jacek Caban 5996de5c2e mshtml: Added HTMLXMLHttpRequestFactory DISPID_VALUE implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Zhenbo Li 798b1e06f3 mshtml: Add IHTMLXMLHttpRequest::responseXML() method implementation.
Signed-off-by: Zhenbo Li <litimetal@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 11:49:49 +01:00
Zhenbo Li b8f8b95e20 mshtml: Add IHTMLXMLHttpRequest::abort() method implementation. 2015-08-20 20:16:26 +09:00
Zhenbo Li bb060fe62f mshtml: Add IHTMLXMLHttpRequest::getAllResponseHeaders() method implementation. 2015-08-06 21:05:02 +09:00
Zhenbo Li 44e6448618 mshtml: Add IHTMLXMLHttpRequest::getResponseHeader() method implementation. 2015-08-06 21:05:00 +09:00
Zhenbo Li 74d07b7b0a mshtml: Add IHTMLXMLHttpRequest::statusText property implementation. 2015-08-06 21:04:58 +09:00
Zhenbo Li 21043e5acf mshtml: Add IHTMLXMLHttpRequest::status property implementation. 2015-07-22 17:42:59 +02:00
Zhenbo Li 4ea5d00e58 mshtml: Add IHTMLXMLHttpRequest::responseText() method implementation. 2015-07-22 17:42:57 +02:00
Zhenbo Li 119af47683 mshtml: Add IHTMLXMLHttpRequest::send() method implementation. 2015-07-08 19:12:08 +09:00
Jacek Caban 8d85da757a mshtml: Added support for binding XHR events. 2015-07-02 13:42:55 +09:00
Zhenbo Li b6cf265317 mshtml: Add IHTMLXMLHttpRequest::readyState property implementation. 2015-07-01 19:18:13 +09: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
Jacek Caban 430df1ca61 mshtml: Added IHTMLXMLHttpRequest::onreadystatechange property implementation. 2015-06-22 19:16:48 +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