Commit Graph

214 Commits

Author SHA1 Message Date
liubinyu dc786f4652 remove deps to reduce RAM
Signed-off-by: liubinyu <liubinyu3@huawei.com>
Change-Id: I086059667ccb610e59e5eb2bf282585ac87d96e8
2024-07-08 13:08:07 +08:00
孙旭辉 ca584ba331 Merge branch 'master' of gitee.com:openharmony/ability_ability_runtime into master
Signed-off-by: 孙旭辉 <sunxuhui7@huawei.com>
2024-07-04 07:13:50 +00:00
openharmony_ci 527a392feb !9204 modify heapdump api
Merge pull request !9204 from zhanheng/master
2024-07-03 08:59:17 +00:00
zhanheng 67c7370507 modify heapdump api
Signed-off-by: z00522183 <zhanheng2@huawei.com>
Change-Id: I91c0b1eafb52a61ea0010eb5e2d5914a89d43319
2024-07-01 14:54:35 +08:00
wentao 69fdb90303 add cangjie ansan version
Signed-off-by: wentao <wentao0301@sina.com>
Change-Id: I2ba249b8dba19665f0c245669cfd643f55d5c583
2024-06-27 17:28:33 +08:00
孙旭辉 111a056037 LXL_code_chang_ability_runtime_Large_functions
Signed-off-by: 孙旭辉 <sunxuhui7@huawei.com>
2024-06-21 17:05:10 +08:00
wanglai.yao 29819beff5 update interfaces/inner_api/runtime/include/js_runtime_utils.h.
Signed-off-by: wanglai.yao <yaowanglai@huawei.com>
2024-06-20 04:06:06 +00:00
rentangyu 253935e19d ApplyChanges 支持sourceMap转换
issues:https://gitee.com/openharmony/ability_ability_runtime/issues/IA5ACX

Signed-off-by: rentangyu <rentangyu@huawei.com>
2024-06-14 11:00:11 +08:00
XKK 3b4ee88695 指针参数去掉引用传递
Signed-off-by: XKK <huyingsong@huawei.com>
2024-06-13 16:48:32 +08:00
wentao a8e26b0b51 fix cj-releated codeCheck.
Change-Id: Icb2a4809303c67d0905ab14e1a498bf11dac3603
2024-06-11 09:26:08 +08:00
openharmony_ci 238378bc92 !8842 回退 'Pull Request !8571 : jsheap文件落盘至/data/log/hidumper目录'
Merge pull request !8842 from openharmony_ci/revert-merge-8571-master
2024-06-04 06:00:39 +00:00
openharmony_ci 8f16431a73 回退 'Pull Request !8571 : jsheap文件落盘至/data/log/hidumper目录' 2024-06-03 03:03:01 +00:00
XKK 4aba479ef2 ohmrul 加载配置
Signed-off-by: XKK <huyingsong@huawei.com>
2024-06-03 09:35:28 +08:00
cs1111 0063ef643e remove mixdumper code
Signed-off-by: cs1111 <chenshi51@huawei.com>
2024-05-27 16:10:07 +08:00
openharmony_ci 7485126558 !8425 typo问题修改
Merge pull request !8425 from JayLeeHW/418
2024-05-25 03:59:58 +00:00
openharmony_ci 0c8a092690 !8571 jsheap文件落盘至/data/log/hidumper目录
Merge pull request !8571 from lixing/master
2024-05-24 02:34:43 +00:00
lixing0101 53e914032a jsheap to /data/log/hidumper
Signed-off-by: lixing0101 <lixing141@huawei.com>
2024-05-23 14:51:12 +08:00
openharmony_ci b27946b1ab !8523 IDE预览支持沉浸式特性
Merge pull request !8523 from 刘伟/preview_0514
2024-05-18 10:07:09 +00:00
lw19901203 7c15ffd505 preview
Signed-off-by: lw19901203 <liuwei793@h-partners.com>
Change-Id: I6edefe1b628932896af3ff9b6c3074ed303d5154
2024-05-17 21:47:03 +08:00
openharmony_ci bca137d869 !8565 mv init sourcemap
Merge pull request !8565 from zhuhan/sourcemap
2024-05-16 15:42:13 +00:00
zhuhan 7acb176d32 mv init sourcemap
Signed-off-by: zhuhan <zhuhan10@huawei.com>
Change-Id: I59542b602825d03c96ed31a3ecffd7d90c061582
2024-05-16 20:33:45 +08:00
liubinyu 604e5ac35c init cj environment
Signed-off-by: liubinyu <liubinyu3@huawei.com>
Change-Id: I18db54a60d7ec5b9721aa7c777372d352ad91cf4
2024-05-12 20:27:45 +08:00
rentangyu 55fd5f90a3 适配热重载sourceMap解析
issues:https://gitee.com/openharmony/ability_ability_runtime/issues/I9NB8V

Signed-off-by: rentangyu <rentangyu@huawei.com>
2024-05-09 12:10:53 +08:00
liqiang 7d201e2b3a IssueNo:
Description:fix typo error
Sig: SIG_ApplicationFramework
Feature or Bugfix:
Binary Source:No

