1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-11-25 01:42:46 +01:00
Commit Graph

1970 Commits

Author SHA1 Message Date
Sergio Pedri
316557b683 Fix a bug in Dictionary2<TKey, TValue>.Enumerator.MoveNext() 2021-12-02 18:04:03 +01:00
Sergio Pedri
dd2a827694 Switch messengers to new dictionary, code refactoring 2021-12-02 18:04:03 +01:00
Sergio Pedri
622be37d5c Specialize Dictionary<TKey, TValue> for the messenger types 2021-12-02 18:04:03 +01:00
Sergio Pedri
7c2bc7f0ed Port Dictionary<TKey, TValue> from .NET 6 2021-12-02 18:04:03 +01:00
Sergio Pedri
1b084e4ab8 Add unit tests for ConditionalWeakTable2<TKey, TValue> 2021-12-02 18:04:03 +01:00
Sergio Pedri
a86eb44474 Hoist enumeration lock for custom conditional table 2021-12-02 18:04:03 +01:00
Sergio Pedri
a6f5dc5ff2 Remove tracking of multiple active enumerators 2021-12-02 18:04:03 +01:00
Sergio Pedri
c2a8731452 Switch .NET table GetEnumerator() to ref struct enumerator 2021-12-02 18:04:02 +01:00
Sergio Pedri
03032c7a1a Moved .NET Stadard 2.0 ConditionalWeakTable type 2021-12-02 18:04:02 +01:00
Sergio Pedri
65e6746c57 Initial refactor pass for .NET 6 ConditionalWeakTable 2021-12-02 18:04:02 +01:00
Sergio Pedri
aaecb7176b Port ConditionalWeakTable<TKey, TValue> from .NET 6 2021-12-02 18:04:02 +01:00
Sergio Pedri
8eaea35c2a
Merge pull request #29 from CommunityToolkit/dev/guard-callerargumentexpression
Add [CallerArgumentExpression] to Guard APIs
2021-12-02 17:57:09 +01:00
Sergio Pedri
2f6e10ab02
Merge pull request #31 from CommunityToolkit/dev/generated-headers
Improve header for generated files
2021-11-30 13:40:46 +01:00
Sergio Pedri
923fccafee
Merge pull request #45 from CommunityToolkit/dev/strong-messenger-unregister-fixes
StrongReferenceMessenger.Unregister[All] fixes
2021-11-29 14:36:09 +01:00
Sergio Pedri
35b034fc62 Fix StrongReferenceMessenger.Unregister, add concurrent unit tests 2021-11-29 14:21:08 +01:00
Sergio Pedri
32c23450f9 Fix some bugs in StrongReferenceMessenger.Unregister[All] APIs 2021-11-29 13:31:49 +01:00
Sergio Pedri
b2c6c09b5f Update README.md
Added a quick summary following feedbacks from Reddit
2021-11-27 17:44:32 +01:00
Sergio Pedri
e394a35380
Merge pull request #42 from CommunityToolkit/dev/net6-target
Switch .NET 5 target to .NET 6
2021-11-23 15:45:53 +01:00
Sergio Pedri
1f837ee81b Add .NET 6 fast paths for array extensions 2021-11-23 15:24:51 +01:00
Sergio Pedri
48ab1dda62 Streamline some build conditional blocks 2021-11-22 17:55:01 +01:00
Sergio Pedri
bfc72c4944 Update BitOperations.RoundUpToPowerOf2 polyfill 2021-11-22 17:49:21 +01:00
Sergio Pedri
f3fb0bf80d Update CI script to .NET 6 2021-11-22 17:37:34 +01:00
Sergio Pedri
1910995151 Update CommunityToolkit.Mvvm to .NET 6 2021-11-22 17:37:34 +01:00
Sergio Pedri
1d420b780c Update CommunityToolkit.HighPerformance to .NET 6 2021-11-22 17:37:34 +01:00
Sergio Pedri
5275a50ba4 Update CommunityToolkit.Diagnostics to .NET 6 2021-11-22 17:37:20 +01:00
Sergio Pedri
47b32b5953 Update CommunityToolkit.Common to .NET 6 2021-11-22 17:37:20 +01:00
Sergio Pedri
d3a34ae7dd Update verify headers script for generated headers 2021-11-15 12:35:34 +01:00
Sergio Pedri
6fac6dd5a9 Remove leftover GetTypeInfo() calls 2021-11-15 12:09:45 +01:00
Sergio Pedri
806287d7e2 Fix generated source for nullability attributes
This both adds the new "// <auto-generated/>" header, as well as restores the non-file-scoped namespace declaration so that the code will compile on C# < 10 as well (which is explicitly supported by the MVVM Toolkit)
2021-11-15 11:23:44 +01:00
Sergio Pedri
12750907cb Switch generated headers to "// <auto-generated/>" 2021-11-15 11:22:42 +01:00
Sergio Pedri
744bfca7bb Add some sample unit tests 2021-11-15 10:54:48 +01:00
Sergio Pedri
465849003f Add [CallerArgumentExpression] to Guard APIs 2021-11-15 10:54:48 +01:00
Sergio Pedri
1a94430894
Merge pull request #6 from CommunityToolkit/readme-update
Update readme build number and add contributor image
2021-11-11 18:20:55 +01:00
Michael Hawker MSFT (XAML Llama)
339efc831f
Minor edit to trigger Release 2021-11-10 14:50:54 -08:00
Michael Hawker MSFT (XAML Llama)
b2f7e12825
Update readme build number and add contributor image 2021-11-10 14:23:37 -08:00
Sergio Pedri
e0aa4fcd60
Merge pull request #4 from CommunityToolkit/dev/ci-setup
Test CI Setup
2021-11-09 16:16:26 +01:00
Sergio Pedri
efe9a26a3e Remove unused targets from Cake script 2021-11-09 16:03:33 +01:00
Sergio Pedri
f841be9f6f Skip packing for auxiliary test project 2021-11-09 15:18:46 +01:00
Sergio Pedri
8dd533d680 Switch to dotnet pack to create NuGet packages 2021-11-09 15:18:46 +01:00
Sergio Pedri
55f38715c2 Add missing TFMs in source generator test project 2021-11-09 15:18:46 +01:00
Sergio Pedri
5f1320fabb Switch build and test to dotnet tool 2021-11-09 15:18:46 +01:00
Sergio Pedri
b8c77ad57c Minor style tweaks 2021-11-05 00:43:20 +01:00
Sergio Pedri
ad74dc9b68 Remove failing restore step 2021-11-05 00:43:20 +01:00
Sergio Pedri
c516b23ced Remove leftover steps from CI script 2021-11-05 00:43:20 +01:00
Sergio Pedri
a5dfcd25eb Update CI script 2021-11-05 00:43:19 +01:00
Sergio Pedri
e7849904a5 Rename a helper test project
This fixes an issue running dotnet test on the solution
2021-11-05 00:43:07 +01:00
Sergio Pedri
7d68280215 Remove redundant [TestCategory] attributes 2021-11-04 21:48:54 +01:00
Sergio Pedri
c8a17e6a25 Remove .NET Standard 1.4 targets 2021-11-02 11:35:50 +01:00
Sergio Pedri
0eba4b179a Add .git-blame-ignore-revs file 2021-11-02 10:49:51 +01:00
Sergio Pedri
a5ef60ea4d Enable .NET Standard 2.0 tests through .NET Framework 4.7.2 2021-11-02 02:36:50 +01:00