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
|
599769f857
|
jscript: Use jsdisp_define_property to set prototype constructors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:07 +02:00 |
Jacek Caban
|
3767d63a1c
|
jscript: Use jsdisp_define_property to set function prototypes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:05 +02:00 |
Jacek Caban
|
20007e586a
|
jscript: Use jsdisp_define_data_property for arguments object properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:03 +02:00 |
Jacek Caban
|
4555828c57
|
jscript: Use jsdisp_define_property instead of jsdisp_propput_const.
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
|
7f01473a38
|
jscript: Make Function instance object properties non-writable.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-11 00:39:49 +02:00 |
Jacek Caban
|
6b86fd795c
|
jscript: Use new PROPF_WRITABLE flag instead of PROPF_CONST.
This is closer to how ES5 defines them.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-03 16:20:40 +02:00 |
Jacek Caban
|
197db9cac9
|
jscript: Use new PROPF_CONFIGURABLE flag instead of PROPF_DONTDELETE.
This is closer to how ES5 defines them.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-03 16:20:36 +02:00 |
Michael Stefaniuc
|
55f6e3c350
|
jscript: Use the existing helpers to get from a jsdisp_t to an Instance.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-09-23 20:48:11 +09: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
|
403fb41cd1
|
jscript: Create scope in setup_scope.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-05 10:32:23 -05:00 |
Jacek Caban
|
713051d027
|
jscript: Store local functions in locals map.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-04 09:09:12 -05:00 |
Jacek Caban
|
2f63a1e009
|
jscript: Delay arguments object until it's accessed and properly detach it after function exits.
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
|
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
|
9daafa87bc
|
jscript: Access arguments directly from stack in arguments object if possible.
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
|
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 |
Jacek Caban
|
db6b86cbbd
|
jscript: Allow Function.apply() to be called on non-jscript objects.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-17 00:09:18 +09:00 |
Jacek Caban
|
889f2657dd
|
jscript: Use already running interpreter for Function.call() execution.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-30 11:54:42 +09:00 |
Jacek Caban
|
813609b843
|
jscript: Use already running interpreter for Function.apply() execution.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-30 11:54:40 +09:00 |
Jacek Caban
|
fa726bed4d
|
jscript: Use already running interpreter for execution new expressions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-30 11:54:37 +09:00 |
Jacek Caban
|
66632091bf
|
jscript: Use already running interpreter for execution of member source function.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-30 11:54:33 +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
|
d66b5bf4cb
|
jscript: Moved constructor return logic to interpreter.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-29 10:39:55 +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
|
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
|
d7e4193df2
|
jscript: Added support for Function constructor called as a function.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-06 18:14:44 +01:00 |
Jacek Caban
|
1316403770
|
jscript: Pass 'this' as jsdisp_t to setters.
|
2015-02-06 22:20:36 +09:00 |
Jacek Caban
|
d541b525e4
|
jscript: Pass 'this' as jsdisp_t to getters.
|
2015-02-06 22:20:34 +09:00 |
Jacek Caban
|
b7fae52964
|
jscript: Use separated functions for implementing builtin call, get and set operation.
|
2015-02-06 00:28:35 +09:00 |
Jacek Caban
|
091738ffdf
|
jscript: Don't allow function execution if script engine is not in started state.
|
2015-01-14 13:18:24 +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
|
3f30c34827
|
jscript: Use jsstr_flush in construct_function.
|
2013-03-05 12:43:20 +01:00 |
Andrew Talbot
|
6b5a18f619
|
jscript: Avoid signed-unsigned integer comparisons.
|
2013-02-11 11:46:05 +01:00 |
Jacek Caban
|
956cb343b2
|
jscript: Cut arguments circular reference after returning from the function.
|
2012-11-30 19:12:15 +01:00 |
Jacek Caban
|
d9d8c8b716
|
jscript: Added support for DontDelete attribute and use it for arguments object.
|
2012-11-30 19:12:15 +01:00 |
Jacek Caban
|
6b56c65f8d
|
jscript: Alias arguments properties to real values.
|
2012-11-30 19:12:14 +01:00 |
Jacek Caban
|
ea34e01493
|
jscript: Use jsdisp_propput_dontenum where appropriate.
|
2012-11-05 17:44:15 +01:00 |
Jacek Caban
|
12adc67782
|
jscript: Fixed some leaks (coverity).
|
2012-10-31 16:12:27 +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 |
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 |