Граф коммитов

32 Коммитов

Автор SHA1 Сообщение Дата
MartyIX b9c785403c
Add Analyzer Benchmarks (#2217)
* test

* Add Benchmarks

* Add Camera + MediaElement Analyzer Benchmarks

* Add `run_benchmarks`

* Revert to main

* Fix Formatting

* Use `$(NetVersion)`

* Rename Files

* Run all 3 benchmarks

* Add `/* language=C#-test */`

* Fix Failing Tests

* Update azure-pipelines.yml

* Add `public`

* Fix Analyzer Build Warnings

---------

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2024-09-18 23:52:42 +00:00
Šimon Rozsíval 725dd4153b
Add AOT Compatibility (#1820)
* Mark relevant assemblies as AOT compatible

* Fix straightforward trimming warnings

* Simplify ValueConverterExtension.IsValidTargetType

* Update ValueConverterExtension.shared.cs

* Add `<IsAotCompatible>true</IsAotCompatible>` to `CommunityToolkit.Maui.Camera`

* Add AOT WarningsAsErrors

* Promote Trimmer + AOT Warnings to Errors

* Fix missing comma

* Publish Sample app using AOT

* Resolve Trim Warnings

* `dotnet format`

* Remove AOT from Tizen sample

* Replace `Enum.GetValues(Type)` with `EnumGetValues<T>()`

* Remove 'android-arm' and 'android-x86'

* Fix AOT on Windows

* Remove Android AOT

* Set `win-x64` runtime for default Release builds

* Fix naming

* Update CommunityToolkit.Maui.Sample.csproj

---------

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2024-09-07 20:02:08 +00:00
Brandon Minnick 81716a0be4
[Housekeeping] Update NuGet Packages (#2105)
* Update NuGet Packages

This reverts commit 742695db43.

* Increase .NET MAUI Version
2024-08-08 22:00:19 +03:00
Oleksii Sokol 213c56241a
fixed sample application crashed with MediaElement for Windows (#1870)
* fixed crash with Change Aspect Clicked

* updated Microsoft.Maui.Controls package version

* updated MauiPackageVersion

---------

Co-authored-by: Oleksii Sokol <sokol@managed-code.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2024-06-20 21:12:30 +00:00
Brandon Minnick fd6d452282
Increase to latest MauiPackageVersion, v8.0.14 (#1774)
* Update Directory.Build.props

* Increase to 8.0.203
2024-03-25 15:55:03 -07:00
Brandon Minnick 3c26964b45
Increase `Microsoft.Maui.*` Dependencies to v8.0.7 (#1699)
* Update Directory.Build.props

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit baf7b88185.

* Update azure-pipelines.yml

* Update azure-pipelines.yml
2024-02-17 13:30:26 -08:00
Pedro Jesus de4eecca9f
🔥 FIX - fix unit tests (#1694)
pin Compatibility package to match Maui.Controls
2024-02-14 21:28:31 +00:00
dependabot[bot] 81741d913a
Bump xunit from 2.6.1 to 2.6.2 in /samples (#1542)
* Bump xunit from 2.6.1 to 2.6.2 in /samples

Bumps [xunit](https://github.com/xunit/xunit) from 2.6.1 to 2.6.2.
- [Commits](https://github.com/xunit/xunit/compare/2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update for `xUnit2021` and `xUnit1012` Analyzers

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2023-11-20 19:17:58 +00:00
Brandon Minnick 368f2ce7bc
Update to .NET 8.0 GA (#1499)
* Update to .NET 8

* Update Directory.Build.props

* Update api version on Tizen manifest

---------

Co-authored-by: Jay Cho <chojoong@gmail.com>
2023-11-14 17:23:57 +00:00
dependabot[bot] 265de443cc
Bump MauiPackageVersion from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530 in /samples (#1501)
* Bump MauiPackageVersion in /samples

Bumps `MauiPackageVersion` from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530.

Updates `Microsoft.Maui.Core` from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530
- [Release notes](https://github.com/dotnet/maui/releases)
- [Changelog](https://github.com/dotnet/maui/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/maui/commits)

Updates `Microsoft.Maui.Essentials` from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530
- [Release notes](https://github.com/dotnet/maui/releases)
- [Changelog](https://github.com/dotnet/maui/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/maui/commits)

Updates `Microsoft.Maui.Controls` from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530
- [Release notes](https://github.com/dotnet/maui/releases)
- [Changelog](https://github.com/dotnet/maui/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/maui/commits)

Updates `Microsoft.Maui.Controls.Maps` from 8.0.0-rc.2.9511 to 8.0.0-rc.2.9530
- [Release notes](https://github.com/dotnet/maui/releases)
- [Changelog](https://github.com/dotnet/maui/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/maui/commits)

---
updated-dependencies:
- dependency-name: Microsoft.Maui.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Maui.Essentials
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Maui.Controls
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Maui.Controls.Maps
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix `Dereference of a possibly null reference`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2023-11-07 18:48:41 +00:00
Brandon Minnick 5464a82826 Add `<SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences>` 2023-11-04 20:49:07 -07:00
Vladislav Antonyuk d92d3c6183
.NET 8 (#1367)
* .NET 8

* Fix tests

* .NET 8 RC1

* fix tests

* Fix build on windows

* update azure pipeline

* fix pipeline

* update release version

* Update Directory.Build.props

* Update to RC2

* Update to RC2

* Implement `FrozenSet`

* `dotnet format`

* Remove `IDrawingView.DrawingLineCompleted`

* Update FileFolderDialog.tizen.cs

* Revert `FrozenSet`

* Add `$(MauiPackageVersion)`

* Update CommunityToolkit.Maui.Sample.csproj

---------

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2023-11-04 23:31:13 +00:00
Vladislav Antonyuk 429b205bdb
Speech Recognition v2 - StartListening/StopListening (#1382)
* Speech Recognition v2

* Fix tizen

* Fix tizen

* Fix PR comments

* Add tests

* Fix tests

* Rename `ISpeechToText.State` -> `ISpeechToText.CurrentState`

* Update Layout

* Add `ISpeechToText.StateChanged`

* Add Missing CancellationToken

* Update Sample App

* Update SpeechToTextPage.xaml

* `dotnet format`

* Add tests, update CurrentState

* Add Missing XML

* `dotnet format`

* Update Formatting

* Add Missing Cancellation Usage, Update `SpeechToTextImplementation.getRecognitionTaskCompletionSource` on macios

* Add `ResetSpeechRecognitionTaskCompletionSource()`

* Update SpeechToTextImplementation.tizen.cs

* `dotnet format`

* Dispose of `CancellationTokenRegistration`

* Add StateChanged impl on Tizen

---------

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
2023-09-23 19:40:36 +00:00
Brandon Minnick fcf6569d2b
Revert `MemoryAnalyzer` PR Until Device Unit Testing is Available (#1391) 2023-09-07 22:19:05 +00:00
Brandon Minnick 054f521de7
Add `MemoryAnalyzer` roslyn analyzer (#1371)
* Add NuGet Package + Update `WarningsAsErrors`

* Fix MA0002

* Fix `MauiDrawingView`

* Fix `MauiPopup`

* Fix Naming

* return `null` for nullable references

* Use Ternary Operator

* `dotnet format`
2023-08-27 21:23:20 +02:00
Vladislav Antonyuk 930b4684b6
Code cleanup and preparation for the next release (breaking changes) (#1324)
* Code cleanup and preparation for .net 8

* Update CompareConverter.shared.cs

* Revert global.json

* More CleanUps

* Remove redundant TrySetCanceled and rely on speech recognition result

* Update Formatting

---------

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2023-08-11 18:21:25 +00:00
Brandon Minnick b08614260d
[Housekeeping] Enable `AccelerateBuildsInVisualStudio` (#1079)
Update Directory.Build.props
2023-03-09 10:45:47 -08:00
dependabot[bot] 85eeb08fcf
Bump Microsoft.CodeAnalysis.Analyzers from 3.3.3 to 3.3.4 in /samples (#907)
* Bump Microsoft.CodeAnalysis.Analyzers from 3.3.3 to 3.3.4 in /samples

Bumps [Microsoft.CodeAnalysis.Analyzers](https://github.com/dotnet/roslyn-analyzers) from 3.3.3 to 3.3.4.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md)
- [Commits](https://github.com/dotnet/roslyn-analyzers/compare/v3.3.3...v3.3.4)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add `AnalyzerReleases.Shipped.md` + `AnalyzerReleases.Unshipped.md`

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2023-01-18 21:51:30 +00:00
Vladislav Antonyuk 443f24ad55
Create `IFileSaver.SaveAsync()` and `IFolderPicker.PickAsync()` (#699)
* Dialogs

* Windows implementation, add summary

* Fix format

* Add tests

* fix formatting

* Fix test order

* Cache allFilesExtension

* Update Formatting

* Add exceptions

* Fix tests

* Tizen

* Add Tizen Implementation

* Apply suggestions from code review

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Rework Android

* Fix tests

* Fix PR comments

* Fix fileName

* Fix build

* Update Tizen Implementation

* Update src/CommunityToolkit.Maui/Essentials/FileFolderDialog.tizen.cs

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* build Tizen only on CI

* Move to Core

* Use `Lazy<T>` to ensure thread safety

* Use `sealed` for performance boost

* Use `WaitAsync` to leverage `CancellationToken`

* Move Event Subscription to .ctor

* Add `sealed` for performance improvement

* Update SavePicker

* Format file

* Use `ISaveFileDialog`

* Use Task instead of ValueTask

* Fix Tizen build

* fix samples

* Define AndroidRequestCodes

* Pass cancellation token

* Change `public class` -> `internal class`

* Rename SaveFileDialog To FileSaver, Fix PR comments

* Fix Tizen localization

* Fix Tizen dispose

* remove unused code

* NewFolderButtonOnClicked

* Add `null` check

* Tweak Method Naming, Update XML Comments, `dotnet format`

* Organize Alphabetically

* Center UI Horizontally

* Update Gallery Description

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
2023-01-11 00:24:24 +00:00
Brandon Minnick b327fb8c73 Revert "Update Directory.Build.props"
This reverts commit 8a0ea5cba3.
2022-12-15 08:06:54 -08:00
Gerald Versluis 8a0ea5cba3
Update Directory.Build.props 2022-12-15 15:31:06 +01:00
github-actions[bot] 4ca166edc9
[housekeeping] Automated PR to fix formatting errors (#828)
* Automated dotnet-format update

* Update XML Comments

* Add missing `global.json`

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add `<PublishReadyToRun>False</PublishReadyToRun>`

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2022-12-15 14:26:05 +00:00
Gerald Versluis 148ced932c
Temporary build fix 2022-12-15 12:20:39 +01:00
Seungkeun Lee e80192b438
Implements tizen platform (#692)
* Implements tizen platform

* Apply review comment

* Update src/CommunityToolkit.Maui/Alerts/Snackbar/Snackbar.tizen.cs

* Update src/CommunityToolkit.Maui/Alerts/Snackbar/Snackbar.tizen.cs

* Update src/CommunityToolkit.Maui/Alerts/Snackbar/Snackbar.tizen.cs

* Update src/CommunityToolkit.Maui/Alerts/Snackbar/Snackbar.tizen.cs

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Apply review comment

* attempt to use 6.0.300

* 6.0.400

* 6.0.424

* 486

* 540

* Update azure-pipelines.yml

* Formatting Updates

* Add

* Remove duplicate enums

* Fix variable conflicts

* Defer to thread pool thread

* Fix MauiPopup anchor position

* Apply review comment

* Fix GetImageStream without await

* Add UnsupportedOSPlatform attribute on unsupported behaviors

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
2022-11-09 08:17:54 +09:00
Brandon Minnick 6b0f4e6a68
Add Additional Rules to `.editorconfig` (#563)
* Update EditorConfig

* Update PlatformToast.macios.cs

* Update PlatformToast.macios.cs

* Add `<NoWarn>NETSDK1023</NoWarn>`, Continue Updating EditorConfig Errors

* Additional EditorConfig Recommendations

* Update .editorconfig

* Update MathExpression.shared.cs

* `dotnet format`

* Update Toast.shared.cs

* Update UserStoppedTypingBehavior.shared.cs
2022-08-31 14:18:22 -07:00
Pedro Jesus c1786d6481
Add Popup Control (#290)
* android and ios popup implementation

* bring renderer

* Moved Handlers to Core project

* updated Windows supported version

* Added Handlers, native popup and Extensions to Core project

* Added workaround classes until p12

* Added NavigationExtensions and Popup implementation

* Added workaround until p12

* Updated Core to p12

* p12 update

* returned with the WrapperControl

* Handler work

* initial spike on PlatformSpecificConfiguration and Handlers

* Fixed popupColor on iOS

* more iOS love

* Changed the method call to be one from internal MAUI

* IsLightDismissEnabled is now bindable

* IsLightDismissEnabled is now a Bindable Property

* Ported all sample pages from XCT to MCT

* hold for rebase

* Added popup samples

* adjusted to workaround a maui bug

* changed the obsolete API to a supported one

* Fixed windows popup version

* code style

* Added xml docs and code improvements

* More xml docs and code clean up

* Fixed sample

* Fixed border and size calculation on Windows

* more native work

* samples!

* fixed editor config

* Update src/CommunityToolkit.Maui.Core/Platform/Android/PopupExtensions.android.cs

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>

* Update src/CommunityToolkit.Maui.Core/Platform/Windows/MCTPopup.windows.cs

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>

* Update src/CommunityToolkit.Maui.Core/Platform/Windows/PopupExtensions.windows.cs

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>

* Update src/CommunityToolkit.Maui/Extensions/Navigation/NavigationExtensions.netstandard.cs

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>

* Update src/CommunityToolkit.Maui/Extensions/Navigation/NavigationExtensions.netstandard.cs

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>

* moved files and updated to p13

* Changed prop implementation on PopupSize

* bump windows version to match .NET MAUI template

* Replace all Xamarin references to MAUI
RIP Xamarin (◡︵◡)

* Code review

* removed the "native" word

* fixed wrong tag

* fixed ViewController set

* removed using

* make the navigation on Windows better

* Remove `netstandard`

* Fix `UniformItemsLayoutTests ` namespace

* Update PopupViewHandler.shared.cs

* Update PopupViewHandler.shared.cs

* Implement Shell and Dependency Injection for Popup Sample App (#303)

* Alphabetize FlyoutItems

* Reorganize Folder Architecture, Create ViewsGallery, Use AppShell

* Fix Build Errors

* Fix Build Errors

* Update CommunityToolkit.Maui.Sample.csproj (#302)

* Update Shell + DI

* Add Popups to `MultiplePopupPage`

* Finish `MultiplePopupPage`

* Update MultiplePopupPage.xaml.cs

* Update `AppShell.xaml` for MacCatalyst

* Update `Microsoft.NET.Test.Sdk ` NuGet Package

* Rename to `PopupExtensions.*.cs`

* Update Code Organization

* Update Code Organization

* Create PopupTests.cs

* Rename `MCTPopup` to `MauiPopup`

This aligns with the .NET MAUI naming convention, e.g. `MauiLabel`

* Add `MacCatalyst` Values

* Added workaround for Windows measurement

* improved comment

* Update `Title`

* Center the red frame

* Use `ButtonPopup`

* Added a test as sample

* Fixed namespace and added xml docs

* Updated to use Page instead of INavigation

* Fixed measurement on Android

* Popup tests to make Brandon Happy  ƪ(ړײ)‎ƪ​​

* Update Exceptions

* Add `ShowPopupAsync`, `dotnet format`

* Removed MainPage reference from MauiPopup.macios

* Moved Maui.Controls reference to CommunityToolkit.Maui project

* code fix style

* Renamed BasePopup -> Popup

The control isn't abstract anymore

* deleted old Popup file

* measurement is hard  (ノ ゜Д゜)ノ ︵ ┻━┻

* Fix `CsharpBindingPopup`

* add `static`

* Move `WrapperControl` to `CommunityToolkit.Core.Views`

* Add Nullable Static Analyzers, Remove Null Forgiving Operator, Remove unused parameters

* Remove unneeded Null Propagating Operator

* `dotnet format`

* Remove unneeded Null Propagating Operators, Remove Unused Code

* Remove Unused Code

* Fix Null Crash

* Rename HandlerImpl to HandlerImplementation

* Move `PopupExtensions` to `Views/Popup`

* Rename `BasePopup`  to `Popup`

* Fix Typo

* Update PopupExtensions.shared.cs

* Update PopupExtensions.windows.cs

* Reorder methods, Set default Color from `null` to `Colors.Transparant`

* Update Namespaces

* Update MauiPopup.windows.cs

* Update src/CommunityToolkit.Maui.Core/Handlers/Popup/PopupViewHandler.macios.cs

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>

* Add missing `;`

* Fixed popup issue for MacCatalyst

* Improved the measurement calculation

* Fixed samples

* Added netstandard rules on csproj

* moved non-platform code to a new file

* code style

* Update `ReturnResultPopup` Sample

* Moved wrapper control to CommunityToolkit.Maui project

* Removed WeakEventManager code

* Windows work to support the Wrapper change

* Fixed popup crash

* Remove `*.netstandard.cs` file suffix

The .NET MAUI Community Toolkit doesn't support .NET Standard; only .NET 6.0+ is supported.

We will defer this to the Discussion #301:
https://github.com/CommunityToolkit/Maui/discussions/301

* Remove Unused `MainGalleryViewModel`

* Remove Duplicate `PopupAnchorViewModel` + `PopupPositionViewModel`, Consolidate Under `Add Views View Models`

* Update `Add Extensions` Comment

* Update `MauiPopup` Naming

* Rename `BasePopup` to `Popup`

* Convert `public class MockApplication` to `class MockApplication` to match `ApplicationHandlerStub`

* Remove `netstandard`

* Us DI to Inject `CsharpBindingPopupViewModel`

* Update XML Comments for `LightDismiss`

* Rename to `IPopup.OnLightDismissed()` to match `IPopup.OnClosed()` and `IPopup.OnOpened()`

Since this is the method that runs _after_ a Light Dismiss has been triggered, it should use the `On*` naming and use the past-tense of `*Dismissed` to demonstrate that it is a reaction to an event that happened in the past

* Rename to `WasLightDismissed` to denote that the action has already happened by using the past-tense

* Fix OnLightDismissed for Windows

* Fix `CommunityToolkit.Core` namespace -> `CommunityToolkit.Maui.Core`

* Removed border and fixed double event subscription

* added xmlns namespace for Views namespace

* Changed the default color

* Added layouts to xml schema

* Consolidate Fields + Properties together

* Consolidate Fields + Properties Together

* Rename `PopupViewHandler` to `PopupHandler`

* Replace Light Dismiss Nomenclature (#324)

* Update `CommunityToolkit.Mvvm` NuGet Pacakge

* Resolve Recommendation from @VladislavAntonyuk

https://github.com/CommunityToolkit/Maui/pull/290/files#r817959288

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
2022-03-14 21:19:57 +00:00
Shaun Lawrence 8a8aec355a
Replaces `NotImplementedException` with `NotSupportedException` (#296)
* Converter improvements:

- BaseOneWayConverter non generic introduced
- All throw NotSupportedException

* Remove NotImplementedException

* Add Null Support for BaseOneWayConverter<TFrom, TTo>  (#310)

* Handle Nullable

* Update ImageResourceConverter

* Update IsStringNotNullOrEmptyConverter

* Update EqualConverter

* Update Remaining Converters

* Update BaseConverterOneWay.shared.cs

* Update BaseConverterOneWay.shared.cs

* Update IsStringNotNullOrEmptyConverter.shared.cs

* Update Defunct XML Comment

* Fix Null Dereference

* Remove double cast

* Convert `!=` to `is not`

* Remove unnecessary `throw new NullReferenceException`

* Add `ArgumentException` to null check

* Update BaseConverterOneWay.shared.cs

* Ensure `null` Argument throws `ArgumentNullException`

* Use correct TargetType on Unit Tests

* Add XAML Confirmation

* Update `IsString*` Converters + Unit Tests

* Update CONTRIBUTING.md

* Update MultiMathExpressionConverter.shared.cs

* Update MultiConverter.shared.cs

* Correct DateTimeOffset type

* Revert DateTimeOffset 'correction'

* Update CONTRIBUTING.md

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2022-03-07 14:01:17 +00:00
Shaun Lawrence cc0cfa7e0a
Move EnforceCodeStyleInBuild out to build.props (#248) 2022-01-14 19:55:00 +00:00
Vladislav Antonyuk b44decb54e
ImplicitUsings (#226)
* ImplicitUsings

* WinUI fix

* Even more removals

* Fix AppDelegate usings
2022-01-01 22:40:09 -08:00
Brandon Minnick 836342aab5
Update Directory.Build.props (#223) 2021-12-15 23:18:51 +00:00
Pedro Jesus 7e80e107ec
Project reorganization (#214)
* Created Core project

* Added snackbar implementation

* Configured csproj values

* Done with snackbar, toast, popupview

* Behaviors

* more csproj fixes

* Added converters

* docs and png

* unit test <3

* more csproj fixes

* checkpoint

* Created new projects with better names

* removed old Core project

* update sample namespace

* updated project reference on unit test

* Deleted old MCT project

* deleted Controls folder

* deleted dumb file

* deleted test method

* reverte test change

* fixed CommunityToolkit.Maui.sln

* fix the build?

* fixed csproj path

* moved core folder

* Moved CommunityToolkit.Maui.Control and renamed it to CommunityToolkit.Maui

* fixed references

* Fixed sample and unit test references

* fixed pipeline path

* fixed src solution

* Cleaned up AppBuilder and moved base classes to core

* Remove `.Result`

* Remove Solution Folders

* Remove Solution Folders

* Update SnackBar.shared.cs

* Delete AssemblyInfo.shared.cs

* Add `UseMauiCommunityToolkitCore`, Move `Microsoft.Maui.Controls` Out of `CommunityToolkit.Maui.Core`

* Move Views to `CommunityToolkit.Maui.Core`

* Consolidate Enums

* Add Missing XML Documentation

* Update CommunityToolkit.Maui.Sample.csproj

* Add NuGet Package `PropertyGroup`

* Update azure-pipelines.yml

* Remove duplicate `ProjectReference`

* Fix XML Warnings

* `dotnet format`

* Match .NET MAUI Windows Target Framework

* Add `InternalsVisibleTo("CommunityToolkit.Maui.UnitTests")]`

* `dotnet format`

* Add NuGet Package Icon

* Remove Duplicate PaddedLabel, Make `PaddedLabel` Public

* use `nfloat` instead of `double` for ``PaddedLabel` ctor

* Add `CS1574` to `<WarningsAsErrors>`

<!--CS1574: XML comment has cref attribute that could not be resolved-->

* Add `InternalsVisibleTo` for `CommunityToolkit.Maui.UnitTests`

* Update XML

* Delete `InternalsVisibleTo` Assembly Attribute

* Add `builder` description

* Combine Single-Use Enum

* Move `SnackbarView` to `CommunittyToolkit.Maui.Core`, Require `nfloat` in ctor

* Remove nullable Properties in `ToastView`

* Propagate `nfloat` to `SnackbarView.macios.cs` and `ToastView.macios.cs` ctors

* Create `UIViewExtensions.macios.cs` & `PopupVisualOptions.macios.cs`

* Removed `param`s

* Fix Build Errors for .NET MAUI Preview 11

* Update for .NET MAUI Preview 11

* Update Unit Tests for .NET MAUI Preview 11

* Optimizations for ImpliedOrderGridBehavior

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmai.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2021-12-14 22:29:31 +00:00
Brandon Minnick 8f0c71050d
Consolidate Files (#157) 2021-10-19 15:16:17 -07:00