Commit Graph

166 Commits

Author SHA1 Message Date
Jacek Caban 8086af47b5 mshtml: Don't call CP event sinks on detached documents. 2012-11-06 16:02:30 +01:00
Jacek Caban 4940275d21 mshtml: Set 'this' to window object for onload handlers. 2012-10-22 12:06:33 +02:00
Jacek Caban d1c1f9e830 mshtml: Use detach_inner_window in release_inner_window. 2012-10-17 14:01:32 +02:00
Jacek Caban 5e0f624c41 mshtml: Added HTMLImgElement::onabort implementation. 2012-10-17 14:01:19 +02:00
Jacek Caban 51b701c3ad mshtml: Moved HTMLScriptElement declaration to separated header. 2012-10-16 20:40:28 +02:00
Jacek Caban d40b1ae8dc mshtml: Added support for script 'for' and 'event' attributes. 2012-10-02 16:01:43 +02:00
Jacek Caban f833ac752e mshtml: Fixed NULL event_obj handling in fire_event_obj. 2012-09-19 16:31:22 +02:00
Jacek Caban 05dc7eac8d mshtml: Added IHTMLDocument4::fireEvent implementation. 2012-09-13 13:55:36 +02:00
Jacek Caban 3de3d07054 mshtml: Added support for event object in HTMLElement::fireEvent. 2012-09-13 13:54:52 +02:00
Jacek Caban fffb717b1b mshtml: Added IHTMLDocument4::createEventObject implementation. 2012-09-13 13:54:47 +02:00
Jacek Caban 74453fb0fd mshtml: Added HTMLElement::ondataavailable implementation. 2012-09-13 13:54:40 +02:00
Jacek Caban 7293e84163 mshtml: Added IHTMLWindow2::onscroll implementation. 2012-09-10 17:35:54 +02:00
Jacek Caban f63da13c28 mshtml: Added IHTMLWindow2::onhelp property implementation. 2012-09-04 15:06:28 +02:00
Jacek Caban 7ff231d7fb mshtml: Use inner window directly from document node in htmlevent.c. 2012-07-30 17:57:46 +02:00
Jacek Caban c73b135686 mshtml: Store event object in HTMLInnerWindow instead of HTMLOuterWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban bb02767f15 mshtml: Moved script_hosts from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:21 +02:00
Jacek Caban 79356c65c1 mshtml: Moved document node from HTMLOuterWindow to HTMLInnerWindow. 2012-06-25 17:45:19 +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 7ebcb1820e mshtml: Keep reference in node returned from get_node. 2012-06-25 17:45:18 +02:00
Jacek Caban cea8bc5237 mshtml: Added support for IHTMLEventObj::cancelBubble property. 2012-04-16 17:49:25 +02:00
Jacek Caban 1c277a26bb mshtml: Added IHTMLDocument2::onkeypress implementation. 2012-04-10 16:21:31 +02:00
Jacek Caban 8ac7e950a9 mshtml: Added IHTMLImgElement::onerror implementation. 2012-04-05 17:53:16 +02:00
Jacek Caban 039a9a5aad mshtml: Detach also internal listeners in detach_events. 2012-04-05 17:53:15 +02:00
Jacek Caban e370f4bf3a mshtml: Added IHTMLWindow2::onerror semi-stub implementation. 2012-04-04 19:01:57 +02:00
Jacek Caban 21f5ef2808 mshtml: Improved more VARIANT debug traces. 2012-03-28 14:56:39 +02:00
Jacek Caban 4983a663a5 mshtml: Get rid of remaining PRBool usages. 2012-03-15 19:54:56 +01:00
Jacek Caban 0b55645820 mshtml: Follow anchors only on left button click. 2012-01-27 18:05:58 +01:00
Jacek Caban ea0ebbfeb2 mshtml: Properly remove event listeners. 2011-11-24 20:57:01 +01:00
Andrew Talbot a29f69718b mshtml: Mark fall-through in switch statement. 2011-10-06 16:47:26 -05:00
Jacek Caban bf4b869152 mshtml: Wine Gecko 1.3 release. 2011-08-23 18:16:44 +02:00
Jacek Caban 7a0600dc39 mshtml: Call default event handlers only for events that have them. 2011-08-03 14:15:48 +02:00
Jacek Caban ff127a3461 mshtml: Always set onclick event handler during document initialization. 2011-08-02 11:51:06 +02:00
Jacek Caban 2610ef9c9c mshtml: Always alloc event_vector for documents. 2011-08-02 11:51:06 +02:00
Jacek Caban 6d7667894e mshtml: Added possibility for node implementations to add default event handlers. 2011-08-02 11:51:06 +02:00
Jacek Caban aa6ee29e01 mshtml: Rename call_event to fire_event. 2011-08-02 11:51:06 +02:00
Jacek Caban 9a3aa863be mshtml: Added IHTMLEventObj::put_returnValue implementation. 2011-07-27 19:02:56 +02:00
Jacek Caban 86aecc8488 mshtml: Fixed node leak in HTMLEventObj. 2011-03-29 13:48:22 +02:00
Jacek Caban a96606e6ad mshtml: Event handler may be already free in release_event_target. 2011-03-29 13:48:14 +02:00
Jacek Caban 48aadd44ae mshtml: Correctly set NULL event. 2011-03-17 10:43:21 +01:00
Jacek Caban 5055caa8fa mshtml: Added support for canceling default event behavior. 2011-02-28 14:04:57 +01:00
Jacek Caban f4c4a94618 mshtml: Added IHTMLFormElement::onsubmit implementation. 2011-02-28 14:04:53 +01:00
Jacek Caban 1c881e534b mshtml: Moved call_disp_func to htmlevent.c. 2011-02-25 15:03:32 +01:00
Alistair Leslie-Hughes 62c8c143c4 mshtml: Add support for get/put mousemove event. 2011-02-21 16:24:39 +01:00
Michael Stefaniuc 0b66169a05 mshtml: COM cleanup for the IDispatchEx iface in DispatchEx. 2010-12-31 11:47:31 +01:00
Michael Stefaniuc f653f4a22e mshtml: COM cleanup for the IHTMLDOMNode iface. 2010-12-30 12:21:53 +01:00
Jacek Caban c63a5fa8fd mshtml: IHTMLDocument2 iface handling clean up. 2010-12-17 13:26:01 +01:00
Michael Stefaniuc 0d2f29a010 mshtml: Use an iface instead of a vtbl pointer in HTMLEventObj. 2010-12-07 11:39:36 +01:00
Jacek Caban 6a1f4eb724 mshtml: Improved error handling in get_node calls. 2010-12-01 16:29:38 +01:00
Jacek Caban 1eced6053d mshtml: Check if event_table entry is allocated before using it in remove_event_handler. 2010-06-21 11:51:52 +02:00
Jacek Caban 7594b653f0 mshtml: Added beginning support for oncontextmenu event. 2010-05-07 16:00:23 +02:00
Alistair Leslie-Hughes ec32203391 mshtml: Implement IHTMLEventObj IDispatch functions. 2010-04-21 11:57:33 +02:00
Jacek Caban df0a35e3d3 mshtml: Added support for load event on all nodes. 2010-03-18 11:18:01 +01:00
Jacek Caban da01d8acaf mshtml: Moved removing event target to separated function. 2010-03-18 11:17:55 +01:00
Jacek Caban 8629433f5f mshtml: Fire readystatechange event on document nodes. 2010-03-18 11:17:51 +01:00
Jacek Caban ca9dbd736f mshtml: Ensure that gecko event listener is attached in attach_event. 2010-02-11 14:38:44 +01:00
Jacek Caban 29389b8742 mshtml: Added IHTMLElement2::detachEvent implementation. 2010-02-09 11:34:48 +01:00
Jacek Caban 456e53bcf9 mshtml: Optimize more nsAString handling. 2010-01-29 13:30:08 +01:00
Jacek Caban 8571bf6f0e mshtml: Call attached event handlers in reversed order. 2010-01-25 12:59:06 +01:00
Jacek Caban e4a936a2d2 mshtml: Store body event target in HTMLDocumentNode. 2010-01-04 11:41:30 +01:00
Jacek Caban 8c5baf3a09 mshtml: Make sure that event listeners of connection point are set. 2010-01-04 11:41:29 +01:00
Andrew Eikum c10cd6c137 mshtml: Implement IHTMLWindow2::{get,put}_onresize. 2009-12-08 17:54:08 +01:00
Jacek Caban f1a543d546 mshtml: Added test for setting VT_EMPTY event handler. 2009-12-07 14:18:28 +01:00
Jacek Caban bfec9c619b mshtml: Fixed dispid lookup in_cp_event. 2009-12-03 10:22:09 +01:00
Jacek Caban 1c5c822b07 mshtml: Added support for connection point HTML notification. 2009-11-24 10:47:21 +01:00
Jacek Caban 361f9a30ba mshtml: Moved event_vector to HTMLDocumentNode. 2009-10-28 11:11:31 +01:00
Jacek Caban f9eff68891 mshtml: Moved nsdoc to HTMLDocumentNode object. 2009-10-22 10:41:22 +02:00
Jacek Caban 6e319087a9 mshtml: Added IHTMLElement::click implementation. 2009-10-13 11:27:32 +02:00
Jacek Caban 946bd4ae1c mshtml: Added IHTMLElement3::fireEvent implementation. 2009-10-13 11:27:27 +02:00
Jacek Caban 672bca557a mshtml: Create nsIDOMEvent in create_event if not available. 2009-10-13 11:27:21 +02:00
Jacek Caban 522d0bf973 mshtml: Use node event_target for HTMLDocument. 2009-09-17 09:48:25 -05:00
Jacek Caban 64d4efe967 mshtml: Move node list to HTMLDocumentNode. 2009-09-17 09:47:53 -05:00
Jacek Caban 62ccef389f mshtml: Store document node in window. 2009-09-17 09:40:09 -05:00
Jacek Caban 4956e3edb5 mshtml: Moved event_vector to HTMLWindow. 2009-09-17 09:39:43 -05:00
Jacek Caban ee5d678450 mshtml: Added semi-stub IHTMLElement2::onreadystatechange implmementation. 2009-09-15 16:41:26 -05:00
Jacek Caban c89b4aec99 mshtml: Added IHTMLElement::dblclick property implementation. 2009-09-09 12:09:11 +02:00
Jacek Caban e79e409819 mshtml: Fire beforeunload event on body element. 2009-09-09 12:09:04 +02:00
Jacek Caban 603d8ed926 mshtml: Added support for document events in fire_event. 2009-09-09 12:08:58 +02:00
Jacek Caban c7496aee8f mshtml: Added IHTMLWindow2::onbeforeunload property implementation. 2009-09-09 12:08:42 +02:00
Jacek Caban b481b09248 mshtml: Store body event target in window object. 2009-09-09 12:08:32 +02:00
Jacek Caban 724fde7e91 mshtml: Added IHTMLElement2::attachEvent implementation. 2009-09-08 13:41:23 +02:00
Jacek Caban 86410d4a0c mshtml: Store event handlers in vector structure. 2009-09-08 13:41:17 +02:00
Jacek Caban 6fae33de2a mshtml: Improve IHTMLEventObj getter stubs. 2009-09-08 13:41:05 +02:00
Jacek Caban ecaab0fcae mshtml: Added IHTMLEventObj::get_screen[XY] implementation. 2009-09-08 13:40:59 +02:00
Jacek Caban be5e018b6e mshtml: Added IHTMLEventObj::get_client[XY] implementation. 2009-09-08 13:40:53 +02:00
Jacek Caban 3ffef98dca mshtml: Added IHTMLEventObj::get_button implementation. 2009-09-08 13:40:47 +02:00
Jacek Caban 7f7ea0e116 mshtml: Added IHTMLEventObj::get_keyCode implementation. 2009-09-08 13:40:41 +02:00
Jacek Caban 63e0b63ff9 mshtml: Addded IHTMLEventObj::get_shiftKey implementation. 2009-09-08 13:40:36 +02:00
Jacek Caban 066e0812e6 mshtml: Added IHTMLEventObj::get_ctrKey implementation. 2009-09-08 13:40:28 +02:00
Jacek Caban 461b3768d2 mshtml: Added IHTMLEventObj::get_altKey implementation. 2009-09-08 13:40:22 +02:00
Jacek Caban 145d53e2ac mshtml: Added IHTMLEventObj::get_type implementation. 2009-09-08 13:40:16 +02:00
Jacek Caban a6ee270f0f mshtml: Always create event object in fire_event. 2009-09-08 13:40:09 +02:00
Jacek Caban 50ab5620e8 mshtml: Move event handlers invocation to separated function. 2009-09-08 13:40:02 +02:00
Jacek Caban b42243e8e7 mshtml: Properly release DispatchEx data. 2009-09-01 12:43:13 +02:00
Michael Stefaniuc cb133a12d0 mshtml: Change long to LONG in mshtml.idl (remaining stuff). 2009-03-12 13:09:54 +01:00
Jacek Caban e23d0e077c mshtml: Test for NULL nscontainer in set_event_handler_disp. 2008-10-13 11:17:23 +02:00
Jacek Caban 46434faca3 mshtml: Added element mouseout and selectstart event implementation. 2008-10-13 11:17:18 +02:00
Jacek Caban b21e90ee8a mshtml: Added document keydown, keyup, dragstart and selectstart event implementation. 2008-10-13 11:17:12 +02:00
Jacek Caban 36fa704444 mshtml: Added element keydown, mouseup and mousedown event implementation. 2008-10-13 11:17:06 +02:00
Jacek Caban d6f07e0bf8 mshtml: Added element blur, focus, paste and drag event implementation. 2008-10-13 11:17:00 +02:00
Jacek Caban 8db98e9eb6 mshtml: Added IHTMLEventObj::get_srcElement implementation. 2008-10-13 11:16:12 +02:00