Laszlo Vidacs
554305d88c
Implement String.prototype.lastIndexOf()
...
JerryScript-DCO-1.0-Signed-off-by: Laszlo Vidacs lvidacs.u-szeged@partner.samsung.com
2015-08-06 08:52:09 +02:00
Dániel Bátyai
156510e174
Fix array index normalize in case index is negative zero
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com
2015-08-04 14:53:59 +02:00
Dániel Bátyai
1193de88cc
Use [[DefineOwnProperty]] in Array builtins where necessary.
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com
2015-07-30 09:31:49 +02:00
Dániel Bátyai
fc45b80579
Fix Array.prototype.toLocaleString() when toLocaleString returns non-string.
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com
2015-07-24 17:43:16 +02:00
Dániel Bátyai
6567651b6c
Fix Array index normalize helper when index is large.
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com
2015-07-24 15:01:12 +02:00
Dániel Bátyai
9513808647
Fix Array.prototype.concat() when 'this' is not an array.
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai.u-szeged@partner.samsung.com
2015-07-24 10:12:02 +02:00
Laszlo Vidacs
6d86c4b2e1
Implement String.prototype.substring()
...
JerryScript-DCO-1.0-Signed-off-by: Laszlo Vidacs lvidacs.u-szeged@partner.samsung.com
2015-07-08 12:57:17 +02:00
Peter Gal
e154156cf4
Fix element indexing for Object.keys/Object.getOwnPropertyNames
...
Previously the index was incremented even if an internal property
or a non enumerable property was found.
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-07-06 10:43:15 +02:00
Andrey Shitov
fd9ff8e3bd
Add core unicode functionality.
...
Add utf-8 processing routines.
Change ecma_char_t from char/uint16_t to uint16_t.
Apply all utf-8 processing routines.
Change char to jerry_api_char in API functions' declarations.
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
2015-06-29 23:27:58 +03:00
Andrey Shitov
a0c5974ab8
Move char type definitions and magic string processing functions to literal component.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
2015-06-29 23:27:58 +03:00
Zsolt Borbély
3f28cb3bf8
Fix the indexing of Array builtin functions.
...
The index-dependant builtins didn't handle correctly the positive Infinity value.
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
2015-06-23 17:29:46 +02:00
Peter Gal
5c012a1183
Implement Object.getOwnPropertyNames and Object.keys.
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-06-01 16:01:02 +02:00
Ruben Ayrapetyan
da7e9d9871
Fixing retrieval of [[Class]] properties for built-in function objects, optimizing memory related to [[Class]] property.
...
- introduced ecma_object_get_class_name interface;
- removed creation of [[Class]] internal property for types of objects that unambiguously determine the [[Class]] value.
Related issue: #112
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
2015-05-29 12:52:24 +03:00
Peter Gal
aaeec7fb09
Implement Array.prototoype.toLocaleString()
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-05-27 15:18:43 +02:00
Peter Gal
c16e065263
Implement Array.prototype.toString
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
2015-05-20 16:18:47 +02:00