Commit Graph

89 Commits

Author SHA1 Message Date
Jacek Caban
be37b894a4 jscript: Use IDispatch* as iface_to_jsdisp argument type.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 23:04:53 +09:00
Jacek Caban
95bdd084a1 jscript: Added JSON.stringify implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 13:43:35 +09:00
Jacek Caban
1316403770 jscript: Pass 'this' as jsdisp_t to setters. 2015-02-06 22:20:36 +09:00
Jacek Caban
d541b525e4 jscript: Pass 'this' as jsdisp_t to getters. 2015-02-06 22:20:34 +09:00
Jacek Caban
b7fae52964 jscript: Use separated functions for implementing builtin call, get and set operation. 2015-02-06 00:28:35 +09:00
Michael Stefaniuc
59af425d53 jscript: Merge two if blocks with identical condition (PVS-Studio). 2014-12-05 11:24:14 +01:00
Jacek Caban
ecdf62d324 jscript: Use to_flat_string to access string buffer in array.c. 2013-03-27 12:13:36 +01:00
Jacek Caban
4ece40f86b jscript: Return buffer pointer separately from jsstr_t from jsstr_alloc_len. 2013-03-25 14:10:08 +01:00
Jacek Caban
29ff14493d jscript: Added jsstr_flush helper and use it in array_join. 2013-03-05 12:43:16 +01:00
Jacek Caban
ac41380b94 jscript: Fixed some Coverity issues. 2012-11-27 17:00:45 +01:00
Jacek Caban
7f1e3300fe jscript: Use custom string container instead of BSTR. 2012-10-11 18:53:04 +02:00
Jacek Caban
6f5475dd26 jscript: Store exception value in script_ctx_t instead of passing it everywhere. 2012-09-19 13:04:16 +02:00
Jacek Caban
acfd2b98c3 jscript: Always use jsval-based to_string implementation. 2012-09-17 18:29:11 +02:00
Jacek Caban
2fc71ab6d5 jscript: Always use jsval-based to_uint32 implementation. 2012-09-17 18:29:02 +02:00
Jacek Caban
0bab034fac jscript: Always use jsval-based to_number implementation. 2012-09-17 18:28:52 +02:00
Jacek Caban
847aebdc87 jscript: Use jsval instead of VARIANT to pass arguments to builtin functions. 2012-09-17 18:27:36 +02:00
Jacek Caban
932b3dd088 jscript: Added new variable representation and use it for internal function return values. 2012-09-17 18:27:17 +02:00
Jacek Caban
6e4f74f71b jscript: Use prototype for builtin Array properties. 2012-07-24 13:38:09 +02:00
Jacek Caban
d492650332 jscript: Properly handle constructor property for most builtin constructors. 2012-07-16 16:29:31 +02:00
Jacek Caban
f8383c3417 jscript: Don't use DISPPARAMS for internal arguments. 2012-06-25 18:12:51 +02:00
Jacek Caban
1dd4cbc491 jscript: Pass jsthis internally without using DISPPARAMS. 2012-06-21 18:04:52 +02:00
Jacek Caban
7118e6fbbb jscript: Use num_set_int in array.c. 2012-06-20 19:21:01 +02:00
Jacek Caban
56bf46fda0 jscript: Return double from to_integer. 2012-05-03 20:44:11 +02:00
Jacek Caban
3ee7438a5f jscript: Better handling of to_integer result in Array.splice. 2012-05-03 20:44:08 +02:00
Thomas Faber
58ad6fcf1f jscript: Add missing port.h include for isnan. 2012-04-30 11:00:35 +02:00
Jacek Caban
451169fb93 jscript: Return double instead of VARIANT from to_number. 2012-03-27 11:43:01 +02:00
Jacek Caban
84ed86c431 jscript: Get rid of no longer needed caller argument from builtin_invoke_t. 2012-03-14 17:34:00 +01:00
Jacek Caban
29b9237c91 jscript: Removed no longer needed caller argument from jsdisp_get_idx. 2012-03-12 16:37:21 +01:00
Jacek Caban
0d9cc45406 jscript: Removed no longer needed caller argument from jsdisp_propget_name. 2012-03-12 16:37:21 +01:00
Jacek Caban
7d4ba8db63 jscript: Removed no longer needed caller argument from jsdisp_propput_idx. 2012-03-12 16:37:20 +01:00
Jacek Caban
12bc6e0cc7 jscript: Removed no longer needed caller argument from jsdisp_propput_name and jsdisp_propget. 2012-03-12 16:37:20 +01:00
Jacek Caban
07be020a48 jscript: Removed no longer needed caller argument from jsdisp_call_value. 2012-03-12 16:37:19 +01:00
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
f46f926134 jscript: Addd jsdisp_addref helper function. 2010-09-07 16:01:57 +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
adb4e83eb2 jscript: Fixed sort_cmp for non-string arguments. 2010-07-19 14:37:59 +02: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
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
96cbc45a52 jscript: Return array length in Array.unshift for invoke version >= 2. 2009-10-20 13:48:07 +02:00
Piotr Caban
662a8525f4 jscript: Fixed Global functions lengths. 2009-10-14 11:23: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
bb4050d792 jscript: Throw correct error in get_length. 2009-09-23 17:08:31 +02:00