Commit Graph

537 Commits

Author SHA1 Message Date
Jacek Caban 10c2a2bba4 jscript: Properly handle return value evaluation in comma expression. 2012-12-14 11:54:44 +01:00
Jacek Caban 162f2e6be2 jscript: Moved eval return value logic to specific statement handlers. 2012-12-13 12:24:07 +01:00
Jacek Caban 2c41c4c1cb jscript: Added SCRIPTTEXT_ISEXPRESSION tests. 2012-12-12 20:23:20 +01:00
Jacek Caban b568d88815 jscript: Throw an error if return statement is in eval code. 2012-12-12 20:23:13 +01:00
Jacek Caban 11f41aa05a jscript: Treat VT_UNKNOWN VARIANTs supporting IDispatch interface as VT_DISPATCH. 2012-12-05 20:23:51 +01:00
Jacek Caban 0e5933f70a jscript: Added support for indexed string access. 2012-11-30 19:12:16 +01:00
Jacek Caban d9d8c8b716 jscript: Added support for DontDelete attribute and use it for arguments object. 2012-11-30 19:12:15 +01:00
Jacek Caban 6b56c65f8d jscript: Alias arguments properties to real values. 2012-11-30 19:12:14 +01:00
Jacek Caban 55f0663e3e jscript: Use proper object as 'this' when function is called on an activation object. 2012-11-14 16:37:49 +01:00
Jacek Caban 25ffa3d97b jscript: Added more enumerable attribute tests. 2012-11-05 17:44:16 +01:00
Jacek Caban bf65003271 jscript: Added support for pstrFormalParams argument in ParseProcedureText. 2012-10-04 16:29:24 +02:00
Jacek Caban 1d542e3aa4 jscript: Added ParseProcedureText tests. 2012-10-04 16:29:18 +02:00
Jacek Caban fa0dfd0bb6 jscript: Properly invoke regexp matching in String.split. 2012-09-24 22:27:29 +02:00
Jacek Caban 77c3dc544b jscript: Added support for limit argument in String.split. 2012-09-24 22:27:29 +02:00
Jacek Caban c0d2029560 jscript: Fixed conversion in place in IVariantChangeType::ChangeType. 2012-09-21 20:02:58 +02:00
Jacek Caban 87d6e2385a jscript: Added support for RegExp.$* properties. 2012-09-20 19:23:08 +02:00
Jacek Caban 8c5f5b49ec jscript: Added support for host objects being part of scope chain. 2012-09-13 16:47:29 +02:00
Jacek Caban fdbd536983 jscript: Don't leave current scope in return statement before evaluating the expression. 2012-09-13 16:47:22 +02:00
Jacek Caban dd0fe98646 jscript: Added support for no new line between return and expression rule. 2012-09-10 17:36:08 +02:00
Jacek Caban f1642ce1fc jscript: Added support for no new line between continue and identifier rule. 2012-09-10 17:36:05 +02:00
Jacek Caban dc2133cc66 jscript: Added support for no new line between break and identifier rule. 2012-09-10 17:36:02 +02:00
Jacek Caban 6ba7a1964a jscript: Fixed empty cases in the end of switch statement. 2012-09-04 16:15:45 +02:00
Jacek Caban 142d0f3026 jscript/tests: Use proper helpers for iface calls. 2012-07-30 17:13:31 +02:00
Jacek Caban 1104663fe7 jscript: Use prototype for builtin String properties. 2012-07-24 13:38:41 +02:00
Jacek Caban 1dfb75d9a3 jscript: Use prototype for builtin RegExp properties. 2012-07-24 13:38:37 +02:00
Jacek Caban 3b80361a70 jscript: Use prototype for builtin Number properties. 2012-07-24 13:38:31 +02:00
Jacek Caban 175c4ddad5 jscript: Use prototype for builtin Date properties. 2012-07-24 13:38:26 +02:00
Jacek Caban 5058c1d12d jscript: Use prototype for builtin Boolean properties. 2012-07-24 13:38:20 +02:00
Jacek Caban 6e4f74f71b jscript: Use prototype for builtin Array properties. 2012-07-24 13:38:09 +02:00
Jacek Caban de6e95213a jscript: Added more tests. 2012-07-23 19:53:49 +02:00
Jacek Caban d0aa78c096 jscript: Don't set constructor property to each object instance, it belongs to their prototypes. 2012-07-16 16:29:57 +02:00
Jacek Caban 49fd903205 jscript: Expose RegExpError constructor in global object. 2012-07-16 16:29:51 +02:00
Jacek Caban 27747d3a75 jscript: Properly set Error object's constructor property. 2012-07-16 16:29:45 +02:00
Jacek Caban bf7b7272ee jscript: Properly set Function constructor's constructor property. 2012-07-16 16:29:38 +02:00
Jacek Caban d492650332 jscript: Properly handle constructor property for most builtin constructors. 2012-07-16 16:29:31 +02:00
Jacek Caban cf8029717c jscript: Properly set Number.prototyp.constructor. 2012-07-16 16:29:21 +02:00
Jacek Caban 7dcd1d06ef jscript: Added more apply and call tests. 2012-06-25 18:12:52 +02:00
André Hentschel 2f7453f81f jscript/tests: Fix some typos. 2012-06-18 10:57:25 +02:00
Michael Stefaniuc 8f4512f763 jscript/tests: Check the correct return value. 2012-05-21 11:34:38 +02:00
Francois Gouget 22fe702f7a jscript/tests: Fix the spelling of the testEmbeddedFunctions() function name. 2012-05-14 12:06:15 +02:00
Jacek Caban c8a28a9671 jscript: Added support for VT_INT. 2012-05-04 18:08:33 +02:00
Jacek Caban c61af66c5b jscript: Skip failing tests on old jscript versions. 2012-05-04 18:08:32 +02:00
Jacek Caban d49635f08a jscript: Better handling of to_integer result in String.lastIndexOf. 2012-05-03 20:44:09 +02:00
Jacek Caban baa07477d2 jscript: Bettter handling of to_number result in String.indexOf. 2012-05-03 20:44:09 +02:00
Jacek Caban 621180e81c jscript: Better handling of to_integer result in String.charCodeAt. 2012-05-03 20:44:08 +02:00
Jacek Caban 0143201eac jscript: Better handling of to_integer result in String.charAt. 2012-05-03 20:44:08 +02:00
Jacek Caban 3ee7438a5f jscript: Better handling of to_integer result in Array.splice. 2012-05-03 20:44:08 +02:00
Jacek Caban 13db9a1662 jscript: Added VT_I2 tests. 2012-05-01 15:28:24 +02:00
Jacek Caban 4733fd0623 jscript: Added regexp 'pre-parser' to support non-backslash-sequenced non-terminating '/' in characted classes. 2012-04-20 11:59:51 +02:00
Piotr Caban 4c4c7c047f jscript: Added Number.toPrecision implementation. 2012-04-19 19:28:11 +02:00