Commit Graph

546 Commits

Author SHA1 Message Date
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
Jacek Caban 3d1595dc81 jscript: Return 'unknown' in typeof operator for native object's values that can't be retrieved. 2010-12-29 17:43:13 +01:00
Jacek Caban 48202ee09e jscript: Don't unescape '\v'. 2010-12-29 17:01:46 +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 ebb46f3fd0 jscript: Added invocation flag tests. 2010-10-20 10:24:27 +02:00
Piotr Caban b9b11c6c67 jscript: Add index, input and lastIndex properties to regexp functions results. 2010-10-19 15:26:16 +02: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
Piotr Caban f793d2cf04 jscript: Added more safety options flags handling to create_activex_object. 2010-10-15 11:33:35 +02:00
Jacek Caban 35968b9755 jscript: Don't lookup global variables on function invocation. 2010-10-14 17:54:52 +02:00
Reece Dunn 71e7b1c5bc jscript/tests: Add tests for ActiveScriptSite_OnScriptError and IActiveScriptError. 2010-10-13 15:54:38 +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 a8e969236f jscript: Better checks for too old jscript.dll versions. 2010-09-21 20:16:15 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36: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 636bc7494f jscript: Fixed test crash on some win9x installations. 2010-08-02 14:09:18 +02:00
Jacek Caban f824a1656d jscript: Use generic properties for NaN and Infinity implementation. 2010-08-02 14:09:08 +02:00
Jacek Caban 922efb88bb jscript: Added support for Function.arguments property. 2010-07-28 12:22:31 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Jacek Caban adb4e83eb2 jscript: Fixed sort_cmp for non-string arguments. 2010-07-19 14:37:59 +02:00
Alexandre Julliard b4d21efd12 jscript/tests: Fix a test that fails because of the reduced FPU precision. 2010-06-22 12:52:03 +02:00
Jacek Caban 0ce3bcee1b jscript: Added leftContext and rightCont4ext tests. 2010-05-27 14:46:42 +02:00
Jacek Caban fe86330d7e jscript: Treat no argument as "undefined" in RegExp.test. 2010-05-27 14:46:42 +02:00
Jacek Caban 0cbe1574fe jscript: Store builtin constructor's length in instance object. 2010-05-27 14:46:42 +02:00
Jacek Caban 6f17fa5298 jscript: Fixed String.match implementation for non-global regexps. 2010-04-15 14:19:19 +02:00
Jacek Caban e3ae02433a jscript: Use special case for lastIndex<0 only for global regexps in run_exec. 2010-04-15 14:19:16 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Jacek Caban 9fd4f4a44a jscript: Added support for constructor property. 2010-02-08 17:14:43 +01:00
Jacek Caban f623e3add8 jscript: Skip tests on old jscript.dll. 2010-01-25 12:53:26 +01:00
Jacek Caban 09651321e0 jscript: Moved resetting lastIndex to do_regexp_match_next. 2010-01-25 12:53:22 +01:00
Jacek Caban 43bc4af02d jscript: Added String.replace implementation. 2010-01-25 12:53:18 +01:00
Jacek Caban 2a81ef06f8 jscript: Skip tests on too old jscript.dll. 2010-01-22 12:25:43 +01: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 b5290bde98 jscript: Added a test using script dispatch after closing engine. 2009-12-31 12:12:17 +01:00
Jacek Caban a0467ef11c jscript: Make undefined a property of global object. 2009-12-21 15:01:25 +01:00
Jacek Caban 7705fe64d6 jscript: Fixed tests on some Windows. 2009-12-10 12:01:12 +01:00
Jacek Caban 13d6e57e72 jscript: Added Function constructor tests. 2009-12-10 12:01:06 +01:00
Jacek Caban 1045bffcc0 jscript: Fixed String.split for missing regexp separator. 2009-12-08 12:36:05 +01:00
Jacek Caban c665b86cd0 jscript: Moved set_last_index call to do_regexp_match_next. 2009-12-08 12:36:01 +01:00
Jacek Caban 8d44d63849 jscript: Don't pass EXPR_NEWREF flag to evaluate member expression in array_expression_eval. 2009-12-07 14:18:28 +01:00
Jacek Caban ec769d2d95 jscript: Correctly handle NaN in to_integer. 2009-12-04 14:34:57 +01:00
Jacek Caban efda5561d0 jscript: Correctly handle NaN and Infinity in to_int32 and to_uint32. 2009-12-04 14:34:57 +01:00
Jacek Caban 9ac7949810 jscript: Correctly handle -1 index in regexp match result. 2009-12-03 10:22:20 +01:00
Jacek Caban 35b2ca947c jscript: Added lastIndex tests. 2009-12-01 12:59:48 +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 56b04194fc jscript: Don't return function value it's unless explicitly returned. 2009-11-05 11:57:30 +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 fbb763a53e jscript: Use the value returned from constructor in 'new' expression if the value if an object. 2009-10-20 13:48:29 +02:00
Jacek Caban fded8dc017 jscript: Added invoke version 2 tests. 2009-10-20 13:48:20 +02:00
Jacek Caban 3b2d5ecdf5 jscript: Added SetProperty(SCRIPTPROP_INVOKEVERSIONING) implementation. 2009-10-20 13:47:40 +02:00
Jacek Caban e52115d673 jscript: Create regexp object when evaluating regexp literal. 2009-10-14 15:10:32 +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
Jacek Caban 06f26f53f7 jscript: Call SetSite on created ActiveX object. 2009-10-07 12:22:40 +02:00
Piotr Caban de0a875146 jscript: Added Global.escape() implementation. 2009-10-06 16:13:17 +02:00
Jacek Caban 4462fb356d jscript: Query created ActiveXObject for IObjectWithSite interface. 2009-10-05 13:46:00 +02:00
Jacek Caban 40160adf29 jscript: Added ActiveXObject tests. 2009-09-30 16:28:36 +02:00
Jacek Caban 2ea23923a7 jscript: Added ActiveXObject constructor stub implementation. 2009-09-29 13:34:53 +02:00
Jacek Caban d833314c70 jscript: Use host global object as default 'this' if available and global object otherwise. 2009-09-28 12:38:00 +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 a8c7e97d0a jscript: Fixed to_object for NULL IDispatch. 2009-09-24 13:30:28 +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 37c2d43e28 jscript: Allow this_obj to be host object in call_function. 2009-09-23 17:08:14 +02:00
Jacek Caban b2b197faba jscript: Don't require semicolon after function expression. 2009-09-23 16:18:46 +02:00
Jacek Caban 9e523c6130 jscript: Added RegExp function call implementation. 2009-09-23 16:18:41 +02:00
Jacek Caban 02615bb45f jscript: Added arguments.callee implementation. 2009-09-22 16:16:25 +02:00
Jacek Caban 86ad4c977c jscript: Added Array.shift implementation. 2009-09-22 16:16:05 +02:00
Jacek Caban 6888ea3913 jscript: Fixed NULL IDispatch comparistion. 2009-09-17 10:08:19 -05: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 e7f2754c32 jscript: Fixed to_primitive for null dispatch. 2009-09-15 14:31:59 -05:00
Jacek Caban 3e1430e0e4 jscript: Fixed null dispatch comparison. 2009-09-15 14:31:52 -05:00
Jacek Caban 176ba8cf95 jscript: Added Array.splice implementation. 2009-09-15 14:31:45 -05:00
Reece Dunn 98cc201eaf jscript/tests: Fixed typos in the output strings. 2009-09-09 16:25:23 +02:00
Jacek Caban 1e7b90463e jscript: Added 'in' expression implementation. 2009-09-08 13:06:32 +02:00
Jacek Caban dda957d87c jscript: Fixed typeof implementation for null VT_DISPATCH. 2009-09-08 13:06:24 +02: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 00644c5449 jscript: Added to_primitive on hosting objects test. 2009-09-02 14:39:45 +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
Jacek Caban 39521de784 jscript: Added RegExp.test implementation. 2009-08-28 11:54:47 +02:00
Jacek Caban 132009469c jscript: Added RegExp.exec implementation. 2009-08-28 11:54:47 +02:00
Jacek Caban 0b939338c8 jscript: Added RegExp.lastIndex implementation. 2009-08-28 11:54:47 +02:00
Jacek Caban 4b8adbef86 jscript: Create undeclared values to script_disp instead of var_disp. 2009-08-27 11:48:13 +02:00
Jacek Caban 9c18f6ef5d jscript: Return "undefined" type for invalid references. 2009-08-27 11:48:10 +02:00
Jacek Caban 2c255287cd jscript: Don't require semicolon after function declaration. 2009-08-27 11:47:22 +02:00
Jacek Caban 05b104c6a3 jscript: Fixed parsing regexps starting with '='. 2009-08-27 11:47:16 +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 7701acc269 jscript: Fixed keywords handling. 2009-08-24 15:17:32 +02:00
Alexandre Julliard 475e1d6210 jscript/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:31 +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