Commit Graph

46 Commits

Author SHA1 Message Date
Piotr Caban
2e752a115a jscript: Fix compilation issues when dtoa is defined in headers. 2013-08-15 16:13:27 +02: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
9de9c353ac jscript: Fixed Number.toFixed for value 0 with 0 precision. 2012-12-17 20:31:16 +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
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
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
3b80361a70 jscript: Use prototype for builtin Number properties. 2012-07-24 13:38:31 +02:00
Jacek Caban
cf8029717c jscript: Properly set Number.prototyp.constructor. 2012-07-16 16:29:21 +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
Piotr Caban
cc6205f10c jscript: Fix toExponential behavior when exponent is 0. 2012-04-25 17:16:37 +02:00
Piotr Caban
4c4c7c047f jscript: Added Number.toPrecision implementation. 2012-04-19 19:28:11 +02:00
Piotr Caban
c1228eb45f jscript: Added Number.toExponential implementation. 2012-04-19 19:28:11 +02:00
Piotr Caban
a20c0d1141 jscript: Added Number.toFixed implementation. 2012-04-19 19:28:11 +02:00
Jacek Caban
7bb41e75b6 jscript: Store value as double in NumberInstance object. 2012-03-27 11:43:17 +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
020245bba1 jscript: Fixed some clang warnings. 2011-01-27 16:32:22 +01:00
Jacek Caban
7774a0a4c1 jscript: Pass HRESULTs instead of IDSs to throw_* functions. 2010-12-28 16:35:41 +01: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
Piotr Caban
662a8525f4 jscript: Fixed Global functions lengths. 2009-10-14 11:23:40 +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
Jacek Caban
d918a1890b jscript: Added Function.toString implementation for builtin functions. 2009-09-17 10:07:51 -05:00
Piotr Caban
c2d2b9f559 jscript: Fixed Number's function lengths. 2009-08-17 13:57:51 +02:00
Jacek Caban
cde2f1a09e jscript: Added missing port.h includes. 2009-08-14 11:27:16 +02:00
Piotr Caban
9f0969fbcb jscript: Inherit some Number functions from Object. 2009-08-12 17:04:38 +02:00
Piotr Caban
8dd1d9b92e jscript: Throw TypeErrors when _value functions are used as a function. 2009-07-22 14:42:50 +02:00
Piotr Caban
3afc444e7f jscript: Throw errors in Number functions. 2009-07-21 11:04:09 +02:00
Piotr Caban
1cffc0eb73 jscript: Improve Number_toString implementation. 2009-07-15 13:54:02 +02:00
Piotr Caban
41e297af11 jscript: Added stub implementation of Date constructor properties. 2009-07-03 13:28:19 +02:00
Jacek Caban
f30de9b9fc jscript: Added Number.valueOf implementation. 2008-10-18 19:30:09 +02:00
Jacek Caban
ec35d3ab38 jscript: Added a few missing allocation checks (Coverity). 2008-10-07 12:17:26 +02:00
Jacek Caban
5b3630ec7b jscript: Added Number default value implementation. 2008-09-25 11:15:23 +02:00
Jacek Caban
53e831e2cb jscript: Added Number function implementation. 2008-09-22 11:53:59 +02:00
Jacek Caban
c3e2a6f9d7 jscript: Added Number.toString implementation. 2008-09-22 11:53:54 +02:00
Jacek Caban
9b74d6a91c jscript: Added Number constructor implementation. 2008-09-22 11:53:49 +02:00
Jacek Caban
1a97632a4e jscript: Added to_object(number) implementation. 2008-09-16 22:34:31 +02:00
Jacek Caban
7a3d60e913 jscript: Added Number constructor object implementation. 2008-09-10 10:57:00 +02:00