Commit Graph
2284 Commits
Author SHA1 Message Date
Sergio Pedri 2b84771d1f Added SetAndNotifyOnCompletion overload with callback 2020-07-11 00:11:45 +02:00
Sergio Pedri 32dab841b4 Added IsRunning property to async commands 2020-07-10 23:58:15 +02:00
Sergio Pedri fe55561d38 Initial code refactoring to SetAndNotifyOnCompletion 2020-07-10 23:58:03 +02:00
Alexandre Zollinger Chohfi d1edd6fa87 Merge branch 'master' into master 2020-07-10 14:21:34 -07:00
Sergio Pedri 0bcac42cbd Improved tests for ISubscriber<T> APIs 2020-07-10 20:11:09 +02:00
Sergio Pedri 7e5ffc6585 Improved remarks for ViewModeBase.OnDeactivated 2020-07-10 19:51:35 +02:00
Sergio Pedri 7bb0dbf70b Added more comments to SetAndNotifyOnCompletion 2020-07-10 19:25:53 +02:00
Sergio Pedri 0b7ee9a538 Added ViewModelBase test for message unregistration 2020-07-10 19:11:46 +02:00
Sergio Pedri 269265ecc8 Added new unit tests, minor bug fixes 2020-07-10 16:08:09 +02:00
Sergio Pedri a704cafb98 Minor code refactoring 2020-07-10 14:40:47 +02:00
Sergio Pedri 44f61b4882 Added ISubscriber<TMessage> interface, new extensions 2020-07-10 14:40:29 +02:00
Sergio Pedri 6dd7b5a5ba Reverted hashcode computation to just SIMD djb2 2020-07-09 18:46:16 +02:00
Sergio Pedri 39f3339195 Restructured buckets/entries setup with target size 2020-07-09 18:45:12 +02:00
Sergio Pedri 5b03ff27ce Improved StringPool distribution
We're now using the content hashcode to calculate both the bucket index and the entry index, so that even if a given StringPool instance is used just with a series of strings with a very small range of different lengths, all the available buckets will still be used
2020-07-08 16:12:18 +02:00
Sergio Pedri a298ad5c4b Added tests for GetOrAdd with encoding 2020-07-08 12:08:11 +02:00
Sergio Pedri b8398019d3 Added GetOrAdd(ReadOnlySpan<byte>, Encoding) overload 2020-07-08 12:03:51 +02:00
Sergio Pedri 75482a142b Added unit tests for GetOrAdd(string) overload 2020-07-08 02:01:55 +02:00
Sergio Pedri 33dda8b4e2 Minor code refactoring 2020-07-08 01:58:13 +02:00
Sergio Pedri 8c6e9295de Minor tweaks to unit tests 2020-07-08 01:52:54 +02:00
Sergio Pedri 6c91cc70ed Added GetOrAdd(string) overload 2020-07-08 01:51:04 +02:00
Sergio Pedri e4c7d32ccb Fixed unit tests on UWP 2020-07-08 01:23:50 +02:00
Sergio Pedri 5ab9e1d73b Added uni tests for StringPool.Add and TryGet 2020-07-08 01:15:56 +02:00
Sergio Pedri 29e32e39f1 Minor code refactoring 2020-07-08 01:08:32 +02:00
Sergio Pedri 9de7a12fcc Added StringPool.Add(string) method 2020-07-08 00:56:03 +02:00
Sergio Pedri aabd6d2fd6 Switched Bucket type to a struct 2020-07-08 00:37:04 +02:00
Sergio Pedri 5f858d4d74 Fixed build errors on UWP (string -> ReadOnlySpan<T>) 2020-07-07 22:58:32 +02:00
Sergio Pedri a9799cb310 Added StringPool.TryGet API 2020-07-07 22:48:00 +02:00
Sergio Pedri c6e0859b66 Minor code refactoring 2020-07-07 22:42:32 +02:00
Sergio Pedri d050c5c128 Added StringPool tests 2020-07-07 20:46:48 +02:00
Sergio Pedri abb5c8e05f Fixed input checks 2020-07-07 20:46:33 +02:00
Sergio Pedri 4068797fea Added StringPool default constructor, input checks 2020-07-07 20:41:33 +02:00
Sergio Pedri 0128201ce1 Added StringPool type 2020-07-07 20:25:16 +02:00
Sergio Pedri 9cc673883f Added explicit unchecked for clarity 2020-07-05 16:44:42 +02:00
Sergio Pedri fe60de695d Improved codegen for ReadOnlySpanExtensions.DangerousGetLookupReferenceAt 2020-07-05 16:03:17 +02:00
Vincent Gromfeld 15c0947426 merge from master 2020-07-02 10:55:16 +02:00
Sergio Pedri 5b5ea1c74f Fixed a bug in the unit tests 2020-07-01 16:01:25 +02:00
Sergio Pedri d8d7e80fe9 Added GetResponsesAsync API to AsyncCollectionRequestMessage<T> 2020-07-01 13:06:57 +02:00
Sergio Pedri 24c30e22e9 Minor tweaks to AsyncCollectionRequestMessage<T> 2020-07-01 12:57:09 +02:00
Sergio Pedri d4ff8519d9 Updated Task<T>.ResultOrDefault<T> on .NET Standard 2.1 2020-06-28 14:05:40 +02:00
Sergio Pedri 862bdf5310 Minor code refactoring 2020-06-28 13:41:24 +02:00
Sergio Pedri 265857c513 Minor code style tweaks 2020-06-28 13:36:14 +02:00
Sergio Pedri e92fd9a531 Fixed ambiguous match in XML comment 2020-06-28 13:22:40 +02:00
Sergio Pedri 93ca160f2a Added missing readonly modifier to Unit type 2020-06-28 13:21:47 +02:00
Sergio Pedri 3b1612f560 Minor bug fixes and code refactoring 2020-06-28 13:19:05 +02:00
Sergio Pedri d94c429519 Added unit tests for new request message types 2020-06-26 15:05:07 +02:00
Sergio Pedri 548a8148ba Improved Messenger XML docs 2020-06-26 13:31:11 +02:00
Sergio Pedri cd189e2836 Added AsyncCollectionRequestMessage<T> class 2020-06-26 13:18:49 +02:00
Sergio Pedri a7b718d1d5 Added CollectionRequestMessage<T> class 2020-06-26 13:18:39 +02:00
Sergio Pedri 841537d023 Added AsyncRequestMessage<T> class 2020-06-26 12:39:07 +02:00
Sergio Pedri d704281954 Merge branch 'master' into feature/mvvm-apis 2020-06-26 12:32:38 +02:00