1. 11 3月, 2021 1 次提交
  2. 09 9月, 2020 1 次提交
  3. 30 9月, 2019 1 次提交
  4. 19 6月, 2019 1 次提交
    • P
      Rework usages/naming of configuration macros [part 2] (#2903) · 01ecc7bb
      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:
      
      * The following macros are now 0/1 switches:
      ** Renamed CONFIG_ECMA_LCACHE_DISABLE to JERRY_LCACHE.
      ** Renamed CONFIG_ECMA_PROPERTY_HASHMAP_DISABLE to JERRY_PROPERTY_HASHMAP.
      ** Renamed CONFIG_DISABLE_UNICODE_CASE_CONVERSION to JERRY_UNICODE_CASE_CONVERSION.
      ** Renamed ENABLE_REGEXP_STRICT_MODE to JERRY_REGEXP_STRICT_MODE.
      ** Renamed JERRY_DISABLE_JS_PARSER to JERRY_PARSER.
      ** Renamed JERRY_ENABLE_ERROR_MESSAGES to JERRY_ERROR_MESSAGES.
      ** Renamed JERRY_ENABLE_EXTERNAL_CONTEXT to JERRY_EXTERNAL_CONTEXT.
      ** Renamed JERRY_ENABLE_LINE_INFO to JERRY_LINE_INFO.
      ** Renamed JERRY_ENABLE_LOGGING to JERRY_LOGGING.
      ** Renamed JERRY_ENABLE_SNAPSHOT_EXEC to JERRY_SNAPSHOT_EXEC.
      ** Renamed JERRY_ENABLE_SNAPSHOT_SAVE to JERRY_SNAPSHOT_SAVE.
      ** Renamed JERRY_SYSTEM_ALLOCATOR to JERRY_SYSTEM_ALLOCATOR.
      ** Renamed JERRY_VM_EXEC_STOP to JERRY_VM_EXEC_STOP.
      ** Renamed JMEM_GC_BEFORE_EACH_ALLOC to JERRY_MEM_GC_BEFORE_EACH_ALLOC.
      ** Renamed JMEM_STATS to JERRY_MEM_STATS.
      ** Renamed PARSER_DUMP_BYTE_CODE to JERRY_PARSER_DUMP_BYTE_CODE.
      ** Renamed REGEXP_DUMP_BYTE_CODE to JERRY_REGEXP_DUMP_BYTE_CODE.
      * Recursion check changes:
      ** Renamed REGEXP_RECURSION_LIMIT to JERRY_REGEXP_RECURSION_LIMIT.
      ** Renamed VM_RECURSION_LIMIT to JERRY_VM_RECURSION_LIMIT.
      * Attribute macro changes:
      ** Renamed JERRY_CONST_DATA to JERRY_ATTR_CONST_DATA.
      ** Renamed JERRY_HEAP_SECTION_ATTR to JERRY_ATTR_GLOBAL_HEAP.
        Now the macro can specify any attribute for the global heap object.
      * Other macro changes:
      ** Renamed CONFIG_MEM_HEAP_AREA_SIZE to JERRY_GLOBAL_HEAP_SIZE.
         Then new macro now specify the global heap size in kilobytes.
      * Updated documentations to reflect the new macro names.
      
      For more deatils please see jerry-core/config.h.
      
      JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
      01ecc7bb
  5. 10 9月, 2018 1 次提交
  6. 31 8月, 2018 1 次提交
    • A
      Merge lcache into context (#2498) · 6049c037
      Akos Kiss 提交于
      It is superfluous to maintain multiple globals when the whole
      reason of context is to keep them in a single place. It also
      simplifies initialization and external context creation a bit.
      
      Also removed unused lcache header includes.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      6049c037
  7. 16 12月, 2016 2 次提交
    • T
      Add parameter names to function declarations. (#1498) · 65c32f6a
      Tilmann Scheller 提交于
      It's generally considered a bad programming practice to have function declarations without parameter names.
      
      This is another legacy from the early days of the project. Fix in one go to minimize history disruption.
      
      Used a custom clang-tidy check to create the bulk of the change.
      
      JerryScript-DCO-1.0-Signed-off-by: Tilmann Scheller t.scheller@samsung.com
      65c32f6a
    • T
      Remove redundant extern keywords from function declarations/definitions. (#1495) · 1e99be90
      Tilmann Scheller 提交于
      Extern keywords on function declarations/definitions provide no additional value since function declarations/definitions default to external linkage in C99, e.g. removing them won't change the semantics of the program.
      
      The extern keywords were essentially a legacy from the early days of the project. This commit cleans this up across the whole codebase in one go to minimize history disruption.
      
      The bulk of the changes in this commit were produced by a custom clang-tidy checker.
      
      Note that variables declarations carrying the extern keyword are untouched by this commit since there the presence of the keyword actually has an impact on the semantics of the program.
      
      JerryScript-DCO-1.0-Signed-off-by: Tilmann Scheller t.scheller@samsung.com
      1e99be90
  8. 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
  9. 25 11月, 2016 1 次提交
    • Z
      Reduce memory consumption of property names. · 6d67b8df
      Zoltan Herczeg 提交于
      Property names were always required a string reference which consumed
      a large amount of memory for arrays. This patch reduces this consumption
      by directly storing the value part of certain strings.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      6d67b8df
  10. 02 6月, 2016 1 次提交
    • Z
      Optimize LCache operation. · 5c852ab6
      Zoltan Herczeg 提交于
      The cache stores only real properties now, because storing NULLs has
      little benefit according to tests. Since only real properties are
      stored now, there is no need to create real references to objects
      and property names, which reduces the keeping of dead objects after
      garbage collection.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      5c852ab6
  11. 10 3月, 2016 1 次提交
    • A
      Unify the naming scheme of all header defines · 7a07e554
      Akos Kiss 提交于
      There have been several renamings of header files but the
      ifndef/define/endif preprocessor directives did not always follow
      the file name changes (or perhaps never followed a unified naming
      scheme). This patch gets all headers aligned with the style of the
      majority.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      7a07e554
  12. 28 9月, 2015 1 次提交
  13. 18 2月, 2015 1 次提交
  14. 14 2月, 2015 1 次提交
  15. 11 2月, 2015 1 次提交
    • 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
  16. 09 2月, 2015 1 次提交
    • R
      Reverting changes related to on-stack GC-root introduction (except of passing... · ba348831
      Ruben Ayrapetyan 提交于
      Reverting changes related to on-stack GC-root introduction (except of passing ecma_value_t by const reference).
      
      This reverts commits:
           31e1405f39d72f8b885e92256b0dc29ecab1a99,
           7cb43840b59c539d9b043990ed658ae15a9defc3,
           1ab57a4493689806035a9853b0030cc6fea65590,
           c24b511ca60587e0db12d46a7e7567c86c3649bc,
           b2caf3e8b31b4b6b16499108ee3aabdcb94f0717,
           44f9c307fb6204bfd2181b19a9d94cabddf04de9.
      ba348831
  17. 04 2月, 2015 1 次提交
  18. 17 11月, 2014 1 次提交
  19. 20 10月, 2014 1 次提交
  20. 19 9月, 2014 1 次提交
  21. 18 9月, 2014 1 次提交
  22. 29 8月, 2014 1 次提交
  23. 18 8月, 2014 1 次提交
  24. 11 8月, 2014 3 次提交
  25. 07 8月, 2014 1 次提交
  26. 30 7月, 2014 1 次提交
  27. 23 7月, 2014 1 次提交
  28. 22 7月, 2014 1 次提交
  29. 21 7月, 2014 1 次提交
  30. 18 7月, 2014 1 次提交
  31. 15 7月, 2014 1 次提交
    • R
      Renaming ecma_Object_t::u_Attributes to u. · 4395da05
      Ruben Ayrapetyan 提交于
      Renaming ecma_CompletionValue_t:: completion_type to type, completion_value to value.
      Introducing ECMA_TARGET_ID_RESERVED value of ecma_CompletionValue_t::target when it is unused.
      Adding ecma_Reference_t type for ECMA-reference.
      Introducing some constructors and helpers for ecma-values.
      Introducing ecma_FindNamedProperty helper.
      Removing ecma_SyntacticReference_t type.
      Implementing ecma operation GetIdentifierReference.
      Stubs and partial implementation for GetValue, SetValue, lexical environment operations (HasBinding, etc.).
      4395da05
  32. 10 7月, 2014 1 次提交
  33. 03 7月, 2014 1 次提交
  34. 02 7月, 2014 3 次提交
  35. 01 7月, 2014 1 次提交