- 06 9月, 2018 1 次提交
-
-
由 László Langó 提交于
Removed 'jerry_parse_and_save_literals' and introduced 'jerry_get_literals_from_snapshot' instead which works on snapshot buffers rather than source code. Added literal saving feature to snapshot merge in the snapshot command line tool. Also added missing 'jerry_cleanup()' calls to the snapshot tool. Improved the console messages of the snapshot tool. Based on previous work of Tamas Zakor <ztamas@inf.u-szeged.hu> JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 04 9月, 2018 7 次提交
-
-
由 Akos Kiss 提交于
Under the cover of the debugger transport layer, allocation on the engine's heap has been made available to the public. As there are actually no restrictions on what the allocated memory can be used for, the memory management functions better fit in the core part of the API. Closes #1805 JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Zoltan Herczeg 提交于
Native handle and pointer are moved to internal properties. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
由 Akos Kiss 提交于
There was quite some confusion about terminology around instances and contexts. All the docs mentioned external contexts but functions and types were referring to instances, and the relation between these two concepts were not clear. This commit keeps (external) context as the only surviving concept. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Zoltan Herczeg 提交于
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
由 Daniel Balla 提交于
Fixes #2451 Fixes #2452 Fixes #2453 Co-authored-by: NRobert Fancsik <frobert@inf.u-szeged.hu> JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
由 Akos Kiss 提交于
- Get the macro definition indentations right. - Define some of the macros only if system allocator is not in use. - Ensure that macros with arguments don't cause unused variable warnings even if memory statistics is disabled. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Daniella Barsony 提交于
You could not interrupt the test with Ctrl+C JerryScript-DCO-1.0-Signed-off-by: Daniella Barsony bella@inf.u-szeged.hu
-
- 03 9月, 2018 3 次提交
-
-
由 László Langó 提交于
'jerry_merge_snapshots' should not modify the input snapshots. Updated the related unit test. Also fixed some minor style issues. JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
由 Zoltan Herczeg 提交于
- Properly handle logging during transport close - Properly display data during parse Furthermore hide global functions of the debugger. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
由 Akos Kiss 提交于
- Remove leftover declaration of `jmem_pools_stats_print`. - Remove unnecessary trampoline function `jmem_stats_print`. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 31 8月, 2018 3 次提交
-
-
由 Daniel Balla 提交于
If a new Capability was created no check was issued if it happened to be an error. Fixes #2465 Fixes #2468 Also fixes the second variant of #2490. JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
由 Akos Kiss 提交于
- Moved global context's `JMEM_HEAP_SIZE` to jcontext.h as external context's heap size is declared there, too. - Moved the assert on `jmem_heap_t` vs `JMEM_HEAP_SIZE` to jcontext.c, as both entities are declared in the corresponding header. - Removed superfluous checks on `JMEM_HEAP_SIZE` as it is not a publicly configurable macro (opposed to `CONFIG_MEM_HEAP_AREA_SIZE`). - Ensured that all definitions of and references to `jmem_heap_t`, `JERRY_HEAP_CONTEXT`, `JERRY_HEAP_SIZE`, and `JERRY_HEAP_AREA_SIZE` are guarded by `#ifndef JERRY_SYSTEM_ALLOCATOR`, as they are meaningless if the system allocator is used. The commit also contains some stylistic changes in jcontext.h JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 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
-
- 30 8月, 2018 2 次提交
-
-
由 Akos Kiss 提交于
The `[jerry|ecma]_char_ptr_t` types are some old legacy that are used quite inconsistently. Their `[jerry|ecma]_char_t *` variants are used a lot more often, so it's better to stick to one form throughout the code base. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 László Langó 提交于
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 29 8月, 2018 4 次提交
-
-
由 Zoltan Herczeg 提交于
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
由 Akos Kiss 提交于
... instead of `jerry_char_t []`, which is not used anywhere else in the API. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Akos Kiss 提交于
Since the removal of jerry-libc, only jerry-ext uses the `FEATURE_INIT_FINI` optional feature. Thus, it's better to move it from the global cmakelists to that of jerry-ext. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Zoltan Herczeg 提交于
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
- 28 8月, 2018 1 次提交
-
-
由 Zoltan Herczeg 提交于
Also disable ES5.1 property name dumplication checks when ES2015 object literals are enabled. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
- 22 8月, 2018 2 次提交
-
-
由 Zoltan Herczeg 提交于
Replace DisplayData to DebuggerAction. The new class has only four type options. Furthermore several functions returning with DisplayData is changed to return with string. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
由 Anthony Calandra 提交于
JerryScript-DCO-1.0-Signed-off-by: Anthony Calandra anthony@anthony-calandra.com
-
- 21 8月, 2018 6 次提交
-
-
由 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
-
由 Akos Kiss 提交于
This will help to keep the debugger documentation up to date. (Note: only compilation & linking is possible as execution would require a connecting debugger client, which is not supported for unit/doctests.) JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 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
-
由 Martine Lenders 提交于
This fixes some conversion errors one gets when compiling with LLVM/clang. Most of them are caused when a bit-specific type (i.e. `uint16_t`) is implicitly cast to an `enum` of smaller value range. The fix is just an explicit casting of those types to the desired target type. JerryScript-DCO-1.0-Signed-off-by: Martine Lenders m.lenders@fu-berlin.de
-
由 Robert Fancsik 提交于
This patch checks whether the source code is a valid UTF-8 string before evaluating it in prompt mode. Also fixes #2476. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Marc Jessome 提交于
This adds a right brace to the list of tokens that will end a return statement. JerryScript-DCO-1.0-Signed-off-by: Marc Jessome marc.jessome@fitbit.com
-
- 18 8月, 2018 1 次提交
-
-
由 Zoltan Herczeg 提交于
Also fix a white space typo. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
- 16 8月, 2018 2 次提交
-
-
由 Akos Kiss 提交于
The documentation has not been updated when the HTML client got removed nor when the new transport layer replaced the previous debug server initialization process. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Akos Kiss 提交于
The patch also ensures that all components access only the public headers of other components (except for unit tests, which are allowed to use private headers, too). JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 14 8月, 2018 2 次提交
-
-
由 Akos Kiss 提交于
This helps to avoid the use of non-public headers and protocol-internal constants in external code (e.g., in jerry-port and jerry-ext). The patch also cleans up the necessary includes in jerry-core public headers, and the include order in jerry-port/default public headers. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Akos Kiss 提交于
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 13 8月, 2018 4 次提交
-
-
由 Akos Kiss 提交于
The distinction between public and private include directories was not maintained and the install paths got confusing. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Akos Kiss 提交于
Clang 6 is more picky about implicit conversions and complains about loss of presicion and/or change of signedness. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Akos Kiss 提交于
The renamed header doesn't contain any declarations related to debugger-ws.c but contains the declaration of a function from debugger-sha1.c. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
由 Akos Kiss 提交于
`FILE_PATTERNS` is a space-separated list, in contrary to what is suggested by its documentation. The pattern `*.h, *.c` does not match header files but files with `.h,` extension only. Rewriting the current comma-separated pattern makes Doxygen actually process header files. However, it also reveals several hitherto hidden issues (mostly missing documentation) in the code. This patch fixes some of these documentation problems (and lists the files with outstanding issues in a 'backlog'). JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 11 8月, 2018 2 次提交