Dmitry Timoshkov
2348215b82
mshtml: Replace a useless trace with a slightly better one.
...
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-06-18 23:51:51 +02:00
Dmitry Timoshkov
63946a2942
mshtml: Add recently added GUIDs to debugstr_mshtml_guid().
...
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-06-18 23:51:51 +02:00
Dmitry Timoshkov
756d9cdc6f
mshtml: Add better stub for HTMLDocument7::get_onmsthumbnailclick.
...
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-06-18 23:51:51 +02:00
Dmitry Timoshkov
0716fd58a8
mshtml: Fix a typo.
...
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-06-17 21:35:56 +02:00
Alistair Leslie-Hughes
f6bdee2a62
mshtml: Remove redundant assignments.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-17 21:35:53 +02:00
Alexandre Julliard
5182813ae0
mshtml: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-13 14:34:51 +02:00
Michael Stefaniuc
f38c066561
mshtml: Print the debug strings and not the pointers to them.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:05:52 +02:00
Michael Stefaniuc
bf70a8ac88
mshtml: Use the standard field name for an inner IUnknown.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Dmitry Timoshkov
e1844f5b53
mshtml: Add IDisplayServices interface stub.
...
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-06-03 22:33:30 +02:00
Dmitry Timoshkov
c4934ac98d
mshtml: Add IMarkupContainer interface stub.
...
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-31 21:31:52 +02:00
Dmitry Timoshkov
c9edd1ca73
mshtml: Add IMarkupServices interface stub.
...
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-31 21:31:50 +02:00
Aric Stewart
307f163f44
mshtml: Handle NULL aNode in nsContextMenuListener_OnShowContextMenu.
...
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 21:31:24 +02:00
Jacek Caban
e33ce7c538
mshtml: Rewrite IHTMLLocation::get_pathname on top of IUri.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37279
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 20:18:17 +02:00
Jacek Caban
adeb76bd15
mshtml/tests: Include leading path slash in location test array.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 20:18:15 +02:00
Jacek Caban
6941232d8b
mshtml/tests: Fix tests on some recent IE versions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 20:18:12 +02:00
Jacek Caban
1161603384
mshtml: Implement IOleInPlaceObjectWindowless::SetObjectRects.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Jacek Caban
d9693be2a5
mshtml: Return rect relative to parent window in IOleDocumentView::GetRect.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Jacek Caban
82bf2556dc
mshtml: Fix window size in IOleDocumentView::SetRect implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Zebediah Figura
23e0d22b7c
mshtml: Avoid passing invalid memory to DispCallFunc().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47222
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:31:50 +02:00
Zebediah Figura
f8fffe9e86
mshtml: Fix a copy-paste error.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:31:47 +02:00
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
Jacek Caban
0a073a2cbe
mshtml: Move style DispatchEx to CSSStyle.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:47 +01:00
Jacek Caban
66e918fc07
mshtml: Introduce new CSSStyle type as a base for different style object implementations.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 15:56:45 +01:00
Jacek Caban
64b5d6b3e5
mshtml: Add IHTMLWindow6::get_localStorage implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 19:52:25 +01:00
Jacek Caban
9240ed581f
mshtml: Use get_parentWindow for IHTMLDocument2::get_Script implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:13 +01:00
Jacek Caban
51e6cbdbd8
mshtml: Return NULL for document not attached to window in IHTMLDocument7::get_defaultView.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:11 +01:00
Jacek Caban
a124117f40
mshtml: Remove selection and range objects from document list when detaching.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:09 +01:00
Jacek Caban
18e0225afb
mshtml: Set elem_vars to NULL when detaching.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-21 19:33:07 +01:00
Jacek Caban
8be931623a
jscript: Support undefined context value in Array.prototype.map.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:17:21 +01:00
Jacek Caban
6d69c6db51
jscript: Support undefined context value in Array.prototype.forEach.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 20:17:15 +01:00
Jacek Caban
4bdd24292d
mshtml: Add IHTMLAnchorElement::get_host implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:35 +01:00
Jacek Caban
971ee04c7f
mshtml: Add IHTMLAnchorElement::get_protocol implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:33 +01:00
Jacek Caban
119b1a6922
mshtml: Add IHTMLCSSStyleDeclaration::setProperty implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:32:30 +01:00
Jacek Caban
b5058ada58
jscript: Add Object.create implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 10:09:38 +01:00
Jacek Caban
60816b9f8a
jscript: Add Array.prototype.map implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
120bf0eba9
mshtml: Get rid of no longer needed HTMLOuterWindow doc_obj pointer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
2a6cb251f9
mshtml: Access document object via browser object in navigate_uri.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
da055b6456
mshtml: Access document object via browser object in navigate_new_window.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
26d3e0c5db
mshtml: Access document object via browser object in super_navigate.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
54323080d7
mshtml: Access document object via browser object in navigate_javascript_proc and navigate_fragment.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
5ba1725491
mshtml: Access document object via browser object in handle_navigation_error and handle_extern_mime_navigation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
225b2f67b1
mshtml: Access document object via browser object in nsChannelBSC_init_bindinfo.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
70a964d4f9
mshtml: Access document object via browser object in IBindCallbackRedirect::Redirect.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
aa96a8de36
mshtml: Access document object via browser object in update_window_doc.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
f75d1e6855
mshtml: Access document object via browser object in window QueryService implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
23b8df55f6
mshtml: Access document object via browser object in IHTMLPrivateWindow implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
1a85cb9368
mshtml: Access document object via browser object in IHTMLWindow2 implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
892be572cb
mshtml: Access document object via browser object in nsIChannel::AsyncOpen.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
b0ffd08ae1
mshtml: Access document object via browser object in refresh_proc.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
d8cff0dc6f
mshtml: Access document object via browser object in IOmHistory::get_length.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban
d95da5f249
mshtml: Access document object via browser object in IActiveScriptSiteWindow::GetWindow.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban
2b8c553cc9
mshtml: Use is_main_content_window in a few more places.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:58 +01:00
Jacek Caban
fc1bdc65a7
mshtml: Correctly handle documents with no window associated in IHTMLDocument2::get_location.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
7e0e55f76f
mshtml: Add IHTMLDOMImplementation2::createHTMLDocument implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
b574cd98bd
mshtml: Bind events directly to document node for documents with no window associated.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
d49d83a18e
mshtml: Use detach_document_node in detach_gecko_browser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
1d04b60446
mshtml: Don't Use HTMLDocument type in HTMLDOMNode_unlink.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 23:40:39 +01:00
Jacek Caban
0abe9939b8
mshtml: Move SetDesignMode call to create_document_node.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:19 +01:00
Jacek Caban
3f79f129ff
mshtml: Move init_editor to HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:15 +01:00
Jacek Caban
496abd052e
mshtml: Get rid of handle_edit_load.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:12 +01:00
Jacek Caban
34c84fd1a0
mshtml: Move cmdtable_t to HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:09 +01:00
Jacek Caban
b384f5b3a4
mshtml: Move do_ns_command to HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:05 +01:00
Jacek Caban
1ea4924e46
mshtml: Move IsDirty implementation to GeckoBrowser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:35:02 +01:00
Jacek Caban
53e095c2e8
mshtml: Pass document node to handle_edit_event.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:58 +01:00
Jacek Caban
aa4d9190a0
mshtml: Move user mode to GeckoBrowser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:53 +01:00
Jacek Caban
98db6a0d9b
mshtml: Move cycle collection to detach_gecko_browser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:48 +01:00
Jacek Caban
96604df690
mshtml: Move script mode handling to GeckoBrowser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 20:34:41 +01:00
Jacek Caban
f2a07b117a
jscript: Add Object.getPrototypeOf implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:12 +01:00
Jacek Caban
a3037ec2f2
mshtml: Create top content window in init_browser.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:07 +01:00
Jacek Caban
a007de5242
mshtml: Store GeckoBrowser weak reference in HTMLOuterWindow.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:05 +01:00
Jacek Caban
2d8610050d
mshtml: Pass GeckoBrowser instead of HTMLDocumentObj to create_outer_window.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:03 +01:00
Jacek Caban
5e581621ab
mshtml: Store weak GeckoBrowser reference in HTMLDocumentNode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:55:01 +01:00
Jacek Caban
0ebbceddaa
mshtml: Use global security manager.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:59 +01:00
Jacek Caban
067e982b3c
mshtml: Pass GeckoBrowser instead of HTMLDocumentObj to create_document_node.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:57 +01:00
Jacek Caban
521888958c
mshtml: Move child window list to inner window and detach children when detaching parent.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:54 +01:00
Jacek Caban
bf9dc5b3ed
mshtml: Detach more document objects in detach_inner_window.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:52 +01:00
Jacek Caban
eca21a38c1
mshtml: Rename NSContainer to GeckoBrowser.
...
Long term plan is to move parts of HTMLDocumentObj to GeckoBrowser and
split them in a way allowing them to run in different threads. This is
needed to move Gecko-related tasks into a separated thread to workaround
Gecko main thread limitation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:40 +01:00
Jacek Caban
e50ab8d6f4
mshtml: Simplify handling origin URI charset.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:06 +01:00
Jacek Caban
9c8162dba2
mshtml: Get rid of no longer needed is_doc_uri from nsWineURI.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:04 +01:00
Jacek Caban
24603b011a
mshtml: Move TranslateUrl call to before_async_open.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:02 +01:00
Jacek Caban
73cca44bf4
mshtml: Use channel_bsc from URI for child documents as well.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:59 +01:00
Jacek Caban
fc66d0ecc3
mshtml: Get rid of no longer needed windowref_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:57 +01:00
Jacek Caban
406d66f8c6
mshtml: Always use get_channel_window to get window in nsIChannel::AsyncOpen.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:55 +01:00
Jacek Caban
4accd13d92
mshtml: Get nsIWebProgress from notification callback if load group has no observer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:52 +01:00
Jacek Caban
2678126f95
mshtml: Use load_flags instead of is_doc_uri in nsChannel implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:49 +01:00
Jacek Caban
842207e260
mshtml: Don't store NSContainer in nsWineURI.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:20 +01:00
Jacek Caban
bd0c7c7af4
mshtml: Add IHTMLDOMImplementation2 stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 19:36:06 +01:00
Zebediah Figura
f29317dcc2
mshtml: Open pages in the native browser in HlinkTarget_Navigate().
...
This matches native Windows behaviour as well, as demonstrated by
running the interactive hlink:hlink tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44423
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Michael Stefaniuc
cfe8651c91
mshtml: Remove useless casts to self.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 18:42:42 +01:00
Jacek Caban
317d8c1674
mshtml: Expose nsIFormPOSTActionChannel interface from nsChannel object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 18:54:57 +01:00
Jacek Caban
a5c79dc8a9
mshtml: Suport load event in HTMLXMLHttpRequest object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 15:07:09 +01:00
Jacek Caban
91321d97cf
mshtml: Support custom user agent strings in IOmNavigator::get_appVersion.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-08 21:18:14 +01:00
Jacek Caban
71750bd80d
mstml: Add style.borderSpacing property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-08 19:20:41 +01:00
Jacek Caban
957a1f0216
mshtml: Add style.borderCollapse property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-07 23:04:08 +01:00
Michael Stefaniuc
6f9f57e85f
mshtml: Print the debug string and not the pointer to it.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-31 21:38:48 +01:00
Andrey Gusev
870598b8b0
mshtml: Remove redundant condition.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 19:20:39 +01:00
Jacek Caban
7c2ec67d1e
mshtml: Expose IDOMCustomEvent to scripts.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban
757c3025c1
mshtml: Add IDOMCustomEvent::detail property implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban
7e15e49495
mshtml: Add IDOMCustomEvent::initCustomEvent implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:08 +01:00
Jacek Caban
57cf4a38ac
mshtml: Add IDOMCustomEvent interface stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-24 16:26:05 +01:00
Jacek Caban
cda846b8cb
jscript: Add Array.prototype.forEach implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-05 22:33:43 +01:00