Commit Graph

23 Commits

Author SHA1 Message Date
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 b67c957f39 jscript: Directly return error code instead of using throw_range_error.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-02 16:24:58 +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
Michael Stefaniuc 7af3f65188 jscript: Add more jsdisp_t to Instance helpers.
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:13 +09:00
Michael Stefaniuc fc1ae4fc9e jscript: Use CONTAINING_RECORD() to get from a field to a struct.
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-19 23:13:37 +09:00
Jacek Caban 12adc67782 jscript: Fixed some leaks (coverity). 2012-10-31 16:12:27 +01: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 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
Jacek Caban d492650332 jscript: Properly handle constructor property for most builtin constructors. 2012-07-16 16:29:31 +02:00
Jacek Caban f8383c3417 jscript: Don't use DISPPARAMS for internal arguments. 2012-06-25 18:12:51 +02:00
Jacek Caban 84ed86c431 jscript: Get rid of no longer needed caller argument from builtin_invoke_t. 2012-03-14 17:34:00 +01:00
Jacek Caban 7d4ba8db63 jscript: Removed no longer needed caller argument from jsdisp_propput_idx. 2012-03-12 16:37:20 +01:00
Jacek Caban 7774a0a4c1 jscript: Pass HRESULTs instead of IDSs to throw_* functions. 2010-12-28 16:35:41 +01:00
Piotr Caban 185ef44d00 jscript: Improved error handling in VBArray functions. 2010-10-19 15:25:11 +02:00
Piotr Caban 5a787b3a7f jscript: Added VBArray handling to to_object(). 2010-10-18 19:47:50 +02:00
Piotr Caban 29cdb21218 jscript: Added VBArray.toArray() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 41d7f8fc46 jscript: Added VBArray.getItem() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 2f4607887f jscript: Added VBArray.dimensions() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 2aa7e3c614 jscript: Added VBArray.ubound() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 10a11d539c jscrpt: Added VBScript.lbound() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 17fc64157c jscript: Implement VBArray constructor. 2010-10-18 19:47:49 +02:00
Piotr Caban 705ce33a6e jscript: Added VBArray stub. 2010-10-18 19:47:49 +02:00