Eric Pouech
e8e0917a9c
jscript: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 11:21:29 +01:00
Eric Pouech
679bbdf89d
jscript: Use correct integral type.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:19 +01:00
Jacek Caban
d22bafa763
jscript: Add VT_CY type support.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-22 20:34:57 +01:00
Jacek Caban
42c044ae71
jscript: Support VT_DATE to string conversion.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-19 21:44:17 +01:00
Jacek Caban
3fb0e893b1
jscript: Support VT_DATE to number conversion.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-19 21:44:17 +01:00
Jeff Smith
4d68572aa6
jscript: Use wide-char string literals.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 20:18:39 +01:00
Michael Stefaniuc
59b9747644
jscript: 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-24 16:53:52 +01:00
Alexandre Julliard
061c747bfa
jscript: Use the standard isfinite() function.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-17 13:46:26 +01:00
Jacek Caban
8b836797e2
jscript: Directly return error code instead of using throw_type_error where possible.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-02 16:25:12 +01:00
Jacek Caban
63683b42f7
jscript: Use separated jsexcept_t instance for each external call.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-30 15:58:40 +01:00
Jacek Caban
7828df17e2
jscript: Introduce jsstr_to_bstr helper.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-24 21:23:53 +01:00
Francois Gouget
72a7d94586
jscript: Fix the spelling of a couple of comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 20:59:19 +01:00
Jacek Caban
cac0fedd33
jscript: Import to_int32 implementation from WebKit.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-05 23:36:23 +01:00
Jacek Caban
f34cecbae2
jscript: Treat only ASCII digits as digits.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-08 23:38:07 +01:00
Jacek Caban
a20555ea5f
jscript: Use _ltow_s instead of int_to_string.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 19:25:28 +01:00
Jacek Caban
58dd9c2b99
jscript: Support VT_UI1 and VT_I1 types.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-08 17:53:36 +02:00
Alexandre Julliard
29ea8b42db
jscript: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 11:15:24 +02:00
Jacek Caban
f192f2f1a1
jscript: Support type conversion to VT_UI2.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 19:29:42 +02:00
Serge Gautherie
961d5c8ed0
jscript: Fix a MSVC-x64 warning about to_uint32().
...
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-20 15:34:01 +01:00
Alex Henrie
58da918e4d
jscript: Make several constants static.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Michael Stefaniuc
ef64f27632
jscript: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-10 18:58:59 +02:00
Jacek Caban
f96aa1f32c
jscript: Properly support overloaded values in to_int32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 20:14:41 +02:00
Jacek Caban
d2213e205b
jscript: Support VT_UI8 in variant_to_jsval.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 20:31:11 +01:00
Jacek Caban
4fc0f2aa38
jscript: Added support for VT_UI2 VARIANT types.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-01 23:16:07 +01:00
Jacek Caban
c25208f2af
jscript: Added support for VT_R4 VARIANT types.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-24 08:37:43 +09:00
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