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
hjzhangcm
bd009036d8
fix codex warning issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5C3XK
...
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com >
2022-06-14 10:38:06 +08:00
xliu
001bd92d0f
fix string trim
...
Description
fix string trim of empty string.
Issue:
#I5B6S0:fix string trim
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: Ia1b6274252536ecc8ffd62d2459f8ab6f5ba8335
2022-06-07 20:14:54 +08:00
xliu
35b22ca998
[Optimization] String Trim
...
Description
1. String trim interface optimization.
2. Change the implementation of using regular to a simpler and more
efficient way.
Issue:
#I5AH4Z:[Optimization] String Trim
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I9dd0d923344ebd3c571ff8cd6cb244d9c01444fa
2022-06-06 09:15:32 +08:00
yingguofeng@huawei.com
73689999ed
Add jsnapi interface CopyableGlobal
...
issue:https://gitee.com/openharmony/arkui_ace_engine/pulls/2628
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com >
Change-Id: I28bcfa69f47d9b239d1cd37f8bbd34c82a0c8da9
2022-05-31 22:14:22 +08:00
zhangyukun
5632b517c9
optimize asm interpreter performance
...
Description:
1. add runtime stat scope to get the data of time-consuming-points
2. use stub to impl these runtime time-consuming-points
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I552ZB?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
Change-Id: I242b3ef8b4235d952aa32fda0d3d5b8ed2f8f776
2022-04-28 18:43:32 +08:00
zhaozhibo
a190556751
fix codex warning
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-26 19:16:21 +08:00
openharmony_ci
c2c81a28ad
!1060 fix EcmaString::FastSubString
...
Merge pull request !1060 from xliu/fix_substring
2022-04-20 09:20:14 +00:00
xliu
9f2b94c6f1
fix EcmaString::FastSubString
...
Description
In the FastSubString interface of EcmaString, which is a fast path,
there is a logical error in judging whether characters are compressible
Issue:
#I53HR7:fix EcmaString::FastSubString
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: If8d93fadbae5805bb2c8a674f3fc7725a562c032
2022-04-20 10:08:40 +08:00
xliu
014ed8150d
fix EcmaString::EqualToSplicedString
...
Description
1. The developer reported that the corresponding attribute could not
be obtained through the key value.
2. There is a bug in the comparison logic in ecmastring::
equaltospilledstring function, which leads to unpredictable results.
Modify the comparison logic to make the spliced two strings equal to
the compared string.
Issue:
#I52EB0: fix EcmaString::EqualToSplicedString
Signed-off-by: xliu <liuxin259@huawei.com >
Change-Id: I2186c4ffc6084b05ea2fe64b41a76c648103e408
2022-04-13 15:18:33 +08:00
zhaozhibo
aaf776aab5
fix code warning for codeDex
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-04-12 14:27:50 +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
feng
dce8f3ebb4
Performance optimization for String table
...
concat string table
issue:https://e.gitee.com/open_harmony/dashboard?issue=I4SASV
Signed-off-by: feng <yingguofeng@huawei.com >
Change-Id: I1ff7f15246c8d367c8c8a38f0effed9e6ace2bed
2022-02-15 14:23:43 +08:00
zhaozhibo
e01f55e69e
add 'utf8Len' parameter for 'CanBeCompressed()'
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-01-18 14:57:19 +08:00
zhaozhibo
2246c58225
add 'utf8Len' parameter for 'CanBeCompressed()'
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-01-17 14:22:36 +08:00
zhaozhibo
feed32387a
add 'utf8Len' parameter for 'CanBeCompressed()'
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-01-17 12:54:04 +08:00
zhaozhibo
8bfeb11554
add 'utf8Len' parameter for 'CanBeCompressed()'
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-01-17 12:30:13 +08:00
zhaozhibo
1065502409
fix conversion function bug in 'utf_helper' when utf8 characters do not end with '\0' and reconstruct ecmastring
...
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com >
2022-01-13 12:02:17 +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
Gongyuhang
91bca28537
add the brackets
...
Signed-off-by: Gongyuhang <517563583@qq.com >
2021-10-15 17:49:39 +08:00
Gongyuhang
cf2f40cf77
restore ecma_string_test.cpp and fix ecma_string.cpp
...
Signed-off-by: Gongyuhang <517563583@qq.com >
2021-10-11 20:14:30 +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