Commit Graph

3654 Commits

Author SHA1 Message Date
Frédéric Delanoy 7023b20b6c mshtml/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 00:49:09 +09:00
Jacek Caban f614d7fa52 mshtml/tests: Fixed xmlhttprequest tests on IE7.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 12:19:03 +09:00
Jacek Caban 433f82c74e mshtml/tests: Fixed style tests on IE6.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 12:18:52 +09:00
Jacek Caban db105f08d2 mshtml: Wine Gecko 2.44 release.
Includes fixes by Sebastian Lackner.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:39 +09:00
Jacek Caban 80ea5a01ef mshtml: Use script versioning 2 if we're not in quirks mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 23:41:00 +09:00
Francois Gouget 288a200bd2 mshtml/tests: Add a trailing '\n' to an ok() call.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 16:16:16 +09:00
Jacek Caban f903632427 mshtml/tests: Fixed location tests on IE11.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-14 03:01:55 +09:00
Jacek Caban f2ceadc6e6 mshtml: Initialize dest VARIANT before VariantCopy call.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 01:56:07 +09:00
Jacek Caban 5910925728 mshtml: Added IHTMLDocument2::get_defaultCharset implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 01:56:07 +09:00
Jacek Caban 8a20cf4cf8 mshtml: Skip unused named args in Invoke calls.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 01:56:06 +09:00
Jacek Caban 0987f7fdea mshtml: Expose IHTMLUniqueName for IDispatch of all element objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:50 +09:00
Jacek Caban eb54df6374 mshtml/tests: Added IHTMLUniqueName tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:16:46 +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 27182667cc mshtml: Added IHTMLCurrentStyle4::get_maxHeight implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:14:50 +09:00
Jacek Caban 4ee484c2eb mshtml: Added IHTMLCurrentStyle::overflowY implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:14:47 +09:00
Jacek Caban 9e8be69d7b mshtml: Added IHTMLCurrentStyle::overflowX implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 22:14:44 +09:00
Jacek Caban 8f6097a99b mshtml: Added IHTMLDocument3::uniqueID implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-09 17:30:03 +09:00
Jacek Caban fef68e1af9 mshtml: Added IHTMLCurrentStyle::styleFloat property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:38:38 +09:00
Jacek Caban f7597a6a1f mshtml: Merge htmlstyle3.c into htmlstyle.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:37:04 +09:00
Jacek Caban d223037034 mshtml: Merge htmlstyle2.c into htmlstyle.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 21:36:53 +09:00
Sebastian Lackner fedfe2ea2e mshtml: Fix prototype of nsIDOMWindowUtils::SetDisplayPortMarginsForElement.
Also add missing comments for some thiscall functions.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 00:45:09 +09:00
Jacek Caban 67014b7cf9 mshtml: Added IHTMLDocument4::hasFocus implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:36 +01: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
Zhenbo Li 798b1e06f3 mshtml: Add IHTMLXMLHttpRequest::responseXML() method implementation.
Signed-off-by: Zhenbo Li <litimetal@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 11:49:49 +01:00
Jacek Caban 86c097142b mshtml: Added nsIChannel::Cancel implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:29 +01:00
Jacek Caban 11a6bfc673 mshtml: Added IHTMLWindow::get_clientInformation implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:29 +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
Jacek Caban 7c4c93a2bf mshtml: Return success in SetCorsIncludeCredentials and SetCorsMode.
Fixes regression in loading site-provided fonts.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:38:10 +09:00
Jacek Caban 4dc8a96f78 mshtml: Fixed nsIHttpChannelInternal declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:38:01 +09:00
Francois Gouget 413c6f60cf Assorted spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:52 +09:00
Jacek Caban b73f9d2e46 mshtml: Added IHTMLDOMAttribute2::put_value implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 00:12:51 +09:00
Jacek Caban a2c6a2beb6 mshtml/tests: Fixed tests on win10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:19 +09:00
Jacek Caban fa43b8cac9 mshtml: Make msec argument of setTimeout optional.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 22:19:29 +09:00
Jacek Caban 808c2d6c7f mshtml: Added support for getElementsByTagName in document fragment nodes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 20:55:15 +09:00
Jacek Caban 4354bc831f mshtml: Skip travellog notifications for frame navigation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:58 +09:00
Nikolay Sivov a40bca8866 mshtml: Fix a memory leak (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:20 +09:00
Nikolay Sivov 8dd3f7d8c4 mshtml: Make it clear that ATTR_FIX_PX and ATTR_FIX_URL as exclusive (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:18:14 +09:00
Alexandre Julliard d8cc1dccba makefiles: Add makedep pragmas in all IDL source files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Jacek Caban 79c59085b1 mshtml/tests: Fixed more test failures on win10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 23:33:30 +09:00
Nikolay Sivov 33809d2bcc mshtml/tests: Add missing return value test (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:04 +09:00
Nikolay Sivov f8e3c1f712 mshtml: Use VARIANT_TRUE instead of TRUE when appropriate (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-19 20:58:24 +09:00
Jacek Caban f986d3a72f mshtml/tests: Fixed some tests on win10.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:25 +09:00
Dmitry Timoshkov 3662980f41 mshtml: Add IHTMLEditServices stub implementation.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:25 +09:00
Dmitry Timoshkov e8b9bda53a mshtml: Handle memory allocation failure when creating IOleUndoManager.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-12 23:34:57 +09:00
Joachim Priesner e7fc477921 mshtml: Treat "data:" as Gecko special URI scheme.
This enables loading of inline content specified as data: URI, such as
background images.

Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:01:41 +09:00
Jacek Caban d25737b381 mshtml: Updated nsIDocShellLoadInfo declaration to recent Wine Gecko version.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2015-10-06 17:20:59 +09:00
Jacek Caban a42816073e mshtml: Use proper name for OnRedirectVerifyCallback implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2015-10-06 00:01:56 +09:00
Jacek Caban a68d5d2da3 mshtml: Fixed comparing names in find_http_header.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2015-10-06 00:01:56 +09:00
Jacek Caban aacc7b394e mshtml/tests: Fixed tests on some Windows versions. 2015-09-15 22:51:45 +09:00
Gerald Pfeifer a0da827d61 mshtml: Adjust NS_ERROR_GENERATE_FAILURE to avoid shift overflow. 2015-09-08 15:10:59 +09:00
Andrey Gusev d3177504b1 Assorted spelling and typos fixes. 2015-08-31 20:18:46 +09:00
Zhenbo Li f1c3f7ff1c mshtml/tests: Fix crash on win2000 testbot. 2015-08-25 21:09:01 +09:00
Zhenbo Li 89d0c66461 mshtml: Remove unnecessary FIXME. 2015-08-25 21:08:59 +09:00
Zhenbo Li e8c687857b mshtml: Add IHTMLOptionElement::form property implementation. 2015-08-25 21:08:57 +09:00
Zhenbo Li 85c31979de mshtml: Add IHTMLOptionElement::defaultSelected property implementation. 2015-08-25 21:08:54 +09:00
Zhenbo Li b8f8b95e20 mshtml: Add IHTMLXMLHttpRequest::abort() method implementation. 2015-08-20 20:16:26 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Jacek Caban ce83ff7351 mshtml: Properly handle request aborted inside OnStartRequest. 2015-08-17 14:46:54 +09:00
Jacek Caban 5d52373c62 mshtml: Added IHTMLCurrentStyle3::whiteSpace property implementation. 2015-08-17 14:46:52 +09:00
Indrek Altpere 2cfe3cac0c mshtml: Handle nsIDOMWindow_GetFrames returning NULL. 2015-08-17 14:39:33 +09:00
Zhenbo Li a15751ab73 mshtml: Add IHTMLSelectElement::form property implementation. 2015-08-17 14:39:11 +09:00
Zhenbo Li f7b9dd9525 mshtml: Add IHTMLSelectElement::name property implementation. 2015-08-17 14:39:06 +09:00
Alex Henrie 0c986f98ad mshtml: Use the same click event handler for anchor and area elements. 2015-08-17 14:38:51 +09:00
Jacek Caban a556f9e5c1 mshtml: Wine Gecko 2.40 release. 2015-08-12 22:59:15 +09:00
Zhenbo Li b0dd7c79d3 mshtml: Fix error handler in IHTMLSelectElement::remove(). 2015-08-07 23:50:49 +09:00
Zhenbo Li 6419ac0f13 mshtml: Add IHTMLSelectElement::size property implementation. 2015-08-07 23:50:49 +09:00
Zhenbo Li 312534f26f mshtml: Add IHTMLOpinionElement::index property's getter implementation. 2015-08-07 23:50:49 +09:00
Zhenbo Li bb060fe62f mshtml: Add IHTMLXMLHttpRequest::getAllResponseHeaders() method implementation. 2015-08-06 21:05:02 +09:00
Zhenbo Li 44e6448618 mshtml: Add IHTMLXMLHttpRequest::getResponseHeader() method implementation. 2015-08-06 21:05:00 +09:00
Zhenbo Li 74d07b7b0a mshtml: Add IHTMLXMLHttpRequest::statusText property implementation. 2015-08-06 21:04:58 +09:00
Alex Henrie f36d761650 mshtml: Stub out HTMLAreaElement. 2015-08-05 23:46:28 +09:00
Zhenbo Li 4e6e9a1485 mshtml: Add nsChannel_GetResponseStatusText implementation. 2015-07-22 17:43:01 +02:00
Zhenbo Li 21043e5acf mshtml: Add IHTMLXMLHttpRequest::status property implementation. 2015-07-22 17:42:59 +02:00
Zhenbo Li 4ea5d00e58 mshtml: Add IHTMLXMLHttpRequest::responseText() method implementation. 2015-07-22 17:42:57 +02:00
Piotr Caban 1a0c4efba9 mshtml: Test body.offsetHeight value in quirks mode. 2015-07-20 20:56:04 +02:00
Huw Davies 1e263612ff mshtml/tests: Fix a crash on Win 2008. 2015-07-17 19:29:30 +09:00
Zhenbo Li 119af47683 mshtml: Add IHTMLXMLHttpRequest::send() method implementation. 2015-07-08 19:12:08 +09:00
Zhenbo Li f2669d6e9f mshtml/tests: Wait for the document to be completely loaded. 2015-07-08 19:12:03 +09:00
Jacek Caban 7f7e460a75 mshtml: Added nsIIOService::NewChannelFromURI2 semi-stub implementation. 2015-07-03 12:46:44 +09:00
Jacek Caban 8d85da757a mshtml: Added support for binding XHR events. 2015-07-02 13:42:55 +09:00
Zhenbo Li b6cf265317 mshtml: Add IHTMLXMLHttpRequest::readyState property implementation. 2015-07-01 19:18:13 +09:00
Zhenbo Li d6b92300af mshtml: Add IHTMLXMLHttpRequest:open() method implementation. 2015-07-01 19:18:12 +09:00
Zhenbo Li deb884a6d8 mshtml: Add IHTMLXMLHttpRequestFactory::create() method implementation. 2015-07-01 19:18:12 +09:00
Jacek Caban 069599135b mshtml: Initialize output paramter before test call. 2015-06-29 19:07:54 +09:00
Zhenbo Li 295a8d8301 mshtml/tests: Added IHTMLXMLHttpRequest tests. 2015-06-26 20:35:07 +09:00
Jacek Caban 430df1ca61 mshtml: Added IHTMLXMLHttpRequest::onreadystatechange property implementation. 2015-06-22 19:16:48 +09:00
Jacek Caban e250e54530 mshtml: Use test.winehq.org over http in img_onload tests. 2015-06-18 21:41:03 +09:00
Zhenbo Li 82d090dd6d mshtml: Implement IHTMLXMLHttpRequest as a stub. 2015-06-11 14:41:35 +09:00
Zhenbo Li 0036b8bf2e mshtml: Implement IHTMLXMLHttpRequestFactory as a stub. 2015-06-10 23:30:39 +09:00
Nikolay Sivov a260d3efc6 mshtml: Handle allocation failure during collection creation (Coverity). 2015-06-03 22:52:10 +09:00
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
André Hentschel 93b36efe61 mshtml/tests: Remove unused variable (Clang). 2014-12-02 10:30:54 +01:00
Jacek Caban 1454e302a8 mshtml: Added support for flag 2 in getAttribute. 2014-12-01 18:34:22 +01:00
Jacek Caban 71cb0cea74 mshtml: Added "indent" command support to execCommand. 2014-12-01 18:34:17 +01:00
Jacek Caban 2c2f576163 mshtml: Added more attribute and IDispatchEx tests. 2014-11-28 17:06:11 +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 275a231fbb mshtml: Allow setting function properties to any VARIANT type. 2014-11-28 17:05:55 +01:00
Jacek Caban 6a74a0785a mshtml: Always ignore DISPATCH_PROPERTYPUTREF in InvokeEx. 2014-11-28 17:05:45 +01:00
Jacek Caban c910c8ceed mshtml: Added fontname command support to execCommand. 2014-11-26 17:35:12 +01:00
Jacek Caban 53d2778f97 mshtml/tests: Fixed some test failures. 2014-11-25 19:49:43 +01:00
Jacek Caban 20b3aa6244 mshtml: Added IHTMLTxtRange::setEndPoint implementation. 2014-11-25 19:49:28 +01:00
Jacek Caban a0d1d8cd27 mshtml: Added IHTMLDocument2::execCommand implementation. 2014-11-25 16:35:05 +01:00
Jacek Caban d90016ffed mshtml: Improved IDM_RESPECTVISIBILITY_INDESIGN stub. 2014-11-25 16:35:04 +01:00
Jacek Caban 5ecea72a50 mshtml: Added IHTMLTextNode2::appendData implementation. 2014-11-21 23:45:18 +09:00
Jacek Caban ec97e3fd57 mshtml: Don't try to null terminate post data if it's not available. 2014-11-21 18:11:40 +09:00
Jacek Caban 6485a67a90 mshtml: Merge htmlelem3.c into htmlelem.c. 2014-11-21 18:11:37 +09:00
Jacek Caban 9a68ef40dd mshtml: Added nsIURI::GetPrePath implementation. 2014-11-20 23:40:41 +09:00
Jacek Caban bcce460f9e mshtml: Added missing nsIHttpChannelInternal functions. 2014-11-20 23:40:40 +09:00
Jacek Caban 504872741c mshtml: Added HTMLFrameBase2::allowTransparency semi-stub implementation. 2014-11-20 22:34:24 +09:00
Jacek Caban d3714ba72d mshtml: Added IHTMLDOMTextNode2 stub interface. 2014-11-20 22:34:20 +09:00
Jacek Caban 516ed8e712 mshtml: Added IHTMLFrameBase::get_src implementation. 2014-11-19 01:17:22 +09:00
Jacek Caban 49c7277505 mshtml: Added support for IHTMLFrameBase::put_src call on detached element. 2014-11-19 01:17:18 +09:00
Jacek Caban 90017fb3d8 mshtml: Added IHTMLStyleSheet::cssText tests. 2014-11-19 01:17:05 +09:00
Jacek Caban cc8d9f238d mshtml: Added IHTMLStyleSheet::cssText property partial implementation. 2014-11-19 01:17:03 +09:00
Jacek Caban ffd313543f mshtml: Fixed tests on recent IEs. 2014-11-13 21:04:36 +09:00
Jacek Caban 6fc5977241 mshtml: Properly handle errors in IHTMLStyleSheet::get_rules now that Gecko part is fixed. 2014-11-13 21:04:35 +09:00
Jacek Caban e567f309bf mshtml: Added IHTMLTxtRange::pasteHTML implementation. 2014-11-13 16:28:58 +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 41e3de93c3 mshtml: Added IHTMLTxtRange::moveToElementText implementation. 2014-11-13 16:27:50 +09:00
Jacek Caban 83ceee7424 mshtml: Ignore query and hash parts in res protocol handler. 2014-11-11 19:39:19 +09:00
Jacek Caban b84bc52b71 mshtml: Added support for IDispatchEx to HTMLSelectionObject object. 2014-11-11 19:39:02 +09:00
Jacek Caban dcfa250cd2 mshtml: Added IDispatchEx support to HTMLTxtRange object. 2014-11-11 19:38:58 +09:00
Jacek Caban 4dea0b258c mshtml: Added IHTMLScriptElement:onerror property semi-stub implementation. 2014-11-06 23:47:15 +09:00
Jacek Caban c19b6dbf6b mshtml: Added IHTMLTable:cellPadding property implementation. 2014-11-06 23:47:14 +09:00
Chen Yuan 9c7b91336a mshtml: Add IHTMLStyle5::maxHeight property implementation. 2014-11-06 23:47:10 +09:00
Chen Yuan 94209192e7 mshtml: Add IHTMLStyle5::maxWidth property implementation. 2014-11-06 23:47:10 +09:00
Jacek Caban f5e3281a80 mshtml: Wine Gecko 2.34 release. 2014-11-03 20:52:52 +09:00
Jacek Caban 0506a52266 mshtml: Don't call stop_binding in error cases in start_binding. 2014-10-30 11:54:58 +09:00
Jacek Caban 114f32c8b6 mshtml: Return S_OK in IHTMLDocument3::recalc. 2014-10-20 14:02:20 +09:00
Jacek Caban 57243f0dec mshtml: Added HTMLTextAreaElement::get_form implementation. 2014-10-15 21:31:11 +09:00
Qian Hong ef63bacf2d mshtml: Add DIID_DispHTMLFormElement support for HTMLFormElement_QI. 2014-10-13 18:11:29 +09:00
Jacek Caban 0d023f1968 mshtml: Use proper codepage in nsIIOService::NewURI. 2014-10-13 18:10:28 +09:00
Jactry Zeng d165c05f27 mshtml/tests: Fix typo. 2014-10-13 18:10:20 +09:00
Jacek Caban c6c0c6b52a mshtml: Added IHTMLElement::language property implementation. 2014-10-13 18:09:51 +09:00
Jacek Caban 37869b7a08 mshtml: Added IHTMLScriptElement::get_readyState implementation. 2014-10-09 17:37:23 +02:00
Jacek Caban d11abc0992 mshtml: Added support for onreadystatechange event for script elements. 2014-10-09 17:37:12 +02:00
Jacek Caban 8a9d4cf147 mshtml: Use IUri for script binding. 2014-10-09 17:37:10 +02:00
Jacek Caban 845f5cccf0 mshtml: Moved READYSTATE to string conversion to separated function. 2014-10-09 17:37:08 +02:00
Jacek Caban 87efdc3047 mshtml: Moved script binding callback to script.c. 2014-10-09 17:37:06 +02:00
Jacek Caban 7e4db7df48 mshtml: Moved BOM enum to binding.h. 2014-10-09 17:37:04 +02:00
Jacek Caban 013b403c58 mshtml: Don't assume that nsIDOMHTMLScriptElement inherits from nsIDOMHTMLElement in get_script_guid. 2014-10-02 16:58:58 +02:00
Jacek Caban b2c65c296f mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmlscript.c. 2014-10-01 11:30:03 +02:00
Jacek Caban 256204d876 mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmloption.c. 2014-10-01 11:30:02 +02:00
Jacek Caban f30f506d22 mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmlinput.c. 2014-10-01 11:29:59 +02:00