Commit Graph

579 Commits

Author SHA1 Message Date
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
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 c1cb8f29b0 jscript: Correctly handle empty matches in String.replace. 2012-04-18 15:44:47 +02:00
Jacek Caban d2fb2af8ee jscript: Added parameterized property assignment tests. 2012-04-17 19:19:07 +02:00
Jacek Caban 05d59abc1c jscript: Make sure to jump out of switch before entering implicit default clausule. 2012-04-16 12:08:56 +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 114a439fed jscript: Fixed parsing /=/ regexp. 2012-04-02 14:14:32 +02:00
Jacek Caban 353553e0aa jscript: Emit undefined statement return for switch without default clausule. 2012-04-02 14:14:30 +02:00
Jacek Caban b3bafb60a2 jscript: Fixed jsheap_grow implementation. 2012-04-02 12:34:45 +02:00
Jacek Caban 8f36daa422 jscript: Properly handle NULL bstr in str_to_number. 2012-03-28 17:28:34 +02:00
Jacek Caban c18b84cf4e jscript: Added decoding tests. 2012-03-26 18:15:15 +02:00
Jacek Caban 129183ebb0 jscript: Added JScriptEncode object tests. 2012-03-26 18:15:09 +02:00
Jacek Caban 93972b79cc jscript: Added VARIANT conversion tests. 2012-03-12 16:37:18 +01:00
Jacek Caban dfb59c6049 jscript: Pass proper caller argument to InvokeEx. 2012-03-09 11:31:15 +01:00
Jacek Caban 2830a21e1d jscript: Get rid of unused SET_CALLED macro. 2012-01-27 18:05:52 +01:00
Alistair Leslie-Hughes ae46ad83a5 jscript: ActiveX objects might not support IServiceProvider Interface. 2012-01-25 20:39:48 +01:00
Jacek Caban 5c47f4a269 jscript: Added labelled statements tests. 2012-01-17 14:08:32 +01:00
Jacek Caban 5561ee635c jscript: Fixed jscript tests on some broken versions. 2012-01-12 16:09:45 +01:00
Jacek Caban afcb9a0130 jscript: Run sanity check with invoke_version 0. 2012-01-12 16:09:42 +01:00
Jacek Caban e7bb8813a9 jscript: Don't use break in finally block on pre-IE8 jscript. 2012-01-12 16:09:33 +01:00
Jacek Caban dc5a75a7ac jscript: Fixed continue inside for..in statement. 2012-01-10 17:58:57 +01:00
Jacek Caban 5640da1414 jscript: Run script tests in version 2 by default. 2012-01-06 19:24:23 +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 d7fd00fdab jscript: Added more control flow tests. 2011-12-28 17:49:35 +01:00
Jacek Caban 3b56e49ef9 jscript: Added bytecode version of try statement. 2011-12-28 17:48:48 +01:00
Jacek Caban f6023c428a jscript: Use bytecode for block statement implementation. 2011-12-19 20:15:46 +01:00
Jacek Caban b268e41da6 jscript: Use bytecode for function expression implementation. 2011-12-16 16:38:28 +01:00
Jacek Caban 43a2d8b990 jscript: Don't pass EXPR_NEWREF to name expression in array_expression_eval. 2011-12-15 17:46:46 +01:00
Jacek Caban fd6ecbd781 jscript: Throw type error on invalid delete. 2011-12-15 17:46:42 +01:00
Jacek Caban 7845fe595d jscript: Added more deleting tests. 2011-12-15 17:46:41 +01:00
Jacek Caban 2c8e8948df jscript: Properly handle NULL IDispatch in stack_pop_object. 2011-12-12 15:50:46 +01:00
Jacek Caban f8e3e92be3 jscript: Don't use EXPR_NEWREF in forin_statement_event. 2011-12-12 15:50:45 +01:00
Jacek Caban 106fcb8e87 jscript: Don't use EXPR_NEWREF in for_statement_event. 2011-12-12 15:50:45 +01:00
Jacek Caban a508149fad jscript: Use bytecode for post-increment expression. 2011-12-07 17:50:01 +01:00
Jacek Caban 3aa7cee00e jscript: Use bytecode for calls on identifier and member expressions. 2011-12-07 17:50:00 +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
Jacek Caban facc2189d2 jscript: Use bytecode for delete on array expression implementation. 2011-11-30 11:51:20 +01:00
Jacek Caban dcca57fd87 jscript: Added tests of unary '+' on not existent property. 2011-11-22 17:17:05 +01:00
Jacek Caban 2d83bdcfbe jscript: Use bytecode for binary negation implementation. 2011-11-21 16:16:42 +01:00
Jacek Caban 418af7eda9 jscript: Use bytecode interpreter for logical negation expression. 2011-11-18 15:37:08 +01:00
Jacek Caban c46c47cbf3 jscript: Removed useless undef ACTSCPSITE_THIS. 2011-09-19 18:32:51 +02:00
Francois Gouget 405c3ef483 jscript/tests: Some tests require that the user interface be in English. 2011-09-19 17:56:04 +02: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
Jacek Caban ff0cea33d0 jscript: Added more SetInterfaceSafetyOptions tests and fixes. 2011-09-01 18:16:28 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Jacek Caban 5b16e6e0fd jscript: Properly handle aggregation attempt. 2011-07-18 18:30:43 +02:00
Detlef Riekenberg 4d1a28b299 jscript/tests: Fix copy & paste typos. 2011-06-27 16:41:52 -05: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 42c2bd7bd9 jscript: Correctly handle forin statement on pure IDispatch object. 2011-06-21 18:14:47 +02:00
Jacek Caban 04e9b16c5b jscript: Fixed corner cases in parseInt implementation. 2011-02-28 13:21:38 +01:00
Jacek Caban 01a6286b5f jscript: Added more uninitialization tests. 2011-02-22 12:28:09 +01:00
Austin English 4dc81b6518 jscript/tests: Remove a dead assignment (LLVM/Clang). 2011-02-17 18:33:43 +01:00
Marcus Meissner 45e2bd7c2e jscript: Fixed VT variable type for DISPID_GLOBAL_ISWIN64. 2011-01-03 11:54:06 +01:00