Commit Graph

3953 Commits

Author SHA1 Message Date
Nikolay Sivov 2b37b97d0c mshtml: Avoid potential moniker instance leak.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 19:54:16 +01:00
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 f39c6c3cbd mshtml: Silence some noisy FIXMEs.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:07:20 +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 a0561068e3 mshtml: Return S_OK in IHTMLStyle2::put_behavior.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 19:08:32 +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
Nikolay Sivov f6d58e69e1 mshtml/tests: Test return values in more places (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 16:09:54 +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 664e861cda mshtml: Added IHTMLDOMNode3::compareDocumentPosition implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-23 21:17:23 +01:00
Jacek Caban 52a5acaefb mshtml: Store task_magic in HTMLDocumentObj instead of HTMLDocument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-23 21:17:21 +01:00
Jacek Caban deee158c00 mshtml: Removed no longer needed flush_pending_tasks.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-23 21:17:18 +01:00
Nikolay Sivov 0592537862 mshtml: Make sure actual host length matches returned BSTR length.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 18:42:27 +01:00
Jacek Caban 0f487987bc mshtml: Get rid of unneeded parent from NSContainer.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 18:29:39 +01:00
Jacek Caban 3dd152dc59 mshtml: Pass document as HTMLDocumentObj to update_doc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 18:29:37 +01:00
Jacek Caban 4a13190da4 mshtml: Store IOleAdviseHolder in HTMLDocumentObj instead of HTMLDocument.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-22 18:29:34 +01:00
Jacek Caban e1c211eaee mshtml: Merge olewnd.c into oleobj.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 19:53:48 +01:00
Marcus Meissner ac7768bfce mshtml: Fixed a crash due to missing typelib marshalling on 64bit.
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-15 23:35:04 +01:00
Jacek Caban 2de948e86c mshtml: Merge hlink.c into persist.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-07 21:24:45 +01:00
Jacek Caban 3d505b12e3 mshtml: Added IDocumentSelector::querySelector 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 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 0bff85cd44 mshtml: Introduce variant_bool helper.
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 01dcb65847 mshtml/tests: Added script IE9+ event tests.
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 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 b77f7b54ce mshtml: Added support for VT_UI2 in IDispatchEx.
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 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 b81eea83da mshtml/tests: Added addEventListener tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-25 19:13:29 +02: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 b96934bf4a mshtml/tests: Added a few more event tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-25 19:12:59 +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 caa3c43272 mshtml/tests: Skip postMessage test on IE7.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 21:54:22 +02:00
Jacek Caban 8bcd54d7b5 mshtml/tests: Fixed tests on old IE versions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 21:54:21 +02:00
Jacek Caban a428dea8bb mshtml/tests: Fixed tests on some versions of IE.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 21:54:18 +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 fdf21a53a2 mshtml: Don't use fire_event to dispatch script 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 9a11dcf3f2 mshtml: Don't use fire_event to dispatch document load 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 8aaa18fd55 mshtml: Don't use fire_event to dispatch focusin and focusout events.
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 2a771127cd mshtml: Don't use fire_event to dispatch help 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 a52828c8b2 mshtml: Don't use fire_event to dispatch window load 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 6bf1250b82 mshtml: Don't use fire_event to dispatch contextmenu 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 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
Jacek Caban d054357cbf mshtml: Fire message event with window as a target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 09:00:39 +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 fa94223511 mshtml/tests: Added script event argument test.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-12 15:59:44 +02:00
Jacek Caban 1824f67a06 mshtml/tests: Use winetest.js in events.html.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-12 15:59:42 +02:00
Jacek Caban 353d9d826a mshtml: Simplify IHTMLElement::click implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-12 15:59:40 +02:00
Jacek Caban 35ebf6756a mshtml: Added IDocumentEvent stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 19:49:29 +02:00
Jacek Caban becc92a814 mshtml/tests: Fixed typo in iface_cmp helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-09 19:54:21 +02:00
Jacek Caban 5a9209d7e9 mshtml/tests: Run events tests in IE9 mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-29 20:26:53 +02:00
Jacek Caban fd10004e31 mshtml: Correctly handle VT_EMPTY in set_event_handler_disp in standard compliant mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-29 19:46:56 +02:00
Jacek Caban e6778fe023 mshtml: Inherit document mode from parent document.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-29 18:08:06 +02:00
Zebediah Figura 02641e33a9 mshtml: Don't query for an INewWindowManager if the client site is NULL.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 15:05:25 +02:00
Jacek Caban 455d684671 mshtml: Added IEventTarget stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 08:30:54 +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 1b09514c82 mshtml: Initialize DispatchEx in HTMLDOMNode_Init.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 08:30:40 +02:00
Jacek Caban d3ed68aff9 mshtml: Fixed getElementsByTagName for comment elements.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-14 17:33:02 +02:00
Jacek Caban c16ef729db mshtml: Expose IHTMLElement6 to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-13 17:25:48 +02:00
Jacek Caban e391872ee0 mshtml: Forward attributes functions from IHTMLElement6 to older interfaces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-13 17:25:48 +02:00
Jacek Caban a3ba3ac48e mshtml: Forward IHTMLElement6::get_tagName to IHTMLElement implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-13 17:25:48 +02:00
Jacek Caban d2607433e0 mshtml: Forward IHTMLElement6::get_nodeName to IHTMLDOMNode implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-13 17:25:48 +02:00
Jacek Caban 68b8b7b4ba mshtml: Added IHTMLDocument7::getElementsByClassName implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 20:32:02 +02:00
Jacek Caban b244182bae mshtml: Added IHTMLDocument7::head property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 20:32:02 +02:00
Jacek Caban 2936f11351 mshtml: Expose IHTMLDocument7 interface to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 20:32:02 +02:00
Jacek Caban 8546c6a55b mshtml: Added implementation of IHTMLDocument7 event handler properties for supported events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 20:32:02 +02:00
Jacek Caban 3c92286b54 mshtml: Forward common function from IHTMLDocument7 to IHTMLDocument2.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 20:32:02 +02:00
Jacek Caban 697f1cb60f mshtml: Added IHTMLDocument7::get_defaultView implementation and use it for get_parentWindow implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 20:32:02 +02:00
Jacek Caban 2fc598ddb0 mshtml: Added IHTMLDocument7::get_characterSet implementation and use it in get_charset.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-12 20:32:01 +02:00
Francois Gouget e462c9ae11 mshtml: Make HTMLDocumentNode_init_dispex_info() static.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Francois Gouget 89eddb2ded mshtml: A spelling fix in a WARN() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Jacek Caban d631268fa1 mshtml: Properly expose IHTMLDocument6 interface to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 16:59:08 +02:00
Jacek Caban f84d1f0aac mshtml: Added IHTMLDocument6::getElementById implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 16:59:05 +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 53253aa6a4 mshtml: Don't allow changing document mode after script insertion or when it's already set.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:41:18 +09:00
Jacek Caban bec8063948 mshtml: Return documentMode as VT_R4.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:37:48 +09:00
Piotr Caban 3c7415f715 mshtml: Add IElementTraversal::get_firstElementChild implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 20:50:24 +02:00
Piotr Caban 188a1d7d8f mshtml: Expose IElementTraversal interface to scripts.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 18:26:38 +02:00
Piotr Caban 59028126f0 mshtml: Add IElementTraversal stub implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 18:26:36 +02:00
Jacek Caban b9f0ac40b9 mshtml: Set referrer in load_nsuri.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 16:10:26 +02:00
Jacek Caban 3296a18c3e mshtml: Always create load info object in load_nsuri.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 16:10:24 +02:00
Jacek Caban fcd136e1a2 mshtml: Set correct load type in load_nsuri.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 16:10:23 +02:00
Jacek Caban 281826ebd0 mshtml: Added IHTMLDOMNode3::put_textContent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-21 15:14:11 +02:00
Jacek Caban c8cab0d3f6 mshtml: Added IHTMLDOMNode3::get_textContent implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 18:55:13 +02:00
Jacek Caban fd44c7ac26 mshtml: Support returning VT_NULL from return_nsstr_variant.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 18:55:09 +02:00
Jacek Caban d4be45fc9a mshtml: Expose IHTMLDOMNode3 interface to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 20:58:41 +02:00
Jacek Caban 03b8041119 mshtml: Forward duplicated IHTMLDOMNode3 functions to IHTMLDOMNode implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 20:58:37 +02:00
Jacek Caban 821c476887 mshtml: Added IHTMLDOMNode3 stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 20:58:33 +02:00
Jacek Caban 63205bf01d mshtml: Moved EvaluateNewWindow call to navigate_new_window.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 19:15:12 +02:00
Jacek Caban 0286b11cda mshtml/tests: Added IHTMLInputTextElement2 tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 21:54:40 +02:00
Jacek Caban 44792c0233 mshtml: Expose IHTMLInputTextElement2 to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 21:54:40 +02:00
Jacek Caban 5dee1a3f89 mshtml: Added IHTMLInputTextElement2::setSelectionRange implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 21:54:40 +02:00
Jacek Caban aebefe17bf mshtml: Added IHTMLInputTextElement2::selectionEnd property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 21:54:40 +02:00
Jacek Caban 03febf448e mshtml: Added IHTMLInputTextElement2::selectionStart property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 21:54:40 +02:00
Jacek Caban 0fed758ef0 mshtml: Added IHTMLInputTextElement2 stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 21:54:39 +02:00
Jacek Caban 11d4969baa mshtml: Added DOCHOSTUIFLAG_ENABLE_REDIRECT_NOTIFICATION flag support.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 17:37:05 +02:00
Jacek Caban a8a050e975 mshtml: Added IBindCallbackRedirect implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-07 17:37:03 +02:00
Jacek Caban d3d8d4f37a mshtml: Use IE version dependent on compatibility mode for conditional comments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:43 -05:00
Jacek Caban ce80f1e49d mshtml: Added separated IE5 and quicks mode compatibility mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:42 -05:00
Jacek Caban 97e2600607 mshtml: Don't expose doScroll in IE11 document mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:42 -05:00
Nikolay Sivov 5587efe51b mshtml/tests: Fix BSTR double-free (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 19:29:14 +02:00
Jacek Caban d25684d5ae mshtml: Don't emulate legacy style filters in compatibility mode >= IE10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 15:29:44 +02:00
Jacek Caban cad03646c5 mshtml: Added edge compatibility mode support.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-24 15:29:42 +02:00
Jacek Caban 1d79fc45b5 mshtml/tests: Added more IProvideClassInfo tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:56 +02: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 97c71b25fe mshtml: Added GetClassInfo implementation for HTMLElement objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:51 +02:00
Jacek Caban 939eafcce0 mshtml/tests: Added area element tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:46 +02:00
Jacek Caban 331205d88c mshtml.idl: Added HTMLAreaElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:42 +02:00
Jacek Caban 2b8b15c22e mshtml: Added IProvideMultipleTypeInfo implementation for HTMLElement object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:39 +02:00
Jacek Caban 78490956f9 mshtml: Added IProvideMultipleTypeInfo implementation for HTMLWindow object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:35 +02:00
Jacek Caban 18309c575a mshtml: Added IProvideMultipleTypeInfo stub implementation for HTMLDocument object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:58:31 +02:00
Jacek Caban 4632045f9a mshtml: Replace get_htmldoc_classinfo with more generic helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:48 +02:00
Jacek Caban 91c568bc6d mshtml.idl: Added HTMLStyleElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:48 +02:00
Jacek Caban 8d467a4bd0 mshtml.idl: Added HTMLIFrame coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:48 +02:00
Jacek Caban 39460707e2 mshtml.idl: Added HTMLFrameElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:48 +02:00
Jacek Caban 887641070a mshtml.idl: Added HTMLObjectElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:48 +02:00
Jacek Caban eb9b998c15 mshtml.idl: Added HTMLScriptElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:47 +02:00
Jacek Caban 16189147c6 mshtml.idl: Added HTMLTableCell coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:47 +02:00
Jacek Caban c84111de12 mshtml.idl: Added HTMLTableRow coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:47 +02:00
Jacek Caban e4a436ee5e mshtml.idl: Added HTMLEmbed coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:47 +02:00
Jacek Caban 6785ccfce5 mshtml.idl: Added HTMLMetaElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:47 +02:00
Jacek Caban c80bd90ab0 mshtml.idl: Added HTMLTitleElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:47 +02:00
Jacek Caban fd7f3b3405 mshtml.idl: Added HTMLHeadElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:08:21 +02:00
Jacek Caban 9111c8a0e2 mshtml.idl: Added HTMLHtmlElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:08:18 +02:00
Jacek Caban 735147ad80 mshtml.idl: Added HTMLButtonElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:08:15 +02:00
Jacek Caban 41a2d62d5a mshtml.idl: Added HTMLTextAreaElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:08:11 +02:00
Jacek Caban 85e9e2867c mshtml.idl: Added HTMLInputElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:08:08 +02:00
Jacek Caban 9689cbcb18 mshtml.idl: Added HTMLSelectElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:08:04 +02:00
Jacek Caban a17e6b33c7 mshtml.idl: Added HTMLLabelElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:07:59 +02:00
Jacek Caban 0636249b0e mshtml.idl: Added HTMLAnchorElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:16:16 +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 f40b54483f mshtml.idl: Added HTMLImg coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:16:09 +02:00
Jacek Caban ab0e68a95e mshtml.idl: Added HTMLLinkElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:16:03 +02:00
Jacek Caban 327a77c1c2 mshtml.idl: Added HTMLGenericElement coclass declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:15:59 +02:00
Jacek Caban 9141c97d94 mshtml: Silence failing QueryInterfaces common for .net applications.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:15:11 +02:00
Jacek Caban 38436fff29 mshtml/tests: Added IMarshal and IManagedObject QueryInterface tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:15:09 +02:00
Jacek Caban e2a9d203cd mshtml: Added IHTMLTableCell::colSpan property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 19:21:11 +02:00
Jacek Caban b1c7b89125 mshtml: Added IHTMLTableCell::rowSpan property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-07 19:21:09 +02:00
Daniel Lehman f21ec7f170 mshtml: Decrement refcount in nsWeakReference::Release (Valgrind).
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 15:34:13 +01:00
Jacek Caban 794e424c2a mshtml: Removed no longer used attr_name from event_info_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:07 +01:00
Jacek Caban e89c279d1c mshtml: Don't use attr_name in attr_to_eid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:07 +01:00
Jacek Caban 607a8d0121 mshtml: Added get_event_dispex_ref helper that avoids using attr_name.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:07 +01:00
Jacek Caban 9f0be72618 mshtml: Reimplemented check_event_attr to iterate though declared attributes instead of all known events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:06 +01:00
Jacek Caban 7f6b21e1c5 mshtml: Added IHTMLDocument5::onmousewheel property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:39 +01:00
Jacek Caban c058ce52c0 mshtml: Added IHTMLDocument7::onchange property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:39 +01:00
Jacek Caban e51ece778f mshtml: Added IHTMLDocument4::onselectionchange property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:39 +01:00
Jacek Caban 59e146562c mshtml: Added IHTMLDocument7::onscroll property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-16 19:08:39 +01:00
Jacek Caban db1d194078 mshtml: Added IHTMLCurrentStyle::get_direction implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:47 +01:00
Jacek Caban de998b95ac mshtml: Added IHTMLElement4::onbeforeactivate property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:47 +01:00
Jacek Caban 8dce1975aa mshtml: Added IHTMLDocument5::onfocusin and onfocusout properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 22:58:47 +01: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 bc02ba80b9 mshtml: Pass event target as EventTarget to release_event_target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:11 +01:00
Jacek Caban 57239e7822 mshtml: Use get_handler_vector in detach_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:09 +01:00
Jacek Caban 3fcb5a0aed mshtml: Use get_handler_vector in get_event_handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:07 +01:00
Jacek Caban 02f0483d37 mshtml: Use get_handler_vector in call_event_handlers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:05 +01:00
Jacek Caban 6da77419b5 mshtml: Use get_handler_vector in remove_event_handler.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:03 +01:00
Jacek Caban db67232ce2 mshtml: Added new get_handler_vector helper for creating handle_vector_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:49:01 +01:00
Jacek Caban 72ee409e7f mshtml: Don't reallocate handler_vector_t when handlers are added.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-14 22:48:59 +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