Commit Graph

149 Commits

Author SHA1 Message Date
Jacek Caban eafbe884a2 mshtml: Use variant_bool helper where appropriate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 19:12:08 +01:00
Jacek Caban b77f7b54ce mshtml: Added support for VT_UI2 in IDispatchEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-01 23:16:08 +01:00
Jacek Caban e5c0759c0c mshtml: Use separated struct for event target vtbl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 17:13:50 +02:00
Jacek Caban 455d684671 mshtml: Added IEventTarget stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 08:30:54 +02:00
Jacek Caban 856dc7eda4 mshtml: Added delayed DispatchEx init support and use it to expose IHTMLDOMNode3 from document node.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:41:19 +09:00
Jacek Caban 97e2600607 mshtml: Don't expose doScroll in IE11 document mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-09 16:37:42 -05:00
Jacek Caban 4632045f9a mshtml: Replace get_htmldoc_classinfo with more generic helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 18:58:48 +02:00
Jacek Caban 9141c97d94 mshtml: Silence failing QueryInterfaces common for .net applications.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-13 16:15:11 +02:00
Jacek Caban c20c47b85e mshtml: Properly handle duplicated names with different DISPIDs in add_func_info.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:11 +09:00
Jacek Caban 91e7a02845 mshtml: Added support for exposing different sets of properties from DispatchEx depending on compatibility mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-07 19:58:09 +09:00
Jacek Caban f6a00dbd25 mshtml: Use callback to register additional IDispatch interfaces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:53 +09:00
Jacek Caban fc42ccc361 mshtml: Get rid of no longer needed get_dispex_data function.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:11 +09:00
Jacek Caban 13c3ae6d93 mshtml: Store dispex_data_t pointer instead of dispex_static_data_t in DispatchEx.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:05 +09:00
Jacek Caban bb4227d6d5 mshtml: Preprocess typelib data in init_dispex.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:54:00 +09:00
Jacek Caban 392a41060c mshtml: Store function buffer size in dispex_data_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:55 +09:00
Jacek Caban dba85f124b mshtml: Added a helper to get vtbl from DispatchEx and use it to access vtbl outside dispex.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:50 +09:00
Jacek Caban fd2f645d16 mshtml: Moved dispex_data_t pointer to the end of dispex_static_data_t struct.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 11:53:45 +09:00
Jacek Caban 6dd6c76299 mshtml: Fixed GetNextDispID for the case when the first dynamic property is deleted.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:53 +09:00
Jacek Caban c0fda9824e mshtml: Expose XMLHttpRequest constructor to scripts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:02 +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 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 0bfe8b441a mshtml: Resolve duplicated IDispatch entries as soon as they are processed. 2014-12-15 13:40:18 +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
Qian Hong cdd28b0aca mshtml: Handle DISPATCH_PROPERTYPUT | DISPATCH_PROPERTYPUTREF in invoke_builtin_prop. 2014-09-18 13:06:24 +02:00
Jacek Caban 6262492252 mshtml: Added function object default value getter implementation. 2014-06-11 13:09:32 +02:00
Jacek Caban 018af15b9d mshtml: Use debugmsg_mshtml_guid in a few more places. 2014-05-09 14:24:34 +02:00
Marcus Meissner 423a8ccce8 mshtml: Specify correct variable in TRACE (Coverity). 2013-05-09 19:24:18 +02:00
Jacek Caban 8c0c09e4c7 mshtml: Fixed builtin getter call with arguments. 2013-04-01 18:17:14 +02:00
Jacek Caban 6b0e2c8fdf mshtml: Use VT_ERROR as return type in DispCallFunc call. 2013-02-12 14:51:56 +01:00
Jacek Caban bce6ee2b84 mshtml: Remove duplicated property entries in preprocess_dispex_data. 2013-01-16 20:26:50 +01:00
Jacek Caban 61ec3ae27b mshtml: Added support for converting (some) argument types in builtin function calls using script engine. 2012-12-04 16:55:59 +01:00
Marcus Meissner 0f4c2f9a8c mshtml: Removed duplicate condition (Coverity). 2012-10-03 16:28:29 +02:00
Jacek Caban 514e65c1e9 mshtml: Use custom VT_BSTR to VT_BOOL conversion in InvokeEx implementation. 2012-09-24 22:27:27 +02:00
Jacek Caban 6d3bfe8ee5 mshtml: Added support for overriding builtin functions. 2012-09-24 22:27:27 +02:00
Jacek Caban a4869de7fa mshtml: Check if value is function only when it needs to be in invoke_builtin_prop. 2012-09-10 12:15:34 +02:00
Jacek Caban 156e212715 mshtml: Fixed DISPATCH_PROPERTYGET|DISPATCH_METHOD support in invoke_builtin_prop. 2012-08-13 11:52:27 +02:00
Jacek Caban 1f6febea08 mshtml: Clean up InvokeEx implementation by using get_dispid_type. 2012-07-24 21:27:12 +02:00
Jacek Caban af4967186a mshtml: Added IHTMLDOMAttribute::get_specified implementation. 2012-07-24 21:27:12 +02:00
Jacek Caban e9cc7676fa mshtml: Make node object's dynamic IDispatchEx-based properties cycle collectable. 2012-07-19 16:01:50 +02:00
Jacek Caban 61ded412a2 mshtml: Added support for calling functions returned by builtin getters. 2012-07-13 10:32:36 -05:00
Jacek Caban 01af42a427 mshtml: Moved invoking DISPID_VALUE to separated function. 2012-07-13 10:32:31 -05:00
Jacek Caban d987690212 Added support for shadowing of element pseudo-variables. 2012-04-17 12:43:17 +02:00
Jacek Caban cfb219f910 mshtml: Don't overwrite type of result if property type is VT_VARIANT. 2012-03-16 19:21:11 +01:00
Jacek Caban 4ae7d364dd mshtml: Use caller for argument convertion in builtin_propput if available. 2012-03-13 13:30:11 +01:00
Jacek Caban ba1d4d71d8 mshtml: Don't use ITypeInfo for InvokeEx(DISPATCH_PROPERTYPUT) implementation. 2012-03-13 13:30:10 +01:00
Jacek Caban c9eed8f987 mshtml: Don't use ITypeInfo for InvokeEx(DISPATCH_PROPERTYGET) implementation. 2012-03-13 13:30:10 +01:00
Jacek Caban dfaa1e9541 mshtml: Store more info about properties in func_info_t. 2012-03-13 13:30:08 +01:00