Commit Graph

648 Commits

Author SHA1 Message Date
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