Commit Graph

100 Commits

Author SHA1 Message Date
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
Jacek Caban 5e07e0cf53 jscript: Added function constructor object. 2008-09-19 12:08:50 +02:00
Jacek Caban 0c6b804e63 jscript: Added initial prototype of functions. 2008-09-11 12:01:51 +02:00
Jacek Caban e4e47c0149 jscript: Added constructor invokation from Function object support. 2008-09-11 12:01:42 +02:00
Jacek Caban 68d4f489f2 jscript: Set arguments object on function call. 2008-09-11 12:01:23 +02:00
Jacek Caban 0d33508954 jscript: Set parameters on function call. 2008-09-11 12:01:18 +02:00
Jacek Caban dd9f8f7dbc jscript: Added Function.[[call]] implementation. 2008-09-11 12:01:13 +02:00
Jacek Caban dd01f8b8f7 jscript: Added Object constructor object implementation. 2008-09-10 10:56:01 +02:00
Jacek Caban 5c05e6c869 jscript: Add static functions to variable objects. 2008-09-09 11:46:17 +02:00
Jacek Caban a0170ad7f9 jscript: Added Function.length implementation. 2008-09-09 11:46:17 +02:00
Jacek Caban 7c6bf428b5 jscript: Added function object stub implementation. 2008-09-09 11:46:17 +02:00