Signed-off-by: liqiang <liqiang121@huawei.com>
Change-Id: Ibc446f4636d3bd5c4dc0aa783bf8f427d56eb9bd
2024-05-06 09:13:49 +08:00
openharmony_ci c986fdf07f !8374 aa添加启动参数
Merge pull request !8374 from sodanotgreen/lmz_develop_aa
2024-05-01 08:16:56 +00:00
songjindian a99b8a4435 支持子进程调试
Signed-off-by: songjindian <songjindian1@huawei.com>
2024-04-29 19:42:43 +08:00
sodanotgreen 9b6092253d Merge branch 'master' of gitee.com:openharmony/ability_ability_runtime into lmz_develop_aa
Signed-off-by: sodanotgreen <limengzheng@huawei.com>
2024-04-28 07:37:41 +00:00
sodanotgreen 19f4e18c49 aa携带多线程参数
Signed-off-by: sodanotgreen <limengzheng@huawei.com>
2024-04-25 21:22:51 +08:00
xinking129 d3b385ae41 hilog 冲突修改
Signed-off-by: xinking129 <xinxin13@huawei.com>
2024-04-22 08:34:32 +00:00
openharmony_ci 539c099b02 !8192 调试流程传入参数重构
Merge pull request !8192 from songjindian/methodchange
2024-04-19 06:16:42 +00:00
songjindian b69cbe1691 调试参数重构,参数合并到结构体,重命名参数
Signed-off-by: songjindian <songjindian1@huawei.com>
2024-04-19 09:38:40 +08:00
xinking129 00659d4a31 hilog rectification file code check
Signed-off-by: xinking129 <xinxin13@huawei.com>
2024-04-18 14:53:07 +08:00
xinking129 e999014dee hilog rectification file 剩余更改
Signed-off-by: xinking129 <xinxin13@huawei.com>
2024-04-18 11:04:52 +08:00
zhangyuhang72 818b2866e1 childProcessManager 401修改
Signed-off-by: zhangyuhang72 <zhangyuhang72@huawei.com>
Change-Id: I9775bfe36c58a5d75db5d13d5c58f67b905f46eb
2024-04-16 22:12:35 +08:00
openharmony_ci 83f175984a !8166 stageloop
Merge pull request !8166 from zhuhan/stageloop
2024-04-12 04:53:52 +00:00
zhuhan 682e733d97 stageloop
Signed-off-by: zhuhan <zhuhan10@huawei.com>
Change-Id: Ibf2bafc358f07d982715d1f8e100919dd81bc368
2024-04-12 10:05:49 +08:00
openharmony_ci 7510f2aeb3 !8145 system_kit读取配置路径
Merge pull request !8145 from donglin/system_kit
2024-04-10 13:15:24 +00:00
donglin fcda5db573 system_kit
Signed-off-by: donglin <donglin9@huawei.com>
Change-Id: If78b30a73565ec3c6961e57437066040def30615
2024-04-10 11:33:18 +00:00
openharmony_ci b757295468 !8003 解析pkgContextInfo数据
Merge pull request !8003 from XKK/0327
2024-04-06 10:43:28 +00:00
XKK 0b9350d681 add ohmurl
Signed-off-by: XKK <huyingsong@huawei.com>
2024-04-06 17:14:12 +08:00
songjindian 7f815a31c6 aastart
Signed-off-by: songjindian <songjindian1@huawei.com>
2024-03-30 14:08:44 +08:00
zhangyuhang72 4680b4af96 应用支持JIT
Signed-off-by: zhangyuhang72 <zhangyuhang72@huawei.com>
Change-Id: Ia80e0b88b1d4f23964b467f28f67704f9aae66e3
2024-03-26 17:37:06 +08:00
openharmony_ci bfa63c22bf !7678 ability_runtime base runtime env code
Merge pull request !7678 from zhuhan/env_0221
2024-03-11 09:13:24 +00:00
zhuhan ccbb307d9a napi create env
Signed-off-by: zhuhan <zhuhan10@huawei.com>
Change-Id: I1d0d6e48e1a0fed1beddb5021c2c458e78e00aee
2024-03-11 10:43:10 +08:00
zhanheng 576e52c159 kill -39 cpuprofile bugfix
Signed-off-by: z00522183 <zhanheng2@huawei.com>
Change-Id: If173299402bc4d22973cec55adb1045bf4f8e300
2024-03-08 15:00:17 +08:00
openharmony_ci e655386424 !7734 适配命令hidumper --mem-jsheap pid [-T tid] [--gc]
Merge pull request !7734 from 赵文/myfeature
2024-03-05 11:54:03 +00:00
赵文 8f67d95926 hidumper --mem-jsheap pid
Signed-off-by: 赵文 <zhaowen11@huawei.com>
2024-03-05 15:58:57 +08:00
zhuhan 5c8ac1203a run -env
Signed-off-by: zhuhan <zhuhan10@huawei.com>
Change-Id: I265e306f555adafca8da4a059fa0ed6554992337
2024-02-28 15:09:31 +08:00
yangxuguang-huawei f9c1ca7fdf feat: add UnhandledRejectionObserver
Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

wip: per pr review feedback

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

wip

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

remove NapiPromiseRejectionExceptionCallback

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

remove RegisterUncaughtExceptionHandler

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

resolve conflicts

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: promise -> unhandled

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

register rejection handler in errorManager

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per pr feedback

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: per code format check

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: add ;

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build errors

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: per code format check

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per code format check

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: properly register unhandledRejectionHandler

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: put back errorObserver_

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: correct event string

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: remove ReasonObject and PromiseObject

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: putback observer

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: remove unnecessary code

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: remove iunhandled_rejection_observer.h

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: CheckUnhandledRejection -> CheckUnhandledRejections

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: per review feedback

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: replace magic numbers

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: remove constexpr for std::string

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: allow deregistering unhandledRejection observer

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: simplify logic

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: remove unused STRING_UNHANDLED_REJECTION

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: do NOT use NAPI_CALL in ClearReference

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: find function properly

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: rename

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

fix: per build error

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor: remove unused

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>

refactor

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>
2024-02-28 10:55:29 +08:00
peterhuangyu bd5550f3a6 Add error_manager napi processing function
Signed-off-by: peterhuangyu <peter.huangyu@huawei.com>
2024-02-07 14:35:06 +08:00