Commit Graph
30 Commits
Author SHA1 Message Date
Roland Takacs f8e97c6c02 Use concrete types instead of 'auto'.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-09 13:37:12 +01:00
Roland Takacs cd6ff690d0 Add missing parentheses for bit operations where type cast is used.
Fix for #853. These modifications are required by gcc 4.9 or above.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-09 13:29:41 +01:00
Roland Takacs 6608cc4b7d Move jerry_port functions into jerry-core.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-09 13:07:29 +01:00
Roland Takacs 0219f37dcc Remove template expression from jerry_ref_unused_variables.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-05 14:00:44 +01:00
Roland Takacs a45976bca6 Use packed attribute for enums to modify their type.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-05 13:22:42 +01:00
Roland Takacs efc994b112 Use C type casting instead of static_cast.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-05 12:59:14 +01:00
Roland Takacs 764d74561d Remove the placement 'new' operator.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-05 12:50:38 +01:00
Roland Takacs 3f5451423c Add lit_storage prefix for functions in lit-literal-storage.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-05 12:43:30 +01:00
Roland Takacs d60bd93da3 Use 'const' instead of 'constexpr'.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-02-05 11:00:25 +01:00
Roland Takacs 70a67797d2 Refactor opcodes-dumper to not use C++ features.
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-01-20 10:58:06 +01:00
Roland Takacs 21f561f8ef Refactor literal-storage to not use C++ features
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2016-01-13 15:19:07 +01:00
Roland Takacs 6f77460509 Replace recursions with iterations in the linked_list data structure
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-10-05 14:30:29 +02:00
Roland Takacs cc4283b945 Fix assertion 'mem_pools == NULL' fail in JSON.stringify
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-19 08:32:25 +02:00
Roland Takacs c4b1f02947 Fix assertion 'ret_value == ecma_make_empty_completion_value ()' fail in JSON.stringify()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-11 18:29:11 +02:00
Roland Takacs f10a48df96 Fix assertion 'mem_pools == NULL' failed in Function.constructor
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-10 11:29:51 +02:00
Roland Takacs ff580ca33e Use ecma-collection in JSON.
The simple list data structure has been replaced with ecma-collection in the JSON object.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-08-07 13:35:52 +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
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
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
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
Roland Takacs 336db40ed0 Segmentation fault in JSON.stringify()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-07-27 15:29:55 +02:00
Roland Takacs ed16f09019 Implement Date.prototype.toJSON()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-07-24 12:50:02 +02:00
Roland Takacs 63083b3b51 Implement date.prototype.toISOString() and date.prototype.toUTCString()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-07-22 15:42:49 +03:00
Roland Takacs dcc704d1e8 Add missing case for backspace control character in JSON.parse()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-07-15 16:17:56 +03:00
Roland Takacs 8aeb2a055e Fix underflow in JSON.stringify()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-07-15 16:09:51 +03:00
Roland Takacs 292d99ba4e Fix assertion 'bytes_copied > 0' in JSON.stringify()
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]
2015-07-15 13:48:11 +03:00