Commit Graph

455 Commits (94be2e748b650baefa506f1def9a880e2a918c07)

Author SHA1 Message Date
github-actions[bot] 4fc9ca315e feat: Update package.json to 2.2.5 2021-04-06 04:24:55 +00:00
neuecc aaf1c0eaa1 assembly signed 2021-04-06 13:23:56 +09:00
Yoshifumi Kawai 03097f08e2
Merge pull request #259 from hadoumune/patch-1
fix typo unitySynchronizationContext
2021-04-06 13:11:28 +09:00
neuecc ecd3625a08 Fix UniTaskAsyncEnumerable.Prepend does not work, #251 2021-04-06 13:08:18 +09:00
neuecc da8f599ccb fix unittest more 2021-04-06 13:05:52 +09:00
neuecc aa3216e48d fix invalid unit tests(BeEquilvalentTo -> Equal) 2021-04-06 13:02:50 +09:00
hatomune 721a7d9e4e
fix typo unitySynchronizationContext
When I was following the context switch flow, I found a typo, so I fixed it.
2021-04-04 01:17:23 +09:00
github-actions[bot] 18f2746f0d feat: Update package.json to 2.2.4 2021-03-12 07:36:32 +00:00
neuecc 8b3c8d15c4 PlayerLoopTimer unit test and fixes 2021-03-12 16:06:42 +09:00
neuecc 49ca9364f7 TimeoutController uses PlayerLoopTimer(WIP, needs test) 2021-03-12 13:01:46 +09:00
neuecc 62f6429b60 add PlayerLoopTimer 2021-03-12 11:35:46 +09:00
neuecc b6a9836e81 WIP, playerlooptimer 2021-03-11 17:56:41 +09:00
github-actions[bot] be34d8abf4 feat: Update package.json to 2.2.3 2021-03-02 06:19:55 +00:00
neuecc 9af15d7ab3 Merge remote-tracking branch 'origin/master' 2021-03-02 15:16:07 +09:00
neuecc 308fef2859 Fix: UniTask(not generics).ToObservable does not return error when task
Fix: UniTask(not generics).ToObservable does not return OnError when task status is already faulted or canceled
2021-03-02 15:16:00 +09:00
github-actions[bot] 3cc0c80b1e feat: Update package.json to 2.2.2 2021-03-02 02:02:01 +00:00
neuecc cdda33a98e Add UniTask.Yield(CancellationToken), NextFrame(CancellationToken) 2021-03-01 19:08:40 +09:00
github-actions[bot] e57a4332ec feat: Update package.json to 2.2.1 2021-02-26 09:52:12 +00:00
neuecc e88e553cc9 2.2.1 2021-02-26 18:51:35 +09:00
github-actions[bot] a1a38d0d7c feat: Update package.json to 2.2.0 2021-02-26 07:47:03 +00:00
neuecc 42047070dd more ci 2021-02-26 11:42:30 +09:00
neuecc 316f3bd963 cm 2021-02-26 11:00:47 +09:00
neuecc 5f96e646d4 netcore 2021-02-26 10:27:22 +09:00
neuecc 841b6e85ae fix 2021-02-25 22:13:14 +09:00
neuecc 7ac9853cf6 (BreakingChange)AsyncOperation.WithCancellation same ToUniTask(ctoken) 2021-02-25 22:11:18 +09:00
neuecc 0ec45b9da6 (Breaking Changed)UniTask.WithCancellation -> IgnoreWhenCanceled 2021-02-25 21:56:52 +09:00
neuecc dfd0fe9fe4 Add TimeoutController 2021-02-25 20:30:44 +09:00
neuecc 4710268e0a Add PlayerLoopHelper.Initialize(InbjectPlayerLoopTimings) 2021-02-25 19:26:37 +09:00
neuecc cae512e4de Delay automatically fallback to Realtime when run on EditMode #234 2021-02-25 19:25:48 +09:00
neuecc 6351d4c5a4 test1 2021-02-25 11:12:15 +09:00
github-actions[bot] 1173bb4f34 feat: Update package.json to 2.1.2 2021-02-08 10:44:53 +00:00
neuecc e4272b5337 one more back to 2.1.1 2021-02-08 19:43:57 +09:00
neuecc b660506e31 com.unity.modules.unitywebrequest 2021-02-08 19:43:32 +09:00
github-actions[bot] 2c101aef08 feat: Update package.json to 2.1.2 2021-02-08 10:37:58 +00:00
neuecc a8c2fd420a back to 2.1.1 2021-02-08 19:37:09 +09:00
neuecc 89649d8777 remove unity generate csproj 2021-02-08 19:22:54 +09:00
github-actions[bot] 9894bf875b feat: Update package.json to 2.1.2 2021-02-08 10:14:07 +00:00
neuecc a35e5f929d UNITASK_WEBREQUEST_SUPPORT 2021-02-08 19:09:02 +09:00
neuecc 9a3f10d4bf versionDefines for physics etc. 2021-02-08 18:08:56 +09:00
taigacon 3f4a46bca6 Fix using AsyncUnityEventHandler with a already canceled token 2021-01-25 20:02:56 +08:00
neuecc 7d21a75ea8 2.1.1 2021-01-20 17:37:32 +09:00
neuecc 88817b7093 fix Coroutine.ToUniTask breaks pooling when coroutine return immediately 2021-01-20 17:31:55 +09:00
neuecc 52cdadc035 u 2021-01-07 17:43:35 +09:00
neuecc 5401b9b227 ready for release 2.1.0 2021-01-07 17:28:09 +09:00
neuecc 38de930f81 s 2021-01-07 17:25:03 +09:00
neuecc 9be6ef7ba6 new PlayerLoopType detector supports before 2019_4 2021-01-07 17:18:21 +09:00
neuecc 71879266ac Fix DelayType.Realtime does not work when use BuildPlayer in UnityEditor 2021-01-07 16:40:41 +09:00
neuecc 5ced0a1d4b Add UnityWebRequestException.ResponseHeaders #198 2021-01-07 16:03:27 +09:00
neuecc 908e361985 Add PlayerLoopTiming.TimeUpdate/LastTimeUpdate in Unity 2020.2 2021-01-07 13:02:18 +09:00
neuecc 797affae4d throw 2021-01-07 12:09:55 +09:00
Yoshifumi Kawai ae3b825e29
Merge pull request #210 from WallyCZ/2020.2_fix
Unity 2020.2 changed order of the PlayerLoop subsystem list (should fix #208)
2021-01-07 12:01:11 +09:00
neuecc 143d97a73b update version 2021-01-07 11:59:31 +09:00
Václav Lipert 90631c54b1 More robust finding of right player loop system 2021-01-06 23:32:23 +01:00
Yoshifumi Kawai 478e2998a8
Merge pull request #204 from piti6/fix-defer
Accept calling DeferPromise.GetStatus multiple times
2021-01-06 17:45:28 +09:00
Václav Lipert 1c26c81b20 2020.2 changed PlayerLoopSystem order fix 2021-01-03 00:29:00 +01:00
RamType0 a455de88b0 Suppress allocations around UniTask<T>.AsUniTask and UniTask.AsAsyncUnitUniTask
- Fix completedTask.AsUniTask or completedTask.AsAsyncUnitUniTask leaks IUniTaskSource
- UniTask.AsAsyncUnitUniTask no longer allocates when its inner IUniTaskSource is IUniTaskSource<AsyncUnit>
2020-12-17 14:28:10 +09:00
piti6 fba6942d5f Accept GetStatus calling multiple times 2020-12-17 12:31:43 +09:00
Yoshifumi Kawai 3115efb672
Merge pull request #196 from RamType0/ForceCompleteJobHandleOnApplicationQuit
Force complete awaiting JobHandles when quitted in UnityEditor
2020-11-25 09:00:21 +09:00
Ram.Type-0 fd70c031cb Force complete awaiting JobHandles when quitted in UnityEditor 2020-11-24 23:50:01 +09:00
neuecc a2eb75df68 Merge remote-tracking branch 'origin/master' 2020-11-09 16:08:20 +09:00
neuecc 4a62d7eba6 2.0.37 2020-11-09 16:08:17 +09:00
Yoshifumi Kawai 40d2d2fe06
Merge pull request #189 from IllusionCui/master
[DoTween]:fix CancellationToken can't stop UniTask
2020-11-09 15:52:13 +09:00
neuecc d5d2cb5937 use Dictionary instead of ConcurrentDictionary for safety of WebGL build, #179 2020-11-09 14:34:11 +09:00
neuecc 854100c075 fix invalid usage of SpinLock, #195 2020-11-09 14:20:03 +09:00
cuibeibei 5837b26208 [DoTween]:fix CancellationToken can't stop UniTask 2020-10-28 18:48:10 +08:00
neuecc e82353b4d9 UNITY_WEBGL unittest 2020-10-07 10:38:27 +09:00
neuecc 3bebaef969 2.0.36 2020-09-22 10:49:04 +09:00
neuecc 37e8b4500e Add enumerator.ToUniTask(MonoBehaviour coroutineRunner), log WARN on await enumerator when yield not supported types(Coroutine, WaitForEndOfFrame, WaitForFixedUpdate). 2020-09-22 10:08:03 +09:00
neuecc 8537ddf8a6 fix Forget when source is already completed and source is manualy optimized task source, does not work correctly 2020-09-22 09:54:05 +09:00
neuecc 346b1e0a6b 2.0.35 2020-09-21 12:56:13 +09:00
neuecc fc7b9660a5 remove OnMouse_event trigger to prevent warning on Andoird, iOS, #170 2020-09-21 12:50:25 +09:00
neuecc 3f18b37e5f changed clear loop runner queue timing in UnityEditor and run rest action when quitted 2020-09-21 12:30:31 +09:00
neuecc 5d4a90e9bd fix broken loop-runner from 2.0.32, #172 2020-09-21 11:42:02 +09:00
neuecc 2bf9f4f062 fix 2020-09-16 09:58:30 +09:00
neuecc d69490cb49 one more things 2020-09-16 09:55:14 +09:00
neuecc 4e460c11ca 2.0.34 2020-09-16 09:48:57 +09:00
neuecc 9313969314 2.0.33 2020-09-15 06:53:58 +09:00
neuecc a40f89a922 Merge remote-tracking branch 'origin/master' 2020-09-15 06:35:28 +09:00
neuecc e0d8410b62 fix IEnumerator.ToUniTask, does not work correctly when coroutine complete immediately 2020-09-15 06:35:22 +09:00
c0nd3v 81b4fcfac1 Fixed AwaitForAllAssets() 2020-09-11 10:41:41 -04:00
hikari 65622b01f6
[Unwrap] add ConfigureAwait 2020-09-09 14:15:03 +09:00
hikari 87dd5f13fd
[Unwrap()] fix: remove type parameter 2020-09-09 14:05:37 +09:00
neuecc 7bd4b6faf7 2.0.32 2020-09-07 18:52:11 +09:00
neuecc 35a893ad9e Add UniTask.RunOnThreadPool 2020-09-07 17:56:02 +09:00
Yoshifumi Kawai 4955ed18f1
Merge pull request #157 from RamType-0/OptimizeConsumeEnumerator
Optimize EnumeratorPromise.ConsumeEnumerator while consuming CustomYieldInstruction
2020-09-07 17:23:08 +09:00
Yoshifumi Kawai fe462328ab
Merge pull request #148 from RamType-0/TaskPoolNodeByRef
Use ref T for ITaskPoolNode<T>.NextNode
2020-09-07 15:33:22 +09:00
Yoshifumi Kawai 5136d92efa
Merge pull request #147 from RamType-0/OptimizeInternalContinuationIteration
Optimize ContinuationQueue and PlayerLoopRunner iteration
2020-09-07 15:32:50 +09:00
RamType0 227f7872cb Remove comments 2020-09-02 13:19:11 +09:00
Ram.Type-0 725b2fdc35 Format comment 2020-09-01 21:25:43 +09:00
Ram.Type-0 75abc8059f Optimize EnumeratorPromise.ConsumeEnumerator while consuming CustomYieldInstruction 2020-09-01 21:18:13 +09:00
RamType0 f1193743c8 Remove deprecated comment 2020-09-01 11:53:10 +09:00
Ram.Type-0 109730eacd Add missing migration from previous one 2020-08-30 14:18:55 +09:00
Ram.Type-0 1f736afe86 Revert change for ContinuationQueue.RunCore 2020-08-30 13:53:29 +09:00
Ram.Type-0 69c0c362e9 Fix PlayerLoopRunner at PlayerLoopTiming.Initialization is not assigned to PlayerLoopHelper.runners[0] 2020-08-28 21:15:45 +09:00
RamType0 3bb446556a Use ref T for ITaskPoolNode<T>.NextNode 2020-08-28 18:03:22 +09:00
RamType0 ea950d8cec Optimize ContinuationQueue and PlayerLoopRunner iteration
- Fix failing to eliminate array bounds check in PlayerLoopRunner.RunCore
- Reduce number of array bounds check of continuation iteration in ContinuationQueue.RunCore
2020-08-28 17:12:03 +09:00
Ram.Type-0 0bdc933c20 Add TaskPoolRefNode benchmark 2020-08-28 10:54:33 +09:00
hikari 32f9b9d4ac
add Unwrap 2020-08-26 15:59:40 +09:00
neuecc 53907a3719 Merge remote-tracking branch 'origin/master' 2020-08-25 07:16:16 +09:00
neuecc 4937aeee3f 2.0.31 2020-08-25 07:16:08 +09:00
Yoshifumi Kawai 5e5b8aff89
Merge pull request #140 from hikarin522/patch-1
Fix ToCancellationToken
2020-08-25 07:13:56 +09:00
Yoshifumi Kawai a2cbbd82d0
Merge pull request #139 from Cysharp/feature/SubscribeAwait
Add UniTaskAsyncEnumerable.SubscribeAwait
2020-08-25 07:12:00 +09:00
Yoshifumi Kawai 7eac5d8ba8
Merge pull request #138 from Cysharp/hotfix/ContinueOnErrorCallingOnNext
Continue to subscribe if an exception is raised when calling onNext
2020-08-25 07:11:43 +09:00
Yoshifumi Kawai e2b1ed55ae
Merge pull request #134 from SeungHuLee/Add-TMP-Generic-BindTo
Add TMP Generic BindTo Support
2020-08-25 07:11:26 +09:00
neuecc 727c7102d3 Add more DoTween support - `AwaitForComplete`, `AwaitForPause`, `AwaitForPlay`, `AwaitForRewind`, `AwaitForStepComplete`. 2020-08-25 07:10:39 +09:00
neuecc 1494ea6717 removelog spam on UniTaskAsyncEnumerable.EveryValueChanged #141 2020-08-25 06:43:31 +09:00
neuecc f1ce64dbd3 middleware sample 2020-08-25 06:43:03 +09:00
hikari 3bad5cd2bf
fixup! Fix ToCancellationToken linkToken 2020-08-25 02:55:09 +09:00
hikari 7432c0073a
Fix ToCancellationToken linkToken 2020-08-24 17:10:26 +09:00
Mayuki Sawatari f1813a7c94 Continue to subscribe if an exception is raised when calling onNext 2020-08-24 14:44:48 +09:00
Mayuki Sawatari 9e45c0a4d1 Add UniTaskAsyncEnumerable.SubscribeAwait 2020-08-24 14:35:20 +09:00
LSH 2c652cdde7 Add TMP Generic BindTo Support 2020-08-20 03:30:41 +09:00
neuecc 7718d345c8 2.0.30 2020-08-14 17:36:50 +09:00
neuecc 9f39708325 Merge remote-tracking branch 'origin/master' 2020-08-14 17:29:39 +09:00
neuecc bb6dbfa920 Fix await IEnumerator + WaitForSeconds does not follow timescale(to behave same as StartCoroutine) #133 2020-08-14 17:29:30 +09:00
Ram.Type-0 4d7cc7ed61 Disable auto reference of UniTask.Editor 2020-08-14 04:56:58 +09:00
neuecc b64f31eb0b 2.0.28 2020-08-13 17:44:15 +09:00
neuecc 38d159b69e IEnumerator.ToUniTask() behave same as StartCoroutine #120 2020-08-13 17:44:06 +09:00
neuecc a72ceeba11 UNITASK_ASSETBUNDLE_SUPPORT #131 2020-08-13 16:33:32 +09:00
neuecc 2e35324403 ready for 2.0.27 2020-07-30 08:12:32 +09:00
neuecc e9474649c4 Add AssetBundleRequest.AwaitForAllAssets 2020-07-30 08:12:24 +09:00
neuecc a8e0ce50c8 Fix Addressables async extensions when autoReleaseHandle: true 2020-07-30 08:12:03 +09:00
neuecc db7ddba735 Add UniTaskSynchronizationContext, PlayerLoopHelper.IsInjectedUniTaskPlayerLoop, DumpCurrentPlayerLoop 2020-07-30 08:11:07 +09:00
neuecc 1999d94b33 Add UniTask.WithCancellation 2020-07-30 08:10:16 +09:00
neuecc 44af123b6c Update project version to 2019.4.5f1 2020-07-30 07:01:29 +09:00
neuecc 547b700ba7 AsyncOperation/Addressables returns Cacnceled UniTask when already canceled. 2020-07-16 06:12:39 +09:00
neuecc 6b87d5d2b0 2.0.26 2020-07-16 06:05:04 +09:00
neuecc 023894d45e Merge remote-tracking branch 'origin/master' 2020-07-16 05:37:08 +09:00
neuecc c2824027d4 more strict handle cancel timing on asyncOperation.WithCancellation() 2020-07-16 05:36:21 +09:00
cuibeibei 65b6553a1a [addressable]:fix CancellationToken can't stop UniTask #114 2020-07-15 15:14:08 +08:00
neuecc 9d3b7adc8e Add CancellationToken cancellationToken = default to UniTask.Run #113 2020-07-14 11:25:30 +09:00
neuecc 3724fc204c memo of IL2CPP VM bug. 2020-07-14 06:40:32 +09:00
neuecc b97451a915 UnityWebRequest, Addressables returns exception when already isDone and AsyncOperation has error. 2020-07-13 09:34:43 +09:00
neuecc b61e3c347f remove unity csproj 2020-07-11 02:19:40 +09:00
neuecc 0bb44066c0 2.0.25 2020-07-09 22:39:48 +09:00
neuecc 305c4aaa07 fix UnityWebRequestException String access is not supported #110 2020-07-09 22:17:49 +09:00
neuecc 42d627f3ba fix again #108 2020-07-09 17:29:04 +09:00
neuecc 6dd2b464a3 NRE on head request with invalid url #108 2020-07-09 01:31:27 +09:00
neuecc 32f24cf8f8 cleanup unused code 2020-07-04 22:08:48 +09:00
neuecc 887db5b281 2.0.24 2020-07-04 06:36:14 +09:00
neuecc fee5518a82 Improve, Select/Where add UniTaskTracker 2020-07-04 06:29:50 +09:00
neuecc 551128e64c Add UniTaskAsyncEnumerable.Create 2020-07-04 06:29:33 +09:00
neuecc c65ae8d18e error detail 2020-07-04 06:29:08 +09:00
neuecc c1f75d9ebd Add UniTask.Never 2020-06-30 04:01:00 +09:00
neuecc 1c264f380e 2.0.23 2020-06-29 03:22:33 +09:00
neuecc f02bfa0a1e Fix lose exception stacktrace info when task is sync completed 2020-06-29 03:20:13 +09:00
neuecc 9d684006fc test 2020-06-29 03:02:23 +09:00
neuecc d935b226c0 2.0.22 2020-06-29 01:13:37 +09:00
neuecc d9e20de8a5 Add UniTaskAsyncEnumerable.SkipUntil, TakeUntil. Fix SkipUntilCanceled behaviour. 2020-06-29 01:10:18 +09:00
neuecc 23997f0f93 SwitchToMainThread, ReturnToMainThread, SwitchToSynchronizationContext, ReturnToSynchronizationContext supports CancellationToken 2020-06-28 20:57:42 +09:00