49 Commits

Author SHA1 Message Date
yqhan
72c718fa8f recover the worker with eventhandler.
Signed-off-by: yqhan <hanyuqing2@huawei.com>
2024-04-25 17:23:00 +08:00
yp9522
e274cbb551 add stream API
Signed-off-by: yp9522 <yanpeng51@h-partners.com>
Change-Id: I86dca20dbdacc7985e26823abab1f28ac8b4cf29
Signed-off-by: yp9522 <yanpeng51@h-partners.com>
2024-04-20 01:29:33 +08:00
openharmony_ci
68e8b1ddc3
!915 Worker适配EventHandler
Merge pull request !915 from yuqing_han/master
2024-04-08 06:52:39 +00:00
yqhan
870ac87792 Worker uv -> EventHandler.
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I9B0BM

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2024-04-03 09:31:27 +08:00
yqhan
a25cf0def1 ets_utils component fix
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I9CH1Z

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2024-03-28 19:51:51 +08:00
openharmony_ci
e086f37426
!901 Fix review comments
Merge pull request !901 from udav/asynclock1
2024-03-23 08:05:06 +00:00
hzzhouzebin
2126729ad8 Support Sendable Collections
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I9AI1O
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I30804ee57ad68fb3fdf111e921b87c4837d41b67
2024-03-23 11:48:25 +08:00
Artem Udovichenko
27ac0b9724 Rename library to utils
Change-Id: Iec1caf7c4a6ef8d6797b6fa6d982da1e486a8669
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-03-22 15:30:29 +08:00
Artem Udovichenko
dcd46ae3aa Fix review comments
Change-Id: Ibc51ffb131f5ba7b5f9d73eb6418ee8387454c8a
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-03-20 15:45:06 +08:00
openharmony_ci
4f431705af
!883 Rectify the UT test cases of the process module
Merge pull request !883 from 李兴阳/master
2024-03-09 14:02:19 +00:00
@lixingyang-li
e2458e246e Rectify the UT test cases of the process module
Signed-off-by: @lixingyang-li <lixingyang13@huawei.com>
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I96QI8
2024-03-08 15:58:59 +08:00
Artem Udovichenko
d5d06163a7 AsyncLock: Rename ifAvailable->isAvailable
* Rename ifAvailable->isAvailable
* Rename locks->sync
* Export AsyncLockMode

Issue: I90AK0

Change-Id: I779b4eddd6fd3aad787faca5a3cefd931c62f184
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-03-06 11:35:26 +08:00
openharmony_ci
d3e7a49882
!808 AsyncLock implementation
Merge pull request !808 from udav/asynclock
2024-02-28 02:20:44 +00:00
wang-jingwu001
1409137d79 Add JSON logic code under the public basic library util.
Signed-off-by: wang-jingwu001 <wangjingwu4@huawei.com>
https://gitee.com/openharmony/interface_sdk-js/issues/I8ZNB7
2024-02-23 13:44:13 +08:00
Artem Udovichenko
5487b43489 Implement AsyncLock
Issue: I90AK0

Change-Id: I0b445e19bfe33771dbd79ead154505861ad83521
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-02-16 11:47:24 +03:00
yqhan
225569c02f Make Worker module be the inner-api.
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I8IO9X

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2023-11-22 18:40:48 +08:00
liuyuxiu
9ee789a705 bugfix
Signed-off-by: liuyuxiu <liuyuxiu2@huawei.com>
2023-10-07 15:11:49 +08:00
wangzhaoyong
fc27257c7a taskpool priority docking Qos
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I7IMB2

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: Iab937897e85550a40309ad0708773534c5c58c4c
2023-07-12 10:04:26 +08:00
openharmony_ci
bd34ba6b7d
!539 Add the UT for worker module.
Merge pull request !539 from yuqing_han/master
2023-06-30 11:08:43 +00:00
openharmony_ci
00ffaa1bd5
!560 修改worker最大数量限制
Merge pull request !560 from coollixin/master
2023-06-30 07:39:40 +00:00
coollixin
b2a3bc82c4 修改worker最大数量控制
issue:
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I7G6M3

Signed-off-by: coollixin <lixin581@huawei.com>
2023-06-30 14:28:10 +08:00
zhouwenxuan
bee48929fc Add unit test cases for taskpool
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I7BXQ4

Signed-off-by: zhouwenxuan <zhouwenxuan1@huawei.com>
2023-06-27 09:04:11 +08:00
wangben001
f323459ea1 Description:DFX hiloh/hitrace部件名整改
issues:https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I7ETJ0

Signed-off-by: wangben001 <wangben23@huawei.com>
2023-06-20 10:30:44 +08:00
yqhan
d98c1c2031 Modify the UT for worker module.
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I7D4YM

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2023-06-13 16:02:51 +08:00
zWX1234017
e117f4cb35 Rectification of Ark bundle. json specification
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I78T6O

Signed-off-by: zWX1234017 <zhaoduwei3@huawei.com>
2023-05-27 15:33:28 +08:00
yaochaonan
3c4d303aae Add console/timer UT
Issue:https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I77PRF?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I0762836f327a96b844a4cd4f8dc7d080412871b1
2023-05-24 16:33:42 +08:00
yqhan
4244e736b6 Add the UT for the js_concurrent_module.
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I76T58

