Commit Graph

4132 Commits

Author SHA1 Message Date
Alexandre Julliard d5a372abbb include: Move inline assembly definitions to a new wine/asm.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Alexandre Julliard d7ef6cbbf9 mshtml: Use strncmpiW instead of memicmpW for strings without embedded nulls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 11:31:31 -05:00
Dmitry Timoshkov a6fbd07ac8 mshtml: Implement HTMLStyleSheetRulesCollection::item.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 08:47:20 -05:00
Alexandre Julliard 40de7f2e23 mshtml/tests: Avoid using snprintf().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:44 +02:00
Jacek Caban 88d2576ae7 jscript: Don't skip empty strings in String.prototype.split in ES5 mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-22 19:48:26 +02:00
Jacek Caban 2c38966729 mshtml: Support VT_R8 in variant_to_nsstr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:59 +02:00
Jacek Caban d538e86a60 mshtml: Use variant_to_nsstr in IHTMLDOMNode3::put_textContent.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:57 +02:00
Jacek Caban 1593364466 mshtml: Factor out variant_to_nsstr from var_to_styleval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:54 +02:00
Jacek Caban f0497aac0b mshtml: Return nsAString from var_to_styleval.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:52 +02:00
Jacek Caban 983774e3fa mshtml: Use nsAString in fix_px_value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:50 +02:00
Jacek Caban 6b74a99da2 mshtml: Pass style value as nsAString to set_nsstyle_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:47 +02:00
Jacek Caban e0408dd802 mshtml: Use DispHTMLDOMImplementation for IDispatchEx implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:44 +02:00
Jacek Caban c06af48420 mshtml: Add ISVGTSpanElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:41 +02:00
Jacek Caban 56f03488b4 mshtml: Add ISVGCircleElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:37 +02:00
Jacek Caban 07ee5cb341 mshtml: Add ISVGSVGElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:34 +02:00
Jacek Caban 55ea9b37c3 mshtml: Add ISVGElement stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:31 +02:00
Jacek Caban 2e4b264242 mshtml/tests: Properly release elem2 in test_elem_bounding_client_rect.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:47:22 +02:00
Jacek Caban 40c74cf336 mshtml: Support argument type conversion for functions with dual interface return type.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban 0a942e5d49 mshtml: Support argument type conversion for functions with dual interface arguments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban 830c55bcf4 mshtml: Support argument type conversion for functions with IDispatch arguments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Jacek Caban 64ff525b6a mshtml: Support type conversion in functions with arguments using default values.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 21:33:07 +02:00
Piotr Caban 5ab0d1443c mshtml: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:23:34 +02:00
Jacek Caban c62e96ebfc mshtml: Implement IHTMLElement6::msMatchesSelector.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Jacek Caban d9da6e642e mshtml: Move detach_document_node call to HTMLDocumentNode_unlink.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:49 +01:00
Jacek Caban 43ae349c96 mshtml: Support SVG element style.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:47 +01:00
Jacek Caban 394347945c mshtml: Add IElementSelector::querySelector implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:45 +01:00
Jacek Caban 4257a14f47 mshtml: Add IHTMLDOMNode3::get_namespaceURI implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:43 +01:00
Jacek Caban 7858cc01b7 mshtml: Add IHTMLDocument7::createElementNS implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-28 18:44:41 +01:00
Jacek Caban 9f4d05b11c mshtml: Alloc proper BSTR size in return_nscstr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:48 +01:00
Jacek Caban 46de3fcf1d mshtml: Add IHTMLRectCollection implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:46 +01:00
Jacek Caban 454a532359 mshtml: Add IHTMLElement::getClientRects implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:44 +01:00
Jacek Caban 3dd1fd9c8b mshtml: Handle removeAttribute("filter") calls on detached style objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:42 +01:00
Jacek Caban 3886fa60e0 mshtml: Expose getComputedStyle to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:40 +01:00
Jacek Caban 0893932970 mshtml: Add IHTMLWindow7::getComputedStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-27 22:06:38 +01:00
Jacek Caban 9944c4bd68 mshtml: Propagate nsIDOMCSSStyleDeclaration errors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:54 +01:00
Jacek Caban 78a05ca6dd mshtml: Introduce map_nsresult and use it in return_nsstr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:51 +01:00
Jacek Caban 2cd8ff3751 mshtml: Expose IHTMLCSSStyleDeclaration to scripts from current style object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:48 +01:00
Jacek Caban 9d35d09e89 mshtml: Use interface agnostic form of dispids for compat_dispid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:44 +01:00
Jacek Caban edb4eca788 mshtml: Pass style as CSSStyle to current style property getters.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:38 +01:00
Jacek Caban 68d0052b63 mshtml: Use CSSStyle for HTMLCurrentStyle implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:32 +01:00
Jacek Caban 069d5de90a mshtml: Add IHTMLCSSStyleDeclaration::getPropertyValue implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:25:27 +01:00
Jacek Caban f4cceb1fb0 mshtml: Move IHTMLCSSStyleDeclaration2 implementation to CSSStyle object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:08 +01:00
Jacek Caban 12ec83f75b mshtml: Move IHTMLCSSStyleDeclaration implementation to CSSStyle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:05 +01:00
Jacek Caban 8445470266 mshtml: Move backgroundPosition[XY] properties implementation to IHTMLCSSStyleDeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:03 +01:00
Jacek Caban 15db389d4b mshtml: Move style zoom property implementation to IHTMLCSSStyleDeclaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:57:01 +01:00
Jacek Caban 153f666b64 mshtml: Pass style as CSSStyle to get_style_property_var.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:59 +01:00
Jacek Caban 4709d9c553 mshtml: Pass style as CSSStyle to get_style_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:56 +01:00
Jacek Caban bff44d514c mshtml: Pass style as CSSStyle to set_style_property_var.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:54 +01:00
Jacek Caban 989df1851d mshtml: Pass style as CSSStyle to set_style_property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:52 +01:00
Jacek Caban 0097dd1c6d mshtml: Forward HTMLStyle IUnknown calls to IHTMLCSSStyleDeclaration implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:49 +01:00