Commit Graph

287 Commits

Author SHA1 Message Date
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 78fc648dec jscript: Replace only the first match for non-regexp pattern in String.replace. 2012-04-09 17:16:00 +02:00
Jacek Caban 5c47f4a269 jscript: Added labelled statements tests. 2012-01-17 14:08:32 +01:00
Jacek Caban 11ccf0f33e jscript: Handle invalid continue statements in compiler. 2011-12-30 15:41:01 +01:00
Jacek Caban 7361cdc2f3 jscript: Handle invalid break statements in compiler. 2011-12-30 15:40:58 +01:00
Jacek Caban fd6ecbd781 jscript: Throw type error on invalid delete. 2011-12-15 17:46:42 +01:00
Jacek Caban 2c8e8948df jscript: Properly handle NULL IDispatch in stack_pop_object. 2011-12-12 15:50:46 +01:00
Jacek Caban a508149fad jscript: Use bytecode for post-increment expression. 2011-12-07 17:50:01 +01:00
Jacek Caban 8511797c07 jscript: Use bytecode for invalid assignments. 2011-12-05 12:25:04 +01:00
Jacek Caban d3d2f063b6 jscript: Use bytecode for assignment to identifier. 2011-12-05 12:24:50 +01:00
Piotr Caban 726f003293 jscript/tests: Added decodeURI tests. 2011-09-02 18:28:24 +02:00
Piotr Caban df96b7297b jscript: Throw exception on error in JSGlobal_encodeURIComponent. 2011-09-02 18:10:14 +02:00
Piotr Caban 71b58e56c2 jscript: Added Object.hasOwnProperty implementation. 2011-09-02 18:10:07 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Jacek Caban a7cc9441e9 jscript: Correctly throw an exception if instanceof expression is not used on function. 2011-06-21 18:14:49 +02:00
Jacek Caban 04e9b16c5b jscript: Fixed corner cases in parseInt implementation. 2011-02-28 13:21:38 +01:00
Jacek Caban 10b1a7edf6 jscript: Added conditional compilation tests. 2010-12-28 16:35:43 +01:00
Jacek Caban 0f36ef09b1 jscript: Ensure that the whole script is parsed. 2010-12-28 16:35:42 +01:00
Jacek Caban aab8a1ba3a jscript: Better syntax error tests. 2010-12-28 16:35:41 +01:00
Jacek Caban f8afae75b5 jscript: Added ScriptEngine*Version functions implementation. 2010-12-27 15:39:40 +01:00
Jacek Caban 36fe9472c2 jscript: Added ScriptEngine() implementation. 2010-12-27 15:39:39 +01:00
Jacek Caban 8bcc61fb66 jscript: Exception tests clean up. 2010-12-21 00:21:17 +01:00
Jacek Caban f2319fcd85 jscript: Added Date.setYear implementation. 2010-12-20 12:47:43 +01:00
Jacek Caban 668f417b9d jscript: Added Date.setYear stub implementation. 2010-11-08 11:56:13 +01:00
Piotr Caban dcdc6c7013 jscript: Improved VBArray related tests. 2010-10-19 15:25:40 +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
Reece Dunn e368fd545c jscript: Throw TypeError if T in 'new T' is not an object. 2010-10-05 14:07:48 +02:00
Jacek Caban d6648e4f6a jscript: Throw TypeError in in_eval. 2010-08-16 15:54:23 +02:00
Jacek Caban be3dc38183 jscript: Throw TypeError in instanceof_expression_eval. 2010-08-16 15:54:23 +02:00
Jacek Caban ae8cb5a1e6 jscript: Fixed Error.toString implementation for non-Error this. 2010-08-04 17:31:59 +02:00
Jacek Caban 6263f0079a jscript: Use generic property for Error.number. 2010-08-02 14:09:26 +02:00
Jacek Caban adb4e83eb2 jscript: Fixed sort_cmp for non-string arguments. 2010-07-19 14:37:59 +02:00
Jacek Caban 0cbe1574fe jscript: Store builtin constructor's length in instance object. 2010-05-27 14:46:42 +02:00
Piotr Caban 8644a083a6 jscript: Make Array.sort generic. 2010-01-20 20:06:58 +01:00
Piotr Caban 91dcc245f9 jscript: Make Array.pop generic. 2010-01-20 20:06:55 +01:00
Piotr Caban db137cc975 jscript: Make Array.join generic. 2010-01-18 14:19:21 +01:00
Piotr Caban 6f61893685 jscript: Added implementation of Array.reverse. 2010-01-18 14:19:16 +01:00
Jacek Caban 13d6e57e72 jscript: Added Function constructor tests. 2009-12-10 12:01:06 +01:00
Jacek Caban ec769d2d95 jscript: Correctly handle NaN in to_integer. 2009-12-04 14:34:57 +01:00
Andrew Eikum d4b670ad6a jscript: Implement decodeURIComponent. 2009-11-17 15:14:56 +01:00
Piotr Caban 7d5c16b64e jscript: Throw URIError in encodeURI function. 2009-11-09 19:42:40 +01:00
Piotr Caban 7869149101 jscript: Fix Error.toString() test. 2009-11-09 19:42:36 +01:00
Jacek Caban 710219a53d jscript: Pass global object as this if 'this' argument is null or undefined in Function.apply. 2009-10-30 11:31:55 +01:00
Jacek Caban 0e2132faf7 jscript: Pass global object as this if 'this' argument is null or undefined in Function.call. 2009-10-30 11:31:51 +01:00
Jacek Caban 0c8794614d jscript: Fixed a test that depends on time zone. 2009-10-22 10:42:48 +02:00
Jacek Caban fded8dc017 jscript: Added invoke version 2 tests. 2009-10-20 13:48:20 +02:00
Piotr Caban daf4da0646 jscript: Added Global.encodeURIComponent implementation. 2009-10-14 11:24:01 +02:00
Piotr Caban 662a8525f4 jscript: Fixed Global functions lengths. 2009-10-14 11:23:40 +02:00
Piotr Caban 50705c5683 jscript: Fixed escaped characters processing. 2009-10-08 12:05:52 +02:00
Piotr Caban adc2a5697b jscript: Added Date.toGMTString implementation. 2009-10-08 12:03:53 +02:00
Piotr Caban de0a875146 jscript: Added Global.escape() implementation. 2009-10-06 16:13:17 +02:00
Jacek Caban 2ea23923a7 jscript: Added ActiveXObject constructor stub implementation. 2009-09-29 13:34:53 +02:00
Jacek Caban 7f2d50f344 jscript: Throw type error from call and apply functions. 2009-09-24 13:30:45 +02:00
Jacek Caban 52ac3b3bf0 jscript: Added Object.toString implementation for variable object. 2009-09-24 13:30:40 +02:00
Jacek Caban c168918d75 jscript: Throw type error fot Array.toString with wrong 'this' call. 2009-09-24 13:30:35 +02:00
Jacek Caban bb4050d792 jscript: Throw correct error in get_length. 2009-09-23 17:08:31 +02:00
Jacek Caban 461180459b jscript: Added Object.toString for host objects implementation. 2009-09-23 17:08:19 +02:00
Jacek Caban 9e523c6130 jscript: Added RegExp function call implementation. 2009-09-23 16:18:41 +02:00
Jacek Caban 86ad4c977c jscript: Added Array.shift implementation. 2009-09-22 16:16:05 +02:00
Jacek Caban dcaf066936 jscript: Added Object function invocation implementation. 2009-09-17 10:08:08 -05:00
Jacek Caban d918a1890b jscript: Added Function.toString implementation for builtin functions. 2009-09-17 10:07:51 -05:00
Jacek Caban 176ba8cf95 jscript: Added Array.splice implementation. 2009-09-15 14:31:45 -05:00
Piotr Caban 782dea35f8 jscript: Fix 'object expected' error number. 2009-09-08 12:11:46 +02:00
Piotr Caban 51d40d823a jscript: Added JSGlobal_unescape implementation. 2009-09-02 14:40:40 +02:00
Piotr Caban 2e97b1f07f jscript: Throw 'Object expected' error in call_expression_eval. 2009-09-02 14:40:34 +02:00
Jacek Caban 868bfdbfb3 jscript: Added Array.unshift implementation. 2009-09-02 14:39:53 +02:00
Jacek Caban f39d5e46d9 jscript: Make Array.slice generic. 2009-09-02 14:39:49 +02:00
Jacek Caban 8988156255 jscript: Added String.lastIndexOf implementation. 2009-09-01 15:59:30 +02:00
Jacek Caban 06064d2213 jscript: Make Array.push generic. 2009-08-29 16:48:54 +02:00
Jacek Caban 5c819cb21b jscript: Added Function.apply implementation. 2009-08-29 16:48:54 +02:00
Jacek Caban 8761462b82 jscript: Added Function.call implementation. 2009-08-29 16:48:53 +02:00
Jacek Caban 662efe835b jscript: Create arguments object as a seaprated class inheriting from Object. 2009-08-29 16:48:53 +02:00
Jacek Caban 2a457fb701 jscript: Added 'instanceof' keyword implementation. 2009-08-29 16:48:53 +02:00
Piotr Caban b9d7ebd95a jscript: Added String.substr implementation. 2009-08-24 15:17:32 +02:00
Piotr Caban 0091b3fb1a jscript: Fixed Function method's lengths. 2009-08-24 15:17:32 +02:00
Piotr Caban c745826e5d jscript: Fixed Object's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban ca72983664 jscript: Fixed Math's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban c0fc15b91c jscript: Fixed Array's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban 67520788c1 jscript: Fixed Date's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban 5ead336535 jscript: Fixed RegExp's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban 3da1773cc3 jscript: Fixed String's function lengths. 2009-08-17 13:57:51 +02:00
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