1. 11 3月, 2021 1 次提交
  2. 09 9月, 2020 1 次提交
  3. 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
  4. 16 1月, 2019 1 次提交
    • R
      Implement the Symbol builtin object (#2601) · 7e3d688e
      Robert Fancsik 提交于
      This patch contains the base functionalities that the new builtin object requires.
      
      Currently unavailable:
       - print (Symbol('foo')) - this features requires the refactor of the print handler function
       - Several global symbol based builtin routines (follow up patch)
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      7e3d688e
  5. 23 3月, 2017 1 次提交
    • A
      Factor out common macro un/definitions used for built-in descriptions (#1678) · 4a5df52a
      Akos Kiss 提交于
      The default definitions and undefinitions of macros used for built-in
      descriptions (SIMPLE_VALUE, NUMBER_VALUE, STRING_VALUE, OBJECT_VALUE,
      ROUTINE, ACCESSOR_READ_WRITE, ACCESSOR_READ_ONLY) are heavily cloned
      all over the builtin-objects directory. This commit factors them out
      into two header files, which are then included in the place of the
      clones. This way, maintenance becomes a lot easier: e.g., if a new
      macro gets introduced, default definition and undefinition don't have
      to be added to all description files (of which there are 56 right now,
      and their number will most probably just grow).
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      4a5df52a
  6. 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
  7. 14 1月, 2016 1 次提交
  8. 18 2月, 2015 1 次提交
  9. 17 2月, 2015 1 次提交
  10. 14 2月, 2015 2 次提交
    • R
    • R
      Jerry is now split to several components: core, libc, plugins. · 43ea53b1
      Ruben Ayrapetyan 提交于
      The components are build independently and then are linked with main module corresponding to target platform.
      Core is supposed to be platform-independent, while libc and plugins are dependent on specific architecture / platform.
      
      The commit disables unit tests building and running during precommit.
      That is supposed to be fixed in a subsequent commit.
      
      Also, the commit disables building and running valgrind targets during precommit.
      Build is supposed to be turned on by an option that should be introduced later.
      Valgrind-checked runs are supposed to be performed in asynchronous mode.
      43ea53b1
  11. 11 2月, 2015 2 次提交
    • R
      Splitting main.cpp into jerry.cpp, main_linux.cpp and main_mcu.cpp; leaving... · ccc0453f
      Ruben Ayrapetyan 提交于
      Splitting main.cpp into jerry.cpp, main_linux.cpp and main_mcu.cpp; leaving __TARGET* defines usage only in jrt and plugins.
      ccc0453f
    • R
      Refinement of project structure. · 718bbe26
      Ruben Ayrapetyan 提交于
       - components renaming and moving:
         - liballocator -> mem;
         - libcoreint -> vm;
         - libecmaobjects -> ecma/base;
         - libecmaoperations -> ecma/operations;
         - libecmabuiltins -> ecma/builtins;
         - libjsparser -> parser/js;
         - libintstructs -> parser/collections;
         - liboptimizer -> parser/js;
         - libperipherals -> ../plugins/lib_device_stm;
         - libruntime -> jrt;
       - generated.h now is created as intermediate during build;
       - benchmarks -> tests/benchmarks;
       - docs -> documentation;
       - demo-applications removed (loop_demo.js -> tests/blinky.js).
      718bbe26
  12. 12 8月, 2014 1 次提交
  13. 25 7月, 2014 1 次提交
  14. 03 7月, 2014 1 次提交
  15. 02 7月, 2014 1 次提交
  16. 01 7月, 2014 1 次提交