Commit Graph

2278 Commits

Author SHA1 Message Date
openharmony_ci
0250103645
!1491 fix taskGroup addTask
Merge pull request !1491 from 羽诺/cherry-pick-1727490089
2024-09-29 02:53:43 +00:00
zhuruigan
76c7a2fe23 cherry pick e2a196d from https://gitee.com/ynuo/commonlibrary_ets_utils_5.0/pulls/1490
fix taskGroup addTask

Signed-off-by: zhuruigan <zhuruigan@huawei.com>
Change-Id: Iaab86e931d1b3859884b1e2a46239ee3bc84446c
2024-09-28 15:01:40 +08:00
openharmony_ci
d7b55b31c7
!1477 挑单-Change shared mode to readers-write pattern
Merge pull request !1477 from diartyz/cherry-pick-1727281337
2024-09-26 13:25:04 +00:00
openharmony_ci
910a4612a7
!1476 modify tryExpand-挑单5.0release
Merge pull request !1476 from 羽诺/modify-tryExpand-5.0
2024-09-26 04:34:15 +00:00
liu-zelin
095d38cc44 cherry pick 336c9bb from https://gitee.com/diartyz/commonlibrary_ets_utils/pulls/1473
Change shared mode to readers-write pattern

Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IATGUT?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I74cd2f7bdc6e1d001c923f1f7a734a4f3cbc39ec
2024-09-25 16:22:17 +00:00
openharmony_ci
ecc8e6d390
!1470 Rectify RationalNumber module error codes cherry-pick 5.0release
Merge pull request !1470 from 李兴阳/OpenHarmony-5.0-Release
2024-09-25 12:40:56 +00:00
zhuruigan
31db44fc74 modify tryExpand
Signed-off-by: zhuruigan <zhuruigan@huawei.com>
Change-Id: I8d72c17b541db41bc995bbbbba3826494d7880e2
2024-09-25 20:01:39 +08:00
openharmony_ci
8f8702c00a
!1463 fix taskpool napi_ref memleak cp 5.0release
Merge pull request !1463 from wangzhaoyong/cherry-pick-1727082270
2024-09-25 02:40:32 +00:00
@lixingyang-li
27e031f075 Rectify RationalNumber module error codes cherry-pick 5.0release
Signed-off-by: @lixingyang-li <lixingyang13@huawei.com>
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IATAE6
2024-09-24 16:27:37 +08:00
openharmony_ci
60c238b210
!1466 挑单-Don't change lock's status if there are lock requests in the heldList_
Merge pull request !1466 from diartyz/cherry-pick-1727094822
2024-09-24 07:32:32 +00:00
Artem Udovichenko
b3f8719a33 cherry pick f566486 from https://gitee.com/diartyz/commonlibrary_ets_utils/pulls/1454
Don't change lock's status if there are lock requests in the heldList_.

Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IASLEL

Change-Id: I3ad4061d000db4452936b7176a3b9b159e175df2
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-09-23 12:33:42 +00:00
wangzhaoyong
95890ef846 fix taskpool napi_ref memleak
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IASRZS

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
2024-09-23 09:04:31 +00:00
openharmony_ci
d5f601165a
!1458 挑单-Fix gettid() in AsyncLock
Merge pull request !1458 from diartyz/cherry-pick-1726996820
2024-09-22 13:15:24 +00:00
liu-zelin
d4562b6c43 cherry pick 1197b46 from https://gitee.com/diartyz/commonlibrary_ets_utils/pulls/1457
Fix gettid() in AsyncLock

Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IASPI5?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I3eae6ae15b9ecc550860d9fd9ddd5f72d803c2d8
2024-09-22 09:20:21 +00:00
openharmony_ci
0fc71cdb19
!1438 Fix AsyncLock destruction flow
Merge pull request !1438 from udav/alock5
2024-09-20 09:37:50 +00:00
openharmony_ci
9b1fae1da2
!1452 挑单-Remove env destruction hook when async lock mode is shared
Merge pull request !1452 from diartyz/OpenHarmony-5.0-Release
2024-09-19 16:29:24 +00:00
liu-zelin
0f4214961c Remove env destruction hook when async lock mode is shared
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IASAP9?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I9b23ea42102333af53b6477c5f84d327a1752989
2024-09-19 23:13:06 +08:00
openharmony_ci
739d368bf9
!1447 优化NapiHelper::GetString逻辑和新增NapiHelper::GetChars方法-挑单5.0release
Merge pull request !1447 from 羽诺/modify-NapiHelper-GetString-5.0
2024-09-19 10:56:08 +00:00
openharmony_ci
8e083f3dfc
!1445 Fixed the bug of ignoreBOM being reset to false【5.0-Release】
Merge pull request !1445 from jiangkai/OpenHarmony-5.0-Release
2024-09-19 10:05:37 +00:00
openharmony_ci
1141b010d8
!1443 Dealing with the issue of encoding emoticon escape errors
Merge pull request !1443 from 王景悟/cherry-pick-1726707896
2024-09-19 06:36:14 +00:00
zhuruigan
8bdb57b857 modify NapiHelper GetString-5.0
Signed-off-by: zhuruigan <zhuruigan@huawei.com>
Change-Id: Ibe3f410f5096496b2fc546fe9250c7aacb483c29
2024-09-19 11:26:05 +08:00
jiangkai43
11008908d7 Fixed the bug of ignoreBOM being reset to false
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAS3QJ

