1. 11 3月, 2021 1 次提交
  2. 09 9月, 2020 1 次提交
  3. 02 10月, 2019 1 次提交
    • S
      Improve typedArray get, set (#3023) · c3510fc0
      Szilagyi Adam 提交于
      Here are the following changes:
        - The getter and setter methods are callback based now, and we can use
          them with the proper typedArray id
        - The typedArray set_element and get_element methods are using memcpy now.
        - There is a new struct which contains basic informations from typedArray,
          and we are using this in most of the prototype methods.
        - Eliminated ecma_op_typedarray_set_index_prop and
          ecma_op_typedarray_get_index_prop, because these methods
          also calculated the same informations which are in the new
          struct, so we use the new method instead.
      
      Co-authored-by: Robert Fancsik frobert@inf.u-szeged.hu
      JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
      c3510fc0
  4. 12 9月, 2019 1 次提交
    • R
      Rework ecma collection (#3086) · fc30f003
      Robert Fancsik 提交于
      After this patch the ecma value collection is a resizable buffer of ecma-values where the adjacent elements are allocated next to each other.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      fc30f003
  5. 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
  6. 06 2月, 2018 1 次提交
    • P
      Add TypedArray C API (#2165) · 8041953a
      Péter Gál 提交于
      New API functions added:
       - jerry_value_is_typedarray
       - jerry_create_typedarray
       - jerry_create_typedarray_for_arraybuffer_sz
       - jerry_create_typedarray_for_arraybuffer
       - jerry_get_typedarray_type
       - jerry_get_typedarray_length
       - jerry_get_typedarray_buffer
      
      JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
      8041953a
  7. 11 8月, 2017 1 次提交
  8. 30 3月, 2017 1 次提交
  9. 24 3月, 2017 1 次提交
  10. 09 2月, 2017 1 次提交
  11. 24 1月, 2017 1 次提交
    • Z
      [ES2015][TypedArray] add other 8 types (#1532) · 0547b31c
      Zidong Jiang 提交于
      Add Uint8Array, Int16Array Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array and Uint8ClampedArray. Support the conversion between any pairs of those types.
      
      JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com
      0547b31c
  12. 13 1月, 2017 1 次提交