Commit Graph

92 Commits

Author SHA1 Message Date
Paul Gofman eb5a50a9a5 mshtml: Move assert.h include to mshtml_private.h.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-08 21:12:16 +02:00
Jacek Caban c833238a21 mshtml: Initialize DOMEvent object with compat mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-11 22:58:26 +01:00
Michael Stefaniuc 33de9b1475 mshtml: Use wide-char string literals for PRUnichar strings.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 16:53:52 +01:00
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 b574cd98bd mshtml: Bind events directly to document node for documents with no window associated.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban 496abd052e mshtml: Get rid of handle_edit_load.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:12 +01:00
Jacek Caban 53e095c2e8 mshtml: Pass document node to handle_edit_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:58 +01:00
Jacek Caban aa4d9190a0 mshtml: Move user mode to GeckoBrowser.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:53 +01:00
Jacek Caban eca21a38c1 mshtml: Rename NSContainer to GeckoBrowser.
Long term plan is to move parts of HTMLDocumentObj to GeckoBrowser and
split them in a way allowing them to run in different threads. This is
needed to move Gecko-related tasks into a separated thread to workaround
Gecko main thread limitation.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:40 +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 c36b424ec2 mshtml: Don't dispatch load event if document is already detached from its window.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 15:52:22 +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 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 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 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 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 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 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 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 86116b16bf mshtml: Added support for focusout event and IHTMLElement4::onfocusout property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:45 +09:00
Jacek Caban a86a4e6557 mshtml: Added support for focusin event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Jacek Caban 1dc502c5b4 mshtml: Pass node as an object to fire_event.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:44 +09:00
Jacek Caban 71ce8aaafe mshtml: Flush pending document node tasks before firing onload event. 2014-12-24 14:31:09 +01:00
Jacek Caban 503032749b mshtml: Keep reference to document node in onload event handler. 2013-05-15 19:57:04 +02:00
Jacek Caban 1cc3cf1b64 mshtml: Added exec_refresh implementation. 2012-11-12 16:35:15 +01:00
Jacek Caban 4940275d21 mshtml: Set 'this' to window object for onload handlers. 2012-10-22 12:06:33 +02:00
Jacek Caban 51b701c3ad mshtml: Moved HTMLScriptElement declaration to separated header. 2012-10-16 20:40:28 +02:00
Jacek Caban 481abdb304 mshtml: Don't do anything in handle_htmlevent if document is already detached. 2012-09-20 19:23:21 +02:00
Jacek Caban 6530e8a963 mshtml: Use inner window directly in handle_load. 2012-07-30 17:57:48 +02:00
Jacek Caban 6d2902f680 mshtml: Use inline wrappers and fixed found warnings. 2012-07-26 13:40:40 +02:00
Jacek Caban bb02767f15 mshtml: Moved script_hosts from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban 08964ede45 mshtml: Added separated types for outer and inner HTML windows. 2012-06-25 17:45:19 +02:00
Jacek Caban 039a9a5aad mshtml: Detach also internal listeners in detach_events. 2012-04-05 17:53:15 +02:00
Jacek Caban ea0ebbfeb2 mshtml: Properly remove event listeners. 2011-11-24 20:57:01 +01:00
Jacek Caban 2e5f73e4d7 mshtml: Wine Gecko 1.4 release. 2011-11-09 19:31:13 +01:00
Jacek Caban 7891fc45d3 mshtml: Removed duplicated includes. 2011-08-03 14:15:49 +02:00
Jacek Caban 402c875699 mshtml: Moved OLECMDID_SETDOWNLOADSTATE call to separated function. 2011-07-24 12:32:38 +02:00
Piotr Caban 21d500b37f mshtml/tests: Added IDocObjectService interface. 2011-03-29 12:36:12 +02:00
Piotr Caban 98281236c0 mshtml: Execute IDocObject_FireDocumentComplete in handle_load function. 2011-03-11 11:50:25 +01:00
Michael Stefaniuc c8d6a502f0 mshtml: COM cleanup for the nsIDOMEventListener iface. 2011-01-03 16:45:18 +01:00
Jacek Caban f7910c9304 mshtml: Moved more code to handle_docobj_load. 2010-10-07 12:00:26 +02:00
Alexander Nicolaysen Sørnes aa733bedd5 mshtml: Send more informative messages to OleInPlaceFrame. 2010-08-04 13:19:21 +02:00
Jacek Caban 9ca80347e3 mshtml: Get rid of useless nsQIResult type. 2010-08-02 14:08:57 +02:00
Jacek Caban 9539cf7a4e mshtml: Use NSContainer HWND in handle_blur. 2010-04-13 21:12:57 +02:00
Jacek Caban 7cdad62b97 mshtml: Improved focus handling. 2010-04-13 21:12:08 +02:00
Jacek Caban df0a35e3d3 mshtml: Added support for load event on all nodes. 2010-03-18 11:18:01 +01:00
Jacek Caban 8629433f5f mshtml: Fire readystatechange event on document nodes. 2010-03-18 11:17:51 +01:00
Jacek Caban 9389184d1f mshtml: Ignore load event on detached documents. 2010-03-15 14:18:05 +01:00