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

1970 Commits

Author SHA1 Message Date
Sergio Pedri
05bf6bd6de Added MessageHandler<TMessage> delegate, removed closures 2020-08-17 11:22:56 +02:00
Alexandre Zollinger Chohfi
5ba776112c Removed TabView/TabViewItem, HeaderedTextBlock, LightBehavior/AnimationExtensions.Light, and some other smaller methods marked as Obsolete. 2020-08-14 15:30:25 -07:00
Sergio Pedri
b01b9aa0bb Add XML docs for thrown exceptions 2020-08-13 18:51:08 +02:00
Sergio Pedri
6fa47ccfd5 Update ValidateProperty API to mirror SetProperty 2020-08-13 18:47:05 +02:00
Sergio Pedri
a32bbfefcc Add initial version of ObservableValidator type 2020-08-13 18:32:32 +02:00
Sergio Pedri
e6997c8154 Fixed a typo and tweaked a comment 2020-08-13 01:26:26 +02:00
Sergio Pedri
58680e3af7 Minor performance improvement 2020-08-12 17:59:17 +02:00
Sergio Pedri
ea011325ff Enabled shared object[] pool for Messenger 2020-08-12 17:52:17 +02:00
Sergio Pedri
90c63872e4 Merge branch 'master' into improvement/high-performance-tweaks 2020-08-12 13:40:57 +02:00
Sergio Pedri
827cc3e151 Merge branch 'master' into feature/new-bithelper-apis 2020-08-12 13:40:02 +02:00
Sergio Pedri
ab962f6af6 Merge branch 'master' into optimization/movsxd-removal 2020-08-12 13:39:40 +02:00
Sergio Pedri
7e7a6545ae Merge branch 'master' into feature/string-pool 2020-08-12 13:39:27 +02:00
Sergio Pedri
44fcd03772 Merge branch 'master' into feature/throw-helpers 2020-08-12 13:36:59 +02:00
Sergio Pedri
fc95d7e60c Fixed a build error, minor refactoring 2020-08-12 13:36:40 +02:00
Alexandre Zollinger Chohfi
4890b5ed17 Merge pull request #3420 from windows-toolkit/moreSpelling
fix some spelling
2020-08-11 15:40:38 -07:00
Kyaa Dost
28507d8761 Merge branch 'master' into moreSpelling 2020-08-11 11:24:42 -07:00
msftbot[bot]
41343d8767 Microsoft.Toolkit.Mvvm package (part 2) (#3413)
## Follow up to #3229 
<!-- Add the relevant issue number after the "#" mentioned above (for ex: Fixes #1234) which will automatically close the issue once the PR is merged. -->

### NOTE
Marking this not as a draft so that the CI will run, but added the "DO NOT MERGE ⚠" tag as we might come up with further improvements to add to this PR before actually deciding to merge this and finalize the package.

<!-- Add a brief overview here of the feature/bug & fix. -->

## PR Type
What kind of change does this PR introduce?
<!-- Please uncomment one or more that apply to this PR. -->

 - Bugfix 
 - Feature
 - Refactoring (no functional changes, no api changes) 
<!-- - Build or CI related changes -->
<!-- - Documentation content changes -->
<!-- - Sample app changes -->
<!-- - Other... Please describe: -->

## Notable changes
<!-- Describe how was this issue resolved or changed? -->
This PR includes some refinements and tweaks to the `Microsoft.Toolkit.Mvvm` package, like:

- Added new `ObservableRecipient.SetProperty` overloads with `Expression<Func<T>>` and `bool broadcast` params
- Fixed a possible bug in `Messenger.Type2.Equals` (just to be extra sure)
- Improved codegen for `ObservableRecipient.Set<T>(ref T, T, string)` (missing `EqualityComparer<T>.Default.Equals` inlining)

## PR Checklist

Please check if your PR fulfills the following requirements:

- [X] Tested code with current [supported SDKs](../readme.md#supported)
- [ ] ~~Pull Request has been submitted to the documentation repository [instructions](..\contributing.md#docs). Link: <!-- docs PR link -->~~
- [ ] ~~Sample in sample app has been added / updated (for bug fixes / features)~~
    - [ ] ~~Icon has been created (if new sample) following the [Thumbnail Style Guide and templates](https://github.com/windows-toolkit/WindowsCommunityToolkit-design-assets)~~
- [X] Tests for the changes have been added (for bug fixes / features) (if applicable)
- [X] Header has been added to all new source files (run *build/UpdateHeaders.bat*)
- [X] Contains **NO** breaking changes
2020-08-11 17:36:09 +00:00
Alexandre Zollinger Chohfi
4c8d87060b Merge branch 'master' into moreSpelling 2020-08-11 10:11:32 -07:00
Alexandre Zollinger Chohfi
20a26b3cb1 Merge branch 'master' into feature/mvvm-toolkit-part2 2020-08-11 10:06:07 -07:00
Alexandre Zollinger Chohfi
603da131ea Merge pull request #3410 from Sergio0694/bugfix/task-result-converter
Improved reliability of Task.GetResultOrDefault
2020-08-11 10:03:28 -07:00
Sergio Pedri
e143d397cb Updated package title
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-08-11 18:55:29 +02:00
Sergio Pedri
8dc298aa11 Improved package description
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-08-11 18:49:53 +02:00
Sergio Pedri
d3a693013a Updated Microsoft.Toolkit.Mvvm .csproj info 2020-08-11 18:38:13 +02:00
Sergio Pedri
ffea056911 Merge branch 'master' into optimization/movsxd-removal 2020-08-08 18:03:49 +02:00
Sergio Pedri
d0f667d3f2 Merge branch 'master' into feature/string-pool 2020-08-08 18:03:36 +02:00
Sergio Pedri
e42485d18c Merge branch 'master' into feature/mvvm-toolkit-part2 2020-08-08 18:03:07 +02:00
Sergio Pedri
778bc0ba93 Merge branch 'master' into improvement/high-performance-tweaks 2020-08-08 18:02:37 +02:00
Sergio Pedri
b776866aa9 Merge branch 'master' into feature/throw-helpers 2020-08-08 18:02:24 +02:00
Sergio Pedri
cb3dc08fbc Minor optimization to the MessengerExtensions type 2020-08-08 17:26:30 +02:00
Alexandre Zollinger Chohfi
16f6c4687b Merge branch 'master' into bugfix/task-result-converter 2020-08-07 18:05:18 -07:00
Alexandre Zollinger Chohfi
abc074389f Merge pull request #3408 from Sergio0694/bugfix/ci-memory-usage
Reduced memory usage in HighPerformance tests
2020-08-07 18:04:52 -07:00
Sergio Pedri
a5edd468b0 Added missing volatile field modifier 2020-08-08 01:49:11 +02:00
Sergio Pedri
8d081ae99a Merge branch 'master' into bugfix/ci-memory-usage 2020-08-07 19:30:35 +02:00
Sergio Pedri
7660f7c215 Improved a comment, fixed a typo 2020-08-07 15:45:04 +02:00
Sergio Pedri
5907963f71 Merge branch 'master' into improvement/high-performance-tweaks 2020-08-07 15:41:59 +02:00
Sergio Pedri
88c75f730a Merge pull request #3412 from windows-toolkit/hotfix-DocSpellingErrors
Fix spelling errors in .csproj and documentation files
2020-08-07 15:40:17 +02:00
Sergio Pedri
d3ef8bfb07 Minor (possible) bug fix 2020-08-06 13:14:06 +02:00
Kyaa Dost
6f4b9c9f9f Update Microsoft.Toolkit.HighPerformance.csproj 2020-08-05 17:25:36 -07:00
Sergio Pedri
c3a327d3a1 Minor code tweaks 2020-08-05 19:16:03 +02:00
Sergio Pedri
5c2b8b0abb Minor performance improvement for Set(ref T) overload 2020-08-05 19:11:45 +02:00
Sergio Pedri
5da28b5f7c Added SetProperty overloads with expression/broadcast 2020-08-05 18:48:44 +02:00
Sergio Pedri
e5b00f85aa Added unit test for AsyncTaskMethodBuilder<T> 2020-08-05 00:22:38 +02:00
Sergio Pedri
5cba37aa57 Improved reliability of Task.GetResultOrDefault 2020-08-04 14:56:50 +02:00
Sergio Pedri
8cf39a14d7 Switched to unmanaged memory in all parallel tests 2020-08-04 13:51:49 +02:00
Sergio Pedri
9dc5481b47 Code refactoring to support Memory<T> tests 2020-08-04 13:46:24 +02:00
Sergio Pedri
9ace1401d5 Added missing file header 2020-08-04 13:34:19 +02:00
Sergio Pedri
9af5262458 Reduced memory usage in hash code tests 2020-08-04 13:16:39 +02:00
Sergio Pedri
db7f64f134 Minor code refactoring 2020-08-04 13:08:28 +02:00
Sergio Pedri
917b96acbb Attempt to fix CI with manual memory management 2020-08-04 01:59:32 +02:00
Simon Cropp
a3c91004ea fix some spelling 2020-08-04 09:47:21 +10:00