Commit Graph

766 Commits

Author SHA1 Message Date
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 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
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
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 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 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 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 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 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 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 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 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
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 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 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 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 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
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 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 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