Commit Graph
17 Commits
Author SHA1 Message Date
Zoltan Herczeg c81c730129 Add support for reporting mallocs / frees to valgrind through client requests.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-11-03 03:57:49 -08:00
Zoltan Herczeg bf780ad3dc Global object escape routine.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-26 01:44:18 -07:00
Zoltan Herczeg 4dcbdb44ff Cross-build fix after 5e301a1d71
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-17 09:53:24 -07:00
Zoltan Herczeg 5e301a1d71 Refactor the remaining date string conversion helpers.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-17 00:21:50 -07:00
Zoltan Herczeg 5be41b44bb Date toString methods follow the date format used by other JS engines:
new Date(0).toString () == "Thu Jan 01 1970 00:00:00 GMT+0000"
new Date(0).toUTCString () == "Thu, 01 Jan 1970 00:00:00 GMT"
new Date(0).toISOString () == "1970-01-01T00:00:00.000Z"

Fixes S15.5.4.7_A1_T11.js test case.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-13 06:25:17 -07:00
Zoltan Herczeg f2c846d960 Fix the this argument passed to string replace callbacks.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-11 06:23:43 -07:00
Zoltan Herczeg a751478a19 Although the standard does not specify the effect of $nn in String.replace when nn is bigger than the max, the test-262 test suite expects a certain behaviour. This behaviour is mimiced by this patch.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-10 23:22:19 -07:00
Zoltan Herczeg 8df6cdd1e9 Refactor fromCharCode including support for surrogate pairs.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-08-10 04:34:31 -07: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
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
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
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
Zoltan Herczeg bcedc901cd Add \u parse support for the JSON object. Buffer overrun issues were fixed as well.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-07-20 01:09:13 -07:00
Zoltan Herczeg 69655f4456 Implement toLowerCase and toUpperCase built-in functions.
Related issue: #323

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-07-14 07:01:47 -07:00
Zoltan Herczeg 06b4490ea1 Optimize encode/decode URI for valid UTF-8 input.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-07-07 04:50:01 -07:00
Zoltan Herczeg d1a5f7fc87 Implement JSON built-in object
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-07-07 04:39:39 -07:00
Zoltan Herczeg 6027906f96 Add support for URI encoding / decoding.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
2015-06-18 19:05:45 +02:00