1. 11 3月, 2021 1 次提交
  2. 09 9月, 2020 1 次提交
  3. 03 10月, 2019 1 次提交
  4. 12 9月, 2019 1 次提交
    • R
      Rework ecma collection (#3086) · fc30f003
      Robert Fancsik 提交于
      After this patch the ecma value collection is a resizable buffer of ecma-values where the adjacent elements are allocated next to each other.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      fc30f003
  5. 05 9月, 2019 1 次提交
  6. 30 8月, 2019 1 次提交
  7. 28 8月, 2019 1 次提交
    • R
      Optimize ecma_builtin_helper_def_prop. (#3007) · ee1da145
      Robert Fancsik 提交于
      This patch removes the ecma_property_descriptor_t structure bitfields and substitutes it with an uint16_t flag field
      to reduce the cost of the transformation from/into the ecma_property_flags_t.
      Also the is_throw last arguments is embedded to the property descriptor structure during the property defining process to reduce the number of arguments of the function.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      ee1da145
  8. 26 8月, 2019 1 次提交
    • R
      Eliminate ECMA_TRY_CATCH macros part I. (#3006) · b47c36ad
      Robert Fancsik 提交于
      Also this patch introduces several helper function to find/put/delete properties by indexed property names to reduce code duplications.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      b47c36ad
  9. 24 6月, 2019 2 次提交
  10. 12 4月, 2019 1 次提交
    • M
      Increase branch coverage: Array.prototype functions (#2796) · 09d8793e
      Mate Dabis 提交于
      Added new test cases to improve branch coverage in Array.prototype routines.
      
      The following script is made for testing branch coverage with all the test suites (--jerry-test-suite --test262 --unittests --jerry-tests), or with only one .js file.
      
      https://github.com/matedabis/jerryscript/blob/gcov_coverage_tester/tests/gcov-tests/gcovtester.py
      
      While measuring the branch coverage we dont count JERRY_ASSERT s. The results are measured by running all the test scripts, with the modifications in the PRs.
      
      Branch coverage including pando-project#2682 and pando-project#2674:
      	-before: 399 / 476
      	-after:  472 / 476
      
      There are 28 functions in ecma-builtin-array-prototype.c, we hit 14 from them.
      The other 14 functions are either already covered, or we could not improve the coverage of it.
      
      More information about the coverage improvement and the branches not reached:
      https://gist.github.com/matedabis/d7b9fc0690aa2f4be6aa160fdf482e0e
      
      While improving the coverage we found an unnecessary condition check, which can not be false in any cases.
      
      Co-authored-by: Csaba Repasi repasics@inf.u-szeged.hu
      JerryScript-DCO-1.0-Signed-off-by: Csaba Repasi repasics@inf.u-szeged.hu
      JerryScript-DCO-1.0-Signed-off-by: Mate Dabis mdabis@inf.u-szeged.hu
      09d8793e
  11. 09 4月, 2019 1 次提交
    • P
      Rework usages/naming of configuration macros [part 1] (#2793) · 40f7b1c2
      Péter Gál 提交于
      There are quite a few configuration macros in the project.
      As discussed in the #2520 issue there are a few awkward constructs.
      
      Main changes:
      
      * Renamed all CONFIG_DISABLE_<name>_BUILTIN macro to JERRY_BUILTIN_<name> format.
      * The special JERRY_BUILTINS macro specifies the basic config for all es5.1 builtins.
      * Renamed all CONFIG_DISABLE_ES2015_<name> to JERRY_ES2015_<name> format.
      * The special JERRY_ES2015 macro specifies the basic config for all es2015 builtins.
      * Renamed UNICODE_CASE_CONVERSION to JERRY_UNICODE_CASE_CONVERSION.
      * Renamed ENABLE_REGEXP_STRICT_MODE to JERRY_REGEXP_STRICT_MODE.
      * All options (in this change) can have a value of 0 or 1.
      * Renamed ENABLE_REGEXP_STRICT_MODE to JERRY_REGEXP_STRICT_MODE.
        JERRY_REGEXP_STRICT_MODE is set to 0 by default.
      * Reworked CONFIG_ECMA_NUMBER_TYPE macro to JERRY_NUMBER_TYPE_FLOAT64 name and now
        it uses the value 1 for 64 bit floating point numbers and 0 for 32 bit floating point
        number.
        By default the 64-bit floating point number mode is enabled.
      * All new JERRY_ defines can be used wit the `#if ENABLED (JERRY_...)` construct to
        test if the feature is enabled or not.
      * Added/replaced a few config.h includes to correctly propagate the macro values.
      * Added sanity checks for each macro to avoid incorrectly set values.
      * Updated profile documentation.
      * The CMake feature names are not updated at this point.
      
      JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
      40f7b1c2
  12. 13 2月, 2019 1 次提交
  13. 08 2月, 2019 1 次提交
  14. 12 12月, 2018 1 次提交
  15. 15 11月, 2018 1 次提交
  16. 07 11月, 2018 1 次提交
  17. 25 10月, 2018 1 次提交
    • R
      Implement ES2015 class feature (part II.) (#2439) · d1860d0e
      Robert Fancsik 提交于
      This patch is the second milestone of the implementation of this new language element.
      
      Supported:
       - Single class inheritance
       - Functionality of 'super' keyword
       - Implicit constructor in class heritage
       - Specific behaviour while extending with the built-in 'Array' or '%TypedArray%' object
       - Abstract subclasses (Mix-ins)
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      d1860d0e
  18. 22 8月, 2018 1 次提交
  19. 06 6月, 2018 1 次提交
  20. 18 5月, 2018 1 次提交
  21. 15 5月, 2018 1 次提交
    • P
      Remove usage of comma operator in array prototype · 86111acb
      Peter Gal 提交于
      There was a typo in the `ecma_builtin_array_prototype_helper_set_length`
      method as the comma operator was used to close the statement, incorrectly
      
      JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
      86111acb
  22. 19 4月, 2018 1 次提交
  23. 13 4月, 2018 1 次提交
  24. 05 3月, 2018 1 次提交
  25. 01 3月, 2018 1 次提交
  26. 07 2月, 2018 1 次提交
  27. 10 1月, 2018 1 次提交
    • Z
      Rework ecma collection. (#2153) · b9560b7c
      Zoltan Herczeg 提交于
      Greatly simplify the iterator part and make it compatible with 32 bit cpointers.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      b9560b7c
  28. 19 12月, 2017 1 次提交
    • Z
      Optimize string concatenation. (#2141) · a2d3ea61
      Zoltan Herczeg 提交于
      This patch adds two new string concatenation functions:
      ecma_append_chars_to_string and ecma_append_magic_string_to_string
      
      The former appends a cesu8 byte array and the latter appends a magic string
      to the end of an ecma-string. These two free (dereference) their ecma-string
      argument, and this change is also applied to the original ecma_concat_ecma_strings
      function which simplifies string handling in most cases.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      a2d3ea61
  29. 07 12月, 2017 1 次提交
    • R
      Remove ecma_simple_value_t and refactor ecma_make_simple_value (#2135) · e83de3ac
      Robert Fancsik 提交于
      This patch removes all ecma_make_simple_value calls to make the code more easy to understand.
      Also removes the type ecma_simple_value_t which improves the performance in related code paths by calculating the value of new ecma_value_t is no longer needed.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      e83de3ac
  30. 06 12月, 2017 1 次提交
  31. 13 7月, 2017 1 次提交
  32. 22 2月, 2017 1 次提交
  33. 08 12月, 2016 1 次提交
    • T
      Streamline copyright notices across the codebase. (#1473) · 0511091e
      Tilmann Scheller 提交于
      Since the project is now hosted at the JS Foundation we can move to unified copyright notices for the project.
      
      Starting with this commit all future contributions to the project should only carry the following copyright notice (except for third-party code which requires copyright information to be preserved):
      
      "Copyright JS Foundation and other contributors, http://js.foundation" (without the quotes)
      
      This avoids cluttering the codebase with contributor-specific copyright notices which have a higher maintenance overhead and tend to get outdated quickly. Also dropping the year from the copyright notices helps to avoid yearly code changes just to update the copyright notices.
      
      Note that each contributor still retains full copyright ownership of his/her contributions and the respective authorship is tracked very accurately via Git.
      
      JerryScript-DCO-1.0-Signed-off-by: Tilmann Scheller t.scheller@samsung.com
      0511091e
  34. 22 11月, 2016 1 次提交
  35. 07 11月, 2016 1 次提交
    • Z
      All strings whose are valid array indicies always use the UINT32_IN_DESC format. (#1422) · 9f556e1c
      Zoltan Herczeg 提交于
      This patch reduces memory consumption for strings such as "0" or "123"
      by 8 bytes and "4294967295" by 16 bytes. The hash computation is changed
      for using the lower 16 bits for these strings which is much faster than
      converting the value to string first and compute the hash. The trade-of
      is a small overhead when strings are created or concatenated.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      9f556e1c
  36. 09 9月, 2016 1 次提交
    • Z
      Remove several ecma_op_object_get_[own_]property calls. · da02a37a
      Zoltan Herczeg 提交于
      The ecma_op_object_get_[own_]property calls should be phased out from
      the project eventually and virtual properties should be introduced instead.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      da02a37a
  37. 05 8月, 2016 1 次提交
    • R
      Remove compact profile. · f15e7bea
      Robert Sipka 提交于
      The standard doesn't defines ECMAScript Compact Profile as a subset of Ecma-262 Edition 5.1.
      Profile modes can be added easily like the minimal profile if required.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
      f15e7bea
  38. 14 7月, 2016 1 次提交
    • Z
      Improve the construction of "length" built-in strings. · 6f1ce8d6
      Zoltan Herczeg 提交于
      The "length" property name is the most frequently used built-in string
      and also frequently created by various hot-paths. New functions are
      added to improve the speed of the "length" string creation.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      6f1ce8d6
  39. 16 6月, 2016 1 次提交