wangben
0ae45e4df7
Add regExp.matchAll interface and symbol.matchAll and regExp iterator related functions
...
Signed-off-by: wangben <wangben15@huawei.com >
2022-05-18 18:02:39 +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
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
yingguofeng@huawei.com
cc3db2648e
Refactor the funtion of foreach for set/map
...
The implementation of foreach does not comply with the specification, resulting in poor performance
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I51V3S?from=project-issue
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
Change-Id: Ibe5682f1354f2e7fa6e7f565321f47ef197c8d08
2022-04-11 12:49:43 +08:00
dingwen
f7c357a8d4
SnapShot serialize and deserialize by using ObjectXray visit object
...
field
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4ZOXH
Signed-off-by: dingwen <dingwen6@huawei.com >
Change-Id: I6e03cfb4f7b89786b612b56adc0877f8b178058e
2022-04-10 12:32:07 +08:00
xliu
4fb9fcc443
ObjectFactory New Ecmastring Rectification
...
Description
1. There are many kinds of interfaces to construct ecmastring from objectfactory
in the virtual machine, and the name is not clear, so it is complex to use;
2. Some of the unchecked interfaces are prone to errors during use. If there is
no compression where compression is required, unpredictable errors will occur.
Issue:
#I4ZL7X: ObjectFactory New Ecmastring Rectification
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I856f4e2e1df62823d928d738fa35affa97dbd3ed
2022-04-09 10:34:11 +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
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
openharmony_ci
250b779450
!788 Add typedArray and array extensions
...
Merge pull request !788 from 王犇/master
2022-03-24 08:26:01 +00:00
wangben
69645a86eb
Add typedArray and array extensions
...
Signed-off-by: wangben <wangben15@huawei.com >
2022-03-24 10:24:32 +08:00
yingguofeng@huawei.com
c93123c0c7
reuse hclass
...
Descriptor:Some hclass are not reused. Resulting in unnecessary memory and performance overhead
https://gitee.com/openharmony/ark_js_runtime/issues/I4YXEI?from=project-issue
Change-Id: I414a9183d1453cba1e2452432d0a654e252477b5
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2022-03-22 14:39:05 +08:00
xujie
479b7c3785
Clean Code For CodeHub Issues #96-#123 And #250-#264
...
According to the problems pointed out by the issuer and the
specifications compiled by Huawei, modify the non-compliant
parts of jsruntime.
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I4YLCQ
Signed-off-by: xujie <xujie101@huawei.com >
Change-Id: Iceb771dfd9f3aa9017205068fc50ab1a63aae08b
2022-03-21 17:09:19 +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
lifansheng
8ed6cd9ef7
issue:#I4VX1Q
...
reason: so far there are some problems include the bad codes and the code architecture in the ts type system
solution:modify ts type system code inculde refactor the function and class
Signed-off-by: lifansheng <lifansheng1@huawei.com >
2022-03-03 17:25:07 +08:00
yingguofeng@huawei.com
12e27e6863
Heap code refactoring
...
Delete MemManager class. The allocation function move to heap.cpp. The Space
manage Allocator.
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4UTFQ
Change-Id: I03cef52d9a1c86b07323de1e19ead53fe6daaf99
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2022-02-25 16:03:15 +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
wengchangcheng
9a2b7d04e8
optimize primitive type ACCESSORS
...
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
2022-01-25 18:05:12 +08:00
ding
c4ffd76fd3
template class
...
Signed-off-by: ding <dingding5@huawei.com >
2021-12-25 09:51:43 +08:00
yingguofeng@huawei.com
1d9b2ac3dd
nativePointer optimization
...
Change-Id: I97b58375c2ec30f33778d7f11fb40a9cf0ed346b
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2021-12-23 19:40:54 +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
yingguofeng@huawei.com
4919c829e6
delete objectWrapper
...
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
Change-Id: I0465495b40c9ad568bbc275ab026fa33e3120f26
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
2021-09-27 14:19:21 +08:00
xujie
fa3ad69451
resolve issue of taking 2 seconds to response after clicking mediaquery
...
Signed-off-by: xujie <xujie101@huawei.com >
2021-09-11 11:07:11 +08:00
zhangyukun
7ffcc4b20f
Sync js_runtime to openharmony
...
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
2021-09-08 09:20:53 +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