- 09 1月, 2019 2 次提交
-
-
由 Daniel Balla 提交于
This patch fixes the following error with Clang-6.0 ``` jerryscript/jerry-core/api/jerry.c:1527:71: error: implicit conversion loses integer precision: 'jerry_regexp_flags_t' to 'uint16_t' (aka 'unsigned short') [-Werror,-Wconversion] jerry_value_t ret_val = ecma_op_create_regexp_object (ecma_pattern, flags); ``` Also change the `jerry_create_regexp` and `jerry_create_regexp_sz` functions' `flags` parameter to `uint16_t` since the values created with `bitwise inclusive OR` are not part of the enum. JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
This patch introduces a new builtin descriptor table to substitute the generated switch-case structure in 'ecma_instantiate_builtin', also removes the corresponding helpers functions to simplify the instantiation process. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 08 1月, 2019 4 次提交
-
-
由 Zsolt Borbély 提交于
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
-
由 Akos Kiss 提交于
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
`PARSER_CLASS_SUPER_PROP_REFERENCE` flag should be applied for only binary lvalue tokens. This patch fixed #2671. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 László Langó 提交于
Fixes #2660 JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 04 1月, 2019 2 次提交
-
-
由 László Langó 提交于
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
由 Akos Kiss 提交于
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 03 1月, 2019 4 次提交
-
-
由 Robert Fancsik 提交于
This patch fixes #2652 and fixes #2653 as well, also reverts #2521. Related part of the standard ECMAScript v5.1 15.12.3.10. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Akos Kiss 提交于
- `ERR_SYSCALL` is a legacy that has not been used anymore since the removal of jerry-libc. This commit removes it from the port API. - `ERR_DISABLED_BYTE_CODE` is a (relatively) recent addition to the fatal code enum. At the time it was added, the documentation has not been updated. This commit adds the missing documentation. (Plus, it removes a superfluous `JERRY_UNREACHABLE` from after a `jerry_fatal (ERR_DISABLED_BYTE_CODE)`.) Note: As the port API is modified, this is an API-breaking change. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
All ECMA_LEXICAL_ENVIRONMENT_SUPER_OBJECT_BOUND type lexical environments should return their outer reference during resolving syntactic reference. This patch fixes #2666. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
This patch fixes #2667. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 02 1月, 2019 2 次提交
-
-
由 Robert Fancsik 提交于
This patch fixes #2654. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Akos Kiss 提交于
The format `1.0.{build}` is artificial, the 1.0 prefix has no meaning, `{build}` is enough. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 19 12月, 2018 1 次提交
-
-
由 Robert Fancsik 提交于
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 17 12月, 2018 2 次提交
-
-
由 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
-
由 Daniel Balla 提交于
Make sure to ignore static snapshots when sending backtrace information to the debugger. The `JMEM_SET_NON_NULL_POINTER` macro requires the frame context's `bytecode_header_p` pointer to be a heap pointer, but due to the static snapshot it might not be, causing an assertion failure. JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
- 15 12月, 2018 1 次提交
-
-
由 Akos Kiss 提交于
Since recently, the newly released mbed-host-tests 1.4.4 gets installed during the python requirement installation step. That package requires pyocd>=0.14.0, which cannot be satisfied for whatever reason. This quick fix pins mbed-host-tests to version 1.4.2, which does not have unsatisfiable requirements. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 14 12月, 2018 1 次提交
-
-
由 Akos Kiss 提交于
The test runner used `&>>` to channel stderr to stdout and append all that to a file. However, that's Bash 4 syntax, which is not available everywhere, e.g., on MacOS. Bash pre-4 syntax requires the classic `>>file 2>&1` notation. This commit rewrites the test runner to use the portable syntax. Moreover, it also rewrites `&>` to `>file 2>&1` for the sake of consistency. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 12 12月, 2018 5 次提交
-
-
由 László Langó 提交于
The peek of the socket does not work on other platforms, beacause the errno is not set correctly. The code path added by #2427 Linux specific, so it has been guarded to solve connection lost issues during debugging sessions when the client does not send data but still connected. JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
由 Robert Sipka 提交于
The name of the database has been changed to jsremote-testrunner from remote-testrunner JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
-
由 Zoltan Herczeg 提交于
Create a local lexical environment with the name of the function. While this is not too memory efficient, some corner cases requires its existence. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
由 Robert Fancsik 提交于
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Daniel Balla 提交于
The issue was found when debugging IoT.js with static snapshots turned on, if an error was thrown an assertion failure was caused. The reason is the frame context's bytecode_header_p pointer was not a heap pointer. The jerry_debugger_breakpoint_hit function tries to set a compressed pointer which points to bytecode_header_p with the JMEM_CP_SET_NON_NULL_POINTER macro, which has an assertion that requires the above mentioned bytecode_header_p to be a heap pointer, which is obviously not. Co-authored-by: Robert Fancsik frobert@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
- 06 12月, 2018 2 次提交
-
-
由 Robert Fancsik 提交于
Exec operations{call, construct, super_call} related bytecode sequences no longer executed twice. The execution continues with the next opcode or a specific bytecode sequence if an error occurs during the operation. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
VM_OC_PROP_GET is the general vm instruction for getting an object's property. This opcode can be mutated into several other opcodes depending on the context (pre- post increment, ident reference). Since these mutated opcodes perform additional checks and VM_OC_PROP_GET is a highly frequent instruction and it is worth to introduce a special case for it. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 02 12月, 2018 2 次提交
-
-
由 Roland Takacs 提交于
In order to decrease the binary size of JerryScript, enabled the Thumb instruction set that is supported on ARM Cortex-R series processors. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
-
由 Zoltan Herczeg 提交于
This patches fixes floating point number parsing when the number starts with dot. Fixes #2614. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
- 30 11月, 2018 2 次提交
-
-
由 László Langó 提交于
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
由 Robert Fancsik 提交于
This patch removes the ECMA_IS_VALUE_ERROR check from VM_OC_NOT, since the general toBoolean operation cannot throw an exception. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 29 11月, 2018 2 次提交
-
-
由 Robert Fancsik 提交于
In with contexts the object base value must be resolved before executing a call operation. Since this happens rarely the base resolving code paths has been seperated to an other VM opcode so these extra checks do not burden the general property call steps. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
The following stucture was highly frequented in the code base: - Get a builtin object // This operation increases the reference count of the object - Use it for create a new object - Deref the builtin object After a builtin has been instantiated there is always at least one reference to "keep it alive", so increase/decrease the reference count for getting the value only is unnecessary. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 28 11月, 2018 3 次提交
-
-
由 Tóth Béla 提交于
Seperate the property based test from the `test-api.c` file. JerryScript-DCO-1.0-Signed-off-by: Bela Toth tbela@inf.u-szeged.hu
-
由 Roland Takacs 提交于
The explicit boolean type conversion (introduced by #2575) desn't work with TizenRT if custom boolean representation is used. Of course, TizenRT gives an opportunity to use the C99 standard boolean (that works well if that is set). I've replaced all the explicit boolean type conversions with double negations that helps to work JerryScript well with custom boolean types. JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
-
由 Akos Kiss 提交于
Because these feature guards don't have their counterpart options in cmake, they seem to be less tested. This commit makes them build-tested at least. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 22 11月, 2018 5 次提交
-
-
由 Csaba Repasi 提交于
Added tests/jerry/unusual.js to test corner cases Added tests/jerry-test-suite/11/11.08/11.08.06/11.08.06-008.js (a new test of instanceof) Added new floatingpoint test case to tests/jerry/arithmetics-2.js Added new test case to tests/jerry/arithmetics-bignums.js JerryScript-DCO-1.0-Signed-off-by: Csaba Repasi repasics@inf.u-szeged.hu
-
由 Zoltan Herczeg 提交于
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
由 Daniel Balla 提交于
There was a typo in a regression test name, referencing to a different pull request rather than the issue it fixes. JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
With the change the test file truly checks the corresponding part of the standard (ECMAScript v5, 15.2.3.4.1). JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Daniel Balla 提交于
JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-