Commit Graph

626 Commits

Author SHA1 Message Date
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
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 a4acd1b38f jscript: Throw an exception when evaluating invalid identifier instead of on lookup failure. 2009-08-27 11:48:05 +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
Piotr Caban 3da1773cc3 jscript: Fixed String's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban c2d2b9f559 jscript: Fixed Number's function lengths. 2009-08-17 13:57:51 +02:00
Piotr Caban 67f14b7633 jscript: Added Boolean's function lengths test. 2009-08-17 13:57:51 +02:00
Piotr Caban c368ab5ba7 jscript: Inherit Math from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban 6b8fef873c jscript: Added RegExp.source implementation. 2009-08-14 13:59:10 +02:00
Piotr Caban 8d6d266977 jscript: Inherit some Function functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban 28734e3756 jscript: Inherit some Error functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban 4791cdb11f jscript: Inherit some Array functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban da6398dccd jscript: Inherit some Boolean function from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban b1d0b1c739 jscript: Inherit some Date functions from Object. 2009-08-14 13:59:10 +02:00
Jacek Caban cde2f1a09e jscript: Added missing port.h includes. 2009-08-14 11:27:16 +02:00
Piotr Caban 5323a454c8 jscript: Fixed Object.toLocaleString implementation. 2009-08-12 17:04:38 +02:00
Piotr Caban 9f0969fbcb jscript: Inherit some Number functions from Object. 2009-08-12 17:04:38 +02:00
Piotr Caban 5d41205654 jscript: Inherit some RegExp functions from Object. 2009-08-12 17:04:38 +02:00
Piotr Caban 79f45c5374 jscript: Inherit some String functions from Object. 2009-08-12 17:04:37 +02:00
Paul Vriens 862bd3c61e jscript: Add some Dutch translations. 2009-08-11 17:30:12 +02:00
Piotr Caban 59cf9c449e jscript: Added $ handling to String.replace. 2009-08-11 17:29:37 +02:00
Piotr Caban 561437ad98 jscript: Fixed var handling. 2009-08-10 15:02:22 +02:00
Piotr Caban 6afd53547e jscript: Lookup global members after script_disp. 2009-08-10 15:02:18 +02:00
André Hentschel 8309788b55 jscript: Update German translation. 2009-08-07 14:57:34 +02:00
Frédéric Delanoy 99ec95e474 jscript: Update French translation. 2009-08-07 11:39:10 +02:00
Ricardo Filipe 63aec3f325 jscript: Add Portuguese translation. 2009-08-06 17:28:13 +02:00
Aurimas Fišeras bc1f3f4c95 jscript: Update Lithuanian translation. 2009-08-06 12:02:39 +02:00
Piotr Caban 3edf1ba22f jscript: Added JSGlobal_parseFloat implementation. 2009-08-06 12:02:34 +02:00
Piotr Caban 9d23f8a771 jscript: Make compare2_values working with NULL BSTR's. 2009-08-06 12:02:09 +02:00
Piotr Caban ec25138a46 jscript: Added 'unterminated string' error. 2009-08-06 12:02:00 +02:00
Frédéric Delanoy af3f0ec964 jscript: Update French translation. 2009-08-03 14:54:46 +02:00
Aurimas Fišeras 08f09d0dd4 jscript: Update Lithuanian translation. 2009-08-03 14:54:38 +02:00
André Hentschel baea56ae1a jscript: Update German translation. 2009-08-03 14:54:28 +02:00
Paul Vriens 75fc48d4c5 jscript: Add Dutch translations. 2009-07-24 12:04:02 +02:00
Piotr Caban f3d24fdda9 jscript: Throw more SyntaxErrors in parser. 2009-07-24 11:51:29 +02:00
Piotr Caban 67c8a3e919 jscript: Added "Expected ';'" error. 2009-07-24 11:51:20 +02:00
Piotr Caban c6412d98d9 jscript: Add "illegal assignment" error. 2009-07-24 11:51:11 +02:00
Piotr Caban 2fba39df27 jscript: Added "Expected ')'" error. 2009-07-24 11:45:07 +02:00
Piotr Caban 29d9f09992 jscript: Added "Expected '('" error. 2009-07-24 11:45:01 +02:00
Piotr Caban 98223b96e7 jscript: Throw SyntaxError in eval function. 2009-07-24 11:44:53 +02:00
Paul Vriens 40af06a576 jscript: Add Dutch translations. 2009-07-23 11:21:58 +02:00
Frédéric Delanoy 47cbc3ae65 jscript: Update French translation. 2009-07-23 11:21:45 +02:00
André Hentschel 24eb52b44d jscript: Update German translation. 2009-07-23 11:21:40 +02:00
Aurimas Fišeras 91c3313fe4 jscript: Update Lithuanian translation. 2009-07-23 11:21:36 +02:00
Piotr Caban 8dd1d9b92e jscript: Throw TypeErrors when _value functions are used as a function. 2009-07-22 14:42:50 +02:00
Piotr Caban 412e0af26f jscript: Throw error in to_primitive function. 2009-07-22 14:42:50 +02:00
Piotr Caban fba4e3767f jscript: Throw TypeError in Function_toString. 2009-07-22 14:42:50 +02:00
Piotr Caban d8e841ca50 jscript: Throw 'undefined object' error. 2009-07-22 14:42:50 +02:00
André Hentschel 6bc0f13e99 jscript: Add German translation. 2009-07-22 11:02:24 +02:00
Aurimas Fišeras fc3a59460c jscript: Add Lithuanian translation. 2009-07-22 11:01:24 +02:00
Frédéric Delanoy a2e5c0b7b2 jscript: Add French translation. 2009-07-22 11:01:00 +02:00
Piotr Caban a77e369cfe jscript: Add Error_number handling to constructor and error throwing functions. 2009-07-21 11:04:34 +02:00
Piotr Caban f3eef0d4c8 jscript: Added Error_number and Error_description implementation. 2009-07-21 11:04:16 +02:00
Piotr Caban 7c0a702001 jscript: Added Error_description and Error_number stubs. 2009-07-21 11:04:13 +02:00
Piotr Caban 3afc444e7f jscript: Throw errors in Number functions. 2009-07-21 11:04:09 +02:00
Piotr Caban f89fbb9b48 jscript: Throw TypeError in call_expression_eval. 2009-07-21 11:04:04 +02:00
Piotr Caban 789afcdc1b jscript: Throw more errors in Date functions. 2009-07-21 11:03:51 +02:00
Piotr Caban 5b21893abf jscript: Throw type errors in Date functions. 2009-07-21 10:59:27 +02:00
Piotr Caban 77e93ad8c7 jscript: Throw type errors in Boolean functions. 2009-07-21 10:59:07 +02:00
Piotr Caban bd87f97e2d jscript: Throw range errors in Array functions. 2009-07-21 10:59:01 +02:00
Piotr Caban 469b597212 jscript: Add error throwing functions. 2009-07-21 10:58:52 +02:00
Piotr Caban 2d71dac412 jscript: Add Error_toString implementation. 2009-07-21 10:57:37 +02:00
Piotr Caban f17b1f6334 jscript: Add Error_message implementation. 2009-07-21 10:57:33 +02:00
Piotr Caban f33f5c9286 jscript: Add Error object stub. 2009-07-21 10:57:19 +02:00
Marcus Meissner bd2b6bda6b jscript: Initialize val_str to NULL (Coverity). 2009-07-20 12:19:28 +02:00
Piotr Caban ea5c94f84d jscript: Fix create_exec_ctx implementation. 2009-07-16 11:38:48 +02:00
Piotr Caban 8e1233ec48 jscript: Remove broken tests. 2009-07-16 11:38:44 +02:00
Piotr Caban f5e678e8dd jscript: Improve Object_toString implementation. 2009-07-16 11:38:37 +02:00
Piotr Caban f421746980 jscript: Added RegExp_test stub. 2009-07-15 13:54:08 +02:00
Piotr Caban 1cffc0eb73 jscript: Improve Number_toString implementation. 2009-07-15 13:54:02 +02:00
Piotr Caban 15b07c2a36 jscript: Improve to_string implementation. 2009-07-15 13:53:27 +02:00
Piotr Caban 55b8952ba2 jscript: Added Date_getYear implementation. 2009-07-14 10:46:48 +02:00
Piotr Caban c44056d4b2 jscript: Added String_fromCharCode implementation. 2009-07-14 10:46:44 +02:00
Piotr Caban 2325e2cdb8 jscript: Added Array_slice implementation. 2009-07-14 10:46:39 +02:00
Piotr Caban b6b520e0ed jscript: Added call_expression_eval implementation for EXPRVAL_VARIANT values. 2009-07-14 10:46:32 +02:00
Piotr Caban 75cce3cdcd jscript: Added implementation of Array constructor called as a function. 2009-07-14 10:46:25 +02:00
Piotr Caban 346619d093 jscript: Added Array length setting implementation. 2009-07-14 10:46:18 +02:00
Piotr Caban 42f9608269 jscript: Inherit Function_valueOf from Object. 2009-07-13 12:21:29 +02:00
Piotr Caban 91ce0dd6a3 jscript: Fix String_match implementation. 2009-07-13 12:21:22 +02:00
Piotr Caban df8195668d jscript: Make String_toUpperCase generic. 2009-07-13 12:20:59 +02:00
Piotr Caban ab8168141b jscript: Make String_toLowerCase generic. 2009-07-13 12:20:54 +02:00
Piotr Caban 973f3be02c jscript: Make String_substring generic. 2009-07-13 12:20:50 +02:00