Commit Graph
457 Commits
Author SHA1 Message Date
Alexandre Zollinger Chohfi 7eee75145f Removed deprecated NotifyTaskCompletion and Singleton classes. 2020-08-17 11:55:34 -07: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
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 PedriandMichael Hawker MSFT 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 PedriandMichael Hawker MSFT 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 e42485d18c Merge branch 'master' into feature/mvvm-toolkit-part2 2020-08-08 18:03:07 +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 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
Sergio Pedri d2f0bf7898 Reduced memory usage in Count tests 2020-08-03 23:38:52 +02:00
Michael Hawker MSFT (XAML Llama) 0c2dbf4c99 Merge pull request #3406 from SimonCropp/spelling
fix some spelling
2020-08-03 10:16:08 -07:00
Simon Cropp c97d16a9e3 more spelling 2020-08-02 19:36:09 +10:00
Simon Cropp f4f8bff674 fix some spelling 2020-08-02 19:18:48 +10:00
Michael Hawker MSFT (XAML Llama) a4410bd68f Merge pull request #3229 from Sergio0694/feature/mvvm-apis
Microsoft.Toolkit.Mvvm package
2020-07-31 17:35:27 -07:00
Sergio Pedri 0e05182228 Updated package description for ViewModelBase 2020-07-30 20:43:48 +02:00
Sergio Pedri b9b30940fe Renamed Task.ResultOrDefault extensions 2020-07-30 20:42:24 +02:00
Sergio Pedri f0c09fd06a Changed sender type to object in notification message 2020-07-30 20:40:46 +02:00
Sergio Pedri dabe37a350 Renamed IServiceCollection arg to services 2020-07-30 20:38:23 +02:00
Sergio Pedri b257a09082 Switched property name args to string? 2020-07-30 20:36:53 +02:00
Sergio Pedri cadf147879 Code tweaks to support #3293 2020-07-28 01:47:08 +02:00
Sergio Pedri 14b43b2693 Merge remote-tracking branch 'upstream/master' into feature/mvvm-apis 2020-07-28 01:41:58 +02:00
Michael Hawker MSFT (XAML Llama) 31130025a1 Merge pull request #3293 from matthew4850/master
Add .net standard 1.4 target to Microsoft.Toolkit project.
2020-07-27 16:33:38 -07:00
Sergio Pedri b3f2fc67f4 Merge branch 'master' into master 2020-07-26 15:44:34 +02:00
Sergio Pedri 6df73c6a09 Removed unnecessary overhead in request messages 2020-07-23 20:01:15 +02:00
Sergio Pedri 9da95ab7d2 Renamed Set -> SetProperty for consistency with other libs 2020-07-23 00:47:38 +02:00
Sergio Pedri ed1a6fddc7 Merge branch 'master' into feature/mvvm-apis 2020-07-21 13:29:20 +02:00
Michael Hawker MSFT (XAML Llama) 127c9105e4 Merge pull request #3191 from vgromfeld/u/vgromfeld/bindableAttributeRemoved
Remove `Bindable` attribute to reduce binary size impact. Thanks @vgromfeld and @dotMorten.
2020-07-20 17:19:08 -07:00