Commit Graph

3451 Commits

Author SHA1 Message Date
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