Signed-off-by: yqhan <hanyuqing2@huawei.com>
2023-05-23 09:29:14 +08:00
wwx1247055
5b9602f6f8 Description: GN component based rectification
issues:https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I71ERM

Signed-off-by: wwx1247055 <wangben23@huawei.com>
2023-05-08 23:43:39 +08:00
yaochaonan
98997109a7 console bugfix
--------
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I6S4VO?from=project-issue
--------

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I86eae62811258ace594c14cf04350058ea4c6877
2023-04-04 09:06:00 +08:00
openharmony_ci
306e50aab0
!355 Refactor js_sys_module and js_api_module
Merge pull request !355 from Gymee/refactor
2023-03-31 02:56:17 +00:00
yaochaonan
039bf86fd2 Normalize Console/Timer And Add Console API
--------------------------
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I6EF9B
--------------------------
1.Normalize Console.log/info/debug/error/warn and Timer from arkui/ability to commonLibrary
2.Add Console.assert/count/countReset/dir/dirxml/group/groupCollapsed/groupEnd/table/time/timeEnd/timeLog/trace API
3.Move timer from js_concurrent_module to js_sys_module.
4.Make timer.so and console.so

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I2a93322352d673ea6d2eff8e0741ef25f26a3a4f
2023-03-30 12:09:05 +08:00
Gymee
b664b70a6a Move test_xxx into corresponding directory
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I6NE0I
Signed-off-by: Gymee <yumeijie@huawei.com>
Change-Id: I909c3b2914ff697b33101a05d7d9b9167d946cf1
2023-03-15 19:40:11 +08:00
wangzhaoyong
de055381bd Taskpool and worker directory refactoring
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I69D7G

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I3a9becb1a95db77f4432fec7005e6276470b9423
2023-01-09 15:09:42 +08:00
wangzhaoyong
0c195418f7 TaskPool
issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I632R3

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: Ie17cf6e9958d9249a079f4c70c56bc8dedabe07f
2022-11-25 11:10:44 +08:00
zhaozhibo
ab17cc0b95 add ut case for convertxml
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-11-11 09:18:56 +08:00
zwx1102434
f5811ab28a UT use case for adding url module
UT use case for adding url module

issue:https://gitee.com/openharmony/commonlibrary_ets_utils/issues/I5VNDO

Signed-off-by: zwx1102434 <zhouwenxuan1@huawei.com>
2022-10-18 09:35:46 +08:00
linhaoran
d1ec8b2c23 Add uuid ut test case and Adjust the code
Signed-off-by: linhaoran <linhaoran2@huawei.com>
2022-09-05 16:42:16 +08:00
liu-ganlin
3c37b64dc3 Add buffer ut test case
Signed-off-by: liu-ganlin <liuganlin@huawei.com>
2022-08-25 15:56:24 +08:00
openharmony_ci
42069f5e74
!123 Add uuid apis
Merge pull request !123 from parrotli/MyUUID
2022-08-18 06:06:47 +00:00
linhaoran
733f75bd22 Description
Add uuid apis
Related issue
  #I5JQD1:Add uuid apis

Signed-off-by: linhaoran <linhaoran2@huawei.com>
2022-08-18 11:22:15 +08:00
liu-ganlin
07a229dcab add syscap in bundle.json
Signed-off-by: liu-ganlin <liuganlin@huawei.com>
2022-08-16 15:15:02 +08:00
liuganlin
d88d61be2c Description
add buffer class
    Related issue
      #I5J5Z3:add buffer class

Signed-off-by: liuganlin <liuganlin@huawei.com>
2022-08-01 21:22:40 +08:00
lengchangjing
9c28a8d373 Switch component name from ts_js_lang_library to ets_utils for js_api_module,js_util_module,js_sys_module,js_worker_module
Related Issue
https://gitee.com/openharmony/manifest/issues/I5HDQT

Description
Switch component name from ts_js_lang_library to ets_utils for js_api_module,js_util_module,js_sys_module,js_worker_module

Signed-off-by: lengchangjing <lengchangjing@huawei.com>
2022-07-20 16:16:30 +08:00
lengchangjing
7fe7f0bc2b merge js_api_module_master and mv to js_api_module
Signed-off-by: lengchangjing <lengchangjing@huawei.com>
2022-07-20 15:34:19 +08:00
shikai-123
89ffc0d550 Signed-off-by: shikai-123 <lifansheng1@huawei.com>
Replace compileruntime with utils
2022-02-15 15:51:39 +08:00
xliu
f8c7be13d3 Replace ohos.build with bundle.json
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: Ic83580f192074bcd41150e4d61b7418d053a2be3
2022-01-24 22:43:15 +08:00
33
633b238312
update bundle.json.
Signed-off-by: Sang_Sang33 <wangzhu15@huawei.com>
2022-01-12 06:06:23 +00:00
Sang_Sang33
363d9e6d35 fix: bundle.json文件完善subsystem、build字段
Signed-off-by: Sang_Sang33 <wangzhu15@huawei.com>
2022-01-10 15:04:53 +08:00
Sang_Sang33
7276234403 feat: add bundle.json
Signed-off-by: Sang_Sang33 <wangzhu15@huawei.com>
2022-01-10 11:50:27 +08:00