Jacek Caban
|
150b7391b8
|
jscript: Add GetSourceLineText implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-04 21:30:27 +01:00 |
Jacek Caban
|
bfb2e5d959
|
jscript: Delay error object creation for builtin errors with message string until it's needed.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-03 20:48:04 +01:00 |
Jacek Caban
|
bcba07229a
|
jscript: Support propagating error message.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-03 20:48:03 +01:00 |
Jacek Caban
|
0f4d4f7184
|
jscript: Store error location in jsexcept_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-03 20:48:03 +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
|
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
|
0167f4a7dd
|
jscript: Directly return error code instead of using throw_regexp_error.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-02 16:25:03 +01:00 |
Jacek Caban
|
c372e79e25
|
jscript: Directly return error code instead of using throw_reference_error.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-02 16:25:00 +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 |
Jacek Caban
|
1d487027a0
|
jscript: Directly return error code instead of using throw_generic_error.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-02 16:24:55 +01:00 |
Jacek Caban
|
940b02584e
|
jscript: Factor out format_error_message implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-02-02 16:24:53 +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
|
3c9b7011ff
|
jscript: Store separated flag indicating if current exception value is valid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-01-30 15:58:42 +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 |
Alexandre Julliard
|
29ea8b42db
|
jscript: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-06-06 11:15:24 +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
|
ae8c45c694
|
jscript: Use jsdisp_define_property for Error object properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:01 +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
|
4ece40f86b
|
jscript: Return buffer pointer separately from jsstr_t from jsstr_alloc_len.
|
2013-03-25 14:10:08 +01:00 |
Jacek Caban
|
c7c71b87b8
|
jscript: Pass msg as jsstr_t to create_error.
|
2013-03-08 18:11:05 +01:00 |
Jacek Caban
|
55f67035c4
|
jscript: Use jsstr_flush in Error_toString.
|
2013-03-05 12:43:18 +01:00 |
Andrew Talbot
|
6b5a18f619
|
jscript: Avoid signed-unsigned integer comparisons.
|
2013-02-11 11:46: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
|
6f5475dd26
|
jscript: Store exception value in script_ctx_t instead of passing it everywhere.
|
2012-09-19 13:04:16 +02:00 |
Jacek Caban
|
acfd2b98c3
|
jscript: Always use jsval-based to_string implementation.
|
2012-09-17 18:29:11 +02:00 |
Jacek Caban
|
0bab034fac
|
jscript: Always use jsval-based to_number implementation.
|
2012-09-17 18:28:52 +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
|
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
|
27747d3a75
|
jscript: Properly set Error object's constructor property.
|
2012-07-16 16:29:45 +02:00 |
Jacek Caban
|
f8383c3417
|
jscript: Don't use DISPPARAMS for internal arguments.
|
2012-06-25 18:12:51 +02:00 |
Jacek Caban
|
1532037bcd
|
jscript: Use num_set_int where possible.
|
2012-06-20 19:21:05 +02:00 |
Jacek Caban
|
d0a719a79d
|
jscript: Get rid of ret_nan hack.
|
2012-05-29 18:20:13 +02:00 |
Jacek Caban
|
451169fb93
|
jscript: Return double instead of VARIANT from to_number.
|
2012-03-27 11:43:01 +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
|
0d9cc45406
|
jscript: Removed no longer needed caller argument from jsdisp_propget_name.
|
2012-03-12 16:37:21 +01:00 |
Jacek Caban
|
12bc6e0cc7
|
jscript: Removed no longer needed caller argument from jsdisp_propput_name and jsdisp_propget.
|
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 |
Alexandre Julliard
|
33d091fef6
|
jscript: Remove an incorrect and unnecessary error check.
|
2010-10-11 12:54:17 +02:00 |
Jacek Caban
|
2ae0f44033
|
jscript: Added a helper function for setting VARIANT value to jsdisp_t.
|
2010-09-07 16:01:46 +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
|
884b76657c
|
jscript: Get rid of no longer needed ErrorInstance struct.
|
2010-08-04 17:32:05 +02:00 |
Jacek Caban
|
ae8cb5a1e6
|
jscript: Fixed Error.toString implementation for non-Error this.
|
2010-08-04 17:31:59 +02:00 |
Jacek Caban
|
04819e9066
|
jscript: Use generic property for Error.message.
|
2010-08-04 17:31:51 +02:00 |
Jacek Caban
|
96990cfa8e
|
jscript: Use generic property for Error.description.
|
2010-08-04 17:31:46 +02:00 |
Jacek Caban
|
6263f0079a
|
jscript: Use generic property for Error.number.
|
2010-08-02 14:09:26 +02:00 |
Rob Shearman
|
9dc584d0a2
|
jscript: Fix various memory and reference count leaks.
|
2009-12-31 14:27:06 +01:00 |
Francois Gouget
|
5d06095dfb
|
jscript: We don't need throw_eval_error() so remove it.
|
2009-11-16 12:43:06 +01:00 |
Jacek Caban
|
86e7beae82
|
jscript: Added Error.toString implementation for invoke version >= 2.
|
2009-10-20 13:48:13 +02:00 |