Commit Graph

760 Commits

Author SHA1 Message Date
Jacek Caban e81811b3a0 jscript: Use generic object constants for Math constants. 2010-07-28 12:22:33 +02:00
Jacek Caban 922efb88bb jscript: Added support for Function.arguments property. 2010-07-28 12:22:31 +02:00
Michael Stefaniuc 8dc6414418 jscript: Remove the ignored common resource attributes. 2010-07-22 11:41:35 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Igor Paliychuk a57e06aac8 jscript: Add Ukrainian translation. 2010-07-21 13:23:57 +02:00
Jacek Caban adb4e83eb2 jscript: Fixed sort_cmp for non-string arguments. 2010-07-19 14:37:59 +02:00
Alexander Nicolaysen Sørnes 38be8035d5 jscript: Add Norwegian Bokmål translation. 2010-07-01 10:09:06 +02:00
Kovács András 153a16be72 jscript: Add Hungarian translation. 2010-06-29 10:52:39 +02:00
Gustavo Henrique Milaré ca94a9cb05 jscript: Update Portuguese (Brazilian) translation. 2010-06-25 10:25:25 +02:00
Michael Stefaniuc 8aa9185a52 jscript: Update the Romanian translation.
Based on comments from Octavian Voicu.
2010-06-24 15:11:25 +02:00
Akihiro Sagawa 496a7895d5 jscript: Add Japanese translation. 2010-06-24 10:31:52 +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
Michael Stefaniuc 97a6523bdc jscript: Add the Romanian translation.
Translation by Claudia Cotună.
2010-06-18 15:22:21 +02:00
Ricardo Filipe 7fe6ec89ec jscript: Update Portuguese Portugal translation. 2010-06-12 12:07:24 +02:00
Jose Rostagno bd992d3aeb jscript: Add Spanish translation. 2010-06-09 11:17:37 +02:00
Łukasz Wojniłowicz 5b4097acb6 jscript: Add the Polish translation. 2010-06-07 12:54:56 +02:00
Paul Vriens 3f03f4636d jscript: Add the Danish translation.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-07 12:23:29 +02:00
Luca Bennati 7388cb4a68 jscript: Add Italian translation. 2010-05-31 12:14:29 +02:00
Jacek Caban 0ce3bcee1b jscript: Added leftContext and rightCont4ext tests. 2010-05-27 14:46:42 +02:00
Jacek Caban ce67c76328 jscript: Added RegExp.rightContext implementation. 2010-05-27 14:46:42 +02:00
Jacek Caban 9159ddce92 jscript: Added RegExp.leftContext implementation. 2010-05-27 14:46:42 +02:00
Jacek Caban 32c61c5092 jscript: Store match result in script context. 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 0acb7fb1e4 jscript: Added RegExp.leftContext and RegExp.rightContext stub implementation. 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
Matej Špindler 515b15233e jscript: Add Slovenian translation. 2010-05-18 08:50:26 +02:00
Michael Stefaniuc cd6ba3519a jscript: Avoid using long. 2010-05-12 14:13:15 +02:00
Gerald Pfeifer 3d310f03c3 jscript: Remove variable length which is not really used from JSGlobal_parseFloat. 2010-05-03 16:47:39 +02:00
Paul Vriens a3f95b042f jscript: Update Dutch translation. 2010-04-21 11:57:32 +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 0572d81c2d jscript: Add casts to pointer differences in traces. 2010-04-09 16:49:27 +02:00
Alexandre Julliard fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01: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
Hwang YunSong 1442a18e3a jscript: Add Korean translation. 2010-02-17 10:58:21 +01:00
Alexandre Julliard 16a080fc02 jscript: Don't create empty default key values where not necessary. 2010-02-10 14:30:07 +01:00
Alexandre Julliard 9644d1dcd7 makefiles: Generate a general catch-all dependency on .tab.h files to replace the manually maintained ones. 2010-02-08 20:58:00 +01:00
Jacek Caban 9fd4f4a44a jscript: Added support for constructor property. 2010-02-08 17:14:43 +01:00
Jacek Caban 75ab8e2027 jscript: Avoid unnecessary prototype lookup. 2010-02-08 17:14:43 +01:00
Jacek Caban 10c9931051 jscript: Get value as VARIANT in prop_put. 2010-02-08 17:14:43 +01:00
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