Peter Gal
fe0ec9d7fa
Object constructor prototype should be set to Function.
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
2015-08-06 13:38:24 +02:00
Roland Takacs
5888401318
Fix assertion 'bytes_copied > 0 || !string_len' in JSON.stringify()
...
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-06 13:15:54 +02:00
Zsolt Borbély
e61f41a0bc
Fix of memory leak in Function.prototype.bind function.
...
Related issue: #511
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély [email protected]
2015-08-06 13:05:33 +02:00
Zoltan Herczeg
2630048ecc
Fixes for URI decoding.
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-06 03:52:16 -07:00
Szilard Ledan
caeae0f621
Fix undefined result in RegExp engine
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan [email protected]
2015-08-06 10:49:59 +02:00
Dániel Bátyai
c17197dcab
Handle Unicode characters in parseFloat()
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
2015-08-06 10:38:03 +02:00
László Langó
7aacb8fc01
Remove recursion limit from RegExp engine.
...
Related issue: #388
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2015-08-06 09:58:50 +02:00
Zsolt Borbély
9cc706d21d
Enable tests after #435 .
...
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély [email protected]
2015-08-06 09:12:57 +02:00
Laszlo Vidacs
554305d88c
Implement String.prototype.lastIndexOf()
...
JerryScript-DCO-1.0-Signed-off-by: Laszlo Vidacs [email protected]
2015-08-06 08:52:09 +02:00
Ruben Ayrapetyan
7aa1b16184
Change fill_varg_list to append arguments values to ecma-values collection, instead of array; rename it to vm_fill_varg_list.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-08-05 16:55:17 +03:00
Ruben Ayrapetyan
b08e8a3173
Make ecma-values collection extendable (by introducing ecma_append_to_values_collection interface).
...
Related issue: #311
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-08-05 16:55:17 +03:00
Andrey Shitov
1aa04a287d
Optimize lit_get_magic_string_utf8.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov [email protected]
2015-08-05 16:22:04 +03:00
Ruben Ayrapetyan
55ffb0cdd1
Fix pass of USE_COMPILER_DEFAULT_LIBC from make (Makefile) to cmake (CMakeLists.txt).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-08-05 14:49:36 +03:00
Andrey Shitov
24e307481e
Optimize block size calculation in functions working with linked list.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov [email protected]
2015-08-05 14:29:51 +03:00
Peter Gal
af56cd8465
Make the string trim method unicode tolerant.
...
Fixes issue #426
JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
2015-08-04 17:09:45 +02:00
László Langó
57336909cb
Fix RegExp matching on right brackets and braces.
...
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2015-08-04 16:52:08 +02:00
László Langó
7a3636b5ce
Remove executor steps/match limit from RegExp.
...
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2015-08-04 16:51:13 +02:00
Szilard Ledan
9ab0f23e48
Fix IgnoreCase in RegExp engine
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan [email protected]
2015-08-04 16:29:47 +02:00
László Langó
f48ed52209
Implement IgnoreCase in RegExp engine
...
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2015-08-04 16:29:47 +02:00
Roland Takacs
1b05cc47ff
Add throwing of missing range error to Date.prototype.toISOString()
...
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-04 16:13:51 +02:00
Roland Takacs
6082c32d45
Refactor to{,UTC,ISO}String methods of the Date object.
...
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-04 16:13:51 +02:00
Roland Takacs
833a5d1a55
Eliminate the year calculation from an infinity value.
...
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-04 15:38:00 +02:00
Roland Takacs
722fd2a989
Remove unneccesary UTC time conversion in the parser of the Date object.
...
We don't need to convert time to UTC time when the argument is suffixed with 'Z'.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-04 15:10:24 +02:00
Roland Takacs
3151a460fc
Support local time output for the Date object.
...
Convert the primitive time to local time if it is required.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-04 15:10:24 +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 [email protected]
2015-08-04 14:53:59 +02:00
Szilard Ledan
6ec05ff07f
Refactor and cleanup the RegExp parser
...
JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan [email protected]
2015-08-04 14:45:37 +02:00
Zoltan Herczeg
0a1b6eb4c7
Implement String.prototype.search, and some minor regexp refactors.
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-04 05:14:11 -07:00
Ruben Ayrapetyan
f39a294bc6
Remove dependency on prerequisites for linux build.
...
Precommit still depends on prerequisites, as it depends on vera++, etc.
Related issue: #516
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-08-04 13:59:24 +03:00
Ruben Ayrapetyan
c41f76aba2
Support up to 65535 items in object / array literals.
...
Related issue: #276
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-08-03 15:54:53 +03:00
Roland Takacs
b5923ccd9d
Fix [[Construct]] call for Date()
...
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-03 09:06:16 +02:00
Ruben Ayrapetyan
f7781bb7bc
Remove intrinsics (native_call opcode).
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-07-31 17:59:03 +03:00
Ruben Ayrapetyan
72d4c07bdc
Remove 'print' instrinsic, add 'print' implementation-defined built-in routine to the Global object.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-07-31 17:57:59 +03:00
Ruben Ayrapetyan
c715a7cd1d
Change 'assert' handle to pass only upon exactly 1 argument is received, and the argument is boolean true; update internal test suite correspondingly.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-07-30 17:05:26 +03:00
László Langó
5d385b1144
Fix properties of RegExp prototype
...
JerryScript-DCO-1.0-Signed-off-by: László Langó [email protected]
2015-07-30 15:25:53 +02:00
Roland Takacs
144c3ba874
Fix assertion 'mem_pools == NULL' in the Date constructor.
...
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-07-30 13:35:06 +02:00
Dániel Bátyai
fe475eace7
Use ToNumber when checking lastIndex during RegExp exec()
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
2015-07-30 13:03:05 +02:00
Zoltan Herczeg
048e20925e
Implement String.prototype.replace function.
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-07-30 03:55:50 -07:00
Dániel Bátyai
39cf5aaa7c
Fix RegExp constructor when called with undefined arguments
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
2015-07-30 09:47:37 +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 [email protected]
2015-07-30 09:31:49 +02:00
Kristof Kosztyo
8cd1ade515
Fix primitive value handling in Date constructor
...
JerryScript-DCO-1.0-Signed-off-by: Kristof Kosztyo [email protected]
2015-07-29 15:08:55 +02:00
Peter Gal
801e8e34cd
Test lastIndex calculation for exec calls
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
2015-07-29 11:20:13 +02:00
Zoltan Herczeg
41aef56cba
Rename isalpha, isdigit and replace characters with their corresponding constant.
...
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-07-28 23:38:45 -07:00
Peter Gal
3fbe54393f
Make parseInt unicode tolerant.
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
2015-07-28 18:36:39 +02:00
Andrey Shitov
382b2b48b7
Optimize lit_find_literal_by_utf8_string by adding hash comparison.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov [email protected]
2015-07-28 16:04:00 +03:00
Andrey Shitov
9766feda2e
Change jerry_api_string_to_char_buffer so it doesn't add '\0' to the end of output buffer.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov [email protected]
2015-07-28 15:54:55 +03:00
Andrey Shitov
656908ecaf
Optimize lit_char_is_unicode_letter.
...
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov [email protected]
2015-07-28 14:48:45 +03:00
Ruben Ayrapetyan
502f4c4623
Split opcode and instruction entities and perform related renamings: opcode_t is now vm_instr_t, opcode position is instruction position, etc.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-07-28 13:43:43 +03:00
Ruben Ayrapetyan
1990762cf0
Add opcode description table containing an opcode's name, name and possible type of the opcode's arguments.
...
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan [email protected]
2015-07-28 13:43:43 +03:00
Peter Gal
25450d8a12
Error constructor prototypes should be Function
...
JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
2015-07-28 12:16:38 +02:00
Dániel Bátyai
f1248b9780
Fix Number.prototype.toString() when radix is undefined.
...
JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai [email protected]
2015-07-28 12:04:41 +02:00