Commit 725260b
Support .NET 9.0 (#2215)
* Point to the .NET 9.0 release candidate
* Tweak versions in the pipeline
* allow prerelease builds
* Find overlapping versions for AnxroidX libraries
* Fix null reference type issue
* Shift to TypedBindings
* Keep disabling IL2092 for NET9_0
* Mark types as Dynamically accessed
* Patch up Analyzer unit tests
* Fix the AvatarView unit tests
* Suppress warning disable IL2026
* Update comments in Camera project
* Update src/CommunityToolkit.Maui.Analyzers.UnitTests/Verifiers/CSharpAnalyzerVerifier`1+Test.cs
Co-authored-by: Brandon Minnick <[email protected]>
* Update src/CommunityToolkit.Maui.Analyzers.UnitTests/Verifiers/CSharpCodeFixVerifier`2+Test.cs
Co-authored-by: Brandon Minnick <[email protected]>
* Include preview builds for benchmarks
* Remove Obsolete code
* Remove pragma now that unsafe code has been removed
* Update ICommunityToolkitBehavior.shared.cs
* Update Expander.shared.cs
* `MainPage` -> `Windows[0].Page`
* use `override CreateWindow(IActivationState)` to initialize AppShell
* Increase to Xcode 16
* Make use of a TypedBinding instance to workaround current limitations
* Remove ifdef
* Enable `NuGetAudit`
* Add WarningsAsErrors for `NuGetAudit`
* Remove Obsolete PopupService method
* Update for .NET 9 RC 2
* Update Android dependencies
* Remove unrequired NuGet Packages
* Fix Vulnerabilities
* Resolve NuGet Dependency Conflicts
* Remove reflection
* Fix `Camera` Android Dependencies
* Refactor return statement
* Fix nullability error
* Update AppShell.xaml
* Increase to RC2
* Use `static`
* Use `private protected` constructor
* Stop automatically assigning Behavior BindingContext
* Remove References to `TrySetBindingContextToAttachedViewBindingContext`
* Update BaseBehaviorTest.cs
* Refactor GravatarImageSource
* Update CommunityToolkit.Maui.Sample.csproj
* Update for CsWinRT1028, CsWinRT1030, XC0045, and XC0103
* Use `partial` for source generators
* Use Syntax Highlighting for code blocks
* Removed duplicate string
* Remove References to Application.Current.MainPage
* Fix typos
* Update samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj
* Update samples/CommunityToolkit.Maui.Sample/Pages/Views/Expander/ExpanderPageCS.cs
* Fix Find + Replace typo
* Remove unused namespace
* Remove `MainPage`
* Add BindingContext to Behaviors in Sample App
* Increase Android SupportedOSPlatformVersion to 26
* Fix XAML Warnings
* Use `macos-15-arm64`
* Update azure-pipelines.yml
* Use Xcode version `16`
* Revert back to macOS14
* Use BindingMode.OneWay
* Fix PopupService Tests
* Fix AvatarView Tests
* Fix AvatarView Tests
* Fix ParentWindowTests
* Resolve AppTheme Tests
* Add `[RequiresUnreferencedCode]` attribute to `ValidationBehavior`
* Update BehaviorsGalleryPage.cs
* `dotnet format`
* Remove `Obsolete` attributes from `dotnet format`
This reverts commit c762fb2.
* Update `Microsoft.CodeAnalysis.CSharp.Workspaces`
* Update Sample App NuGet Packages to .NET 9
* Remove Duplicate NuGet Packages
* Fix #2109
* Fix CameraView warnings
* Refactor ShowKeyboardAsync
* Refactor Code + Performance Improvements
* `dotnet format`
* Remove unused using directives
* Add `[EditorBrowsable(EditorBrowsableState.Never)]`
* Use `BindingBase.Create`
* Update Options.cs
* Renaming and changing ValidationFlags.ValidateOnFocus and ValidateOnUnfocus to ValidateOnUnfocusED as the naming makes more sense. This was from the MCT november standup...
* Fix compiled bindings For MediaElement
* Fix Windows crash on exiting Page or Application when using Media Element
* Remove trace log added by accident
* Fix `MultiValidationBehavior` compiled bindings
* Fix `MultiConverterPage` Compiled Bindings
* Remove `x:DataType` from several lines
* Add using to enable support for logging
* Fix `ColorsConverterPage` compiled bindings. This casts the `x:DataType` to `x:Reference` type.
* Set `x:DataType` in `AppShell.xaml` to support compiled bindings
* Update `LazyViewPage` to add support for compiled bindings
We can set parent with `x:DataType` to cast on `Source` through inheritence.
* Update `EmailValidationBehaviorPage` to support Compiled bindings
* Update params collections
* Update Xcode logic
* Update azure-pipelines.yml
* Update azure-pipelines.yml
* Update azure-pipelines.yml
* Increase to macOS-15
* Add SourceLink
* Update CommunityToolkit.Maui.Sample.csproj
* Update PopupServiceTests.cs
* Resolve Failing DrawingView Unit Tests
* Use Partial Properties
* Support `CarouselViewHandler2` + `CollectionViewHandler2` for MediaElement
* Update comment text
* Update for .NET 9 GA
* Update samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj
* Add `x:DataType` for Compiled Bindings
* Update NuGet Packages
* Remove reference
* Update CommunityToolkit.Maui.Sample.csproj
* Sort alphabetically
* Set Behavior BindingContext
* Enable IServiceProvider
* Fix compareconverter demo
* Fix Crash
* Fix Behavior Binding
* Add Behavior BindingContext
* Add behavior BindingContext
* Fix DrawingView sample
* Use Enum.IsDefined<T>
* Fix Expander Binding
* Update Maps for async/await + Trimming
* Catch Element Not Found Exception
* Modify CompareConverter signature to match IsInRangeConverter
* Update Directory.Build.props
* run `dotnet workload update` following `dotnet workload install maui`
* Update azure-pipelines.yml
* Revert "Update azure-pipelines.yml"
This reverts commit c240aea.
* Use Primary Constructor, Update Formatting
* Disable warnings on compiler-generated code
* Prevent Usage with Microsoft.Maui.Controls v10.0.0+
* Organize Build props
* Add `[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]`
* Update NuGet Packages
* Add `//lang=csharp` to raw string literals
* Implement `TheoryData`
* Use `field` keyword
* Add Xunit Usage Analyzers
* Add Xunit Assertion Analyzers
* Add Xunit Extensibility Analyzers
* Resolve Trimming Errors
* Bump Xcode to 16.1
* Update NuGet Packages
* Add removed rules
* Bump Windows-specific NuGet Packages
* Add `FluentAssertions.Analyzers`
* Bump TOOLKIT_NET_VERSION to `9.0.101`
* Update NuGet Packages
* Fix typo
* Update Directory.Build.props
* Opt-out of using managed-static for MacCatalyst
* Update `xunit.runner.visualstudio`
* Remove duplicate paranthesis
* Remove AutoFixture
* Update to `xunit.v3`
* Increase minimum required .NET SDK Version
* Fix Snackbar in Modal Page on Android
* Fix Snackbar alignment on iOS
* Fix bindings
* Improve Android Build Times
* Fix typo
* Fix crash on iOS due to `null`
* Use Partial Properties
* Fix Android NavigationBar
* `dotnet format`
---------
Co-authored-by: Shaun Lawrence <[email protected]>
Co-authored-by: Brandon Minnick <[email protected]>
Co-authored-by: Gerald Versluis <[email protected]>
Co-authored-by: CliffAgius <[email protected]>
Co-authored-by: James Crutchley <[email protected]>1 parent 40b3b17 commit 725260b
File tree
463 files changed
+5889
-4124
lines changed- samples/CommunityToolkit.Maui.Sample
- Converters
- Pages
- Alerts
- Base
- Behaviors
- TouchBehavior
- Converters
- Essentials
- Extensions
- ImageSources
- Layouts
- Views
- CameraView
- Expander
- LazyView
- Maps
- MediaElement
- Popup
- Platforms
- Android
- MacCatalyst
- iOS
- ViewModels
- Alerts
- Behaviors
- TouchBehavior
- Converters
- Essentials
- Extensions
- ImageSources
- Layouts
- PlatformSpecific
- Views
- AvatarView
- CameraView
- LazyView
- Maps
- MediaElement
- Popup
- SemanticOrderView
- Views
- Popups
- src
- CommunityToolkit.Maui.Analyzers.Benchmarks
- CommunityToolkit.Maui.Analyzers.CodeFixes
- CommunityToolkit.Maui.Analyzers.UnitTests
- Verifiers
- CommunityToolkit.Maui.Analyzers
- CommunityToolkit.Maui.Camera.Analyzers.CodeFixes
- CommunityToolkit.Maui.Camera.Analyzers
- CommunityToolkit.Maui.Camera
- Handlers
- Interfaces
- Primitives
- Providers
- Views
- CommunityToolkit.Maui.Core
- Essentials
- Badge/Android
- FileSaver
- FolderPicker
- SpeechToText
- Extensions
- Interfaces
- Layouts
- Platform
- KeyboardExtensions
- StatusBar
- Primitives
- Views
- Alert
- DrawingView
- PlatformView
- Service
- Popup
- SemanticOrderView
- Snackbar
- Toast
- CommunityToolkit.Maui.Maps
- Handler/Map
- CommunityToolkit.Maui.MediaElement.Analyzers.CodeFixes
- CommunityToolkit.Maui.MediaElement.Analyzers
- CommunityToolkit.Maui.MediaElement
- Converters
- Extensions
- Handlers
- Interfaces
- MediaSource
- Primitives
- Services
- Views
- CommunityToolkit.Maui.SourceGenerators.Internal
- CommunityToolkit.Maui.SourceGenerators
- Extensions
- Generators
- CommunityToolkit.Maui.UnitTests
- Alerts
- Behaviors
- Converters
- Essentials
- Extensions
- ImageSources/GravatarImageSource
- Layouts
- Mocks
- Views
- AvatarView
- CameraView
- DrawingView
- Expander
- LazyView
- MediaElement
- Popup
- SemanticOrderView
- CommunityToolkit.Maui
- Alerts
- Snackbar
- Toast
- Animations
- Behaviors
- AttachedBehaviors
- PlatformBehaviors
- IconTintColor
- SelectAllText
- StatusBar
- Touch
- Validators
- Converters
- MathExpressionConverter
- Extensions
- HandlerImplementation/Popup
- ImageSources
- Layouts
- StateContainer
- PlatformConfiguration/AndroidSpecific
- Popup
- Views
- DrawingView
- Expander
- LazyView
- Popup
- SemanticOrderView
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
463 files changed
+5889
-4124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | | - | |
9 | 5 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
13 | 9 | | |
| 10 | + | |
14 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
| |||
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
50 | 148 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
70 | 190 | | |
71 | 191 | | |
72 | 192 | | |
73 | | - | |
| 193 | + | |
| 194 | + | |
74 | 195 | | |
75 | | - | |
| 196 | + | |
| 197 | + | |
76 | 198 | | |
77 | 199 | | |
78 | 200 | | |
0 commit comments