Commit Graph

36 Commits

Author SHA1 Message Date
chenlincl3
20337a3d49 bugfix: The npm package fails to load under the new ohmurl rule
Signed-off-by: chenlincl3 < chenlin201@huawei.com>
Change-Id: Ib0b1fb93121d20185f5f4a91ca58265fcb03aae4
2024-04-26 17:51:08 +08:00
chenlincl3
38f097128a Fixed the failure to dynamically load system libraries under normalized ohmurl
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: I256f96c20c8157c4ea7395c2e30bfc65e8c46d72
2024-04-15 19:41:28 +08:00
DaiHN
03892a9864 Support shared module
issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I9BIE5

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7cecbb668131d2279966749be68a02a6127f7ac9
2024-04-07 20:04:00 +08:00
chenlincl3
866f6e94ae Unified normalized ohmurl rules
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: I9ec2a7b3f6680de51a7ca01b53f5f7f1773eea6d
2024-04-06 15:49:37 +08:00
chenlincl3
829933ab20 Merge remote-tracking branch 'origin/master' into router
Change-Id: I40aa050695e821e0a2713d09286df0962340ae0c
2024-03-22 15:27:24 +08:00
chenlincl3
7702c69817 Merge remote-tracking branch 'origin/master' into router
Change-Id: I143825b3459d5bf01720df783167e088bab1d5cf
2024-03-21 11:11:20 +08:00
Gymee
7b168672ca Merge remote-tracking branch 'origin/master' into HEAD
Change-Id: I2ecfa1d16d09da3b7d5699b72e7c8cfb848211fa
2024-03-19 21:42:26 +08:00
邵益江
dd627bcd34 Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into master
Signed-off-by: 邵益江 <shaoyijiang@huawei.com>
2024-03-19 03:02:52 +00:00
shaoyijiang
d11e36431c Add test cases for LoadJSPandaFile and parseFileNameToVMAName
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I99LW5
Signed-off-by: shaoyijiang <shaoyijiang@huawei.com>
Change-Id: I42c52aa2d94da85a6111e22c2b5e78d3f0d6b8be
2024-03-19 10:39:23 +08:00
wengchangcheng
027409fcbe Merge remote-tracking branch 'openharmony/master' into dev_shareheap
Change-Id: I15a57aaaa5b3d9e5ce8db35429551d06b7a87d13
2024-03-16 23:04:47 +08:00
chenlincl3
da5844cb21 添加napi_load_module_with_info相关测试用例
Signed-off-by: chenlincl3 <chenlin201@huawei.com>
Change-Id: I8f2a46798def54b3bb7606c2fbb7bb5b365e80bb
2024-03-16 12:03:16 +08:00
Aleksandr Emelenko
5a48b9b5e7 [Suspend/Resume] Added mutator scopes and native scopes in the corresponding methods of the VM.
Changed JS thread state just after creation (now it is in NATIVE state before execution of the bytecode)

Issue:#I91O3N

Change-Id: I410c5c4a47a05e6e3b79cc41374431d1e9188503
Signed-off-by: Emelenko Aleksandr 00537379 <emelenko.aleksandr@huawei.com>
2024-02-27 20:32:15 +08:00
lichenshuai
b21f1eae7c support top-level await for module
支持ECMA2022规范模块顶层await

Issue: #I8LMRX

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Id09ac6f6bc6df9d4790d33f998b2b87586650658
2023-12-09 22:47:29 +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
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
DaiHN
52d373fa63 Support using dynamic-import to load native module
issue :  https://gitee.com/openharmony/developtools_ace_ets2bundle/issues/I76TBP?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I7e5eab96e7fe252aa96bb38256728234bd2d90d5
2023-06-01 19:30:08 +08: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
changjiaxing
493eeaf388 Adaptation Previewer Test Framework
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71P35?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I53dc9b6c1846430799d6880660e3e1a4248d910c
2023-05-09 18:20:46 +08:00
DaiHN
3b9d6c3a57 Fix for loading page file after toggled ability
---------------
issue : #I6WTCK

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Ica257d4b87e5342bd71bc619a94d691de76e8187
2023-04-21 14:32:40 +08:00
openharmony_ci
3349dc7ab1
!3659 Fix loadedJSPandaFiles for native memory leak
Merge pull request !3659 from guobingbing3/optimize
2023-04-11 12:34:55 +00:00
DaiHN
9baaa9469a Bugfix of inaccurate index when using "Export... as ..."
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6U1P9?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I68309a13068fa1bf578bfbd8867a074af56fc3d9
2023-04-11 14:42:48 +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
f3b15f94d6 Fix bug about import packages and director
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6RL9T?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I70fa3257d655c0d9370a7869304cde8180856a38
2023-03-30 14:06:13 +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
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
yaochaonan
9aa712d62a Refactor module_data_extractor
--------------------------
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6JCH3?from=project-issue
--------------------------
1.move JsonParse from Module_Manager to ModuleDataExtractor
2.move Module_Manager.cpp/.h from js_pandafile to module

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I798b1772f8ccbbfecf0ad8eeeb2b2ffcd27abc9c
2023-03-05 18:05:15 +08:00
DaiHN
2a566c4380 Throw JSError when failed to load a file
-----------------------------
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ERFZ

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Icdf654aa3bc7707fcec261b0656d6bd8a4b86285
2023-02-14 09:17:57 +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
yangmingliang
96a9477058 fix cross-app hsp load path
Signed-off-by: yangmingliang <yangmingliang9@huawei.com>
Change-Id: I1acb90369fb5f835fc2f68ae91fab50807a67dd4
2023-01-09 17:45:30 +08:00
jing_han
b443081272 Modifying Code Alarms
Signed-off-by: jing_han <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I68FWD
2023-01-03 11:05:40 +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
changjiaxing
66c54aecc3 Support importing a specific file of the shared library
issues:https://gitee.com/openharmony/developtools_ace_ets2bundle/issues/I61S05

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I14783f4ff0deb140f5372b7d4b56e05bc094ce49
2022-12-01 11:13:10 +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
changjiaxing
2c07c46ad3 Add module ut test case
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5YSV8?from=project-issue

Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
Change-Id: I34155dbcb0c77a386ec96883103379c27d0613d8
2022-11-02 10:52:30 +08:00