Commit Graph

198 Commits

Author SHA1 Message Date
Piotr Caban c2d2b9f559 jscript: Fixed Number's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban 67f14b7633 jscript: Added Boolean's function lengths test. 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 8d6d266977 jscript: Inherit some Function functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban 28734e3756 jscript: Inherit some Error functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban 4791cdb11f jscript: Inherit some Array functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban da6398dccd jscript: Inherit some Boolean function from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban b1d0b1c739 jscript: Inherit some Date functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban 5323a454c8 jscript: Fixed Object.toLocaleString implementation. 2009-08-12 17:04:38 +02:00
Piotr Caban 9f0969fbcb jscript: Inherit some Number functions from Object. 2009-08-12 17:04:38 +02:00
Piotr Caban 5d41205654 jscript: Inherit some RegExp functions from Object. 2009-08-12 17:04:38 +02:00
Piotr Caban 79f45c5374 jscript: Inherit some String functions from Object. 2009-08-12 17:04:37 +02:00
Piotr Caban 3edf1ba22f jscript: Added JSGlobal_parseFloat implementation. 2009-08-06 12:02:34 +02:00
Piotr Caban ec25138a46 jscript: Added 'unterminated string' error. 2009-08-06 12:02:00 +02:00
Piotr Caban f3d24fdda9 jscript: Throw more SyntaxErrors in parser. 2009-07-24 11:51:29 +02:00
Piotr Caban 67c8a3e919 jscript: Added "Expected ';'" error. 2009-07-24 11:51:20 +02:00
Piotr Caban c6412d98d9 jscript: Add "illegal assignment" error. 2009-07-24 11:51:11 +02:00
Piotr Caban 2fba39df27 jscript: Added "Expected ')'" error. 2009-07-24 11:45:07 +02:00
Piotr Caban 29d9f09992 jscript: Added "Expected '('" error. 2009-07-24 11:45:01 +02:00
Piotr Caban 98223b96e7 jscript: Throw SyntaxError in eval function. 2009-07-24 11:44:53 +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 fba4e3767f jscript: Throw TypeError in Function_toString. 2009-07-22 14:42:50 +02:00
Piotr Caban d8e841ca50 jscript: Throw 'undefined object' error. 2009-07-22 14:42:50 +02:00
Piotr Caban a77e369cfe jscript: Add Error_number handling to constructor and error throwing functions. 2009-07-21 11:04:34 +02:00
Piotr Caban 3afc444e7f jscript: Throw errors in Number functions. 2009-07-21 11:04:09 +02:00
Piotr Caban f89fbb9b48 jscript: Throw TypeError in call_expression_eval. 2009-07-21 11:04:04 +02:00
Piotr Caban 77e93ad8c7 jscript: Throw type errors in Boolean functions. 2009-07-21 10:59:07 +02:00
Piotr Caban bd87f97e2d jscript: Throw range errors in Array functions. 2009-07-21 10:59:01 +02:00
Piotr Caban 469b597212 jscript: Add error throwing functions. 2009-07-21 10:58:52 +02:00
Piotr Caban 2d71dac412 jscript: Add Error_toString implementation. 2009-07-21 10:57:37 +02:00
Piotr Caban f17b1f6334 jscript: Add Error_message implementation. 2009-07-21 10:57:33 +02:00
Piotr Caban f33f5c9286 jscript: Add Error object stub. 2009-07-21 10:57:19 +02:00
Piotr Caban 8e1233ec48 jscript: Remove broken tests. 2009-07-16 11:38:44 +02:00
Piotr Caban f5e678e8dd jscript: Improve Object_toString implementation. 2009-07-16 11:38:37 +02:00
Piotr Caban 1cffc0eb73 jscript: Improve Number_toString implementation. 2009-07-15 13:54:02 +02:00
Piotr Caban 15b07c2a36 jscript: Improve to_string implementation. 2009-07-15 13:53:27 +02:00
Piotr Caban c44056d4b2 jscript: Added String_fromCharCode implementation. 2009-07-14 10:46:44 +02:00
Piotr Caban 2325e2cdb8 jscript: Added Array_slice implementation. 2009-07-14 10:46:39 +02:00
Piotr Caban 75cce3cdcd jscript: Added implementation of Array constructor called as a function. 2009-07-14 10:46:25 +02:00
Piotr Caban 346619d093 jscript: Added Array length setting implementation. 2009-07-14 10:46:18 +02:00
Piotr Caban 42f9608269 jscript: Inherit Function_valueOf from Object. 2009-07-13 12:21:29 +02:00
Piotr Caban 3412e22eee jscript: Added String_link implementation. 2009-07-10 12:26:58 +02:00
Piotr Caban ecfa129d66 jscript: Added String_anchor implementation. 2009-07-10 12:26:54 +02:00
Piotr Caban 0a0731ed45 jscript: Added String_fontsize implementation. 2009-07-10 12:26:49 +02:00
Piotr Caban 1133bc7ce8 jscript: Added String_fontcolor implementation. 2009-07-10 12:26:41 +02:00
Piotr Caban b9be3bd766 jscript: Changed to_primitive implementation. 2009-07-09 17:47:40 +02:00
Piotr Caban 3a1698ff06 jscript: Added Object_valueOf implementation. 2009-07-07 14:15:35 +02:00
Piotr Caban 2ed3903f0f jscript: Added Bool_toLocaleString implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 4725b5698c jscript: Added Bool_valueOf implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 1e72bc8718 jscript: Added Bool_toString implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 8150960f8c jscript: Added string argument handling to Date constructor. 2009-07-06 14:35:28 +02:00
Piotr Caban 45817bf50f jscript: Added DateConstr_parse implementation. 2009-07-06 14:35:28 +02:00
Piotr Caban 27d8e22cbc jscript: Added Date_setFullYear and Date_setUTCFullYear implementation. 2009-06-23 15:53:00 +02:00
Piotr Caban 7301ad4f72 jscript: Added Date_setMonth and Date_setUTCMonth implementation. 2009-06-23 15:53:00 +02:00
Piotr Caban 233ded05b7 jscript: Added Date_setDate and Date_setUTCDate implementation. 2009-06-23 15:52:59 +02:00
Piotr Caban 37883a66fa jscript: Fixed Date_setMilliseconds implementation.
Previous implementation was not working when:
utc_time != to_utc(to_local_time(utc_time))
2009-06-23 15:52:59 +02:00
Piotr Caban 305aee069a jscript: Added Date_getTimezoneOffset and fixed Date_get... functions. 2009-06-23 15:52:59 +02:00
Piotr Caban 50e985e252 jscript: Added Date_setUTCHours and Date_setHours implementation. 2009-06-16 13:40:22 +02:00
Piotr Caban e0e84d5628 jscript: Added Date_setUTCMinutes and Date_setMinutes implementation. 2009-06-16 13:40:14 +02:00
Piotr Caban 2c7c0cd1c7 jscript: Added Date_setUTCSeconds and Date_setSeconds implementation. 2009-06-16 13:40:03 +02:00
Piotr Caban 0329be2e2f jscript: Added Date_setUTCMilliseconds and Date_setMilliseconds implementation. 2009-06-16 13:39:49 +02:00
Piotr Caban 5f2eca2729 jscript: Added Date_getUTCMilliseconds and Date_getMilliseconds implementation. 2009-06-16 13:39:25 +02:00
Piotr Caban 3523a1f2bb jscript: Added Date_getUTCSeconds and Date_getSeconds implementation. 2009-06-16 13:38:45 +02:00
Piotr Caban a005865f45 jscript: Added Date_getUTCMinutes and Date_getMinutes implementation. 2009-06-16 13:38:19 +02:00
Piotr Caban cfb7617688 jscript: Added Date_getHours and Date_getUTCHours implementation. 2009-06-10 11:50:14 +02:00
Piotr Caban 28e033e359 jscript: Added Date_getDay and Date_getUTCDay implementation. 2009-06-10 11:49:34 +02:00
Piotr Caban 190ed2ef99 jscript: Added Date_getDate and Date_getUTCDate implementation. 2009-06-10 11:49:25 +02:00
Piotr Caban 3f289de8a3 jscript: Added Date_getMonth and Date_getUTCMonth implementation. 2009-06-10 11:48:55 +02:00
Piotr Caban 8427127bb9 jscript: Added Date_getFullYear and Date_getUTCFullYear implementation. 2009-06-10 11:48:17 +02:00
Piotr Caban c0af3a57c2 jscript: Added Date_setTime implementation. 2009-06-05 14:43:24 +02:00
Piotr Caban eb203a149b jscript: Remove NaN related FIXMEs. 2009-06-04 12:12:56 +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 49ce878de7 jscript: Added Math_cos tests. 2009-04-03 13:01:01 +02:00
Piotr Caban 885a9e9c0c jscript: Added Math_LN2 tests. 2009-04-03 13:00:53 +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
Andrew Nguyen abedd774fb jscript: Implement the String.sup() method. 2008-12-10 11:50:23 +01:00
Andrew Nguyen 257e15da39 jscript: Implement the String.sub() method. 2008-12-10 11:50:18 +01:00
Andrew Nguyen bbac6de702 jscript: Implement the String.strike() method. 2008-12-02 16:39:07 +01:00
Andrew Nguyen 424a3f3ffe jscript: Implement the String.small() method. 2008-12-02 16:38:53 +01:00
Andrew Nguyen edba282951 jscript: Implement the String.italics() method. 2008-12-02 16:38:49 +01:00
Andrew Nguyen c80a23c639 jscript: Implement the String.fixed() method. 2008-12-02 16:33:42 +01:00
Andrew Nguyen 99f376dc4e jscript: Implement the String.bold() method. 2008-12-02 16:33:35 +01:00
Andrew Nguyen a8dff20f2e jscript: Implement the String.blink() method. 2008-12-02 16:33:33 +01:00