Commit Graph

83 Commits

Author SHA1 Message Date
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
Jacek Caban a84741182f mshtml: Added IViewObject::SetAdvise implementation. 2010-02-15 16:11:12 +01:00
Jacek Caban 4b5dcc9e6b mshtml: Optimize more nsAString handling. 2010-01-29 14:59:02 +01:00
Piotr Caban 45e0dd9d1f mshtml: Added PersistStreamInit_InitNew implementation. 2009-12-07 15:40:47 +01:00
Jacek Caban bcfa7c57d6 mshtml: Split parse_complete to handle_load and mutation observer. 2009-11-09 19:44:17 +01:00
Jacek Caban deef140186 mshtml: Moved readystate to HTMLWindow. 2009-11-03 21:25:20 +01:00
Jacek Caban 361f9a30ba mshtml: Moved event_vector to HTMLDocumentNode. 2009-10-28 11:11:31 +01:00
Jacek Caban d52f41ba41 mshtml: Moved nsIDOMEventListener implementations to HTMLDocumentNode. 2009-10-28 11:11:24 +01:00
Jacek Caban 23891357a3 mshtml: Moved HTMLDocumentNode creating to HTMLWindow_Create. 2009-10-22 10:41:55 +02:00
Jacek Caban f9eff68891 mshtml: Moved nsdoc to HTMLDocumentNode object. 2009-10-22 10:41:22 +02:00