Commit Graph

55 Commits

Author SHA1 Message Date
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 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 6f5475dd26 jscript: Store exception value in script_ctx_t instead of passing it everywhere. 2012-09-19 13:04:16 +02:00
Jacek Caban 0bab034fac jscript: Always use jsval-based to_number implementation. 2012-09-17 18:28:52 +02:00
Jacek Caban 80f7f3c246 jscript: Store jsdisp_t values as jsval_t instead of VARIANT. 2012-09-17 18:27:57 +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 f8383c3417 jscript: Don't use DISPPARAMS for internal arguments. 2012-06-25 18:12:51 +02:00
Jacek Caban 4a335142f9 jscript: Use INFINITY macro instead of num_set_inf(). 2012-06-21 18:04:32 +02:00
Jacek Caban db737291fc jscript: Get rid of num_set_nan hack. 2012-05-29 18:20:14 +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 45aee4fd6c jscript: Fixed some math API assumption that cause test failures on Solaris. 2010-12-30 15:02:53 +01: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 e81811b3a0 jscript: Use generic object constants for Math constants. 2010-07-28 12:22:33 +02:00
Jacek Caban f8c2b42de4 jscript: Allow 'this' to be host object in builtin functions. 2009-09-23 16:25:23 +02:00
Jacek Caban 5dcd182e8f jscript: Avoid using dispex->ctx. 2009-09-23 16:25:13 +02:00
Jacek Caban 5511f7173f jscript: Pass script_ctx_t to builtin functions. 2009-09-23 16:19:44 +02:00
Jacek Caban f14c5f074a jscript: Get rid of lcid argument in builtin function implementations. 2009-09-23 16:19:31 +02:00
Piotr Caban ca72983664 jscript: Fixed Math's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban c368ab5ba7 jscript: Inherit Math from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban 45817bf50f jscript: Added DateConstr_parse implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban f77489acd5 jscript: Added implementation of Math_pow with less then 2 arguments. 2009-05-28 12:42:17 +02:00
Piotr Caban f2c1095a80 jscript: Added Math_tan implementation. 2009-05-27 11:34:36 +02:00
Piotr Caban 8c609c9f50 jscript: Added implementation of Math_sqrt. 2009-05-27 11:34:31 +02:00
Piotr Caban a67672f9ee jscript: Added Math_sin implementation. 2009-05-27 11:34:25 +02:00
Piotr Caban f57f3aa2f4 jscript: Added implementation of Math_log. 2009-05-27 11:34:21 +02:00
Piotr Caban 6231969476 jscript: Added implementation of Math_exp. 2009-05-27 11:34:11 +02:00
Piotr Caban d940755c71 jscript: Added Math_atan2 implementation. 2009-05-26 13:48:59 +02:00
Piotr Caban 79151a2adf jscript: Added implementation of Math_atan. 2009-05-26 13:48:50 +02:00
Piotr Caban 33cde58053 jscript: Added implementation of Math_asin. 2009-05-26 13:48:41 +02:00
Piotr Caban 1ef80d5cd2 jscript: Added Math_LN10 implementation and tests. 2009-05-25 11:23:15 +02:00
Piotr Caban b050c20638 jscript: Added Math_acos implementation and tests. 2009-05-25 11:23:09 +02:00
Piotr Caban e4bc0def3b jscript: Added Math_SQRT1_2 implementations and tests. 2009-05-25 11:22:42 +02:00
Piotr Caban 27f327aebc jscript: Added Math_SQRT2 implementation and tests. 2009-05-25 11:22:30 +02:00
Piotr Caban fe5785af09 jscript: Added Math_cos implementation. 2009-04-03 13:00:56 +02:00
Piotr Caban d2aed1b752 jscript: Added Math_LN2 implementation. 2009-04-03 13:00:48 +02:00
Jacek Caban 7bd79152a5 jscript: Fixed Math.round with no argument. 2009-01-22 15:28:23 +01:00
Jacek Caban a20a9166a2 jscript: Added Math.random implementation. 2009-01-22 15:28:23 +01:00
Jacek Caban 06050f86d5 jscript: Added Math.LOG10E implementation. 2008-12-11 12:45:47 +01:00
Jacek Caban 0c6b427aaa jscript: Added Math.LOG2E implementation. 2008-12-11 12:45:44 +01:00
Jacek Caban da03e6779d jscript: Added Math.E implementation. 2008-12-11 12:45:40 +01:00
Jacek Caban 0e8bcbd9de jscript: Added Math.PI implementation. 2008-12-11 12:45:36 +01:00
Jacek Caban 9f1699b9a4 jscript: Return NaN in Math.ceil if called without any argument. 2008-10-22 13:54:53 +02:00
Jacek Caban 9709eadca1 jscript: Added Math.floor implementation. 2008-10-22 13:54:53 +02:00
Jacek Caban 142cffc249 jscript: Added Math.abs with no arg implementation. 2008-10-17 11:45:57 +02:00
Jacek Caban 2e075e9862 jscript: Added NaN handling to Math.min and Math.max. 2008-10-17 11:45:53 +02:00
Jacek Caban 90dd23cc4c jscript: Added Math.ceil implementation. 2008-09-22 11:56:05 +02:00
Jacek Caban c4fe1b2efd jscript: Added Math.pow implementation. 2008-09-22 11:56:00 +02:00