1. 19 11月, 2018 1 次提交
    • D
      [API] Add RegExp C API (#2542) · 704eb45c
      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
      704eb45c
  2. 15 11月, 2018 3 次提交
    • R
      Improve the evaluate requests (#2583) · 47fa5904
      Robert Sipka 提交于
      Currently it evaluates the given expression in the context of the top most stack frame.
      The expression should access to any variables and arguments that are in the scope chain.
      Implement the eval_at request with the level of the scope chain as a further argument.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
      47fa5904
    • R
      [Debugger] Modify the object representation in case of variables request. (#2594) · 6c4b3166
      Robert Sipka 提交于
      Return with the object`s toString() method instead of create a json formated string from it.
      It could have led to an error in previous cases (an object contains itself etc.)
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
      6c4b3166
    • R
      Reduce the argument count of ecma_op_object_get_property_names (#2598) · 9535a230
      Robert Fancsik 提交于
      Introduce ECMA_LIST_ARRAY_INDICES[_ENUMBERABLE[_PROTOTYPE]] flags instead of passing 3 boolean arguments.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      9535a230
  3. 13 11月, 2018 2 次提交
  4. 09 11月, 2018 1 次提交
    • R
      Disable class Array/%TypedArray%.prototype.{slice, map, concat, filter,... · ecf38588
      Robert Fancsik 提交于
      Disable class Array/%TypedArray%.prototype.{slice, map, concat, filter, splice} related tests (#2588)
      
      This patch fixes #2587.
      The reason of disabling these tests is that the current implementation slightly differs from the related part of the standard (ECMA-262 v6, 9.4.2.3.6.d.1).
      This part requires the hidden Symbol.@@species property, hence this functionality has not been implemented yet in the project.
      Also add the related test case to prevent further errors.
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      ecf38588
  5. 08 11月, 2018 1 次提交
  6. 07 11月, 2018 2 次提交
  7. 31 10月, 2018 1 次提交
  8. 30 10月, 2018 3 次提交
    • R
      Enable test cases (#2566) · 3c1d0e61
      repasics 提交于
      Enable previously disabled test cases in math-pow.js. Everything works as expected.
      
      JerryScript-DCO-1.0-Signed-off-by: Csaba Repasi repasics@inf.u-szeged.hu
      3c1d0e61
    • T
      Seperate tests from test-api.c - Strings (#2564) · 63e8287f
      Tóth Béla 提交于
      `test-api.c` is contains testing for all API functions. This file is too big and hard to read. This patch moves the strings and string methods into a separate test file.
      
      JerryScript-DCO-1.0-Signed-off-by: Bela Toth tbela@inf.u-szeged.hu
      63e8287f
    • Z
      Add support for function argument initializers. (#2571) · 83fc0aa0
      Zoltan Herczeg 提交于
      EcmaScript 2015 14.1.
      
      Note: arrow functions with default arguments are not supported yet.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      83fc0aa0
  9. 29 10月, 2018 3 次提交
  10. 27 10月, 2018 1 次提交
  11. 26 10月, 2018 1 次提交
  12. 25 10月, 2018 1 次提交
    • R
      Implement ES2015 class feature (part II.) (#2439) · d1860d0e
      Robert Fancsik 提交于
      This patch is the second milestone of the implementation of this new language element.
      
      Supported:
       - Single class inheritance
       - Functionality of 'super' keyword
       - Implicit constructor in class heritage
       - Specific behaviour while extending with the built-in 'Array' or '%TypedArray%' object
       - Abstract subclasses (Mix-ins)
      
      JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
      d1860d0e
  13. 19 10月, 2018 2 次提交
    • Z
      Fix object initializer prescanning issues. (#2563) · e0e6363f
      Zoltan Herczeg 提交于
      This patch fixes incorrect syntax errors reported by the prescanner for
      ES5.1 getter/setter property initializers and ES2015 computed properties.
      
      JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
      e0e6363f
    • T
      Move version numbers to public headers (#2556) · f8f691de
      Tóth Béla 提交于
      JERRY_SNAPSHOT_VERSION and JERRY_DEBUGGER_VERSION were moved into public headers, to grant access to them.
      
      JerryScript-DCO-1.0-Signed-off-by: Bela Toth tbela@inf.u-szeged.hu
      f8f691de
  14. 18 10月, 2018 2 次提交
  15. 15 10月, 2018 1 次提交
  16. 09 10月, 2018 1 次提交
    • A
      Ensure that tests are always executed in a proper time zone (#2551) · afe2a804
      Akos Kiss 提交于
      The America/Los_Angeles time zone is already enforced for test262
      Travis CI jobs but that doesn't guarantee the correctness of
      locally executed tests. So, this patch moves the setting of the
      `TZ` environment variable from `.travis.yml` to `run-tests.py`.
      
      The date-related tests in the jerry test suite also rely on a time
      zone (UTC). Thus, `TZ` is forced for those tests, too.
      
      JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
      afe2a804
  17. 08 10月, 2018 3 次提交
  18. 05 10月, 2018 2 次提交
  19. 04 10月, 2018 1 次提交
  20. 03 10月, 2018 2 次提交
  21. 01 10月, 2018 1 次提交
  22. 24 9月, 2018 3 次提交
    • D
      Change Promise properties to internal properties (#2526) · 7717d2ee
      Daniel Balla 提交于
      There was an issue in the Promise implementation where properties were accessible from JavaScript.
      ie. `Object.defineProperty(Object.prototype, 0, {})` could modify properties which should've been inaccessible.
      The reason behind that is somewhat interesting as 0-7 were the same values as the enum values in the property list of the Promise object.
      Changing these properties to internal, makes them inaccessible from JS side.
      
      Also some tests have been changed, namely 2490 and 2465.
      The 2490 one got renamed, and all of the testcases from the issue have been added.
      2465 got changed as well, since currently our Promise implementation can't display Promise errors, so we should check if an error is correctly returned.
      
      Fixes #2490
      Co-authored-by: NRobert Fancsik <frobert@inf.u-szeged.hu>
      JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
      7717d2ee
    • L
      Fix '--skip-list' argument of the test runner script. (#2536) · d08b46d1
      László Langó 提交于
      JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
      d08b46d1
    • D
      Fix not checking errno after calling recv() (#2538) · 0523278a
      Daniel Balla 提交于
      There was an issue not checking if recv() set the error value to EWOULDBLOCK or EAGAIN (both equals 11).
      If recv() returns 0 that means the connection was gracefully closed from the other side. However, if you are using non-blocking sockets, and recv() returns 0, but sets the errno to EWOULDBLOCK or EAGAIN it means the socket operation would block.
      This patch fixes #2537
      
      JerryScript-DCO-1.0-Signed-off-by: Daniel Balla dballa@inf.u-szeged.hu
      0523278a
  23. 20 9月, 2018 2 次提交