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
Gabriel Ivăncescu
ce1b3f5f1d
jscript: Replace the value_prop in builtin_info with a call method.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-25 21:20:29 +01:00
Jacek Caban
8dd582ebeb
jscript: Add Set object stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-22 10:20:24 +02:00
Gabriel Ivăncescu
eb43d59e8e
jscript: Store the object prototype in the script context.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-11 22:58:26 +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
Michael Stefaniuc
a8a03eb35f
jscript: Use wide-char string literals in struct initialization.
...
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-05 20:46:19 +01:00
Gabriel Ivăncescu
7ad740cd29
jscript: Get rid of the variable_obj parameter to exec_source.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 20:27:13 +01:00
Gabriel Ivăncescu
f6201b4b11
jscript: Lookup the named item and keep a ref to it from the associated bytecode.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 22:16:30 +01:00
Jacek Caban
2224736967
jscript: Directly return error code instead of using throw_uri_error.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-02 16:25:05 +01:00
Jacek Caban
f6c5da47f7
jscript: Suport generic error object for exception with no associated JavaScript exception value.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-02 16:24:51 +01:00
Jacek Caban
ba500a6a9e
jscript: Store source context and starting line in bytecode_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-30 15:58:36 +01:00
Alexandre Julliard
0d0b7a1451
jscript: Always check for errors in UTF8 conversions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +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
9dd50eae06
jscript: Allow 0x strings with explicit radix 16 in parseInt.
...
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
aac2110e8f
jscript: Allow calling eval function from external code.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 22:09:42 +02:00
Andreas Maier
6630bc4096
jscript: Stub Enumerator object.
...
Enumerator is an MS extension.
It's needed to succeed VyChat219.msi installation.
Signed-off-by: Andreas Maier <staubim@quantentunnel.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:37 +02: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
ae8635db62
jscript: Use jsdisp_define_property instead of jsdisp_propput_dontenum for global properties.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:26:51 +02:00
Jacek Caban
6b1e54a28e
jscript: Make global constants non-writable in ES5 mode.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:26:51 +02:00
Sebastian Lackner
69437afed1
jscript: Change prototype of jsstr_alloc_buf and fix some error handling issues.
...
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-09-08 10:05:46 +09:00
Jacek Caban
5a7327d21d
jscript: Setup arguments object by interpreter and store all arguments inside the object on call exit.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 11:13:50 -05:00
Jacek Caban
5e4d3826ec
jscript: Store function arguments on JS stack and transfer them to variable object only when needed.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 11:59:27 +09:00
Jacek Caban
6a03b38f33
jscript: Use already running interpreter for eval() execution.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 11:54:44 +09:00
Jacek Caban
35133dbe58
jscript: Find Function.arguments on the stack instead of storing it in FunctionInstance object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 10:40:06 +09:00
Jacek Caban
42e90ca592
jscript: Moved arguments object destuction to interpreter.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 10:40:04 +09:00
Jacek Caban
2bb824b7c9
jscript: Sore is_global as a flag.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 10:39:53 +09:00
Jacek Caban
32d9c59868
jscript: Get rid of no longer needed exec_ctx_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 12:07:17 +09:00
Jacek Caban
00ce4419b4
jscript: Store is_global flag in call_frame_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 12:07:15 +09:00
Jacek Caban
b8fb19f160
jscript: Store variable object in call_frame_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 12:07:10 +09:00
Jacek Caban
0db7059663
jscript: Store this object in call_frame_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 12:07:07 +09:00
Jacek Caban
49ecfa950b
jscript: Store current scope chain in call_frame_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 20:09:45 +09:00
Jacek Caban
8a17cf89fb
jscript: Keep track of active call in a separated structure.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 20:09:07 +09:00
Jacek Caban
061592a205
jscript: Removed no longer used argument from exec_source.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 23:02:20 +09:00
Jacek Caban
4e1e2ee451
jscript: Added JSON object stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 13:43:10 +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
90d3569c62
jscript: Don't use builtin property for *Error constructors.
2015-02-06 00:28:35 +09:00
Jacek Caban
b7a27333e3
jscript: Don't use builtin property for a few more constructors.
2015-02-06 00:28:34 +09:00
Jacek Caban
6eb49669aa
jscript: Don't use builtin property for exposing Boolean constructor.
2015-02-05 00:23:14 +09:00
Jacek Caban
0eec97e29b
jscript: Don't use builtin property for exposing ActiveXObject constructor.
2014-10-13 19:43:28 +09:00
Akihiro Sagawa
e29fd54292
jscript: Improve CollectGarbage stub.
2014-06-24 20:26:55 +02:00
Alexandre Julliard
a804cc711b
jscript: Use the official Windows constant for MAXLONGLONG.
2013-10-14 17:26:14 +02:00
Jacek Caban
e67169c114
jscript: Use helpers to access string buffer in global.c.
2013-03-27 12:13:41 +01:00
Jacek Caban
4ece40f86b
jscript: Return buffer pointer separately from jsstr_t from jsstr_alloc_len.
2013-03-25 14:10:08 +01:00
Jacek Caban
d7f24b0956
jscript: Reuse static instance of 'undefined' string.
2013-03-08 18:11:05 +01:00
Jacek Caban
ea34e01493
jscript: Use jsdisp_propput_dontenum where appropriate.
2012-11-05 17:44:15 +01:00
Jacek Caban
7f1e3300fe
jscript: Use custom string container instead of BSTR.
2012-10-11 18:53:04 +02:00
Jacek Caban
bf65003271
jscript: Added support for pstrFormalParams argument in ParseProcedureText.
2012-10-04 16:29:24 +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