- Minor fixes, typos, version numbers, etc.
- Followup fix after "Merge Promise Guard with ESNEXT #4725"
- Added documentation for the new implemented API functions
JerryScript-DCO-1.0-Signed-off-by: Laszlo Lango [email protected]
Disable the debug popup on MSVC/win32 by introduce new jerry_port_init function
For not popup dialog when crash happend on MSVC/win32
Closed: #4463
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]
Added option to enable jerry-ext amalgamation
The implementation is based on PR #4992. Only applied the requested changes
and rebase to master.
Co-authored-by: Damiano Mazzella [email protected]
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
There was some missing configuration options in the CONFIGURATION documentation.
This patch adds these missing configurations.
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
There was some issues and typos in the EXT-REFERENCE documentation.
This patch fixes these issues and typos.
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
The original implementation only checked lit-magic-strings.inc.h.
This patch adds checking for ecma-error-messages.inc.h and parser-error-messages.inc.h
This patch fixes#5172 issue.
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
This patch fixes#4888.
The implementation is based on PR #4898, only resolved the conflicts and
applied requested changes.
Co-authored-by: Robert Fancsik [email protected]
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
The following methods were implemented:
- Atomics.compareExchange
- Atomics.store
The implementation is based on PR #4956, only resolved the conflicts.
Co-authored-by: Csaba Repasi [email protected]
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
Replace usage of jerryx_print_byte, jerryx_print_string with jerryx_print_buffer.
As we now have JERRY_ZSTR_ARG, so we can take advantage of it
With this, the jerry_port_print_byte port api won't need any more
this reduced the port api surface
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo [email protected]
The following methods were implemented:
- BigInt.asIntN
- BigInt.asUintN
Custom dispatcher also added to builtin_bigint.
The implementation is based on PR #4736, only applied the requested changes.
Co-authored-by: Daniel Batiz [email protected]
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
The work is based on PR #4843, only fixed some conflicts and cppcheck errors.
Co-authored-by: Robert Fancsik [email protected]
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
…rees before exiting execution
This patch fixes#4870.
The implementation is based on PR #4966, only resolved the conflicts
and applied requested changes.
Co-authored-by: Martin Negyokru [email protected]
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
This patch fixes#4900.
The implementation is based on PR #4943, only resolved the conflicts.
Co-authored-by: Robert Fancsik [email protected]
JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
The default value for length in to_bytes was added in Python version 3.11.
This small fix ensures the compatibility with older Python3 versions.
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka [email protected]
Due to compiler bugs present in the latest version of clang on macos:
Roll back macos version used by github actions from `macos-latest`
(`macos-14`) to `macos-13`: Some modulo operations were failing,
such as `-1 % -1` when compiler optimizations were enabled
Disable `-Wliteral-range` for test-math.c on macos, because it was
falsely raised for `isnan`, `isinf`, and `isfinite ` macros.
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
This fixes#5101
In rare cases the proxy object could get used after
being incorrectly removed by the gc
Add stack checks to the start of all function calls
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
This fixes#5089
When garbage collection is running on a paused async function that
includes destructuring assignments of strings, the string can be a
direct string, and not an object, which cannot be marked as visited, as
it does not have a visited flag.
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
Update MbedOS and RIOT CI checkers to use `gcc-arm-none-eabi` on top of
ubuntu-latest
Upgrade to mbed-tools and mbed-os 6.17
Bump xtensa version to `2021r2-patch5` and re-enable `ESP_IDF_Build_Test`
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
Bump minimum clang-format version to 15 (the previously used 10 is not
in the ubuntu-22.04 repo)
Reformat several files
Re-enable format and strings CI checkers
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
Re-enable cppcheck CI job
Update cppcheck suppression list:
The new version of cppcheck raises warnings for many potential
issues that are guarded against, so those warnings have been
supressed.
Handle realloc failures:
- jerry-ext/util/sources.c
- jerry-port/common/jerry-port-io.c
Refactor test-snapshot: move each test to separate functions like some
others already were.
Rename `handler` variables inside `main` of `test-api.c` as they
shadowed the `handler` function in the same file.
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
Update Doxyfile to version 1.9.1
Re-enable doxygen CI checker
Fix some regular comments that should have been doc comments
Document void return types for some inline functions explicitly
Move start of some doxygen groups so they are included always, and not left
out of certain ifdefs
Ignore some doxygen warnings:
Member (function) is not documented in headers
Documented empty return type in headers
Argument has multiple @param documentation sections
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
Update code to conform to the newer version of pylint available in
ubuntu-22.04, with few exceptions:
- disabled `import-outside-toplevel` for `main()` in
`jerry_client.py`
- disabled `consider-using-with` for the logfile of `TestSuite` in
`test262-harness.py` as using `with` is not practical in that case
Update test262-harness.py to use argparse instead of the now deprecated
optparse
Rename variables in jerry_client_main.py that redefined python builtins
or shadowed variables from an outer scope
Update python files to use f-stirngs
Add minimum python versions (3.6 and 3.8) to the CI jobs: without it the
default python version did not support the `with` statement for
`subprocess.Popen` used in `build.py` on macos, or in some cases f-stirngs
Remove `from __future__` imports that are no-ops in python 3
Remove shebang from non executable files
Re-enable most pylint checkers, except `missing-docstring`
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
Update debugger and test262 tests to python3
Disable CI jobs that need ubuntu-18.04 (EOL) until they are updated
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
Test262 test runner needs python2, we need to install it manually on Ubuntu 22.04.
Disable ESP_IDF_Build_Test CI job temporarily, because it is broken.
JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác [email protected]