Commit Graph
2284 Commits
Author SHA1 Message Date
Ze Groumf 7bb10d54f6 updated sample and fixed ReadOnlyGroupedCollection implementation 2020-03-26 00:18:16 +01:00
Vincent 8a908915fa removed remaining bindable attributes 2020-03-25 09:22:56 +01:00
Michael Hawker MSFT (XAML Llama) f3fdc21288 Merge pull request #3189 from windows-toolkit/styleCopUpdate
Updated StyleCop to 1.1.118.
2020-03-24 18:16:49 -07:00
Alexandre Zollinger Chohfi 98bf68c112 Updated StyleCop to 1.1.118. 2020-03-24 16:54:08 -07:00
Vincent 915292dd43 Merge pull request #3155 from vgromfeld/u/vgromfeld/removeUnusedFields
Remove IDE0059: Value assigned to variable is never used
2020-03-23 23:02:30 +01:00
Ze Groumf 73287b3a0c add unit tests 2020-03-19 23:59:36 +01:00
Ze Groumf d37b52c679 first drop 2020-03-19 22:01:34 +01:00
Vincent 50b0e556a3 Merge branch 'master' into u/vgromfeld/removeUnusedFields 2020-03-16 08:51:49 +01:00
Sergio Pedri 482c4722d4 Merge pull request #10 from windows-toolkit/master
Changes from official master
2020-03-15 12:48:59 +01:00
Sergio PedriandMichael Hawker MSFT 8acc8b7308 Guard APIs (#3131)
* Initial guard APIs added

* Added EqualTo and NotEqualTo APIs

* Added more Guard APIs

* New interval Guard APIs added

* Added Guard APIs for IEnumerable<T> values

* Renamed APIs

* Added Guard APIs for Stream values

* Added Guard APIs for ReadOnlySpan<T> values

* Added Guard APIs for ReadOnlyMemory<T> values

* Code refactoring

* Minor code refactoring

* Added Guard.IsBitwiseEqualTo<T> API

* Added Guard.IsNull API

* Code refactoring and optimizations

* Code refactoring

* Added Guard.HasSizeNotEqualTo<T> API

* Added Guard size API overloads for the string type

* Added Guard size API overloads for T[] arrays

* Code refactoring

* Removed unnecessary using directives

* Added Guard reference check APIs

* Added new Guaard APIs for string values

* Improved Guard.IsBitwiseEqualTo<T> API

* Improved Guard.IsNull APIs

* Added new size APIs for copy operations

* Added new type test APIs, minor code tweaks

* Minor bug fixes

* Added Guard APIs for Task values

* Minor code tweak

* Added new Guard.IsEmpty APIs

* Refactored code to remove unsafe requirement

* Added Guard.IsInRange<T> APIs

* Added missing type checks in Guard.IsBitwiseEqualTo API

* Added ValueTypeExtensions.ToHexString API

* Code refactoring

* Added ValueTypeExtensions tests

* Added general Guard tests

* Bug fixes in the Guard class

* Minor speed improvements

* Code refactoring

* Removed unnecessary using directives

* More speed improvements and API refactoring

* Refactored/fixed some Guard APIs

* More bug fixes

* Added Guard tests for array APIs

* Fixed the Guard.IsNotEmpty<T> array API

* Moved exception throwers to separate class

* Moved general Guard throwers to separate class

* Disabled warning for XML overload resolution

* Moved array Guard throwers to separate class

* Moved stream Guard throwers to separate class

* Fixed some XML docs

* Moved enumerable Guard throwers to separate class

* Moved task Guard throwers to separate class

* Added new Guard APIs for tasks

* Moved string Guard throwers to separate class

* Moved ReadOnlySpan<T> Guard throwers to separate class

* Added Span<T> APIs to the Guard class

* Moved ReadOnlyMemory<T> Guard throwers to separate class

* Added Memory<T> APIs to the Guard class

* Minor code refactoring

* Update file headers

* Removed unnecessary methods

* Added TypeExtensions.ToTypeString extension

* Improved error messages for general Guard APIs

* Improved error messages for Enumerable Guard APIs

* Improved error messages for stream Guard APIs

* Improved error messages for array Guard APIs

* Improved error messages for string Guard APIs

* Improved error messages for task Guard APIs

* Improved error messages for span Guard APIs

* Improved error messages for memory Guard APIs

* Improved type string for nullable types

* Improved type string for value tuple types

* Minor performance improvement

* Added numeric comparison T4 file

* Updated .gitignore to skip generated files

* Moved comparison Guard APIs to separate file

* Renamed template file, fixed incorrect XML doc

* Fixed missing blank line

* Removed unnecessary type parameters

* Moved enumerable Guard APIs to separate file

* Code refactoring in the enumerable T4 template

* Renamed a file

* Added empty template for ThrowHelper.Collection

* Code refactoring in the T4 templates

* Switched collection throw helpers to T4 generation

* Code refactoring

* Removed incorrect file header

* Added new Guard.IsInRangeFor API

* Updated .gitignore, added generated files to source control

* Added tests for Guard.IsInRangeFor

* Improved formatting of values in error messages

* Improved error messages

* More improvements to the error messages

* Minor code tweaks

* Added Guard.IsNotOfType APIs

* Added Guard.IsNotAssignableToType APIs

* Added Guard.IsDefault<T> APIs

* Fixed some XML docs

* Added missing [Pure] attribute

* Fixed typo in a comment

* Removed unnecessary comment after code changes

* Added XML comment for the T4 service

* Added more comments to ToHexString

* Suppressed an incorrect code style warning

* Added more tests for Guard.IsInRange

* Added Guard.IsNotInRangeFor APIs

* Added readme file for the T4 templates

* Changed generated files extension to .g.cs to avoid conflicts

* Added Guard.IsCloseTo and Guard.IsNotCloseTo APIs

* Added tests for IsCloseTo

* Updated ".g.cs" extension for generated files

Co-Authored-By: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>

* Removed extra space (typo)

Co-Authored-By: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>

* More tweakes to the Guard.md file

* Excluded TypeInfo.g.cs file from .ttinclude from checkout

* Added more info about target ranges for some APIs

* Added IsCloseTo overloads for long type

* Minor code tweaks

* Added comment to describe (uint) cast range check trick

* Added a nore about the .g.cs files being checked in

* Fixed IsCloseTo tests

* Fixed IsNull tests

Co-authored-by: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>
2020-03-14 18:13:04 -07:00
Vincent Gromfeld 5424cf709d remove unused fields 2020-02-28 15:15:14 +01:00
Alexandre Zollinger Chohfi 37438bf687 Merge pull request #3033 from windows-toolkit/mhawker/graph-helpers
Graph Control Prep
2019-10-31 14:20:35 -07:00
michael-hawker a87660cf2c Rename Convert to Converters to not clash with system one. 2019-10-24 21:11:46 -07:00
michael-hawker 2808f6dc36 Add Missing Header 2019-10-24 18:45:12 -07:00
michael-hawker 4ed955e13f Move ToFileSizeString to new Convert static class. 2019-10-24 15:24:48 -07:00
Michael Hawker MSFT (XAML Llama) a8a71d479d Grab Exception Message if no InnerException 2019-10-22 17:46:55 -07:00
michael-hawker 03ce8524c9 Clean-up warnings by modernizing syntax 2019-10-21 12:46:13 -07:00
michael-hawker ad63343636 Move needed graph Dependencies to Microsoft.Toolkit and Microsoft.Toolkit.Uwp.UI
FileSize String Extension and Converter
Centralize Usage in other places from OneDrive and SharePoint
2019-10-21 00:47:27 -07:00
Michael Hawker MSFT (XAML Llama) e3dfa18c61 Merge pull request #3003 from windows-toolkit/mhawker/singleton
Add Singleton Pattern Helper to Microsoft.Toolkit
2019-09-13 14:15:51 -07:00
michael-hawker 0c8acd6b64 Add Singleton Pattern Helper to Microsoft.Toolkit 2019-09-13 13:55:01 -07:00
Michael Hawker MSFT (XAML Llama) e4598bca86 Merge pull request #2499 from Code-ScottLe/NotifiticationBuilders
Builders for ToastContent and TileContent
2019-09-12 15:28:20 -07:00
Michael Hawker MSFT (XAML Llama) 8bd95690c7 Merge branch 'master' into NotifiticationBuilders 2019-09-12 14:28:35 -07:00
Michael Hawker MSFT (XAML Llama) fdb1f85f64 Merge pull request #2639 from h82258652/imageex-lazyloading
Lazy loading feature for ImageEx
2019-09-11 14:19:02 -07:00
Michael Hawker MSFT (XAML Llama) 43c0fa3b2b Merge branch 'master' into imageex-lazyloading 2019-09-11 14:07:09 -07:00
Scotty Le 89c11dbca8 Merge branch 'master' into NotifiticationBuilders 2019-03-25 00:15:26 -07:00
Michael Hawker MSFT (XAML Lllama) 0515ec168a Merge pull request #2848 from h82258652/fix-ReorderGridAnimation
Fix reorder grid animation
2019-03-14 11:46:32 -07:00
Michael Hawker MSFT (XAML Lllama) c692fc0bbe Merge branch 'master' into fix-ReorderGridAnimation 2019-03-14 10:21:02 -07:00
Michael Hawker MSFT (XAML Lllama) 9f1517c953 Merge pull request #2856 from southworkscom/improve-nupackages
Improve packages description
2019-03-14 10:05:49 -07:00
Lucas Rojas 2acee7878e Improve description of Microsoft.Toolkit nu package 2019-03-07 12:26:17 -03:00
h82258652 f1054aed9b Merge pull request #15 from windows-toolkit/master
merge original source
2019-03-06 20:56:41 +08:00
Scotty Le a3205d8d95 Merge branch 'master' into NotifiticationBuilders 2019-02-13 00:04:40 -08:00
h82258652 c17c43f046 Merge branch 'master' into imageex-lazyloading 2019-02-11 14:58:05 +08:00
Nikola Metulev ae6a1c13ad Merge pull request #2781 from southworkscom/centralize_narrator_resources
Narrator x:Uid solution - Add resw file and x:Uid to controls
2019-02-07 12:26:30 -08:00
Lucas Rojas 93c24fa005 Merge branch 'master' into centralize_narrator_resources 2019-02-07 15:32:45 -03:00
Michael Hawker 65046fa8c3 Merge pull request #2126 from avknaidu/RemoteDevicePicker
New Control - Remote device picker
2019-02-06 16:28:55 -08:00
AVK a7d146acf3 Merge branch 'master' into RemoteDevicePicker 2019-02-07 00:44:38 +05:30
Lucas Rojas 8ff9dbfd0b Remove extra space 2019-02-05 19:05:27 -03:00
marianstdt b1f33ef79e Added the StringExtension.cs file 2019-02-01 11:48:45 -03:00
h82258652 94a281cfa7 Merge branch 'master' into imageex-lazyloading 2018-11-05 11:12:54 +08:00
Nikola Metulev 2bdeb5bebd Merge branch 'master' into RemoteDevicePicker 2018-10-23 17:10:44 -07:00
Nikola Metulev bf883b06a0 Merge pull request #2522 from XamlBrewer/dev
Radial Gauge accessibility: high contrast and narrator
2018-10-22 15:50:21 -07:00
Nikola Metulev fc33ae5c8c Merge branch 'master' into dev 2018-10-18 19:11:30 -07:00
Nikola Metulev 9fa65d77f4 Merge branch 'master' into RemoteDevicePicker 2018-10-16 13:08:33 -07:00
h82258652 037e8e323d Merge pull request #14 from windows-toolkit/master
merge origin source
2018-10-16 18:30:01 +08:00
Nikola Metulev 16bfec8423 Merge branch 'master' into dev 2018-10-15 11:07:42 -07:00
Void² 00af59b07c Merge pull request #13 from h82258652/WeiboService-doc_return_type
complete weibo doc return type
2018-10-15 14:28:20 +08:00
h82258652 5c15002f32 Merge pull request #12 from validvoid/WeiboService
Weibo service
2018-10-15 08:42:01 +08:00
validvoid a70008397b Merge branch 'WeiboService' of https://github.com/validvoid/WindowsCommunityToolkit into WeiboService 2018-10-13 17:53:40 +08:00
validvoid 4daad943fc Merge branch 'master' of https://github.com/Microsoft/WindowsCommunityToolkit into WeiboService 2018-10-13 17:52:55 +08:00
Void² add47dd578 Merge branch 'master' into WeiboService 2018-10-13 17:51:31 +08:00