Commit Graph

3411 Commits

Author SHA1 Message Date
Jacek Caban f5066488e9 mshtml: Fixed leak in HTMLCurrentStyle_Create. 2015-06-03 14:47:36 +09:00
Dmitry Timoshkov 242beac637 mshtml: Handle VT_INT/VT_UI4 same way as VT_I4/VT_UINT in IHTMLElementCollection::item. 2015-06-02 20:53:43 +09:00
Indrek Altpere 2676488fcd mshtml: Add NULL check to get_frame_by_name. 2015-06-02 14:08:29 +09:00
Indrek Altpere 55c03ad4d2 mshtml: Add NULL check to avoid crashing due to Gecko bug. 2015-06-02 14:08:22 +09:00
Nikolay Sivov a3916f636d mshtml/tests: Fix use-after-free in events tests. 2015-06-01 14:43:35 +09:00
Jacek Caban 9981890397 mshtml: Pass EventTarget to call_event_handlers. 2015-05-26 14:36:57 +09:00
Marcus Meissner 47086b9aaf mshtml: Fixed incorrect NULL ptr check (Coverity). 2015-05-21 13:55:14 +09:00
Jacek Caban c1079f2571 mshtml: Use bind_event in set_event_handler. 2015-05-21 13:55:07 +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 4686f3d761 mshtml: Removed unneeded argument from ensure_nsevent_handler. 2015-05-18 14:06:29 +09:00
Jacek Caban 25dee9f5be mshtml: Initialize output value before passing it to VariantCopy. 2015-05-15 21:58:06 +09:00
Jacek Caban 6919c86601 mshtml: Get rid of get_node_event_target. 2015-05-15 18:06:09 +09:00
Jacek Caban 760f9de851 mshtml: Pass EventTarget to update_cp_events. 2015-05-15 18:06:05 +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 f2fa7e662e mshtml: Pass EventTarget to get_event_handler. 2015-05-15 18:05:52 +09:00
Jacek Caban f26597753a mshtml: Pass EventTarget to set_event_handler. 2015-05-15 18:05:46 +09:00
Jacek Caban 2f4e85abb8 mshtml: Make HTMLInnerWindow inherit from EventTarget. 2015-05-15 18:05:37 +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 71cae1fceb mshtml: Added IHTMLEventObj::get_returnValue implementation. 2015-05-05 10:16:11 +09:00
Jacek Caban 985d8afcd1 mshtml: Added IHTMLDOMAttribute2::get_value implementation. 2015-05-05 10:16:06 +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
Jacek Caban 7c85ed6aab mshtml: Fixed binding event scripts to window objects. 2015-04-20 14:37:33 +09:00
Jacek Caban a0ec86b7b7 mshtml: Get rid of duplicated NS_DLSYM defines. 2015-04-20 14:37:25 +09:00
Jacek Caban ba00e8e0e1 mshtml: Use NS_Alloc and NS_Free directly instead of via nsIMemory. 2015-04-16 20:46:19 +09:00
Thomas Faber 3f63177204 mshtml: Remove nsIDOMWindowUtils::SetCriticalDisplayPortForElement. 2015-04-13 20:27:40 +09:00
Jacek Caban b94dd24eaf mshtml: Use debugstr_mshtml_guid in object and embed element implementation. 2015-04-13 20:27:34 +09:00
Jacek Caban 81c13caf37 mshtml: Increment ref count in QI(IID_HTMLPluginContainer) call. 2015-04-13 20:27:31 +09:00
Francois Gouget 45f5e5d746 mshtml: Mark internal symbols with hidden visibility. 2015-03-27 00:12:40 +09:00
Michael Stefaniuc 0cce9200d9 mshtml/tests: Actually test the return of IHTMLTable_get_width(). 2015-03-25 20:12:51 +09:00
Michael Stefaniuc a21b2cc5b9 mshtml: Print the debug string instead of the pointer value. 2015-03-24 18:16:09 +09:00
Jacek Caban 9374056644 mshtml: Added IHTMLSelectionObject2 stub implementation. 2015-03-23 16:20:25 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Jacek Caban 14e62a0e2d mshtml: Added IHTMLTextAreaElement::defaultValue property implementation. 2015-03-16 15:03:08 +09:00
Francois Gouget ff983cc36a mshtml: Remove unneeded NONAMELESSXXX directives. 2015-03-13 21:57:30 +09:00
Michael Stefaniuc b211f9123b mshtml/tests: '%' doesn't needs escaping in a C string (sparse). 2015-03-11 22:09:57 +09:00
Jacek Caban 144056bce0 mshtml: Allow setting event handlers to strings. 2015-03-11 12:42:42 +09:00
Jacek Caban 7bce21c087 mshtml: Added IHTMLDOMAttribute2::get_expando implementation. 2015-03-10 15:08:15 +09:00
Jacek Caban 25845c7065 mshtml: Added IHTMLDOMAttribute2 stub implementation. 2015-03-10 15:08:03 +09:00
Michael Stefaniuc 533bb9f390 mstml/tests: Merge two adjacent if blocks with identical condition (PVS-Studio). 2015-03-09 22:06:30 +09:00
Jacek Caban 10fba143f7 mshtml: Return S_OK in IHTMLPluginsCollection::refresh. 2015-03-06 21:10:17 +09:00
Michael Stefaniuc 9dcb4004d9 mshtml/tests: Remove an unused assignment (PVS-Studio). 2015-03-06 20:32:01 +09:00
Francois Gouget 5a36a48c15 mshtml: Make insert_adjacent_node() static. 2015-03-02 13:49:44 +09:00
Jacek Caban 25b4d6be68 mshtml: Use return_nsstr helper in IHTMLDocument5::get_compatMode. 2015-03-02 13:48:41 +09:00
Jacek Caban 20080c616d mshtml: Wine Gecko 2.36 release. 2015-02-25 22:55:24 +09:00
Jacek Caban 203c47e604 mshtml: Correctly handle S_OK with NULL URL return from TranslateUrl. 2015-02-25 21:28:17 +09:00
Michael Stefaniuc 5d578b48fc mshtml: RT_HTML is already an INTRESOURCE (PVS-Studio). 2015-02-24 21:55:49 +09:00
Jacek Caban 31d51d4865 mshtml: Added support for CONTEXT_MENU_TEXTSELECT context menu type. 2015-02-23 22:32:33 +09:00
Jacek Caban 17c91f607c mshtml: Share OLECMDID_SELECTALL implementation with IDM_SELECTALL. 2015-02-23 21:45:58 +09:00
Jacek Caban 3f158bf29d mshtml: Added OLECMDID_COPY implementation. 2015-02-23 21:45:56 +09:00
Michael Stefaniuc 9dc35ac468 mshtml/tests: Remove an always true conditional subexpression (PVS-Studio). 2015-02-23 15:25:59 +09:00
Jacek Caban 1f310395eb mshtml: Use constant instead of define for REDIRECT_* flags. 2015-02-19 17:36:51 +09:00
Jacek Caban 32f177ae30 mshtml: Added execCommand("fontsize") support. 2015-02-16 19:18:38 +09:00
Jacek Caban 9e2a446fad mshtml: Call FireBeforeNavigate2 for navigation in frames and iframes. 2015-02-11 23:04:47 +09:00
Marcus Meissner e5a653a594 mshtml: Initialize use_new_window (Coverity). 2015-02-09 17:42:23 +09:00
Jacek Caban 7a89732f73 mshtml: Added IHTMLDocument2::ondblclick property implementation. 2015-02-04 20:32:08 +09:00
Jacek Caban f0fc2ba27d mshtml: Use our submit implementation for all windows, but only for POST method. 2015-02-03 12:45:51 +09:00
Jacek Caban 679ddf24d4 mshtml: Added support for _self target in IHTMLWindow2::open. 2015-01-28 21:30:07 +01:00
Jacek Caban e62612b2c3 mshtml: Added URI_ flags declaration and improved debug traces. 2015-01-26 19:37:04 +01:00
Jacek Caban 13d899ec0f mshtml: Added Exec(OLECMDID_OPTICAL_ZOOM) implementation. 2015-01-23 15:33:19 +01:00
Jacek Caban 286e4a8655 mshtml: Added OLECMDID_OPTICAL_ZOOM tests and stub. 2015-01-22 20:23:37 +01:00
Jacek Caban 23d74d3b73 mshtml: Improved IOleCommandTarget::QueryStatus implementation. 2015-01-22 20:23:35 +01:00
Jacek Caban 7cbb683705 mshtml: Removed TRACEs from dispex_query_interface. 2015-01-20 16:29:35 +01:00
Marcus Meissner 76fef29cd3 mshtml: Check for failed allocs (Coverity). 2015-01-14 20:31:10 +01:00
Jacek Caban 9d911d6ffe mshtml: Use debugstr_mshtml_guid in omnavigator.c. 2015-01-08 17:27:57 +01:00
Francois Gouget ec8002425a mshtml: Make create_document_fragment() static. 2015-01-05 20:16:50 +01:00
Jacek Caban 127aa62a70 mshtml: Use document encoding for scripts. 2014-12-30 15:57:43 +01:00
Jacek Caban 00d36ac945 mshtml: Use new range point representation in all cases. 2014-12-29 22:20:29 +01:00
Jacek Caban 4ef4ebaac7 mshtml: Use new end point representation in IHTMLTxtRange::expand("word") implementation. 2014-12-29 22:20:29 +01:00
Jacek Caban 26dd5f5672 mshtml: Reimplemented IHTMLTxtRange::moveStart using new range point representation. 2014-12-29 22:20:29 +01:00
Jacek Caban 3944fada4b mshtml: Introduced new representation of range point and use that in range_to_string instead of trying to iterate by nodes. 2014-12-29 22:20:29 +01:00
Jacek Caban fecbc88daf mshtml: Allow '#' to be the first char of resource name in res protocol. 2014-12-24 16:57:49 +01:00
Jacek Caban 5135144d3a mshtml: Correctly handle NULL active element in IHTMLDocument2::get_activeElement. 2014-12-24 14:31:28 +01:00
Jacek Caban 0d0110970e mshtml/tests: Added script element readyState and onreadystatechange tests. 2014-12-24 14:31:22 +01:00
Jacek Caban f4b6852278 mshtml: Delay onreadystateevent notification if script elemenet is not added by parser. 2014-12-24 14:31:13 +01:00
Jacek Caban 71ce8aaafe mshtml: Flush pending document node tasks before firing onload event. 2014-12-24 14:31:09 +01:00
Jacek Caban 94fcaad703 mshtml: Use standard list to store task queue. 2014-12-24 14:30:58 +01:00
Jacek Caban df63590706 mshtml: Added screenLeft and screenTop properties implementation. 2014-12-24 11:15:00 +01:00
Jacek Caban 807c716dd1 mshtml: Added nsIEmbeddingSiteWindow::GetDimensions implementation. 2014-12-24 11:14:54 +01:00
Jacek Caban 8bfbe61386 mshtml: Treat empty bstrHref as not specified in IHTMLDocument2::createStyleSheet. 2014-12-23 17:20:56 +01:00
Jacek Caban c1afef340c mshtml: Added IHTMLElement::get_isTextEdit implementation. 2014-12-22 13:33:02 +01:00
Jacek Caban 278daad3bd mshtml: Include nsbody reference in cycle collection. 2014-12-22 13:32:59 +01:00
Jacek Caban b69550ab34 mshtml: Added IHTMLDOMTextNode::splitText implementation. 2014-12-22 13:31:55 +01:00
Andrew Eikum 8df2774124 mshtml: Support new window targets for FORM elements. 2014-12-16 16:32:34 +01:00
Jacek Caban 347842a6a1 mshtml: Added IHTMLElement4::focusin semi-stub implementation. 2014-12-16 13:33:05 +01:00
Jacek Caban e41f435c47 mshtml: Handle VT_ERROR in IHTMLSelectElement::add. 2014-12-16 13:33:02 +01:00
Jacek Caban f95e7a4ed3 mshtml: Improved IHTMLStyle3::zoom stub. 2014-12-15 19:16:55 +01:00
Jacek Caban 76f7be04c7 mshtml: Added IHTMLStyle::styleFloat attribute implementation. 2014-12-15 19:16:54 +01:00
Jacek Caban 0bfe8b441a mshtml: Resolve duplicated IDispatch entries as soon as they are processed. 2014-12-15 13:40:18 +01:00
Jacek Caban da9fa9e80c mshtml: Added IHTMLObjectElement2::put_classid semi-stub implementation. 2014-12-11 16:41:35 +01:00
Jacek Caban 5bce604451 mshtml: Do more initialization in create_plugin_host. 2014-12-11 16:41:33 +01:00
Jacek Caban 2ff987322f mshtml: Create ActiveX object inside create_plugin_host. 2014-12-11 16:41:31 +01:00
Jacek Caban a545fe08ad mshtml: Pass HTMLPluginContainer to create_plugin_host. 2014-12-11 16:41:28 +01:00
Jacek Caban 44c22801e3 mshtml: Added support for IDM_CUT command in browser mode. 2014-12-10 19:32:33 +01:00
Jacek Caban 935e7f059e mshtml: Added support for IDM_PASTE command in browser mode. 2014-12-10 19:32:32 +01:00
Jacek Caban 6b463d8509 mshtml: Added support for copy, paste and cut commands in execCommand. 2014-12-10 19:32:32 +01:00
Jacek Caban 55ce76c181 mshtml: Mark mousedown event as cancelable. 2014-12-10 19:32:31 +01:00
Jacek Caban 7eddb864b3 mshtml: Allow setting fontWeight to empty string. 2014-12-08 17:30:51 +01:00