Commit Graph

72 Commits

Author SHA1 Message Date
yaochaonan
f1efb77b4a Refactor module,modify exception [Part 1]
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7M4NK?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ie402c920323833b4e7df0d7bc19aa335efc230b0
2023-08-01 14:52:51 +08:00
yaochaonan
a1c0255a89 Refactor module, modify path_helper[part 1]
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7GVWC?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ifc3b70707e12536ad3756abacb94d6d45b595a43
2023-07-14 14:51:21 +08:00
DaiHN
835ed2bb26 deregister module through dynamic import
issue: #I77Q59

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I83f5825c2003923a3ad1b5dcc011c350ff470df4
2023-07-09 21:31:21 +08:00
xiongluo
a07240968b fix conflict and move fields in JSThread into context
Signed-off-by: xiongluo <xiongluo@huawei.com>

Change-Id: Id3eceac5f2b6a515ee946b8d9d806a04326863a6
2023-06-11 16:17:47 +08:00
liu-qiang12
f14ab3c325 add cachedconstpools from vm to context
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGV
Change-Id: I50ee2e980840982cd40d8e1f0369e3d103af5734
2023-06-11 16:17:47 +08:00
liu-qiang12
09ee91dec2 add aotfilemanger from vm to context
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGV
Change-Id: Idfabd557b8ad5cb79c538f15224d22a8ac800e0f
2023-06-11 16:17:47 +08:00
liu-qiang12
4443a8a95d add listnode and icu
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
https: //gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGV
Change-Id: I705e82670483f784d997425c64282e425994849d
2023-06-11 16:17:47 +08:00
liu-qiang12
cccef77acd commit context of promiseRejectCallback
Signed-off-by: liu-qiang12 <liuqiang254@huawei.com>
Change-Id: Ib27c66d5daeca79599224c0e4329431e65c6d183
2023-06-11 16:17:47 +08:00
xliu
7d4d3787d8 mv context from vm to jsthread
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ic7d658def858ecf369f995e0d83c696906ba3b00
2023-06-11 16:17:47 +08:00
xliu
24e1a25d5b Add EcmaContext
Description:
Add EcmaContext,to provide the sandbox execution capability.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UHGV

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ibc9c0c422411806d4358359e17b861f8a7ae112b
2023-06-11 16:17:47 +08:00
Zhenyu Pan
26f2988d8e Support esmodule on iOS
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I78U7J

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: Id73e6511fd2bb114102b2265a1204d4807b8d209
2023-05-27 17:29:38 +08:00
openharmony_ci
39bf2e59aa
!4048 Bugfix of GeneratePatchInfo
Merge pull request !4048 from lijiamin/master
2023-05-18 06:57:34 +00:00
lijiamin2019
143ea1ba02 Bugfix of GeneratePatchInfo
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I25eb10c06026093ac903fae384a30044043756ac
2023-05-16 12:25:46 +08:00
changjiaxing
0344e301ec Fix issue with bundleName error when loading pages across applications
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I739U7?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: Ic9b709e6fc1e09459f50976ace5abdc3d2a17b59
2023-05-15 20:28:16 +08:00
openharmony_ci
e70f55804f
!3991 Supports loading internal so
Merge pull request !3991 from 常佳兴/master
2023-05-15 06:41:55 +00:00
changjiaxing
e8480a67dc Supports loading internal so
issues:https://gitee.com/open_harmony/dashboard?issue_id=I70V8G&from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I6444b2e52104c3aa99b983b38541acecb18840a0
2023-05-15 10:02:51 +08:00
xliu
c5e12681b3 Execute abc in safe memory
add vm load aot file

Issue: https://gitee.com/openharmony/ability_ability_base/issues/I6MMBW

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I491b784f43ad9d3753d0875842f529de91361fe7
2023-05-14 15:51:22 +08:00
xliu
c363095903 Execute abc in safe memory
modify unique to uint8*

Issue: https://gitee.com/openharmony/ability_ability_base/issues/I6MMBW

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ib00feb1d4360a9852f92f910466c465f14278003
2023-05-14 15:50:21 +08:00
xliu
9184d0d92c Execute abc in safe memory
Creating safe memory for abc code, execute abc in safe memory

