Commit Graph

108 Commits

Author SHA1 Message Date
fangting
b639028298 tdd output path change
Issue:#IB5JIK
Signed-off-by: fangting <fangting12@huawei.com>
2024-11-20 10:29:21 +08:00
hecunmao
27ebc60553 log opcode where opCode overflower
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAZYWF

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I67041a51ea86cee07ec819d395a2ea041e48d9bb
2024-10-28 20:37:17 +08:00
hecunmao
7ee26c3852 BUG in Regexp.replace
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAUDBH

Signed-off-by: hecunmao <hecunmao@huawei.com>
Change-Id: I48d5d12004adcab4050a2d8c3766aaeaf15d40fd
2024-09-29 19:57:00 +08:00
fangting
902e4ff2c0 optimize compiler
optimize compiler

Issue:#IAJ541
Signed-off-by: fangting <fangting12@huawei.com>
2024-08-13 10:17:04 +08:00
hlm2001
820b0116f0 Clear code security alarms
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IAHX6K

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
Change-Id: I29c8c3a367872efc41a5b3c7e3c902d1a2ecdc96
2024-08-07 12:27:40 +08:00
openharmony_ci
f242a0b179
!8365 Modify code security specification alarm
Merge pull request !8365 from hlm2001/hlm_kexin_br
2024-07-31 17:23:56 +00:00
hlm2001
8f5bca718c Modify code security specification alarm
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IADBY2

Signed-off-by: hlm2001 <huanglimin10@huawei.com>
Change-Id: I803020b0dcbec08881bcba60b24bab12ac446ede
2024-07-30 16:56:50 +08:00
Andrey Efremov
d8cf9a50f7 Optimize ArkJS VM build time
Issue: https://gitee.com/open_harmony/dashboard?issue_id=IACDZP

Change-Id: I729c3a2741cb2571d6f7184b2726e5f06eca802a
Signed-off-by: Andrey Efremov <efremov.andrey@huawei-partners.com>
2024-07-30 16:26:35 +08:00
chenjx-huawei
9cd3ce839c Modify code security specification alarm
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IADY90?from=project-issue

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I35809ac0934443449799097b29a3d20cb1666b80
2024-07-21 15:28:08 +08:00
openharmony_ci
d8a209e18c
!7046 [BUG] fix Regular judgment
Merge pull request !7046 from liujia178/mjsunit_standalones
2024-07-02 04:05:45 +00:00
openharmony_ci
abfec052ab
!7940 regexp性能优化引入的OOM问题修复&CodeCheck修复
Merge pull request !7940 from linxianfu/master
2024-06-28 09:42:35 +00:00
liujia178
14fb2baff9 Fix mjsunit/regexp-standalones.js
Signed-off-by: liujia178 <liujia178@huawei.com>
2024-06-27 16:16:20 +08:00
linxianfu
cb048cba71 1.extend comments for magic number 2.regex test set: OOM issue fixing
Signed-off-by: linxianfu <linxianfu@126.com>
Change-Id: I780fe15e71f84e82346dccbf9806af91fe37c76a
2024-06-26 20:45:48 +08:00
yangxiaoshuai2022
108e4e4e9f warning fix
Signed-off-by: yangxiaoshuai2022 <yangxiaoshuai@huawei.com>
2024-06-17 19:21:06 +08:00
linxianfu
323cff3e13 ArkTS Buitin接口及正则接口实现优化
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9TLBR?from=project-issue
Signed-off-by: linxianfu <linxianfu@126.com>

Change-Id: I0803c7f078413cd9fc948f6b031721cfaf5ce16a
2024-05-31 22:40:13 +08:00
yaochaonan
48b044e6a5 Fix regexp parser cache nullptr bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9HSO7?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ia4925ebe96d5ccc5ac8ab431db86b56143296ba5
2024-04-21 12:41:56 +08:00
zhangyouyou
b7f3c71336 [Bug]: 正则引擎解析/(?:)*/错误
Signed-off-by: zhangyouyou <zhangyouyou2@huawei.com>
2024-04-12 09:03:06 +08:00
openharmony_ci
90e7889e71
!6675 Modify the order of icu binary attribute enumeration in unicode attribute expressions
Merge pull request !6675 from chenlincl3/unicode_fix
2024-03-27 08:10:15 +00:00
chenlincl3
ee2e39fca3 Modify the order of icu binary attribute enumeration in unicode attribute expressions
Signed-off-by: chenlincl3 < chenlin201@huawei.com>
Change-Id: I5d59f6c425fc914fc72340cbb56176735a75b086
2024-03-27 11:49:57 +08:00
王笑佳
97c0f7a64e bug fix 正则异常后没有及时退出循环导致APP Freeze
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9BDE5

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2024-03-26 10:22:41 +08:00
chenlincl3
8d26ec31c5 Merge remote-tracking branch 'origin/master' into regex_unicode
Change-Id: Ief6e4deb5d4adcd0cf92cd9db58f1e258d6549c4
2024-03-11 19:20:01 +08:00
chenlincl3
194ec9f190 支持正则表达式中Unicode字符串属性
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: I83d4d81cf60490c609792d14f37ee1d157ed9a1f
2024-03-08 11:11:49 +08:00
chenjx-huawei
6c270b0cf9 delete RegExpParser unnecessary thread
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8T5ZE

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: If017584e2f02188d548d4f908a80b794186a9aab
2024-01-03 15:14:02 +08:00
wengchangcheng
b2fda867a4 Fix c statck overflow
Chceck c stack limit

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8SKJM

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I910eece936a5d40c98c9ddfa4e42b47f930f7a6c
2023-12-31 16:23:56 +08:00
chenjx-huawei
873d0ccb2a Bugfix for external feedback issues
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I8Q1YB

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I15bdc417d5b751a70d36274844f187f60c61909a
2023-12-23 17:02:20 +08:00
fangting
0375140f4d add mac UT and omit fail testcases
Signed-off-by: fangting <fangting12@huawei.com>
2023-12-20 10:45:09 +08:00
chentianyu
0a651bcfbd Fix UT falied on regexp_test
Signed-off-by: chentianyu <chentianyu31@huawei.com>
Change-Id: Ib7456c3a8c716c84ac3ebcfc32ce367cdc3ef3c0
2023-11-06 15:41:08 +08:00
yaochaonan
b985ffa539 Fix RegExp Benchmark fail
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8CET5?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ieaf448c22c5846657ae978a44892f91957978c53
2023-10-31 16:55:54 +08:00
yaochaonan
3f80624639 fix JsonDataExtractor didn't handle utf16 string
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8B0VW?from=project-issue
Signed-off-by: yaochaonan <yaochaonan@huawei.com>