Signed-off-by: jiangkai43 <jiangkai43@huawei.com>
2024-09-19 11:00:38 +08:00
wang-jingwu001
1f64120fce cherry pick d50382e from https://gitee.com/wang-jingwu001/commonlibrary_ets_utils/pulls/1437
Dealing with the issue of encoding emoticon escape errors

Signed-off-by: wang-jingwu001 <wangjingwu4@huawei.com>
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IARKLO
2024-09-19 01:04:58 +00:00
openharmony_ci
b65794b559
!1430 buffer模块lastIndexOf接口和compare接口传入负数发生crash缺陷修复挑单
Merge pull request !1430 from 赵杜炜/OpenHarmony-5.0-Release
2024-09-18 12:12:21 +00:00
Artem Udovichenko
bda9f9591f Handle AsyncLock destruction correctly.
When AsyncLockManager::Destructor is called
(i.e. GC collects managed AsyncLock instance)
there are may be a situation when the lock has some pending
lock requests. In this case we cannot delete native data right now.
We wait untill all lock requests are processed and the last lock request
deletes the AsyncLock instance.

Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAQBY5

Change-Id: Iab43a01b441b10b7cf4b9730e36720d2ba2390d7
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-09-16 13:41:55 +03:00
Artem Udovichenko
bd099f1110 Use std::mutex instead of std::shared_mutex
* Since asyncLockMutex_ mutex is not used as shared change its type
to std::mutex.
* Remove unused AsyncLock::Destructor and AsyncLock::work_
* Rename FindAsyncLock -> FindAsyncLockUnsafe

Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAQBY5

Change-Id: Iaaf1d875cc1a5606ac5727ecfd2af3fb09d41935
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-09-16 13:41:49 +03:00
openharmony_ci
0044612747
!1436 fix worker mainThreadHandler nullptr 挑单 5.0release
Merge pull request !1436 from wangzhaoyong/release0914
2024-09-14 15:05:11 +00:00
openharmony_ci
6029fb69c2
!1434 update taskId when cancel waiting task挑单5.0release
Merge pull request !1434 from wangzhaoyong/cherry-pick-1726298714
2024-09-14 14:40:43 +00:00
openharmony_ci
17b9e1f74d
!1429 Correct the encoding size end
Merge pull request !1429 from 王景悟/cherry-pick-1726226802
2024-09-14 09:39:48 +00:00
wangzhaoyong
e414507b63 fix worker mainThreadHandler nullptr cp release
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IARF0G

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I4a8e29df6f8e4d2a2b988ec42ffc213d64d75111
2024-09-14 16:22:24 +08:00
wangzhaoyong
4f1022eb6a update taskId when cancel waiting task
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IARETT

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
2024-09-14 07:25:15 +00:00
zWX1234017
a13eb71873 add buffer
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IARCBD

Signed-off-by: zWX1234017 <zhaoduwei3@huawei.com>
2024-09-14 11:28:42 +08:00
wang-jingwu001
d5d3f79020 cherry pick 98190a3 from https://gitee.com/wang-jingwu001/commonlibrary_ets_utils/pulls/1427
Correct the encoding size end

