Commit Graph

60 Commits

Author SHA1 Message Date
Jacek Caban 020245bba1 jscript: Fixed some clang warnings. 2011-01-27 16:32:22 +01:00
Jacek Caban 7774a0a4c1 jscript: Pass HRESULTs instead of IDSs to throw_* functions. 2010-12-28 16:35:41 +01:00
Jacek Caban 35968b9755 jscript: Don't lookup global variables on function invocation. 2010-10-14 17:54:52 +02:00
Jacek Caban f46f926134 jscript: Addd jsdisp_addref helper function. 2010-09-07 16:01:57 +02:00
Jacek Caban ac8d2f1fae jscript: jsdisp_t to IDispatch casts clean up. 2010-09-07 16:01:52 +02:00
Jacek Caban 2ae0f44033 jscript: Added a helper function for setting VARIANT value to jsdisp_t. 2010-09-07 16:01:46 +02:00
Jacek Caban 8c2a548b54 jscript: Rename DispatchEx to jsdisp_t to match jscript naming convention. 2010-09-06 17:09:57 +02:00
Jacek Caban 922efb88bb jscript: Added support for Function.arguments property. 2010-07-28 12:22:31 +02:00
Jacek Caban 0cbe1574fe jscript: Store builtin constructor's length in instance object. 2010-05-27 14:46:42 +02:00
Piotr Caban 352ae8b480 jscript: Fix jsdisp_propget_idx implementation. 2010-01-25 13:00:51 +01:00
Rob Shearman 9dc584d0a2 jscript: Fix various memory and reference count leaks. 2009-12-31 14:27:06 +01:00
Marcus Meissner aaff57da22 jscript: Fixed uninitialized usage of i (Coverity). 2009-12-11 12:16:26 +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 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 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
Piotr Caban 662a8525f4 jscript: Fixed Global functions lengths. 2009-10-14 11:23:40 +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
Jacek Caban 7f2d50f344 jscript: Throw type error from call and apply functions. 2009-09-24 13:30:45 +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 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 a9dc89a3e1 jscript: Don't use dispex->ctx in function.c. 2009-09-23 16:25:05 +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
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 d918a1890b jscript: Added Function.toString implementation for builtin functions. 2009-09-17 10:07:51 -05:00
Jacek Caban 81fc9ade37 jscript: Code clean up. 2009-09-01 15:59:15 +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 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
Piotr Caban 0091b3fb1a jscript: Fixed Function method's lengths. 2009-08-24 15:17:32 +02:00
Piotr Caban 8d6d266977 jscript: Inherit some Function functions from Object. 2009-08-14 13:59:10 +02:00
Piotr Caban fba4e3767f jscript: Throw TypeError in Function_toString. 2009-07-22 14:42:50 +02:00
Piotr Caban ea5c94f84d jscript: Fix create_exec_ctx implementation. 2009-07-16 11:38:48 +02:00
Piotr Caban 42f9608269 jscript: Inherit Function_valueOf from Object. 2009-07-13 12:21:29 +02:00
Piotr Caban 3f18e98413 jscript: Added Function_valueOf implementation. 2009-07-09 17:47:39 +02:00
Piotr Caban 41e297af11 jscript: Added stub implementation of Date constructor properties. 2009-07-03 13:28:19 +02:00
Andrew Nguyen a6bdc47152 jscript: Fix some errors detected by Valgrind. 2008-12-10 11:32:31 +01:00
Jacek Caban e806869d4e jscript: Added Function default value implementation. 2008-09-22 11:56:21 +02:00
Jacek Caban 5760eb808b jscript: Added Function.toString implementation. 2008-09-22 11:56:16 +02:00