Serge Gautherie
|
961d5c8ed0
|
jscript: Fix a MSVC-x64 warning about to_uint32().
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-12-20 15:34:01 +01:00 |
Jacek Caban
|
cda846b8cb
|
jscript: Add Array.prototype.forEach implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-12-05 22:33:43 +01:00 |
Jacek Caban
|
0cc68cf82a
|
jscript: Add interpreter support for getters and setters in object initializer.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-12-03 10:50:28 +01:00 |
Jacek Caban
|
56be97fd5d
|
jscript: Add parser support for getters and setters in object initializer.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-12-03 10:50:24 +01:00 |
Jacek Caban
|
fd4c34759f
|
jscript: Use separated parser rule for property definition.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-12-03 10:50:20 +01:00 |
Jacek Caban
|
9193b9f52c
|
jscript: Rename prop_val_t to property_definition_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-12-03 10:50:17 +01:00 |
Alex Henrie
|
58da918e4d
|
jscript: Make several constants static.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-30 19:36:51 +01:00 |
Jacek Caban
|
1fc9b2e934
|
jscript: Support undefined separator in String.split implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-30 19:36:51 +01:00 |
Jacek Caban
|
4cabe3612f
|
jscript: Allow trailing comma in object literals.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-10-16 22:26:07 +02:00 |
Michael Stefaniuc
|
ef64f27632
|
jscript: Use the ARRAY_SIZE() macro.
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-07-10 18:58:59 +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 |
Michael Stefaniuc
|
05253c75cc
|
jscript/tests: Use the available ARRAY_SIZE() macro.
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-06-06 17:16:02 +02:00 |
Thomas Faber
|
88a6936d40
|
jscript: Fix MSVC build.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-06-05 09:19:41 +02:00 |
Jacek Caban
|
16ba7f4444
|
jscript: Added String.trim implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-25 19:40:22 +02:00 |
Jacek Caban
|
ff829f0beb
|
jscript: Support setting accessor property value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-15 15:33:12 +02:00 |
Jacek Caban
|
887840a888
|
jscript: Move handling PROPF_WRITABLE to property type specific code.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-15 15:33:10 +02:00 |
Jacek Caban
|
fd91fe52b7
|
jscript: Support getting value of accessor property.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-15 15:33:08 +02:00 |
Jacek Caban
|
d8aa26f660
|
jscript: Support accessor properties in getOwnPropertyDescriptor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-15 15:33:06 +02:00 |
Jacek Caban
|
f732bfc50e
|
jscript: Added support for accessor properties in defineProperty.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:12 +02:00 |
Jacek Caban
|
5abb2ca6fc
|
jscript: Added Object.defineProperties stub.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:10 +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
|
3767d63a1c
|
jscript: Use jsdisp_define_property to set function prototypes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:05 +02:00 |
Jacek Caban
|
20007e586a
|
jscript: Use jsdisp_define_data_property for arguments object properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:03 +02:00 |
Jacek Caban
|
ae8c45c694
|
jscript: Use jsdisp_define_property for Error object properties.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:26:01 +02:00 |
Jacek Caban
|
827f45901d
|
jscript: Get rid of no longer used jsdisp_propput_const.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-14 16:25:38 +02:00 |
Jacek Caban
|
ae8635db62
|
jscript: Use jsdisp_define_property instead of jsdisp_propput_dontenum for global properties.
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
|
6b1e54a28e
|
jscript: Make global constants non-writable in ES5 mode.
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
|
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
|
2538a74c80
|
jscript: Make RegExp object properties non-writable.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-11 00:39:51 +02:00 |
Jacek Caban
|
7f01473a38
|
jscript: Make Function instance object properties non-writable.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-11 00:39:49 +02:00 |
Jacek Caban
|
a9f8c2c7c1
|
jscript: Make String.length non-writable.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-11 00:39:47 +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 |
Zebediah Figura
|
bf47aebdee
|
jscript: Avoid crash when calling stringify() with no arguments.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-07 12:02:51 +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
|
a373054b72
|
jscript: Remove unused prop_put arguments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-20 18:43:32 +02:00 |
Jacek Caban
|
23e4a530c5
|
jscript: Remove unused prop_get arguments.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-20 18:43:29 +02:00 |
Jacek Caban
|
aa27dd07aa
|
jscript: Added Date.prototype.toISOString implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-11 20:14:45 +02:00 |
Jacek Caban
|
4fde6d4138
|
jscript: Properly parse large hexadecimal listerals.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-11 20:14:43 +02:00 |
Jacek Caban
|
f96aa1f32c
|
jscript: Properly support overloaded values in to_int32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-11 20:14:41 +02:00 |
Jacek Caban
|
3263d51a1f
|
jscript: Allow using reserved words as identifiers in ES5 mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-04-04 22:04:27 +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
|
3c7ec6af92
|
jscript: Renamed equal2_values to jsval_strict_equal.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-02 10:54:29 +01:00 |
Jacek Caban
|
d72acebd6c
|
jscript: Properly handle elisions in array literals.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-02 10:54:27 +01:00 |
Jacek Caban
|
89da4559ee
|
jscript: Properly support missing array elements in Array.pop.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-02 10:54:25 +01:00 |