Commit Graph

322 Commits

Author SHA1 Message Date
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 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 dba85f124b mshtml: Added a helper to get vtbl from DispatchEx and use it to access vtbl outside dispex.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:50 +09:00
Jacek Caban fd2f645d16 mshtml: Moved dispex_data_t pointer to the end of dispex_static_data_t struct.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:45 +09:00
Jacek Caban 244abfcb77 mshtml: Added IHTMLElement6::getElementsByClassName implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:47 +09:00
Jacek Caban cb1be040ea mshtml: Added missing release_dispex call in HTMLRect destructor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:44 +09:00
Jacek Caban d715fdf2c8 mshtml: Added IHTMLElement2::onscroll and onresize properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:42 +09:00
Jacek Caban 4a96d20945 mshtml: Added IHTMLElement::ondragstart and onhelp properties implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:40 +09:00
Jacek Caban 7e86918a77 mshtml: Added IHTMLElement6::on* properties implementation for supported events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:35 +09:00
Jacek Caban 1b04f09be4 mshtml: Added IHTMLElement6 stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:21:33 +09:00
Jacek Caban 2e4fa65d09 mshtml: Added IElementSelector::querySelectorAll implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 12:23:22 +09:00
Jacek Caban ba9da24d7c mshtml: Added IElementSelector interface stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 12:23:19 +09:00
Jacek Caban 8abd37637a mshtml: Improved FIXMEs about unimplemented events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:54 +09:00
Jacek Caban 4d1194d104 mshtml: Added IHTMLElement::put_onkeyup implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 14:09:17 +09:00
Jacek Caban c766386f36 mshtml: Added IHTMLElement2::oncontextmenu property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:02:02 +09:00
Jacek Caban 67cb39b270 mshtml: Bind load event directly to the target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 22:02:02 +09: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 baf9db63ed mshtml: Added HTMLHtmlElement object implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:21 +09:00
Jacek Caban 7c1fa88ced mshtml: Added IHTMLElement::put_outerText implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:05 +09:00
Jacek Caban ca3178d0c5 mshtml: Added IHTMLElement::get_outerText implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 22:10:01 +09:00
Jacek Caban 17fcc112ad mshtml: Added IHTMLElement4::setAttributeNode implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:29 +09:00
Jacek Caban a3ab8d6792 mshtml: Split conversion to string out of get_elem_attr_value_by_dispid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 21:55:22 +09:00
Jacek Caban a52cb2b87a mshtml: Added IHTMLUniqueName::get_uniqueID implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:23 +09:00
Jacek Caban 881b2f08d9 mshtml: Added IHTMLUniqueName::get_uniqueNumber implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:20 +09:00
Jacek Caban 40b2deb843 mshtml: Added IHTMLUniqueName interface stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:18 +09:00
Jacek Caban f394dca92a mshtml: Properly convert VT_NULL to string in get_elem_attr_value_by_dispid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:30 +01:00
Jacek Caban 467981c29b mshtml: Added IHTMLElement::lang property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:02:59 +01:00
Jacek Caban 7b5e8497bf mshtml: Properly return NULL parentElement.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-09 00:53:41 +09:00
Alex Henrie f36d761650 mshtml: Stub out HTMLAreaElement. 2015-08-05 23:46:28 +09:00
Jacek Caban 7950f780df mshtml: Get rid of no longer needed detach_event argument. 2015-05-21 13:55:03 +09:00
Jacek Caban 189cb568ee mshtml: Use vtbl for binding to event in attach_event. 2015-05-21 13:54:58 +09:00
Jacek Caban 21151f3ec6 mshtml: Pass EventTarget to detach_event. 2015-05-15 18:06:01 +09:00
Jacek Caban 513c77d9e4 mshtml: Pass EventTarget to attach_event. 2015-05-15 18:05:57 +09:00
Jacek Caban a1d837c341 mshtml: Moved getting event target data pointer to DispatchEx vtbl. 2015-05-15 18:05:34 +09:00
Jacek Caban f908f03cd9 mshtml: Added new EventTarget struct representing event targets. 2015-05-15 18:05:27 +09:00
Jacek Caban 8e0d661927 mshtml: Split getAttribute into helper function and use it in IHTMLDOMAttribute::get_nodeValue implementation. 2015-05-05 10:15:59 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Francois Gouget 5a36a48c15 mshtml: Make insert_adjacent_node() static. 2015-03-02 13:49:44 +09:00
Jacek Caban 7cbb683705 mshtml: Removed TRACEs from dispex_query_interface. 2015-01-20 16:29:35 +01:00
Jacek Caban c1afef340c mshtml: Added IHTMLElement::get_isTextEdit implementation. 2014-12-22 13:33:02 +01:00
Jacek Caban 347842a6a1 mshtml: Added IHTMLElement4::focusin semi-stub implementation. 2014-12-16 13:33:05 +01:00
Jacek Caban 1454e302a8 mshtml: Added support for flag 2 in getAttribute. 2014-12-01 18:34:22 +01:00
Jacek Caban 53e9acbf28 mshtml: style attribute is a special case for setAttribute and removeAttribute. 2014-11-28 17:06:06 +01:00
Jacek Caban 96f628175d mshtml: Correctly handle flags in IHTMLElement:getAttribute. 2014-11-28 17:06:03 +01:00
Jacek Caban 0bb1ed4101 mshtml: Correctly handle flags in IHTMLElement:setAttribute. 2014-11-28 17:06:01 +01:00
Jacek Caban 5f913d5afb mshtml: Better removeAttribute implementation. 2014-11-28 17:05:58 +01:00
Jacek Caban 6485a67a90 mshtml: Merge htmlelem3.c into htmlelem.c. 2014-11-21 18:11:37 +09:00
Jacek Caban d619fd2d0e mshtml: Added IHTMLElement2::put_dir implementation. 2014-11-13 16:28:49 +09:00
Jacek Caban 1e4cd8f533 mshtml: Moved IHTMLElement2 implementation to htmlelem.c. 2014-11-13 16:28:31 +09:00
Jacek Caban c6c0c6b52a mshtml: Added IHTMLElement::language property implementation. 2014-10-13 18:09:51 +09:00
Jacek Caban 845f5cccf0 mshtml: Moved READYSTATE to string conversion to separated function. 2014-10-09 17:37:08 +02:00
Jacek Caban 063ef3ca0e mshtml: Added IHTMLElement::get_sourceIndex implementation. 2014-09-16 20:29:02 +02:00
Jacek Caban 7c7a594692 mshtml: Fixed handling NULL argument in IHTMLElement::contains implementation. 2014-08-18 21:32:56 +02:00
Jacek Caban bf10dd3ee4 mshtml: Added IHTMLElement:scrollIntoView implementation. 2014-08-04 16:18:30 +02:00
Jacek Caban 6031108076 mshtml: Added IHTMLMetaElement::charset property implementation. 2014-07-23 21:24:25 +02:00
Jacek Caban b79ef6769b mshtml: Added new helper for GetAttribute based getters and use it in IHTMLMetaElement implementation. 2014-06-11 13:04:07 +02:00
Jacek Caban 39e24713e9 mshtml: Added new helper for getting element attribute value and use it in script.c. 2014-06-11 13:04:04 +02:00
Jacek Caban cac04a675c mshtml: Use debugmsg_mshtml_guid in a few more places. 2014-05-08 12:14:21 +02:00
Jacek Caban 0be56d27d2 mshtml: Wine Gecko 2.24 release. 2013-09-25 19:31:38 +02:00
Jacek Caban d3e8d44e9c mshtml: Added HTMLElementEvents2 support. 2013-03-15 16:18:08 +01:00
Jacek Caban af6c518e7d mshtml: Use lazy allocation for connection points. 2013-03-15 16:18:05 +01:00
Jacek Caban 78b579dff2 mshtml: Added IHTMLButtonElement stub implementation. 2013-03-14 19:40:54 +01:00
Jacek Caban e03de990ef mshtml: Added IHTMLElement2::insertAdjacentElement implementation. 2013-03-01 18:03:31 +01:00
Jacek Caban 6d55379f7a mshtml: insert_adjacent_node clean up. 2013-03-01 18:03:31 +01:00
Jacek Caban 99a86766a0 mshtml: Added IHTMLLabelElement stub implementation. 2013-02-28 21:01:53 +01:00
Jacek Caban a9136b56f7 mshtml: Addeed IHTMLDocument5::createAttribute implementation. 2013-02-20 16:28:09 +01:00
Jacek Caban 07e72de9a4 mshtml: Get rid of PRUint32 outside XPCOM C API. 2013-01-23 20:47:25 +01:00
Jacek Caban c55b777c7c mshtml: Don't use PRInt32 in htmlelem*. 2013-01-18 14:46:41 +01:00
Jacek Caban 4940275d21 mshtml: Set 'this' to window object for onload handlers. 2012-10-22 12:06:33 +02:00
Jacek Caban 8b04ab10b9 mshtml: Fixed attribute object caching logic. 2012-10-22 12:06:26 +02:00
Jacek Caban b75e2c4dde mshtml: Added IHTMLLinkElement stub implementation. 2012-10-15 15:24:43 +02:00
Jacek Caban 878b85825a mshtml: Moved creating HTML element to separated function. 2012-10-11 20:20:51 +02:00
Jacek Caban 3bfbd6b619 mshtml: Moved getElementById implementation to separated function. 2012-10-02 16:01:18 +02:00
Jacek Caban 74453fb0fd mshtml: Added HTMLElement::ondataavailable implementation. 2012-09-13 13:54:40 +02:00
Jacek Caban a1e6835d0e mshtml: Added IHTMLElement::contains implementation. 2012-09-04 15:06:41 +02:00
Jacek Caban f63da13c28 mshtml: Added IHTMLWindow2::onhelp property implementation. 2012-09-04 15:06:28 +02:00
Jacek Caban 6d2902f680 mshtml: Use inline wrappers and fixed found warnings. 2012-07-26 13:40:40 +02:00
Jacek Caban 9ccc5f487b mshtml: Added IHTMLElement2::get_runtimeStyle hackish implementation. 2012-07-25 16:11:21 +02:00
Jacek Caban 5b633c29b9 mshtml: Moved more logic to HTMLStyle_Create. 2012-07-25 16:11:21 +02:00
Jacek Caban 6942dd0862 mshtml: Added HTMLElement::onkeypress implementation. 2012-07-13 10:32:10 -05:00
Jacek Caban b225c73aa8 mshtml: Don't release nselem in HTMLElement_destructor. 2012-06-28 01:39:23 +02:00
Jacek Caban 829f24c1c7 mshtml: Get rid of no longer needed unk_ref from HTMLElementCollection. 2012-06-28 01:39:01 +02:00
Jacek Caban f878c9983d mshtml: Share nselem reference with nsnode. 2012-06-26 17:06:12 +02:00
Jacek Caban 8c396ed437 mshtml: Call HTMLDOMNode_Init directly in HTMLCommentElement_Create. 2012-06-26 17:06:11 +02:00
Jacek Caban a8d0efc7d6 mshtml: Return referenced instances from node constructors. 2012-06-26 17:06:11 +02:00
Jacek Caban 7ebcb1820e mshtml: Keep reference in node returned from get_node. 2012-06-25 17:45:18 +02:00
Jacek Caban 9fa443dcd9 mshtml: Wine Gecko 1.6 release. 2012-06-11 21:03:46 +02:00
Jacek Caban d66dacce68 mshtml: Copy filter value in HTMLElement_clone. 2012-04-18 15:45:01 +02:00
Jacek Caban 29fbc70267 mshtml: Use return_nsstr helper in HTMLElement object implementation. 2012-04-13 16:09:42 +02:00
Jacek Caban 2d206abeac mshtml: Added IHTMLMetaElement stub implementation. 2012-04-02 18:27:01 +02:00
Jacek Caban 3f9c706606 mshtml: Improved VARIANT debug traces in htmlelem.c. 2012-03-28 14:56:25 +02:00
Jacek Caban 574becbf87 mshtml: Added IHTMLTableCell interface stub implementation. 2012-03-28 13:51:53 +02:00
Jacek Caban 348338257b mshtml: Store filter in HTMLElement object. 2012-03-16 15:37:42 +01:00
Jacek Caban 23c6fddea3 mshtml: Wine Gecko 1.5 release. 2012-03-14 17:35:03 +01:00
Jacek Caban f09e4ce269 mshtml: Properly handle out of memory in IHTMLElement::get_outerHTML. 2012-02-01 16:42:46 +01:00
Jacek Caban 0dedfab9a7 mshtml: Added VT_I2 handling to IHTMLSelectElement:add implementation. 2012-01-27 18:06:00 +01:00
Jacek Caban 92d55a84d6 mshtml: Fixed ref count leaks. 2011-11-03 17:41:41 +01:00