300 Commits

Author SHA1 Message Date
openharmony_ci 1491ead037 !1756 Rename Commonjs's Objects
Merge pull request !1756 from DaiHN/cjs_mod
2022-07-09 11:00:22 +00:00
DaiHN e5342c59e0 Rename Commonjs's Objects
-------------------------------
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5G29Y?from=project-issue
1. "JSCjsModule" -> "CjsModule"
   "JSCjsRequire" -> "CjsRequire"
   "JSCjsExports" -> "CjsExports"
2. builtin_cjs_exports.h -> builtins_cjs_exports.h
   builtin_cjs_exports.cpp -> builtins_cjs_exports.cpp
   builtin_cjs_require.h -> builtins_cjs_require.h
   ...

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I582467ef8421e03b7eb123d388d66287a79ce97b
2022-07-07 21:09:56 +08:00
openharmony_ci e9d6a4f1d0 !1753 add unittest case for js_list_format
Merge pull request !1753 from zhaozhibo/master
2022-07-07 11:42:53 +00:00
openharmony_ci eeecc2f24d !1742 add a unit-test for JSAsyncFunction
Merge pull request !1742 from hjzhangcm/master
2022-07-07 11:40:37 +00:00
zhaozhibo ff1c761a63 add unittest case for js_list_format
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-07-07 16:46:58 +08:00
wengchangcheng cd90e396a7 Descriptor: ark hilog refactor
details:
1. use hilog in ohos device
2. use panda logger in host
issue:  https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
hjzhangcm d2999d9452 add test case for JSAsyncFunction and fix notes
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-06 18:05:41 +08:00
openharmony_ci e8521a4c8e !1733 add notes and delete unused codes
Merge pull request !1733 from hjzhangcm/master
2022-07-05 11:15:22 +00:00
hjzhangcm 577af4bd1f add notes and delete unused code
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-05 17:47:51 +08:00
openharmony_ci 0008fd65d2 !1594 New EcmaRuntimeCallInfo in stack pointer
Merge pull request !1594 from guobingbing3/master
2022-07-05 09:39:38 +00:00
openharmony_ci bc33472e36 !1722 add module resolvePath
Merge pull request !1722 from fanshengli/module_resolvePath
2022-07-05 08:31:24 +00:00
openharmony_ci 4841cd02a2 !1707 NativeBindingObject adapt to context
Merge pull request !1707 from wangzhaoyong/master
2022-07-05 08:07:02 +00:00
g00416891 f11810349e New EcmaRuntimeCallInfo in stack pointer
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I466a4107e6e073ffecea12e6986c112731d2d3bf
2022-07-05 14:54:43 +08:00
lifansheng b975283659 issue:I5F5ZK
add module resolvePath

Signed-off-by: lifansheng <lifansheng1@huawei.com>
Change-Id: I46ff3e6e7a10a14731f3db15b5b674bb7e1d902d
2022-07-05 09:20:21 +08:00
wangzhaoyong 179cfb370a NativeBindingObj adapt to context
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5E81V

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: Ib60af2299054908f4f0df2dc886f77c30814db5c
2022-07-05 00:21:06 +08:00
hjzhangcm 9cb54e6a36 add test case for JSNumberFormat
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-04 19:13:58 +08:00
hjzhangcm f088259119 add test case for builtinsnumberformat and fix test case comment
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-07-01 11:51:37 +08:00
openharmony_ci ed5de52697 !1698 add test case for js_finalization_registry
Merge pull request !1698 from zhaozhibo/master
2022-06-30 08:57:04 +00:00
openharmony_ci 81dee5abc8 !1672 fix pending job hitrace
Merge pull request !1672 from 苏重威/master
2022-06-30 08:08:38 +00:00
zhaozhibo 6f9b6352e7 add test case for js_finalization_registry
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-06-30 11:19:18 +08:00
openharmony_ci 0e4d1d1f66 !1697 fix jscollator test case bug
Merge pull request !1697 from hjzhangcm/master
2022-06-29 11:53:04 +00:00
openharmony_ci 715fb9e473 !1691 add unit-test for JSSetIterator
Merge pull request !1691 from hjzhangcm/master
2022-06-29 11:35:57 +00:00
hjzhangcm ee8348c06f fix jscollator test case bug issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EQU7
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-29 19:16:27 +08:00
suchongwei 89d1553501 fix pending job hitrace
add hitrace point for pending job enque job and execute job

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5BQIX

