Commit Graph

89 Commits

Author SHA1 Message Date
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 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 0224f1829b jscript: Moved stack from execution context to script context.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 12:07:05 +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 ccccd1c435 jscript: Correctly handle pvarResult in ParseScriptText. 2015-06-01 14:43:28 +09:00
Jacek Caban 755eac8f0c jscript: Properly handle NULL pvarResult in ParseScriptText. 2014-06-11 19:15:25 +02:00
Piotr Caban 02d63cb312 jscript: Rename jsheap_t to heap_pool_t. 2013-02-15 14:42:58 +01:00
Jacek Caban 5e4a16819e jscript: Added support for SCRIPTTEXT_ISEXPRESSION. 2012-12-12 20:23:17 +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 c0d2029560 jscript: Fixed conversion in place in IVariantChangeType::ChangeType. 2012-09-21 20:02:58 +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 daf0b8dad2 jscript: Store exception value as jsval_t instead of VARIANT. 2012-09-17 18:28:05 +02:00
Jacek Caban 97b44da746 jscript: Store function parameters in function_code_t. 2012-04-25 12:17:01 +02:00
Jacek Caban 375ab889d8 jscript: Store source code range in function_code_t. 2012-04-24 17:45:27 +02:00
Jacek Caban d76b675ea8 jscript: Use compiler-generated struct for representing function code. 2012-04-24 17:45:16 +02:00
Jacek Caban f7a8650500 jscript: Added decoding support. 2012-03-26 18:15:11 +02:00
Jacek Caban 4a9eea3516 jscript: Added beginning support for JScriptEncode object. 2012-03-26 18:15:09 +02:00
Jacek Caban a1c4c84005 jscript: Store parser_ctx_t in bytecode_t instead of other way around. 2012-03-13 10:30:49 +01:00
Jacek Caban be29a73845 jscript: Call script_parse from compile_script, not the other way around. 2012-03-13 10:30:32 +01:00
Jacek Caban 825eb76321 jscript: Compile all function from given source in one run. 2012-03-13 10:30:27 +01:00
Jacek Caban c6360c3e6e jscript: Added QueryService(SID_VariantConversion) implementation. 2012-03-12 16:37:18 +01:00
Jacek Caban bac7c1ef36 jscript: Added ChangeType implementation. 2012-03-12 16:37:17 +01:00
Jacek Caban dfb59c6049 jscript: Pass proper caller argument to InvokeEx. 2012-03-09 11:31:15 +01:00
Jacek Caban 1cadd7cc32 jscript: Added IVariantChangeType stub implementation. 2012-03-09 11:31:04 +01:00
Alistair Leslie-Hughes ae46ad83a5 jscript: ActiveX objects might not support IServiceProvider Interface. 2012-01-25 20:39:48 +01:00
Jacek Caban ff0cea33d0 jscript: Added more SetInterfaceSafetyOptions tests and fixes. 2011-09-01 18:16:28 +02:00
Jacek Caban 5b16e6e0fd jscript: Properly handle aggregation attempt. 2011-07-18 18:30:43 +02:00
Marcus Meissner 7e7b44882c jscript: Mark up fallthrough switch cases (Coverity). 2011-03-18 16:05:09 +01:00
Jacek Caban 244a6951ac jscript: Added SetScriptState(SCRIPTSTATE_UNINITIALIZED) implementation. 2011-02-22 12:28:07 +01:00
Jacek Caban 020245bba1 jscript: Fixed some clang warnings. 2011-01-27 16:32:22 +01:00
Michael Stefaniuc 568b0d5c08 jscript: COM cleanup for the IServiceProvider iface. 2011-01-17 13:22:14 +01:00
Michael Stefaniuc 3b1d9d43de jscript: Use ifaces instead of vtbl pointers in JScript. 2011-01-17 13:22:12 +01:00
Jacek Caban 45e33ec280 jscript: Beginning support for conditional compilation. 2010-12-28 16:35:43 +01:00
Jacek Caban 35968b9755 jscript: Don't lookup global variables on function invocation. 2010-10-14 17:54:52 +02:00
Jacek Caban ac8d2f1fae jscript: jsdisp_t to IDispatch casts clean up. 2010-09-07 16:01:52 +02:00
Jacek Caban 8c2a548b54 jscript: Rename DispatchEx to jsdisp_t to match jscript naming convention. 2010-09-06 17:09:57 +02:00
Jacek Caban c210618663 jscript: Return S_OK in SetScriptState for SCRIPTSTATE_INITIALIZED. 2010-07-28 16:28:21 +02:00
Jacek Caban 32c61c5092 jscript: Store match result in script context. 2010-05-27 14:46:42 +02:00
Jacek Caban 77d58529f5 jscript: Pass NULL as retv to exec_source in exec_global_code. 2009-12-01 16:11:48 +01:00
Jacek Caban 56b04194fc jscript: Don't return function value it's unless explicitly returned. 2009-11-05 11:57:30 +01:00
Jacek Caban 3b2d5ecdf5 jscript: Added SetProperty(SCRIPTPROP_INVOKEVERSIONING) implementation. 2009-10-20 13:47:40 +02:00
Jacek Caban 06f26f53f7 jscript: Call SetSite on created ActiveX object. 2009-10-07 12:22:40 +02:00