1. 11 3月, 2021 1 次提交
  2. 09 9月, 2020 1 次提交
  3. 08 10月, 2019 1 次提交
  4. 17 8月, 2019 1 次提交
    • D
      Don't run Coverity as the last task on Travis (#3017) · ddd48b30
      Dániel Bátyai 提交于
      Follow-up after #3008
      
      Having Coverity as the last task is fine for pull requests, but on the
      master branch, where the task actually performs the scans, it can have a
      large delay on the builds.
      
      This change moves the Coverity task back to the middle ground, and puts
      the ESP8266 build as the last, which seems to always run fast. This saves a
      few extra minutes of build time on the master branch.
      
      JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
      ddd48b30
  5. 08 8月, 2019 1 次提交
    • D
      Speed-up Travis builds (#3008) · a8342880
      Dániel Bátyai 提交于
      This PR reduces the time it takes for Travis to complete the checks.
      The following changes are made:
        - Disabled LTO for test builds
        - Merged Debugger tests into x86-64 Conformance tests
        - Moved the INIT_FINI unittests into the regular unittests
        - Merged SonarQube and Coverity Scan tasks
        - Re-arranged some of the tasks
      
      JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
      a8342880
  6. 30 7月, 2019 1 次提交
  7. 23 7月, 2019 1 次提交
    • R
      Rework the engine's internal recursion limit (#2969) · 4a9e1858
      Robert Fancsik 提交于
      This patch unifies the recursion limit checking for RegExp, function call and JSON as well.
      Until now the limit was only a counter which was increased/decreased at certain points.
      This counter has been substituted with a numeric limit which allows to restrict the stack usage.
      
      This patch fixes #2963 and resolves the closed #2258 issue.
      
      Co-authored-by: Gabor Loki loki@inf.u-szeged.hu
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      4a9e1858
  8. 10 7月, 2019 1 次提交
  9. 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
  10. 18 3月, 2019 2 次提交
    • D
      Part I: Implement ES2015 module system. (#2599) · 4123f35a
      Daniel Vince 提交于
      JerryScript-DCO-1.0-Signed-off-by: Daniel Vince vinced@inf.u-szeged.hu
      4123f35a
    • P
      Split the Travis checks into two test calls (#2797) · fbd734ed
      Péter Gál 提交于
      The cppcheck can run for quite a long time, sometimes even more than
      10 minutes. This change splits the test execution into two part:
      * First, do all checks excluding the cppcheck call with the default timeout.
      * Second, do the cppcheck call with a 30 minutes maximum timeout.
      
      JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
      fbd734ed
  11. 21 1月, 2019 1 次提交
  12. 16 1月, 2019 1 次提交
  13. 15 1月, 2019 1 次提交
    • A
      Bump ESP8266 target to SDK v2.1.0 (#2697) · 9ced3add
      Akos Kiss 提交于
      Until now, the ESP8266 target used a non-tagged git hash revision
      of the RTOS SDK (from Oct 2017). Moreover, the compiler was also a
      custom-built gcc.
      
      This commit sets the RTOS SDK version to v2.1.0, released Oct 2018,
      which is the latest old-style SDK for ESP. The commit also changes
      the used gcc to an Espressif-provided pre-built toolchain, which is
      tagged for the (latest) v3.0.1 SDK release.
      
      (The SDK bump is not to the latest SDK version because the new
      v3.x line of the SDK is "ESP-IDF style", which is incompatible with
      the current target code base. On the other hand, the toolchain
      comes from the latest SDK release because the v2.x line had no
      pre-built toolchain suggestions -- but it builds v2.x sources
      correctly.)
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      9ced3add
  14. 14 1月, 2019 1 次提交
    • A
      Travis CI config maintenance (#2683) · 52fdf4ef
      Akos Kiss 提交于
      - `sudo: false` has been deprecated.
      - `install` step is skipped by default for C projects, so there is
        no need setting it explicitly.
      - Homebrew addon can be used to install dependencies for OSX jobs
        (and, by experience, it is a lot faster than manually invoking
        brew).
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      52fdf4ef
  15. 17 12月, 2018 1 次提交
    • A
      Ensure fresh Python 2.7 on Trusty and compatible Intervaltree (#2645) · ae91800e
      Akos Kiss 提交于
      Recent failures of the Mbed OS target came from two independent
      issues:
      - some python packages started requiring Python>=2.7.10, and
      - the latest Intervaltree 3.0.0 release was released broken.
      
      This patch ensures a fresh python by 'lying' to the CI that this
      is a Python project (Python images on the CI come with a recent
      interpreter, not with the one shipped as default with the OS), and
      locks Intervaltree to a stable version.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      ae91800e
  16. 29 10月, 2018 1 次提交
    • A
      Improve .travis.yml (#2577) · 7120b8ec
      Akos Kiss 提交于
      - Use builtin support of Travis CI for job names instead of using
        a custom environment variable for the same purpose.
      - Use `skip` in `script` and `install` steps instead of `true`.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      7120b8ec
  17. 18 10月, 2018 1 次提交
  18. 09 10月, 2018 1 次提交
    • A
      Ensure that tests are always executed in a proper time zone (#2551) · afe2a804
      Akos Kiss 提交于
      The America/Los_Angeles time zone is already enforced for test262
      Travis CI jobs but that doesn't guarantee the correctness of
      locally executed tests. So, this patch moves the setting of the
      `TZ` environment variable from `.travis.yml` to `run-tests.py`.
      
      The date-related tests in the jerry test suite also rely on a time
      zone (UTC). Thus, `TZ` is forced for those tests, too.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      afe2a804
  19. 21 8月, 2018 2 次提交
    • A
      Align the RIOT target with the clang build of RIOT OS (#2477) · 6e94414f
      Akos Kiss 提交于
      This means cross building with clang and using short enums. Also
      bump RIOT OS version to latest 2018.07.
      
      Note: On Travis CI, clang-3.9 is used for testing. That version is
      widely available, from Ubuntu 14.04 to 18.04.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      6e94414f
    • A
      Remove jerry-libc (#2332) · 7639e613
      Akos Kiss 提交于
      Rationale:
      - There is no port under targets/ that would use it. All of them
        turn it off when building.
      - That's no surprise, as jerry-libc supports no barebone MCUs but
        posix targets with syscalls only. Actually, that's Linux only,
        because macOS builds have turned off the use of jerry-libc a
        while ago.
      - And there is no point in maintaining a highly restricted set of
        libc functions: as soon as someone wants to use JerryScript in a
        scenario that needs more functions than jerry-main, they have to
        choose a different libc (most problably the compiler's default
        one).
      
      I think that we should not keep supporting an otherwise unused
      library for the purposes of jerry-main on arm/x86/x64-linux  only.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      7639e613
  20. 20 6月, 2018 1 次提交
  21. 05 6月, 2018 1 次提交
  22. 29 5月, 2018 1 次提交
    • A
      Make test runners support execution runtimes (#2360) · 3560c60c
      Akos Kiss 提交于
      If the result of a build is not directly executable on the host
      system or needs an execution runtime for any other reason (e.g.,
      cross-compiled ARM binaries on Intel, emscripten-generated JS
      files, binaries built with Valgrind support) then the current test
      runners cannot work with them. This patch makes test runners
      execute binaries via a runtime given in the `$RUNTIME` environment
      variable (if it is specified).
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      3560c60c
  23. 20 5月, 2018 1 次提交
    • A
      Retire the Mbed OS 3 target (#2343) · 22339e0b
      Akos Kiss 提交于
      Mbed OS 3 is discontinued, long live Mbed OS 5.
      
      resolves #2338
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      22339e0b
  24. 16 5月, 2018 2 次提交
    • A
      Revert the Mbed Travis CI job to sudo-based VM to avoid sporadic OOMs · 36f6435e
      Akos Kiss 提交于
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      36f6435e
    • A
      Move (almost all) Travis CI jobs to container-based infrastructure (#2333) · 53bd845d
      Akos Kiss 提交于
      Container-based VMs promise significantly faster boot times.
      
      More or less related changes:
      - Added a JOBNAME to all jobs.
      - Added `install-noapt` target to several Makefile.travis files to
        avoid `sudo apt-get install ...` steps. Those installations are
        now handled by the apt addon of Travis. The `install` targets are
        kept anyway to keep the makefiles self-contained.
      - Removed a legacy workaround from the Coverity Scan job as it
        isn't necessary anymore to fiddle with the cerificates of
        scan.coverity.com.
      - Fixed the Mbed and the Zephyr jobs.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      53bd845d
  25. 12 5月, 2018 1 次提交
  26. 11 5月, 2018 1 次提交
  27. 10 5月, 2018 1 次提交
  28. 13 4月, 2018 1 次提交
  29. 02 3月, 2018 1 次提交
    • P
      Add quiet mode for test runner(s) (#2228) · 55058cf1
      Péter Gál 提交于
      In one of the previous PR we have encountered a problem,
      where the Travis cuts off the test execution
      as the generated log file is too big.
      
      By adding a quiet mode for the test runners, we will
      only report the failing tests.
      
      JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
      55058cf1
  30. 27 2月, 2018 1 次提交
  31. 18 12月, 2017 1 次提交
  32. 07 12月, 2017 1 次提交
    • A
      Refactor CLI argument handling and test runner logic of run-tests.py (#2091) · 75ac090d
      Akos Kiss 提交于
      On argument handling:
      - Merged all signoff check options into one, option value chooses
        between strict/tolerant check variants.
      - Added sensible metavars to options with arguments (consistent
        with metavars of build.py).
      - Reordered options to match the order the checks are executed in.
      - Added `--all` alias to `--precommit` check option.
      - Beautified code (always placed `help` on separate line, removed
        unnecessary arguments of `add_argument` that just repeated their
        defaults).
      
      On test runner logic:
      There was too many code duplication on how checks were executed, it
      got refactored. No change in semantics.
      
      The only change was in Travis CI-related invocations,
      `--check-signed-off-travis` had to be rewritten to
      `--check-signed-off=travis`.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      75ac090d
  33. 16 11月, 2017 1 次提交
    • A
      Add Travis CI jobs for build testing several targets (#2102) · da247278
      Akos Kiss 提交于
      Hitherto, code under the `targets` directory was not tested and so
      its maintenance was sometimes speculative. This commit adds build
      testing for several targets to prevent them from bit rotting.
      Targets covered by this commit are: ESP8266, Mbed, Mbed OS 5,
      NuttX, RIOT, Tizen RT, and Zephyr.
      
      Some issues were revealed and fixed:
      - ESP8266: added missing include for `uint32_t` typedef.
      - Tizen RT: replaced missing `str_to_uint` with `strtol`.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      da247278
  34. 13 11月, 2017 1 次提交
    • A
      Refactor/simplify .travis.yml (#2090) · 6b1ed6e0
      Akos Kiss 提交于
      Over time, `.travis.yml` grew somewhat organically and became quite
      complex. With some rewrites, it can set up the Travis CI stages
      better, and become simpler, more logical, and more maintainable.
      
      The refactoring keeps all existing functionality.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      6b1ed6e0
  35. 30 10月, 2017 1 次提交
    • P
      Install pylint for user on Travis (#2064) · 0ee75090
      Péter Gál 提交于
      On Travis the pylint package can't be installed
      due to insufficient permissions.
      
      To fix this we'll try to install the package for the user
      and not for the system.
      
      JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
      0ee75090
  36. 27 9月, 2017 1 次提交
  37. 21 4月, 2017 1 次提交
    • A
      Generate lit-magic-strings.inc.h (#1690) · 67c641e5
      Akos Kiss 提交于
      Currently, `lit-magic-strings.inc.h` is manually maintained. This
      has several drawbacks:
      
      - keeping the list of magic strings sorted first by length then
        alphabetically is error prone,
      - it is easy to leave unused magic strings in the list by accident
        (e.g., `LIT_MAGIC_STRING_JERRY_UL` is defined as a magic string
        but not used anywhere in the code) and,
      - it is very hard to add `CONFIG_DISABLE_*_BUILTIN` guards to the
        list, even though there are several magic strings, which are used
        in some of the configurations only (e.g, "setPrototypeOf" is used
        in ES2015 only).
      
      To ease the maintenance of magic strings, this commit moves the
      definition of magic strings to a config file
      (`lit-magic-strings.ini`), and adds `tools/gen-magic-strings.py` to
      generate the `.inc.h` file from this config file and from the use
      cases of the strings in the code.
      
      - The magic strings in the config file can appear in any order, the
        generator will ensure that they are correctly sorted.
      - The generator skips those definitions that are not used anywhere
        (and emits a warning to signal that such definitions can be
        removed).
      - The generator applies the same guards to the definitions in the
        `.inc.h` file as found in the code around the use of the strings
        to optimize for size.
      
      The commit also changes some builtin-related `.inc.h` files by
      adding guards that don't affect functionality but improve the
      results of the generator.
      
      To ensure that the invocation of the generator does not get
      forgotten, the commit also adds `tools/check-magic-strings.sh` and
      binds it into the testing infrastructure.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      67c641e5