Signed-off-by: suchongwei <suchongwei@huawei.com>
2022-06-29 18:44:27 +08:00
openharmony_ci 29f2c9a309 !1636 string.replaceAll and regexp groupname
Merge pull request !1636 from zhangyouyou/master
2022-06-29 08:33:54 +00:00
hjzhangcm 4013f0c8b1 add test case for JSSetIterator issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5ELZT
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-29 12:53:50 +08:00
zhangyouyou 2f0c89fffe https://gitee.com/openharmony/ark_js_runtime/issues/I5DDMT
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2022-06-29 11:31:55 +08:00
openharmony_ci a8af2cb301 !1684 Optimizing bigint data structures
Merge pull request !1684 from 常佳兴/master
2022-06-28 11:35:42 +00:00
changjiaxing 36aa7dea76 Optimizing bigint data structures
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EIYF?from=project-issue

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
2022-06-28 18:53:08 +08:00
openharmony_ci 52dcf38c3e !1669 Resolve Compatibility Issues between TSAOT and ECMA spec
Merge pull request !1669 from dingding/aot_compatibility
2022-06-28 08:09:13 +00:00
openharmony_ci 3c73881a1a !1662 add read-only space
Merge pull request !1662 from lukai/master
2022-06-28 07:00:24 +00:00
ding c80c97bdfa Resolve Compatibility Issues between TSAOT and ECMA spec
1.Add typelowering framework.
2.Add newobjdynrange in typelowering which brings static TS type
  info to runtime phase.
3.Serialize and deserialize hclass table with snapshot, fix minor bugs
  in snapshot by the way.
4.Add IsFormTSTypeBit in HClass to distinguish hclasses which come from
  compile phase.
5.Fix compatibility issues in property operations api and some builints
  api.
6.Add 3 compatibility issues test cases.

Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5E2N9

Signed-off-by: ding <dingding5@huawei.com>
Change-Id: I98626e6eea01f4455ec818ba0ad872b3be98b729
2022-06-28 14:43:16 +08:00
lukai 2a7a4390ee add read-only space
realize read-only space to manage read-only object
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5DHA7?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I94007e4a2ad990ca21a182afa182713cae390a76
2022-06-28 09:15:29 +08:00
changjiaxing 8dc2a9a289 fix bigint bug about toint64
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5EDTU?from=project-issue
Signed-off-by: changjiaxing <changjiaxing1@huawei.com>

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
2022-06-27 20:41:55 +08:00
openharmony_ci f7abd22eea !1656 add unittest case for js_generator_object
Merge pull request !1656 from zhaozhibo/master
2022-06-27 02:00:44 +00:00
openharmony_ci d24a041706 !1654 add test case for JSHclass and delete unused code
Merge pull request !1654 from hjzhangcm/master
2022-06-26 13:54:10 +00:00
openharmony_ci b28406012e !1623 Optimized for NativeBindingObject
Merge pull request !1623 from wangzhaoyong/master
2022-06-25 07:16:11 +00:00
hjzhangcm 090e352ee0 add test case for JSHClass issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5DM7X
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-24 08:56:55 +08:00
wangzhaoyong 7064d0f025 Optimized for NativeBindingObject
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5CQ11

Signed-off-by: wangzhaoyong <970691906@qq.com>
Change-Id: I173e0dfeb29dfbe8812178f11738fa5b726c028d
2022-06-23 14:18:10 +08:00
zhaozhibo 90481011c4 add unittest case for js_generator_object
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-06-23 11:47:52 +08:00
openharmony_ci 3df7f7e9f7 !1637 Modify function template problem
Merge pull request !1637 from hjzhangcm/master
2022-06-22 09:18:14 +00:00
hjzhangcm 53f1e94929 Modify function template issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5DEVS
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
Change-Id: I39ec6bf26f28c8643d670b4d7d6bfdccf9800afb
2022-06-21 18:39:41 +08:00
shisan_forwork 7fe5fd4847 Add Container LightWeightMap and LightWeightSet
Description
    To ensure the high performance of container classes, lightweight map
    and lightweightset are provided in ark.
Related issues
    #I566FV:Add Container LightWeightMap And LightWeightSet

Signed-off-by: shisan_forwork <chengjunxiong@huawei.com>
2022-06-21 10:02:29 +08:00
openharmony_ci 63ed734dd7 !1596 adjust pool size and related vm-memory according to physical memory
Merge pull request !1596 from lukai/master
2022-06-20 13:43:57 +00:00
openharmony_ci b01688101e !1576 Upload finally, any and allsettled codes of promise module
Merge pull request !1576 from 史凯/master
2022-06-20 03:09:24 +00:00
shikai-123 aa6490370f Upload promise code
Upload finally/any/allSettled module of promise code

issues: https://gitee.com/openharmony/ark_js_runtime/issues/I5BFGU

Signed-off-by: shikai-123 <shikai25@huawei.com>
2022-06-20 09:24:17 +08:00
lukai 7b695c2ae5 adjust pool size and related vm-memory according to physical memory
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5CCG0?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
Change-Id: I46bf3a11ef509ece55b45edc92bb7cb68c100dfa
2022-06-18 14:38:43 +08:00
wengchangcheng 6468341c72 Descriptor: delete some internal unused code
details: delete unused code
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5COHE

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I5fe62c58353839d4aac1144fc99e2cf87f4374eb
2022-06-17 23:03:42 +08:00
hjzhangcm b835cdcb25 Test set disassembly issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5CTBJ
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-06-17 16:11:52 +08:00
zhaozhibo e15f52fac0 fix dateTimeFormatTest fail at rk3568
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-06-16 15:23:34 +08:00