Commit Graph

100 Commits

Author SHA1 Message Date
Jacek Caban e641469f9f jscript: Set output to undefined in jsval_copy on failure.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 11:59:34 +09:00
Jacek Caban be37b894a4 jscript: Use IDispatch* as iface_to_jsdisp argument type.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 23:04:53 +09:00
Sebastian Lackner b2e58b4c7c jscript: Use list_head get first entry of list.
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-07-07 19:58:00 +09:00
Jacek Caban e00708e3aa jscript: Added new is_finite helper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 13:42:57 +09:00
Jacek Caban a1543a3f7b jscript: Fixed handling VT_VARIANT|VY_BYREF types. 2015-02-06 22:20:39 +09:00
Jacek Caban b0632af980 jscript: Added support for VT_UI4 variants. 2015-02-04 21:32:50 +09:00
Jacek Caban d2886a05f9 wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations. 2014-07-24 17:05:55 +02:00
Jacek Caban 5cf20ceffd jscript: Represent NULL VT_UNKNOWN VARIANT as NULL VT_DISPATCH. 2014-03-19 16:50:34 +01:00
Jacek Caban 2ac35ac441 jscript: Use single string instance for strings representing NULL BSTR instead of a flag. 2013-04-24 14:34:26 +02:00
Jacek Caban 3bf7255d23 jscript: Added to_flat_string helper and use it to access string buffer in activex.c. 2013-03-27 12:13:32 +01:00
Jacek Caban 96ace8cbcb jscript: Use jsstr_flatten to access string buffer in jsutils.c. 2013-03-26 12:16:04 +01:00
Jacek Caban d7f24b0956 jscript: Reuse static instance of 'undefined' string. 2013-03-08 18:11:05 +01:00
Jacek Caban 88e78eb16e jscript: Use jsstr_flush in variant_change_type. 2013-03-05 12:43:26 +01:00
Jacek Caban 0eeb5c17b4 jscript: Use jsstr_flush in jsval_to_variant. 2013-03-05 12:43:24 +01:00
Jacek Caban 1926b5617d jscript: Use to_int32 in to_uint32 implementation. 2013-02-19 19:50:53 +01:00
Piotr Caban 02d63cb312 jscript: Rename jsheap_t to heap_pool_t. 2013-02-15 14:42:58 +01:00
Jacek Caban 99d1a8529b jscript: Added null and undefined values support to to_object. 2012-12-21 17:28:55 +01:00
Jacek Caban 11f41aa05a jscript: Treat VT_UNKNOWN VARIANTs supporting IDispatch interface as VT_DISPATCH. 2012-12-05 20:23:51 +01:00
Jacek Caban 7f1e3300fe jscript: Use custom string container instead of BSTR. 2012-10-11 18:53:04 +02:00
Francois Gouget d75a4ba17f jscript: Make jsval_variant() static. 2012-09-20 00:00:14 +02:00
Jacek Caban 37509e540f jscript: Pack jsval_t to 64-bit structure on i386. 2012-09-19 13:04:34 +02:00
Jacek Caban 6f5475dd26 jscript: Store exception value in script_ctx_t instead of passing it everywhere. 2012-09-19 13:04:16 +02:00
Jacek Caban c0cd0d17aa jscript: Avoid direct access to jsval_t struct. 2012-09-17 18:30:25 +02:00
Jacek Caban c4df88b7fa jscript: Use helper to access jsval_t type. 2012-09-17 18:30:14 +02:00
Jacek Caban 29f4194d74 jscript: Return BOOL instead of VARIANT_BOOL from jsdisp_is_own_prop. 2012-09-17 18:29:54 +02:00
Jacek Caban 5fecc71d34 jscript: Get rid of no longer needed VARIANT helpers. 2012-09-17 18:29:42 +02:00
Jacek Caban 228aab23be jscript: Always use jsval-based to_object implementation. 2012-09-17 18:29:19 +02:00
Jacek Caban acfd2b98c3 jscript: Always use jsval-based to_string implementation. 2012-09-17 18:29:11 +02:00
Jacek Caban 2fc71ab6d5 jscript: Always use jsval-based to_uint32 implementation. 2012-09-17 18:29:02 +02:00
Jacek Caban 0bab034fac jscript: Always use jsval-based to_number implementation. 2012-09-17 18:28:52 +02:00
Jacek Caban 26576b83da jscript: Always use jsval-based to_boolean. 2012-09-17 18:28:41 +02:00
Jacek Caban c1eb4326a0 jscript: Always use jsval-based to_primitive. 2012-09-17 18:28:35 +02:00
Jacek Caban daf0b8dad2 jscript: Store exception value as jsval_t instead of VARIANT. 2012-09-17 18:28:05 +02:00
Jacek Caban 80f7f3c246 jscript: Store jsdisp_t values as jsval_t instead of VARIANT. 2012-09-17 18:27:57 +02:00
Jacek Caban 16b2b019b8 jscript: Use jsval_t instead of VARIANT for stack values. 2012-09-17 18:27:42 +02:00
Jacek Caban 847aebdc87 jscript: Use jsval instead of VARIANT to pass arguments to builtin functions. 2012-09-17 18:27:36 +02:00
Jacek Caban 932b3dd088 jscript: Added new variable representation and use it for internal function return values. 2012-09-17 18:27:17 +02:00
Francois Gouget b7f74922a4 jscript: Make int_to_bstr() static. 2012-06-26 17:06:11 +02:00
Jacek Caban f8383c3417 jscript: Don't use DISPPARAMS for internal arguments. 2012-06-25 18:12:51 +02:00
Jacek Caban c7c8cd780a jscript: Use INFINITY macro instead of ret_inf() hack. 2012-06-20 19:21:08 +02:00
Jacek Caban d0a719a79d jscript: Get rid of ret_nan hack. 2012-05-29 18:20:13 +02:00
Jacek Caban c8a28a9671 jscript: Added support for VT_INT. 2012-05-04 18:08:33 +02:00
Jacek Caban 56bf46fda0 jscript: Return double from to_integer. 2012-05-03 20:44:11 +02:00
Jacek Caban 13db9a1662 jscript: Added VT_I2 tests. 2012-05-01 15:28:24 +02:00
Frédéric Delanoy 69f3d23045 jscript: Assorted spelling fixes. 2012-04-18 13:59:44 +02:00
Jacek Caban b3bafb60a2 jscript: Fixed jsheap_grow implementation. 2012-04-02 12:34:45 +02:00
Jacek Caban 8f36daa422 jscript: Properly handle NULL bstr in str_to_number. 2012-03-28 17:28:34 +02:00
Jacek Caban 7bb41e75b6 jscript: Store value as double in NumberInstance object. 2012-03-27 11:43:17 +02:00
Jacek Caban 451169fb93 jscript: Return double instead of VARIANT from to_number. 2012-03-27 11:43:01 +02:00
Jacek Caban c6360c3e6e jscript: Added QueryService(SID_VariantConversion) implementation. 2012-03-12 16:37:18 +01:00