- 11 8月, 2021 1 次提交
-
-
由 Gavin1012 提交于
Signed-off-by: NGavin1012 <wanggang203@huawei.com>
-
- 11 3月, 2021 1 次提交
-
-
由 mamingshuai 提交于
-
- 09 9月, 2020 1 次提交
-
-
由 wenjun 提交于
-
- 04 10月, 2019 1 次提交
-
-
由 Péter Gál 提交于
Added extra notes on the native pointer API usages to clarify when the free callback function is invoked. Also added a note for the free callback typedef to inform users to not call API methods in the callback. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
-
- 20 9月, 2019 1 次提交
-
-
由 Csaba Osztrogonác 提交于
Disable 02.API-REFERENCE-create-context.c, because it is based on pthread, and there is no pthread on Windows. Disable 11.EXT-REFERENCE-AUTORELEASE.c and test-ext-autorelease.c if compiler is MSVC, because MSVC doesn't support cleanup attribute. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
-
- 17 9月, 2019 1 次提交
-
-
由 Csaba Osztrogonác 提交于
If manager_p->bytes_needed == 0, jerry_get_context_data() should return NULL pointer. Additionally init_cb, deinit_cb and finalize_cb should be called with NULL pointer in this case. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
-
- 09 8月, 2019 1 次提交
-
-
由 Csaba Osztrogonác 提交于
We need one more byte allocated for the trailing '\0'. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
-
- 01 8月, 2019 1 次提交
-
-
由 Péter Gál 提交于
The snapshot API docs describe that those functions returns error if the related features are not enabled. Updated the return values to follow the API documentation. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
-
- 26 7月, 2019 1 次提交
-
-
由 Istvan Miklos 提交于
* Migration Guide Migration guide from JerryScript 1.0 to 2.0. Co-authored-by: László Langó llango.u-szeged@partner.samsung.com Co-authored-by: Peter Gal pgal.u-szeged@partner.samsung.com JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu * Add version information for API methods For each API method/type the documentation now includes the version it was introduced or a change occured. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
-
- 22 7月, 2019 1 次提交
-
-
由 Péter Gál 提交于
The documentation of `jerry_get_memory_stats` method was missing the requirements on what build option or feature is required. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
-
- 17 7月, 2019 1 次提交
-
-
由 Dániel Bátyai 提交于
This PR is a general cleanup for garbage collection and memory allocation code paths. Changes: * Removed an unnecesary local variable from 'ecma_gc_mark'. * Refactored 'ecma_gc_run' to have an implicit list head during iteration, which results in one less condition in the loops, and changed the loops to use compressed pointers to reduce the overall amount of compression/decompression. * Renamed 'jmem_free_unused_memory_severity_t' to 'jmem_pressure_t', and added additional values. * Removed 'jmem_free_unused_memory_callback', instead 'ecma_free_unused_memory' is now called directly. * Reworked 'ecma_free_unused_memory' to handle all code paths related to 'jmem_pressure_t', and moved all relevant code paths into this function. This simplifies the code paths in other places. * Reworked 'jmem_heap_gc_and_alloc_block' to be more streamlined. * Changed mem-stats to not report unused pool chunks as allocated memory. * Created an allocator internal API for allocating/freeing memory blocks that are not reported as used memory in mem-stats. * Removed iteration statistics for the jerry allocator from mem-stats, as they don't provide any actually useful information. Co-authored-by: NMarko Fabo <mfabo@inf.u-szeged.hu> JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
-
- 11 7月, 2019 1 次提交
-
-
由 Péter Gál 提交于
A few parts of the API documentation was not clear enough. Added extra details and examples. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
-
- 02 7月, 2019 1 次提交
-
-
由 Robert Fancsik 提交于
This patch fixes #2889 and extends the API documentation of the native free callbacks. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 19 6月, 2019 1 次提交
-
-
由 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
-
- 24 4月, 2019 1 次提交
-
-
由 László Langó 提交于
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 18 4月, 2019 1 次提交
-
-
由 jerry-weng 提交于
Add missing jerry_release_value by calling jerry_set_property and jerry_set_property_by_index (#2821) JerryScript-DCO-1.0-Signed-off-by: jerry-weng jjweng2007@gmail.com
-
- 17 4月, 2019 1 次提交
-
-
由 László Langó 提交于
Fixed style issues, fixed inaccurate descriptions and added missing information. JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 16 4月, 2019 2 次提交
-
-
由 Robert Fancsik 提交于
New API functions: - jerry_create_dataview - jerry_value_is_dataview - jerry_get_dataview_buffer JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
由 Robert Fancsik 提交于
Currently JS objects can only have one native pointer data which could be a limitation in special cases. This patch allows to register multiple native infos, which can be accessed/associated with the corresponding `jerry_object_native_info_t`. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 02 4月, 2019 1 次提交
-
-
由 Robert Fancsik 提交于
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 29 3月, 2019 1 次提交
-
-
由 Robert Fancsik 提交于
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 19 2月, 2019 1 次提交
-
-
由 Robert Fancsik 提交于
New functions: - ecma_create_symbol - ecma_value_is_symbol - jerry_get_symbol_descriptive_string Also improve the jerryx_handler_print to be able to print symbol values via using the jerry_get_symbol_descriptive_string API function for symbol values. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 13 2月, 2019 1 次提交
-
-
由 László Langó 提交于
Added 'JERRY_BIN_OP_INSTANCEOF' to 'jerry_binary_operation_t' and 'jerry_binary_operation'. Added unit tests for this new operation and updated the documentations. JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 06 2月, 2019 1 次提交
-
-
由 László Langó 提交于
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 16 1月, 2019 1 次提交
-
-
由 Kristof Kosztyo 提交于
JerryScript-DCO-1.0-Signed-off-by: Kristof Kosztyo kkristof@inf.u-szeged.hu
-
- 09 1月, 2019 1 次提交
-
-
由 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
-
- 22 11月, 2018 1 次提交
-
-
由 Daniel Balla 提交于
JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
- 19 11月, 2018 1 次提交
-
-
由 Daniel Balla 提交于
This patch supports creating a RegExp object through the C API. JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
-
- 13 11月, 2018 1 次提交
-
-
由 Ádám Kallai 提交于
The first paramter of the function should be 'global_object' instead of obj_val in this case. JerryScript-DCO-1.0-Signed-off-by: Adam Kallai kadam@inf.u-szeged.hu
-
- 20 9月, 2018 1 次提交
-
-
由 László Langó 提交于
JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
-
- 17 9月, 2018 1 次提交
-
-
由 Akos Kiss 提交于
Their length (size) is known at compile time. Therefore `sizeof` is more efficient for them. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 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 2 次提交
-
-
由 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
-
由 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
-
- 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 1 次提交
-
-
由 Zoltan Herczeg 提交于
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-
- 08 8月, 2018 1 次提交
-
-
由 Akos Kiss 提交于
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-
- 20 7月, 2018 1 次提交
-
-
由 Robert Fancsik 提交于
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
-
- 19 7月, 2018 1 次提交
-
-
由 Zoltan Herczeg 提交于
Remove automatic conversion of errors. Errors are primary values, just like numbers or strings. JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
-