Signed-off-by: wang-jingwu001 <wangjingwu4@huawei.com>
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAR2KW
2024-09-13 11:26:42 +00:00
openharmony_ci
d1e34d922c
!1423 修复taskpool存在的泄漏-挑单5.0release
Merge pull request !1423 from 羽诺/taskpool-memleak-2
2024-09-12 12:04:04 +00:00
openharmony_ci
4c43fa951a
!1416 set posttask priority by taskpool.execute(task, priority) 挑单 5.0release
Merge pull request !1416 from wangzhaoyong/cp0910
2024-09-12 03:03:41 +00:00
openharmony_ci
63de286b86
!1421 5.0 release上 revert-IA8P0G
Merge pull request !1421 from zhubingwei/revert-IA8P0G
2024-09-11 14:46:01 +00:00
zhuruigan
6253b0030d fix taskpool char* memleak
Signed-off-by: zhuruigan <zhuruigan@huawei.com>
Change-Id: Ie76ef7e6a68af05dabd729f1dd07e6d7ef623eb4
2024-09-11 17:03:35 +08:00
wangzhaoyong
bd3bbbcac8 set posttask priority by taskpool.execute(task, priority) cp 5.0 release
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAQ4SO

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I7a78d1cfc32a233d63eaaccc95b7111c9248fab8
2024-09-10 10:16:00 +08:00
zhubingwei
ef37261c68 Revert "!1133 配合ability_runtime独立编译整改(删除绝对路径)"
This reverts commit b2fcfd7436, reversing
changes made to a8039a5eea.

Signed-off-by: zhubingwei <zhubingwei@huawei.com>
2024-09-09 16:41:03 +08:00
openharmony_ci
e4c6220944
!1403 cherry-pick ‘Trigger gc in the taskpool’ to 5.0Release
Merge pull request !1403 from huangfeijie/cherry-pick-1725604016
2024-09-08 08:42:41 +00:00
openharmony_ci
fe4b56a1cb
!1408 挑单-Sync blue and yellow zone
Merge pull request !1408 from diartyz/cherry-pick-1725704141
2024-09-07 12:40:52 +00:00
openharmony_ci
018e47c2fa
!1412 fix taskpool blue yellow difference 挑单5.0 release
Merge pull request !1412 from xusen/cherry-pick-1725705822
2024-09-07 12:38:05 +00:00
xusen
95657f0411 cherry pick 2d9112a from https://gitee.com/xusen_huawei/commonlibrary_ets_utils/pulls/1410
Fix taskpool blue yellow difference

Fix taskpool blue yellow difference

Issue:   https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAPMMN
Signed-off-by: xusen <xusen15@huawei.com>
2024-09-07 10:43:42 +00:00
liu-zelin
79b9cf813c cherry pick 0623418 from https://gitee.com/diartyz/commonlibrary_ets_utils/pulls/1407
Sync blue and yellow zone

Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAPMJM?from=project-issue
Signed-off-by: liu-zelin <liuzelin8@huawei.com>
Change-Id: I1f4a1663af338159466a40f1a80f95802f4ed9b2
2024-09-07 10:15:42 +00:00
openharmony_ci
4d54312178
!1406 处理蓝黄不一致问题
Merge pull request !1406 from 李兴阳/OpenHarmony-5.0-Release
2024-09-07 09:19:53 +00:00
openharmony_ci
4acdb2c014
!1394 回退独立编译整改代码
Merge pull request !1394 from kangchongtao/0903
2024-09-06 10:51:05 +00:00
@lixingyang-li
1bc48021c2 处理蓝黄不一致问题
Signed-off-by: @lixingyang-li <lixingyang13@huawei.com>
https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAPGQ0
2024-09-06 17:33:06 +08:00
openharmony_ci
4766ed73f9
!1401 Revert pr 1167
Merge pull request !1401 from fangting/OpenHarmony-5.0-Release
2024-09-06 07:31:51 +00:00
huangfeijie
0b924b8a7c Trigger gc in the TaskPool
Issue: https://gitee.com/openharmony/commonlibrary_ets_utils/issues/IAPE6H
Signed-off-by: huangfeijie <huangfeijie@huawei.com>
2024-09-06 14:47:18 +08:00
openharmony_ci
78cdd7a9f1
!1385 url模块pach字段hash字段的特殊符号编码被decode修复挑单
Merge pull request !1385 from 赵杜炜/cherry-pick-1725375444
2024-09-06 04:18:52 +00:00