Issue: https://gitee.com/openharmony/ability_ability_base/issues/I6MMBW

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I0d5797bcec911f3cd5b7dbad439d37357bc42d16
2023-05-14 15:49:27 +08:00
xiongluo
84e75f137d bugfix for loadAOTFiles
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Ibdb7afe4210431de07a813530636181333cf72c3
2023-05-13 22:05:03 +08:00
xiongluo
cf451e377d constant string optimization
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Ieabea29874752fed615b0a911cf4118e791663eb
2023-05-08 17:07:03 +08:00
g00416891
b4054bf631 Refactor loadedJSPandaFiles for memory leak
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6J2G8?from=project-issue

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ia8b70f4a0d0bdd67c82369c699b5687b949559c2
2023-04-07 14:57:06 +08:00
changjiaxing
362a126652 完善模块化jscrash报错信息
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6TFPE?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: Ib85f95111c1667bba6256b1dc7c080261449047d
2023-04-07 10:09:55 +08:00
changjiaxing
4299c8f877 Fix bug on card dragging
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6PLGA?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I098fc30d850e69b4fc6e6b2197ac735c944829c7
2023-03-23 17:25:23 +08:00
changjiaxing
4672b0cd55 Fix bug executeCard
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ON5Q?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: Id0f9f6f04942a00532502e53257af299a75b0534
2023-03-20 20:31:03 +08:00
DaiHN
9a0f0ea1f5 Fix the way to get current hap's record format
------------------------------
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6LD9H?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7d31218e31d22393b03addadb2366e0069833027
2023-03-09 20:24:22 +08:00
DaiHN
56112c0142 Adapt to new OhmUrl format parsing
----------------------------
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6KNQE

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I09067934e5ecc2638b1585ec0a1d243fe6259732
2023-03-08 15:41:12 +08:00
openharmony_ci
77671fcee2
!3597 Delete ohmurl “@module”
Merge pull request !3597 from 常佳兴/deleteModule
2023-03-02 02:30:15 +00:00
g00416891
13abd35e5d Modify LoadPatch interface with base buffer for gc bug
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6IF2K?from=project-issue

Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ib356ae7b59c8046c61a6e51dce26a72ea49c52d1
2023-02-28 16:36:32 +08:00
changjiaxing
bde7ad041a Delete ohmurl “@module”
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6HOKT

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I5c52b4bad545e87913d6830fe3517423a6dd74fe
2023-02-27 20:11:18 +08:00
Zhenyu Pan
a582e429a7 Throw exception when load JSPandafile failed
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6HG3M

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: Ibbaf32b6942cda979bc86be15b410c1d14e4ed02
2023-02-24 14:19:17 +08:00
changjiaxing
ac226d6806 Refactoring ConcatFileNameWithMerge
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6BAYD

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: If11dc13131ef60d4760b31b68d2f7a6ce50c9597
2023-02-01 11:27:49 +08:00
DaiHN
1d676b9df7 Throw JS error when find abc failed
--------
1. Remove redundant function interface.
2. Throw JS error when find abc failed
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I67R5D?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7b8cdc521d660d6651cf9b08863154756bbd0973
2023-01-17 21:01:22 +08:00
g00416891
1e7481bba8 Remove unused framework abc variables
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ifa7a18bfd4d36ff7d9140c30bcc45064d3bf5f27
2023-01-12 10:36:53 +08:00
changjiaxing
2b3adae049 Module Compatible with oldisa
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I69J71

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I79e5d1c26c41cf2fcb1eab26921e5e82501b0e28
2023-01-11 19:27:25 +08:00
changjiaxing
6e523f49d8 Import shared libraries across applications
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I2293a00cbdf12a84725b095b5648ef0226a6ebbc
2022-12-30 15:36:07 +08:00
jing_han
d9848ec417 Modifying Code Alarms
Signed-off-by: jing_han <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I67LC1
2022-12-27 10:34:53 +08:00
maojunwei
13dc0a061f normalize module path
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I66KJR?from=project-issue
Signed-off-by: maojunwei <maojunwei1@huawei.com>

Change-Id: I52ab826cca7df7de005bc2ab83c424dba69ed4ba
2022-12-20 20:33:52 +08:00
lukai
87e8e8ce7e jspandafile ref count bugfix
1. fix problem that reference count of sharing jspandafile can't reduce to zero.
2. jspandafile is cached with filename. In some cases, the same name pandafiles
need reload to update and should avoid getting it from cache.
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I65Z6D?from=project-issue

Signed-off-by: lukai <lukai25@huawei.com>
2022-12-14 15:33:04 +08:00
g00416891
c443bd6a58 Refactor quick fix loader and manager
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I3cba0e3d28f741137ecaa790fe2e365d3ac71b4d
2022-12-05 17:25:22 +08:00
openharmony_ci
c9165cac76
!3071 BugFix Of Resolving EntryPoint in Dynamic Import
Merge pull request !3071 from DaiHN/bugfixOfDynamic
2022-11-29 07:51:56 +00:00
Gymee
bb493c9723 change variable naming to lower camel case
Issue: #I63MCO
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I576c96b09a3be9b3ab9a8546480a86e7556bcfbe
2022-11-29 11:21:48 +08:00
DaiHN
0ebc54a712 BugFix Of Resolving entryPoint in Dynamic Import
----------------------
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I637T4?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Id861fed071dcbf4601d7ef819da88220a8822272
2022-11-28 17:01:58 +08:00
changjiaxing
30df4727f9 Fix the bug that the module will execute repeatedly
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I62MV0?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I501a56affdaf52ff82f8cd917ab22d6960ecd628
2022-11-28 10:57:12 +08:00
DaiHN
56908d8052 Fix for supporting Dynamic import
-------------------------------------
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I61XDL?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I16beb9aa175ba3f0b62261a5b3c6566531dd4c19
2022-11-23 14:35:22 +08:00
g00416891
1f4360fa82 Add entryPoint for quickfix testcase
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: I97b2849ef78d267a8464d6ae4bdc583a5a635927
2022-11-15 15:35:03 +08:00
Gymee
f63333137d fix debugger unittest
Issue: #I5Z0Y5
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: Iea3946aaa7aed1b1098071518fb226c374eab8ff
2022-11-02 13:58:55 +08:00
Hailiang Hu
d0fdfcb5ce aot support exec from other abc file, such as extacted from so
Filter abc file name by modules.abc on enable aot.

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

Signed-off-by: Hailiang Hu <allenpas@huawei.com>
Change-Id: I99e6a143a41189b7bd0da666570af534762baecb
2022-10-31 10:51:07 +08:00
Zhenyu Pan
fcb61369c4 Change logger stream from cout to cerr on Windows and MacOS for
Previewer

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

Signed-off-by: Zhenyu Pan <panzhenyu1@huawei.com>
Change-Id: I783f72c608316522430e1fa13bfb9c9c4c1ab15d
2022-10-28 16:34:59 +08:00
openharmony_ci
df7f0fe507
!2714 Fix bug for mergeAbcPath of the application
Merge pull request !2714 from fanshengli/fix_bug_mergeAbcPath
2022-10-26 03:34:17 +00:00