Commit Graph

719 Commits

Author SHA1 Message Date
Jacek Caban 10c99b5735 jscript: Moved property creation out of find_prop_name_prot. 2010-02-08 17:14:43 +01:00
Jacek Caban bf17483a19 jscript: Don't try to create property in jsdisp_call_name. 2010-02-08 17:14:43 +01:00
Piotr Caban 352ae8b480 jscript: Fix jsdisp_propget_idx implementation. 2010-01-25 13:00:51 +01:00
Piotr Caban 693c692564 jscript: Fix array.reverse implementation. 2010-01-25 13:00:46 +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 7749951d35 jscript: Make RegExp contructor implementation more generic. 2010-01-25 12:53:13 +01:00
Jacek Caban 2a81ef06f8 jscript: Skip tests on too old jscript.dll. 2010-01-22 12:25:43 +01:00
Piotr Caban 81715d00cd jscript: Add error handling to Array.reverse. 2010-01-20 20:07:05 +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
Rob Shearman 9dc584d0a2 jscript: Fix various memory and reference count leaks. 2009-12-31 14:27:06 +01:00
Jacek Caban b5290bde98 jscript: Added a test using script dispatch after closing engine. 2009-12-31 12:12:17 +01:00
Rob Shearman 07183b28eb jscript: Make sure to initialise the string output parameter in run_exec. 2009-12-31 12:12:16 +01:00
Rob Shearman 7db81aeb67 jscript: Make sure retv pointer is initialised in exec_source even if no value needs to be returned. 2009-12-31 12:12:16 +01:00
Jacek Caban a0467ef11c jscript: Make undefined a property of global object. 2009-12-21 15:01:25 +01:00
Marcus Meissner aaff57da22 jscript: Fixed uninitialized usage of i (Coverity). 2009-12-11 12:16:26 +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 538e15a0d7 jscript: Added Function constructor implementation. 2009-12-10 12:00:44 +01:00
Jacek Caban db84495906 jscript: Reorder functions in function.c.
This reduces size of the next patch.
2009-12-10 12:00:37 +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 77d58529f5 jscript: Pass NULL as retv to exec_source in exec_global_code. 2009-12-01 16:11:48 +01:00
Jacek Caban 35b2ca947c jscript: Added lastIndex tests. 2009-12-01 12:59:48 +01:00
Jacek Caban d0062198b6 jscript: Added lastIndex setter implementation. 2009-12-01 12:59:44 +01:00
Andrew Eikum d4b670ad6a jscript: Implement decodeURIComponent. 2009-11-17 15:14:56 +01:00
Jacek Caban d168f71912 jscript: Use CLSCTX_INPROC_SERVER|CLSCTX_LOCAL_SERVER to create ActiveX object. 2009-11-17 12:05:59 +01:00
Francois Gouget 5d06095dfb jscript: We don't need throw_eval_error() so remove it. 2009-11-16 12:43:06 +01:00
Frédéric Delanoy 564c619ae3 jscript: Update French translation. 2009-11-12 13:12:57 +01:00
Vladimir Pankratov 456835f360 jscript: Update Russian translation. 2009-11-11 11:53:57 +01:00
André Hentschel dc99cee715 jscript: Update German translation. 2009-11-11 10:53:48 +01:00
Aurimas Fišeras 7acbe7c933 jscript: Update Lithuanian translation. 2009-11-10 13:10:22 +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 d7edf0162d jscript: Store a copy of code in parser_ctx_t. 2009-10-28 11:12:34 +01:00
Jacek Caban 571125455e jscript: Fixed replace string parsing.
Reported by Dan Kegel.
2009-10-22 10:42:55 +02: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 86e7beae82 jscript: Added Error.toString implementation for invoke version >= 2. 2009-10-20 13:48:13 +02:00
Jacek Caban 96cbc45a52 jscript: Return array length in Array.unshift for invoke version >= 2. 2009-10-20 13:48:07 +02:00
Jacek Caban a1ac9d661f jscript: Pass invoke version to IDispatchEx functions. 2009-10-20 13:48:00 +02:00
Jacek Caban 48eef3bc67 jscript: Ignore version bits in grfdex. 2009-10-20 13:47:53 +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
Jacek Caban 98b5a1c6e8 jscript: Separate flags parsing from regexp creating. 2009-10-14 15:10:24 +02:00
Jacek Caban fa3e6917b4 jscript: Don't use VARTYPE as is in literal_t. 2009-10-14 15:10:17 +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
Francois Gouget fe935e8d50 Assorted spelling fixes. 2009-10-08 12:17:31 +02:00
Piotr Caban 50705c5683 jscript: Fixed escaped characters processing. 2009-10-08 12:05:52 +02:00
Piotr Caban 38dbc74a0a jscript: Fix implementation of Global.escape. 2009-10-08 12:05:40 +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
Aurimas Fišeras 50b8c47d19 jscript: Update Lithuanian translation. 2009-10-07 12:22:28 +02:00
Vladimir Pankratov 910e3baee3 jscript: Update Russian translation. 2009-10-06 16:13:17 +02:00
Piotr Caban 4781e05591 jscript: Added some missing functions stubs. 2009-10-06 16:13:17 +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
Austin English 8bbaeb89fa jscript: Add missing prototype. 2009-10-05 13:46:00 +02:00
Jacek Caban 960d7f9fdb jscript: Added FIXME about IClassFactoryEx. 2009-10-02 15:06:58 +02:00
André Hentschel ad2b35b671 jscript: Update German Translation. 2009-10-02 11:49:22 +02:00
Frédéric Delanoy 633293ad5f jscript: Update French translation. 2009-10-01 13:51:40 +02:00
Jacek Caban 40160adf29 jscript: Added ActiveXObject tests. 2009-09-30 16:28:36 +02:00
Jacek Caban 6d4533a8f8 jscript: Added ActiveXObject constructor implementation. 2009-09-30 16:28:17 +02:00
Paul Vriens da9de03761 jscript: Add some Dutch translations. 2009-09-29 14:22:33 +02:00
Jacek Caban 2ea23923a7 jscript: Added ActiveXObject constructor stub implementation. 2009-09-29 13:34:53 +02:00
Aurimas Fišeras 9ef3dfdd24 jscript: Update Lithuanian translation. 2009-09-29 12:06:00 +02:00
Marcus Meissner bc4633a25b jscript: Initialize val_str (Coverity). 2009-09-28 12:54:05 +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
Frédéric Delanoy f7d8954bef jscript: Update French translation. 2009-09-26 16:06:14 +02:00
André Hentschel 5e030ac126 jscript: Update German translation. 2009-09-26 16:06:09 +02:00
Frédéric Delanoy b118d50ecb jscript: Update French translation. 2009-09-25 13:15:39 +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
Aurimas Fišeras 26ae9a6444 jscript: Update Lithuanian translation. 2009-09-24 13:30:10 +02:00
Jacek Caban bb4050d792 jscript: Throw correct error in get_length. 2009-09-23 17:08:31 +02:00
Jacek Caban 8717c388f8 jscript: Allow 'this' to be host object in invoke_value_proc. 2009-09-23 17:08:24 +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 f8c2b42de4 jscript: Allow 'this' to be host object in builtin functions. 2009-09-23 16:25:23 +02:00
Jacek Caban 5dcd182e8f jscript: Avoid using dispex->ctx. 2009-09-23 16:25:13 +02:00
Jacek Caban a9dc89a3e1 jscript: Don't use dispex->ctx in function.c. 2009-09-23 16:25:05 +02:00
Jacek Caban da16d42e17 jscript: Don't use dispex->ctx in date.c. 2009-09-23 16:21:03 +02:00
Jacek Caban 8337986efa jscript: Don't use dispex->ctx in array.c. 2009-09-23 16:20:53 +02:00
Jacek Caban a5e8281947 jscript: Avoid calling JS builtin functions directly. 2009-09-23 16:20:44 +02:00
Jacek Caban 0b4fa6e426 jscript: Avoid calling JS builtin functions directly. 2009-09-23 16:19:54 +02:00
Jacek Caban 5511f7173f jscript: Pass script_ctx_t to builtin functions. 2009-09-23 16:19:44 +02:00
Jacek Caban f14c5f074a jscript: Get rid of lcid argument in builtin function implementations. 2009-09-23 16:19:31 +02:00
Jacek Caban fadfab5ff6 jscript: Use script LCID in *disp_propput* functions. 2009-09-23 16:19:11 +02:00
Jacek Caban 8b338786aa jscript: Use script LCID in *disp_propget* functions. 2009-09-23 16:19:01 +02:00
Jacek Caban 1f565ac095 jscript: Use script global LCID in *disp_call* functions. 2009-09-23 16:18:54 +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
Marcus Meissner 5aa790d0a3 jscript: Check for arg_array being NULL (Coverity). 2009-09-22 18:51:22 +02:00
Marcus Meissner e0a769b2a9 jscript: Initialize this_obj with NULL (Coverity). 2009-09-22 16:16:31 +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 a94c25f3ae jscript: Fixed debugstr_variant for NULL argument. 2009-09-17 10:08:01 -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
Francois Gouget 78210e17fa jscript: Add a trailing '\n' to a FIXME(). 2009-09-11 12:10:13 +02:00
Vladimir Pankratov 7529008c70 jscript: Update Russian translation. 2009-09-11 12:08:26 +02:00
Vladimir Pankratov 8f78ff2961 jscript: Add Russian translation. 2009-09-09 16:25:24 +02:00
Reece Dunn 98cc201eaf jscript/tests: Fixed typos in the output strings. 2009-09-09 16:25:23 +02:00
Aurimas Fišeras 576ee54daf jscript: Update Lithuanian translation. 2009-09-09 12:07:42 +02:00
Paul Vriens 9cf0563fb9 jscript: Updated Dutch translations. 2009-09-08 13:07:26 +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
Frédéric Delanoy 90d2c25961 jscript: Update French translation. 2009-09-08 12:11:42 +02:00
André Hentschel 8385fe4f17 jscript: Update German translation. 2009-09-08 12:11:14 +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 81fc9ade37 jscript: Code clean up. 2009-09-01 15:59:15 +02:00
Jacek Caban c444a4907e jscript: Code clean up. 2009-09-01 15:59:10 +02:00
Michael Stefaniuc e64df62ef2 jscript: Check the correct variable for the error condition (Smatch). 2009-08-31 13:31:04 +02:00
Francois Gouget 85c5d3e28b jscript: Add a trailing '\n' to a FIXME(). 2009-08-31 12:17:30 +02:00
Francois Gouget 870f1a274f jscript: Make Arguments_value() static. 2009-08-31 12:17:24 +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 b71aaadbd2 jscript: Get script_ctx_t as to_object arguments. 2009-08-29 16:48:53 +02:00
Jacek Caban 90af81f405 jscript: Create Array objects from proper constructor. 2009-08-29 16:48:53 +02:00
Jacek Caban 73e192a6b3 jscript: Use proper VARIANT_BOOL values in bool literals. 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