Commit Graph

666 Commits

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