Jacek Caban
9b4267b04d
jscript: Support enumerating own properties.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 14:18:49 +02:00
Alexandre Julliard
29ea8b42db
jscript: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 11:15:24 +02:00
Andreas Maier
a015c62643
jscript: Implement Enumerator object.
...
Signed-off-by: Andreas Maier <staubim@quantentunnel.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:02:47 +02:00
Andreas Maier
6630bc4096
jscript: Stub Enumerator object.
...
Enumerator is an MS extension.
It's needed to succeed VyChat219.msi installation.
Signed-off-by: Andreas Maier <staubim@quantentunnel.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-20 00:17:37 +02:00
Jacek Caban
5a90acf59c
jscript: Use global accumulator for storing function call results.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-12 14:08:07 +02:00
Jacek Caban
b0cce16c7a
jscript: Use jsdisp_define_data_property in Object.getOwnPropertyDescriptor.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 16:48:26 +02:00
Jacek Caban
599769f857
jscript: Use jsdisp_define_property to set prototype constructors.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-14 16:26:07 +02:00
Jacek Caban
4555828c57
jscript: Use jsdisp_define_property instead of jsdisp_propput_const.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:26:51 +02:00
Jacek Caban
83de7691c6
jscript: Add Object.defineProperty implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 17:26:51 +02:00
Jacek Caban
fc639fa271
jscript: Use jsdisp_get_own_property in Object.propertyIsEnumerable implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 00:39:45 +02:00
Jacek Caban
f82bc09f28
jscript: Use jsdisp_get_own_property in Object.hasOwnProperty implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 00:39:43 +02:00
Jacek Caban
551e5a77e2
jscript: Added Object.getOwnPropertyDescriptor implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-11 00:39:41 +02:00
Jacek Caban
da186c3cc5
jscript: Rename PROPF_ENUM to PROPF_ENUMERABLE.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 16:20:42 +02:00
Jacek Caban
6b86fd795c
jscript: Use new PROPF_WRITABLE flag instead of PROPF_CONST.
...
This is closer to how ES5 defines them.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 16:20:40 +02:00
Jacek Caban
197db9cac9
jscript: Use new PROPF_CONFIGURABLE flag instead of PROPF_DONTDELETE.
...
This is closer to how ES5 defines them.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 16:20:36 +02:00
Jacek Caban
3987d93992
jscript: Added Array.prototype.indexOf implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:54:32 +01:00
Jacek Caban
d95a8b2bb4
jscript: Introduce Wine-specific extension allowing IE9+ JavaScript mode implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:27:23 +01:00
Michael Stefaniuc
eb168bcbbf
jscript: Use the global HeapAlloc() wrappers.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:59 +01:00
Francois Gouget
1731629fd3
jscript: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
...
And standardize their parameter names.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-21 13:57:35 +01:00
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
6a03b38f33
jscript: Use already running interpreter for eval() execution.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 11:54:44 +09:00
Jacek Caban
66632091bf
jscript: Use already running interpreter for execution of member source function.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-30 11:54:33 +09:00
Jacek Caban
32d9c59868
jscript: Get rid of no longer needed exec_ctx_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 12:07:17 +09:00
Jacek Caban
0224f1829b
jscript: Moved stack from execution context to script context.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-26 12:07:05 +09:00
Jacek Caban
8a17cf89fb
jscript: Keep track of active call in a separated structure.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 20:09:07 +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
4e1e2ee451
jscript: Added JSON object stub implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 13:43:10 +09:00
Jacek Caban
e00708e3aa
jscript: Added new is_finite helper.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 13:42:57 +09:00
Francois Gouget
f0584081c9
jscript: Mark internal symbols with hidden visibility.
2015-03-18 19:39:04 +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
Jacek Caban
0eec97e29b
jscript: Don't use builtin property for exposing ActiveXObject constructor.
2014-10-13 19:43:28 +09:00
Jacek Caban
5ec69474cf
jscript: Added conditional compilation @set support.
2014-09-30 18:15:14 +02:00
Jacek Caban
d2886a05f9
wine/debug.h: Added debugstr_variant and debugstr_vt aliases and removed all duplicated implementations.
2014-07-24 17:05:55 +02:00
Jacek Caban
3bf7255d23
jscript: Added to_flat_string helper and use it to access string buffer in activex.c.
2013-03-27 12:13:32 +01:00
Jacek Caban
c3eecec680
jscript: Use (index,length) pair as match result.
2013-03-07 14:56:17 +01:00
Jacek Caban
1926b5617d
jscript: Use to_int32 in to_uint32 implementation.
2013-02-19 19:50:53 +01:00
Piotr Caban
f16c9877bd
jscript: Avoid copying regular expression results.
2013-02-19 19:50:40 +01:00
Piotr Caban
02d63cb312
jscript: Rename jsheap_t to heap_pool_t.
2013-02-15 14:42:58 +01:00
Jacek Caban
b568d88815
jscript: Throw an error if return statement is in eval code.
2012-12-12 20:23:13 +01:00
Jacek Caban
d9d8c8b716
jscript: Added support for DontDelete attribute and use it for arguments object.
2012-11-30 19:12:15 +01:00
Jacek Caban
466fae6444
jscript: Added disp_delete_name helper and use it in interp_delete.
2012-11-30 19:12:14 +01:00
Jacek Caban
e6fc8d9b0c
jscript: Added disp_delete helper and use it in interp_delete_ident.
2012-11-30 19:12:14 +01:00
Jacek Caban
6b56c65f8d
jscript: Alias arguments properties to real values.
2012-11-30 19:12:14 +01:00
André Hentschel
6804ae26fb
jscript: Fix possible NULL pointer access in heap_strdupW.
2012-11-19 16:36:41 +01:00
Jacek Caban
78652f7602
jscript: Added propertyIsEnumerable implementation.
2012-11-05 17:44:16 +01:00
Jacek Caban
79a30a4e0a
jscript: Optimize object refcount handling.
2012-10-26 13:59:08 +02:00
Jacek Caban
2d962d0395
jscript: Use jsstr_t for passing strings to regexp matching functions.
2012-10-18 19:23:07 +02:00
Jacek Caban
3182852293
jscript: Store regexp source as jsstr_t.
2012-10-11 18:53:08 +02:00