Commit Graph

4268 Commits

Author SHA1 Message Date
Jacek Caban 5b362f07f6 mshtml: Move load_gecko() call from DllRegisterServer to DllInstall.
With this patch, Wine will no longer ensure that Wine Gecko is available
during prefix creation and update. We have shared Gecko installations
and good support for installing Gecko on demand now.

To ensure that Gecko is installed, one may use DllInstall with something
like |regsvr32 -i mshtml|.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 21:17:41 +01:00
Jacek Caban d7b8526258 mshtml: Make xhr.open async argument optional in IE9+ mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:04:22 +01:00
Jacek Caban ee611b198d mshtml: Implement IHTMLCSSStyleDeclaration2::animation property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:04:19 +01:00
Jacek Caban 44d58d35d1 mshtml/tests: Use more winetest.js helpers in documentmode.js.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:04:16 +01:00
Jacek Caban 70567d9f2d mshtml: Update to Wine Gecko 2.47.2.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 21:36:12 +01:00
Jacek Caban 1e94d99f31 mshtml: Normalize bool values before passing them to Gecko.
Fixes events.js tests with llvm-mingw Gecko build.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 23:25:24 +01:00
Michael Stefaniuc 4618a0a38a mshtml: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 21:39:18 +01:00
Michael Stefaniuc 33de9b1475 mshtml: Use wide-char string literals for PRUnichar strings.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 16:53:52 +01:00
Michael Stefaniuc 097898460e mshtml: Use wide-char string literals in html*.c.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 16:53:52 +01:00
Michael Stefaniuc b8e550a575 mshtml: Fix spelling of fuchsia.
Spotted by Rafał Mużyło.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-20 19:01:05 +01:00
Paul Gofman 8ea8984196 mshtml: Check for EVENTID_LAST in ensure_doc_nsevent_handler().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50110
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 21:14:58 +01:00
Francois Gouget b6cc7b5d51 mshtml: Fix the spelling of the filter attribute.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-10 10:45:57 +01:00
Jacek Caban a1d04f704d mshtml: Ignore attempts to set read only builtin properties in IE9+ mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-05 20:46:55 +01:00
Michael Stefaniuc d5a10e2d28 mshtml: Use wide-char string literals in struct initialization.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-03 21:50:49 +01:00
Gijs Vermeulen 86dfc6ad27 mshtml: Implement IOleObject::[Get|Set]Extent.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45797
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-23 18:42:24 +02:00
Dmitry Timoshkov 8975ec118c mshtml: Add trace to IOleCommandTarget::Exec().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-14 22:02:04 +02:00
Francois Gouget a029551e7c mshtml: Fix the spelling of a MoveUnitBounded() parameter.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-17 23:16:51 +02:00
Jacek Caban 5679312635 mshtml: Add IMarkupServices::CreateMarkupPointer implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-02 18:01:21 +02:00
Jacek Caban 2406590472 mshtml: Add IHTMLDocument4::namespaces property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-02 18:01:21 +02:00
Francois Gouget d23e5978b5 mshtml: Add a trailing '\n' to a TRACE().
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 21:07:43 +02:00
Jacek Caban 5b2dd5d8fd mshtml: Return success in :HTMLStyle3::scrollbar* setters.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 21:07:43 +02:00
Jacek Caban 4633304cde mshtml: Add IHTMLRectCollection::item implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 21:07:43 +02:00
Jacek Caban cbb70ff041 mshtml: Return NULL in IHTMLDocument2::get_cookie if InternetGetCookieExW failes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 21:07:43 +02:00
Jacek Caban 7e30161184 mshtml: Use variant_to_nsstr in IHTMLIFrameElement2::put_width.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-26 20:59:24 +02:00
Jacek Caban 190762cbaa mshtml: Use variant_to_nsstr in IHTMLIFrameElement2::put_height.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-26 20:59:23 +02:00
Jacek Caban 3fc7475283 mshtml: Add IHTMLCSSStyleDeclaration2::perspective implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-10 22:38:49 +02:00
Jacek Caban 77b24d25db mshtml: Use proper compat mode in IHTMLWindow7::getComputedStyle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 276accf534 mshtml: Expose IHTMLCSSStyleDeclaration2 to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban dbc5dc893b mshtml: Add IHTMLCSSStyleDeclaration2::columnRule property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 883f45ac0e mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleWidth property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 647424e4bd mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleStyle property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban fe886e6eed mshtml: Add IHTMLCSSStyleDeclaration2::columnRuleColor property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban a916cf2bfc mshtml: Add IHTMLCSSStyleDeclaration2::columnSpan property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban fe146ac7db mshtml: Add IHTMLCSSStyleDeclaration2::columnFill property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 22836b0fa7 mshtml: Add IHTMLCSSStyleDeclaration2::columnWidth property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 1e73766ab1 mshtml: Add IHTMLCSSStyleDeclaration2::columnWidth property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban 06db253e75 mshtml: Add IHTMLCSSStyleDeclaration2::columnCount property semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban b5d0c98857 mshtml: Use DISPID_UNKNOWN for compat dispids not supported in compat mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-09 21:23:33 +02:00
Jacek Caban ed1a4087e8 mshtml: Add IHTMLCSSStyleDeclaration2::transition property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:31:23 +02:00
Jacek Caban 4b29a69b1b mshtml: Add IHTMLCSSStyleDeclaration2::animationName property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:31:20 +02:00
Jacek Caban 8d40873d02 mshtml: Add IHTMLCSSStyleDeclaration2::transform property implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:31:16 +02:00
Jacek Caban d90c1e1c7f mshtml: Use default white value in IHTMLDocument2::get_bgColor.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49062
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:31:07 +02:00
Jacek Caban 7f465761c2 mshtml: Use return_nsstr_variant in IHTMLBodyElement::get_bgColor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:30:46 +02:00
Jacek Caban 2e767e81cc jscript: Add Object.preventExtensions semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-05 19:30:42 +02:00
Jacek Caban 3c72034b72 jscript: Add Array.prototype.reduce implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-04 22:36:39 +02:00
Jacek Caban 102fe73e66 jscript: Add Object.keys implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-04 22:36:39 +02:00
Jacek Caban 78d6d41c4c mshtml/tests: Improve tests exception handling.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-04 22:36:39 +02:00
Jacek Caban 0c9f9efda0 mshtml/tests: Introduce sync_test helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-03 22:31:33 +02:00
Jacek Caban f207ded345 jscript: Support context argument in Array.prototype.forEach.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-03 22:29:45 +02:00
Jacek Caban 6682290d17 jscript: Support ES5 Array.prototype.sort arguments handling.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-03 22:29:28 +02:00