dingwen
f4749b6029
Fix run unit tests fail on rk3568
...
Description:Everytime when vm destroy, munmap memPool resource
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I56MQ3
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: Ie28c6c2e59b75e896144357008b8561e6ae595e9
2022-05-10 17:23:29 +08:00
zhaozhibo
4b279c9d79
fix codex warning
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-30 10:31:33 +08:00
liu-qiang12
474420fba7
According to the 2021 internationalization specification add international specification module listformat class code
...
Signed-off-by: liu-qiang12 <liuqiang187@huawei.com >
https://gitee.com/openharmony/ark_js_runtime/issues/I54WWJ
2022-04-27 10:24:14 +08:00
openharmony_ci
267f1415ec
!1091 move the definition to the declare head file, and delete inl.h file
...
Merge pull request !1091 from hjzhangcm/master
2022-04-22 13:41:27 +00:00
hjzhangcm
8e768bf429
Rectify template problems
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
Change-Id: I3c156fc6d4b84ec14ec568c1ba36dda9aea34748
2022-04-22 09:44:50 +08:00
lifansheng
a725676a6c
Runtime architecture adjustment
...
Description
Cut out most of the initialization logic in Runtime::Create and disconnect the
inheritance relationship of most classes such as JSThread.
Issue:
#I53418: Runtime architecture adjustment
Signed-off-by: lifansheng <lifansheng1@huawei.com >
Change-Id: Ib9c1a40354f77d32e515e23334e7f4b4a4fa3259
2022-04-21 14:37:31 +08:00
openharmony_ci
4126b18aa8
!972 Add Container Plainarray
...
Merge pull request !972 from zhangjixing/container_plainarray
2022-04-15 06:54:59 +00:00
zhangjixing
9af120fc9c
Add Container Plainarray
...
Description
To ensure the high performance of container classes, Plainarray is
provided in ark.
Related issue
#I4XXYA:Add Container Plainarray
Signed-off-by: zhangjixing <zhangjixing4@huawei.com >
2022-04-15 13:11:55 +08:00
dingwen
9b47eeac00
Fix snapshot and dump unit test
...
Description:Remove NativeMethodSize test and fix dump unit test
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I52981
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I79aedcc77063b5ab1792d2759571f1a2e0a01e22
2022-04-12 11:31:20 +08:00
wengchangcheng
4e08cec6ee
[part-1] delete "*-inl.h" of newest codex rule
...
move the definition to the declare head file
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I512HV
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Ieeb0ec96281cda51d0bebd6a2e771fc8d4078306
2022-04-07 14:14:49 +08:00
openharmony_ci
78c38d9a2b
!918 add SharedArrayBuffer
...
Merge pull request !918 from 赵杜炜/master
2022-04-02 11:58:42 +00:00
zhaoduwei
fb0eaa03da
Added SharedArrayBuffer module code
...
Added SharedArrayBuffer module code to support ECMA function
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4XGSJ
Signed-off-by: zhaoduwei <zhaoduwei1@huawei.com >
2022-04-02 18:46:20 +08:00
openharmony_ci
f8b36e6882
!738 Add Container Deque And Container Stack
...
Merge pull request !738 from zhangjixing/deque_and_stack
2022-03-30 02:13:32 +00:00
wengchangcheng
d9a0d9b7b5
fix unittest fail
...
modify unittest fail of dump_test and accessor_data_test
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I507EW
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: If5be2376fd83099af39ccb1416699d47d03277a3
2022-03-29 23:24:52 +08:00
zhangjixing
219dd0bd8d
Add Container Deque And Stack
...
Description
To ensure the high performance of container classes, Deque and Stack
is provided in ark.
Related issue
#I4X8GV:Add Container Deque And Stack
Signed-off-by: zhangjixing <zhangjixing4@huawei.com >
2022-03-29 18:13:38 +08:00
liu-qiang12
91649cfe9e
Add international specification module displaynames class code
...
Signed-off-by: liu-qiang12 <liuqiang187@huawei.com >
https://gitee.com/openharmony/ark_js_runtime/issues/I4ZYTA
2022-03-28 17:29:53 +08:00
wengchangcheng
4f169b31a5
add -Werror -Wextra gn flag for 'compiler'
...
1. ignore llvm warning
2. fix warning of compiler module
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZHER
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I09774e431743a26ea366ed28e3276ff027ae0d31
2022-03-25 15:31:59 +08:00
yingguofeng@huawei.com
2b48dab678
EmptyArray、EmptyTaggedQueue、EmptyLayoutInfo Move to GloblaEnvConstant.
...
When New class,It depends on EmptyLayoutInfo.So it must new EmptyLayoutInfo first.
https://gitee.com/openharmony/ark_js_runtime/issues/I4ZIGT?from=project-issue
Change-Id: I654ec61e7f3dc1ab55539dd64acba24489983107
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2022-03-25 11:05:13 +08:00
wengchangcheng
4804cd80d3
add Wextra and Werror in gn args
...
1. add -Wextra and -Werror to check code format error
2. modify all compiler error
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZDQE
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: If5fdd1980494269b4c06bf1bb38a8eba7952adea
2022-03-24 21:45:19 +08:00
zhaozhibo
d876951fa3
Fix internal issue list problem
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-03-15 09:26:47 +08:00
zhaozhibo
116b8f85cb
Fix internal issue list problem
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-03-14 15:19:45 +08:00
zhangyouyou
66dec69743
Add bigint type, add related instructions and Napi
...
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com >
2022-03-10 21:25:06 +08:00
y00576111
a1796a573e
EcmaScript Standard Module Implementation
...
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification
issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT ]
Signed-off-by: y00576111 <yaojian16@huawei.com >
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00
lifansheng
506c1538e1
issue:I4WLER
...
description: supplement the Array, Object and Function type resolution for type system
add TDD test
Signed-off-by: lifansheng <lifansheng1@huawei.com >
2022-03-08 14:51:24 +08:00
chenqi
5788c64ffb
Add Container Queue
...
Description
To ensure the high performance of container classes, Queue is provided in ark.
Related issue
#I4TKAU:Add Container Queue
Signed-off-by: chenqi <chenqi151@huawei.com >
2022-03-05 16:55:38 +08:00
openharmony_ci
159a75d982
!671 Modify Containers
...
Merge pull request !671 from chenqi/fixContainers
2022-03-04 10:24:04 +00:00
scw
326b0140c9
move dfx feature to dfx dir
...
ISSUE:https://gitee.com/openharmony/ark_js_runtime/issues/I4SXXS
Signed-off-by: scw <suchongwei@huawei.com >
Change-Id: Ie5ae6a70f5b561b7578702db591affb26a0057d9
2022-03-04 10:52:47 +08:00
chenqi
7b32a7885f
Modify ArrayList, TreeMap And TreeSet
...
Description
1.fix arrayList GC bug
2.add other containers case in lazy loading
3.change containers Iterator ACCESSORS() to ACCESSORS_PRIMITIVE_FIELD()
Related issue
#I4W3P3:Modify Containers
Signed-off-by: chenqi <chenqi151@huawei.com >
2022-03-03 17:02:21 +08:00
wengchangcheng
7c7b0e5097
fix actor bug
...
modify actor for app start
issue:https://gitee.com/openharmony/js_worker_module/issues/I4SMW8
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: Iad48f3173a963c4290701a708f41832359c88b02
2022-03-02 15:33:19 +08:00
lifansheng
b39418de15
issue:#I4P7EY
...
Reason: To support AOT compilation, add ts type system to provide some
interfaces and struct to wrap ts type and help type infer
Description: create the global class TSLoader to expose the external
interfaces, create the TSType and it's derived class, TSClassType,
TSClassInstanceType, TSImportType and so on to wrap ts type in runtime.
Add TDD unitest.
Signed-off-by: lifansheng <lifansheng1@huawei.com >
2022-02-22 16:50:20 +08:00
liuganlin
3f3e0162ac
Add container ArrayList
...
Description
To ensure the high performance of container classes, ArrayList is provided in ark.
Related issue
#I4T65T:Add Container ArrayList
Signed-off-by: liuganlin <liuganlin@huawei.com >
2022-02-18 10:37:31 +08:00
xliu
0bb3e25edc
Description
...
To ensure the high performance of container classes, TreeMap and
TreeSet is provided in ark.
Add test cases for TaggedTree.
Related issue
#I4PQ1G:add TreeMap and TreeSet
Change-Id: I5cda72d06a71380711374109a87e971af6a8c5b7
Signed-off-by: xliu <liuxin259@huawei.com >
2022-02-10 11:28:34 +08:00
wengchangcheng
9a2b7d04e8
optimize primitive type ACCESSORS
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2022-01-25 18:05:12 +08:00
xliu
aa2409e00f
1.add arraylist and ArkPrivate. 2.add special container in stub. 3.fix Switch
...
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I4082326fa075bce0c5c7bf8e6873282086fe5d6e
2022-01-04 19:30:40 +08:00
ding
c4ffd76fd3
template class
...
Signed-off-by: ding <dingding5@huawei.com >
2021-12-25 09:51:43 +08:00
zhangyukun
a97747fe18
Description:sync from code from wgr_master to ohos
...
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
Change-Id: Ic66a9e649de8c0ce530483296fe323b8f50621fb
2021-12-21 09:36:03 +08:00
linxiang
1c54a8d592
When the L2 development board executes the use case,
...
it does not have the read-write permission of the file,
resulting in the use case failed
Signed-off-by: linxiang <linxiang8@huawei.com >
Change-Id: Ie1f4aa6d3776eb7e6a2a87b94e1fcea9418fa695
2021-10-29 17:43:35 +08:00
wanyanglan
86cfe52253
add ark js_runtime
...
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00