Change-Id: Iae3aa5103633faceb97f774aec9620d300d7ec38
2023-10-26 13:53:27 +08:00
yaochaonan
9d740b4c49 Fix code format
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I88U9X?from=project-issue
Signed-off-by: yaochaonan <yaochaonan@huawei.com>

Change-Id: I4d2320efcc3f27b34b0dfde1d06f6bf33a920bd6
2023-10-26 11:20:36 +08:00
openharmony_ci
00f08f521d
!4996 Bugfix on BuiltinsRegExp::FlagsBitsToString which flagsStr is OOB
Merge pull request !4996 from chenjingxiang/regexp_flags_br
2023-10-18 03:31:08 +00:00
chenjx-huawei
eb61cff682 Bugfix on BuiltinsRegExp::FlagsBitsToString which flagsStr is OOB
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I88UUY?from=project-issue

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I6b41de6509e1c001cbd867a2108492817a9a0c4a
2023-10-17 20:59:15 +08:00
yaochaonan
41c10686df Optimize MatchResult to reduce substring
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I84ZJQ?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ic304bc49d82436562c8f45ff8fbce6113a17762f
2023-10-17 10:09:59 +08:00
yaochaonan
edeb9e542c Add cache for regexp executor, reduce regexp result copy
1.Add a cache in jsThread for regexp executor to reduce expand and release time.
2.Reduce copy in regexp result.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I82XZ4?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ie3ef807c352ea9e7e01b12d460fc69b6fd9858c8
2023-09-25 11:55:21 +08:00
wuwenlu
bc9b219630 add /d flag for regular expression
Signed-off-by: wuwenlu <wuwenlu@kaihong.com>
2023-08-30 20:35:50 -07:00
hwx1163501
7232b1c5e0 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7ORBT
2023-07-31 10:58:49 +08:00
王笑佳
704b679647 Fix app freeze
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7OZIL

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-29 20:00:52 +08:00
hwx1163501
bd75a1ee0c Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7O1JS
2023-07-26 14:14:35 +08:00
openharmony_ci
60cf2d56d6
!4452 Fix data type
Merge pull request !4452 from 王笑佳/changetype1
2023-07-20 11:06:01 +00:00
王笑佳
2801a5e13c Fix data type PART 1
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LZJR

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-20 16:50:10 +08:00
王笑佳
f14a0bb111 Fix Regexp unit test
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7LN7T

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-17 19:41:55 +08:00
王笑佳
617c25623b Fix Regexp Unit cases
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7I9RL

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-07 09:45:11 +08:00
openharmony_ci
d11654e229
!4319 Modifying Code Alarms
Merge pull request !4319 from 韩靖/master
2023-06-27 09:39:33 +00:00
王笑佳
839249632e 应用超时
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7G4TC

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-27 14:24:49 +08:00
hwx1163501
bb12007e69 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7G6OB
2023-06-27 14:18:20 +08:00
hwx1163501
6c48a46cae Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7EJSG
2023-06-21 14:40:04 +08:00
王笑佳
ec5c8ea49d fix engine inconsistency bug
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7BLK2

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-09 11:52:09 +08:00
王笑佳
ec87451cfe Resubmit the fallback code
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7B78D

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-06 16:14:02 +08:00
王笑佳
27c4f6f154 fixed 688dea4 from https://gitee.com/wangxiaojia1204/arkcompiler_ets_runtime/pulls/4163
Revert RegExp bugFix

issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7AC8E

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-02 10:47:50 +00:00
wangxiaojia1204
4ce0bb2cbc Fix the code format problem
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I78RVC
Signed-off-by: wangxiaojia1204 <wangxiaojia5@huawei.com>
2023-05-27 10:54:32 +08:00