Commit Graph

  • 122e5c47c9 Fix assertion in RegExp bytecode realloc. László Langó 2015-07-10 10:10:32 +02:00
  • 9b24d8fd7a Implement Date.prototype.toString László Langó 2015-07-07 15:42:16 +02:00
  • 6e8f7b6e59 Assertion fix in RegExp. László Langó 2015-07-09 11:41:17 +02:00
  • dbf3708255 Fix concatenating of surrogates. Andrey Shitov 2015-07-09 18:27:23 +03:00
  • 9fc1958903 Fix the builtin Math.min and Math.max function Kristof Kosztyo 2015-07-08 11:12:08 +02:00
  • 8d7cdebee0 Implement builtin getters for Date object Szilard Ledan 2015-06-24 11:06:08 +02:00
  • 6547cf3b2d JerryScript-DCO-1.0-Signed-off-by: Ilya Lopatin lopic19@gmail.com Ilya Lopatin 2015-07-09 04:32:42 -07:00
  • 9c18648b6c Fix build for GCC 4.7. Evgeny Gavrin 2015-07-09 15:26:10 +03:00
  • a26832f3c9 Fix strip handling for cross build configurations. Evgeny Gavrin 2015-07-09 15:25:21 +03:00
  • d5fd0b09b1 Properly process Use Strict which contains EscapeSeqence or LineContinuation. Andrey Shitov 2015-07-08 17:01:53 +03:00
  • 17cdc35d6d Fix detection of Use Strict directive not in the start of Directive Prologue. Andrey Shitov 2015-07-08 13:52:05 +03:00
  • 146ac15b5f Change locus type from size_t to lit_utf8_iterator_pos_t. Andrey Shitov 2015-07-05 23:13:12 +03:00
  • 7dd1d01541 Replace character constants with corresponding LIT_CHAR_* definitions in lexer_parse_token (renamed from lexer_next_token_private); replace remaining character constants in lexer with corresponding LIT_CHAR_* definitions. Ruben Ayrapetyan 2015-07-05 22:43:38 +03:00
  • e45f6dc61b Replace punctuator character constants with corresponding LIT_CHAR_* definitions in lexer_next_token_private. Ruben Ayrapetyan 2015-07-05 23:27:40 +03:00
  • 23b847015c Support unicode whitespace and line terminators in lexer, fix parse of comments. Ruben Ayrapetyan 2015-07-05 23:27:14 +03:00
  • 32094622ec Replace character constants with corresponding LIT_CHAR_* definitions in lexer_parse_regexp (renamed from parse_regexp). Ruben Ayrapetyan 2015-07-05 22:34:11 +03:00
  • 7664bc161b Replace character constants with corresponding LIT_CHAR_* defines in lexer_parse_string (renamed from parse_string). Ruben Ayrapetyan 2015-07-05 22:29:50 +03:00
  • 1711416e2e Simplify lexer_parse_number (parse_number) and add unicode support to the function. Ruben Ayrapetyan 2015-07-05 22:27:54 +03:00
  • baf3748d1b Support unicode in lexer_parse_identifier_name_or_keyword (renamed from parse_name). Ruben Ayrapetyan 2015-07-05 22:23:29 +03:00
  • 6432e4d7cf Replace convert_string_to_token_transform_escape_seq with lexer_transform_escape_sequences that outputs transformed charset to specified buffer, instead of creating token from the charset. Ruben Ayrapetyan 2015-07-05 23:19:38 +03:00
  • b5d30de4d7 Rename decode_keyword to lexer_parse_reserved_word and change it so that it doesn't return TOK_NAME, but empty token instead. Ruben Ayrapetyan 2015-07-05 23:18:53 +03:00
  • 32318137c3 Switch lexer to utf8 iterators. Andrey Shitov 2015-07-03 22:03:03 +03:00
  • d248d0944c Add helper functions for implementing unicode support in lexer. Andrey Shitov 2015-07-03 21:41:03 +03:00
  • c21399cd58 Fix ecma_date_parse_date_chars: lit_char_is_unicode_digit -> lit_char_is_decimal_digit. Ruben Ayrapetyan 2015-07-08 15:17:54 +03:00
  • afe58e90ae Add lit_char_is_octal_digit, lit_char_is_decimal_digit, lit_char_is_hex_digit helpers. Ruben Ayrapetyan 2015-07-08 15:17:41 +03:00
  • 393d693e23 Introduce 'USE_COMPILER_DEFAULT_LIBC' for switching from jerry-libc to a libc, provided by compiler. Ruben Ayrapetyan 2015-07-08 01:09:08 +03:00
  • 6d86c4b2e1 Implement String.prototype.substring() Laszlo Vidacs 2015-06-26 14:05:42 +02:00
  • ddc3f0d6e8 Remove nuttx from prerequisites. Evgeny Gavrin 2015-07-08 13:06:35 +03:00
  • 5e0a355ab9 Implement printing in the specified radix for Number.prototype.toString(). Dániel Bátyai 2015-06-09 13:03:57 +02:00
  • c12914c71a Implement Date constructor. László Langó 2015-07-06 12:28:26 +02:00
  • bf6fa9cfca Add JERRY_DISABLE_HEAVY_DEBUG region to mem_heap_get_chunked_block_start. Evgeny Gavrin 2015-07-07 20:39:07 +03:00
  • 632618da99 Implement String.prototype.charAt() Laszlo Vidacs 2015-07-06 19:08:38 +02:00
  • 01c4325588 Remove empty unneeded file. Evgeny Gavrin 2015-07-07 20:49:02 +03:00
  • 6a4565c891 Fix resource leak at main-linux.cpp:read_sources. Evgeny Gavrin 2015-07-07 20:40:36 +03:00
  • 69bfcea697 Move of built-in implementation helpers to jerry-core/ecma/builtin-objects Zsolt Borbély 2015-07-07 14:52:07 +02:00
  • 3c4c5452dd Add length property to Array constructor Dániel Bátyai 2015-07-06 15:45:49 +02:00
  • 9402e3d59c Fix [[Class]] property of builtin constructors Dániel Bátyai 2015-07-07 13:34:50 +02:00
  • 4f108ab401 Implement Date.UTC and add a dummy implementation for Date.now László Langó 2015-07-03 10:04:29 +02:00
  • 06b4490ea1 Optimize encode/decode URI for valid UTF-8 input. Zoltan Herczeg 2015-07-06 23:40:57 -07:00
  • d1a5f7fc87 Implement JSON built-in object Zoltan Herczeg 2015-07-07 00:57:21 -07:00
  • cadc8f40d4 Implement Date.parse László Langó 2015-07-02 08:57:01 +02:00
  • 2bfb9b9ae4 Fix ecma_op_array_object_define_own_property Kristof Kosztyo 2015-07-06 14:20:19 +02:00
  • e9a5b34d1d Assertion fix for missing class names. László Langó 2015-07-06 12:45:05 +02:00
  • 47cd42ecc5 Fix Number.prototype.toFixed if argument is outside int32 range Dániel Bátyai 2015-07-06 15:17:27 +02:00
  • 4e5e7bb4c8 Set global object's prototype Peter Gal 2015-07-03 17:27:01 +02:00
  • e154156cf4 Fix element indexing for Object.keys/Object.getOwnPropertyNames Peter Gal 2015-07-03 19:47:56 +02:00
  • c9bbec7683 Fix assert in ecma_op_function_declaration Peter Gal 2015-07-03 19:17:55 +02:00
  • 93e3cb13dd Fix jmp_buf size to fix assert in arm-linux Related issue: #296 SaeHie Park 2015-07-03 11:07:42 +09:00
  • ae3eea8ae8 Add functions for iterating utf-8 strings. Andrey Shitov 2015-07-01 23:33:39 +03:00
  • 0787d76b62 Fix generation of empty completion value in ecma_reject_put. Evgeny Gavrin 2015-07-01 17:20:23 +03:00
  • 69fe6199c0 Add syntax check for return from global scope/eval. Evgeny Gavrin 2015-07-01 19:59:33 +03:00
  • e8659f373c Rename ECMA_CHAR_NULL to LIT_CHAR_NULL, move it to jerry-core/lit/lit-char-helpers.h. Ruben Ayrapetyan 2015-07-02 16:39:35 +03:00
  • 2a78d24fce Add preprocessor definitions for various character codes, referenced in ECMA-262, and helpers for checking if a character falls into a ECMA-defined character category; remove lit_char_is_carriage_return and lit_char_is_new_line helpers. Ruben Ayrapetyan 2015-07-01 21:57:15 +03:00
  • 7d53133fcb Add unicode characters ranges, listed per category. Ruben Ayrapetyan 2015-07-01 20:31:44 +03:00
  • c37964f7a9 Move helpers from ecma-helpers-char.cpp to lit-char-helpers.cpp, rename them correspondingly. Ruben Ayrapetyan 2015-06-30 21:17:01 +03:00
  • 017aa6b684 Change Date helpers to handle NaN Szilard Ledan 2015-07-01 16:55:32 +02:00
  • 56e7ead9f9 Fix build for GCC 4.7. Evgeny Gavrin 2015-07-01 20:52:37 +03:00
  • 1b55630b2a Add parallel test262 runner. Evgeny Gavrin 2015-07-01 10:03:50 +03:00
  • 0c7801b996 Fix setup of argument variables in case parameter names are duplicated. Ruben Ayrapetyan 2015-06-30 01:08:27 +03:00
  • 134491453b Fix ecma_op_get_value_object_base (GetValue, 8.7.1) for case HasPrimitiveBase (ref) is true. Ruben Ayrapetyan 2015-06-29 01:43:46 +03:00
  • b45302ee07 Fix propagation of strict mode. Ruben Ayrapetyan 2015-06-29 23:59:13 +03:00
  • 438d2c2930 Fix ecma-property construction: perform operations that could invoke GC before linking property into an object's property list to avoid start of GC in the middle of property construction. Ruben Ayrapetyan 2015-06-28 22:46:17 +03:00
  • 713b433c42 Implement Number.prototype.toPrecision() Dániel Bátyai 2015-07-01 11:15:18 +02:00
  • 53cbb55f25 Implement Number.prototype.toExponential() Dániel Bátyai 2015-07-01 10:49:24 +02:00
  • 505beadfeb Fix failing prerequisites script. Evgeny Gavrin 2015-06-30 20:17:01 +03:00
  • 71bac03d51 Fix construction of Arguments object: add handler for 'caller' property that throws TypeError upon read or write access. Ruben Ayrapetyan 2015-06-29 22:30:47 +03:00
  • ec02ace0e9 Fix syntax check for duplicate parameter names in a strict mode function. Ruben Ayrapetyan 2015-06-30 00:11:04 +03:00
  • 444bd32d50 Add support of cross-compilation for linux-based targets. Evgeny Gavrin 2015-06-30 14:45:07 +03:00
  • be2de16a4e Fix build error using GCC 4.7.4 Evgeny Gavrin 2015-06-29 20:47:15 +03:00
  • 4870550c8a Fix false-positive unexpected EOF in preparse_scope. Ruben Ayrapetyan 2015-06-30 14:33:48 +03:00
  • 0422e2230d Fix syntax check for case 'eval' or 'arguments' identifiers are used for name of function in strict mode. Ruben Ayrapetyan 2015-06-29 23:42:49 +03:00
  • 7b90d54490 Fix raise of several nested jumpable borders at one label. Ruben Ayrapetyan 2015-06-29 19:01:47 +03:00
  • 2aa04859ef Fix handling of an exception raised during arguments list evaluation. Ruben Ayrapetyan 2015-06-29 22:58:45 +03:00
  • 3206a16923 Update footer. Sung-Jae Lee 2015-06-30 10:58:49 +09:00
  • fd9ff8e3bd Add core unicode functionality. Andrey Shitov 2015-06-29 19:17:17 +03:00
  • c4b0cd2196 Change ecma_length_t and jerry_api_length_t from uint16_t to uint32_t. Andrey Shitov 2015-06-29 18:37:27 +03:00
  • a0c5974ab8 Move char type definitions and magic string processing functions to literal component. Andrey Shitov 2015-06-29 17:57:10 +03:00
  • 07148d319b Implement Date object helper functions Szilard Ledan 2015-06-17 10:43:32 +02:00
  • a56693e00c Fix syntax error check for assignment of 'eval' and 'arguments' in strict mode code. Ruben Ayrapetyan 2015-06-29 02:09:51 +03:00
  • 984e269db6 Fix direct call to eval from strict mode code. Ruben Ayrapetyan 2015-06-28 22:26:50 +03:00
  • 6573ffd632 Fix several issues in parse of variable declarations. Ruben Ayrapetyan 2015-06-29 00:51:36 +03:00
  • 9e3f123cd5 Fix character code values for "<LF>" and "<CR>" characters in ecma-char helpers. Ruben Ayrapetyan 2015-06-29 17:08:19 +03:00
  • 3d31bfec92 Fix parse of nested switch statements. Ruben Ayrapetyan 2015-06-28 22:03:20 +03:00
  • 6e2733dbfd Reduce register pressure by reusing registers, allocated for argument preparation instruction sequence. Ruben Ayrapetyan 2015-06-28 17:59:50 +03:00
  • dc095bb902 Enhancement of argument list parsing loop: removing break / continue operators, so that every iteration passes start and end of loop body. Ruben Ayrapetyan 2015-06-28 17:42:19 +03:00
  • 1dc7ed64d6 Fix get_variable_value invocation in opfunc_call_n; enhancement of exception handling in opfunc_obj_decl. Ruben Ayrapetyan 2015-06-28 16:49:25 +03:00
  • 2f9f4dba85 Fix invalid link in 'Internals' page. Sung-Jae Lee 2015-06-29 19:42:18 +09:00
  • 06dffdec8f Remove exit completion value type. Ruben Ayrapetyan 2015-06-28 15:03:36 +03:00
  • 447358cd4a Remove intrinsics support from parser. Ruben Ayrapetyan 2015-06-28 14:28:05 +03:00
  • 3e86875333 Fix incorrect assertion ecma_op_from_property_descriptor. Evgeny Gavrin 2015-06-28 19:53:29 +03:00
  • 5a4c30bbd4 Fix Evgeny Gavrin 2015-06-26 20:52:39 +03:00
  • 507411f0a0 Implement parse of for-in statement. Ruben Ayrapetyan 2015-06-25 01:20:31 +03:00
  • b988fe2fce Introduce for-in opcode; implement handler for the opcode. Ruben Ayrapetyan 2015-06-23 19:03:21 +03:00
  • 6c6e740c7a Fix check of run scope bounds in vm_loop. Ruben Ayrapetyan 2015-06-25 20:06:07 +03:00
  • 9b414deb8d Introduce explicit description of registers (temporary variables) ranges. Ruben Ayrapetyan 2015-06-23 19:01:33 +03:00
  • 209b565e55 Fix style Evgeny Gavrin 2015-06-26 20:06:05 +03:00
  • 772d72c073 Fix style Evgeny Gavrin 2015-06-26 20:05:36 +03:00
  • 9b2663a889 . Evgeny Gavrin 2015-06-26 18:08:30 +03:00
  • 18cc78cb69 Fix english Evgeny Gavrin 2015-06-26 18:01:27 +03:00
  • 41ce1eac12 Fix text and styles. Evgeny Gavrin 2015-06-26 17:59:06 +03:00