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

52 Коммитов

Автор SHA1 Сообщение Дата
Gerald Versluis 6d2d2d90ba
Update macOS build image (#1909)
* Update azure-pipelines.yml

* Fix build

---------

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
2023-02-11 00:17:15 +02:00
Gerald Versluis 9d1e04ba11
Update azure-pipelines.yml 2022-11-15 11:42:22 +01:00
Gerald Versluis 058ea5616f
Update azure-pipelines.yml 2022-11-07 10:14:09 +01:00
github-actions[bot] 5859251e81
[housekeeping] Automated PR to fix formatting errors (#1855)
* Automated dotnet-format update

* Update global.json

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-05-13 02:55:34 +00:00
Vladislav Antonyuk 3f4b4c6003
Cleanup pipeline (#1845)
* Cleanup pipeline, fix uwp package

* Add missed constant

* Remove redundant directives
2022-05-03 08:58:24 +02:00
Vladislav Antonyuk b19cc52f9d
RC1 (#1843)
* Update azure-pipelines.yml

* fix build

* add all files

* Windows build

* Fixed files

* remove generated files

* install dotnet

* sh

* split build and generate

* use zsh

* fix path

* add globaljson

* Fix build

* fix path

* fix path
2022-04-20 11:57:23 +02:00
Gerald Versluis 3523750e64
Update azure-pipelines.yml 2022-03-08 09:40:22 +01:00
Gerald Versluis b00ffdf79d Update azure-pipelines.yml for Azure Pipelines 2022-03-08 09:14:16 +01:00
Gerald Versluis 380e0d2e12
Update azure-pipelines.yml 2022-03-07 16:51:36 +01:00
Gerald Versluis f892c5fb7a
Update azure-pipelines.yml 2022-01-26 21:52:23 +01:00
Gerald Versluis 15c1c38f09 Update azure-pipelines.yml 2022-01-26 13:31:10 +01:00
Gerald Versluis 9d0ae0bfbd Update azure-pipelines.yml 2022-01-26 13:31:10 +01:00
Gerald Versluis 53b3abc0f7 Update azure-pipelines.yml 2022-01-26 13:31:10 +01:00
Brandon Minnick a3c61c05f9
Merge Develop to Main (#1790)
* merge main -> dev (#1300)

* Automated dotnet-format update (#1296)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* https://github.com/xamarin/XamarinCommunityToolkit/issues/1292 (#1301)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Expander: Add touch capture view + common animation length / easing properties (#1349)

* Added base animation props

* Added TouchCaptureView property

* Updated light dismiss xml docs (#1366)

* [Converter] Added IsInRangeConverter (#1158)

* Added IsBetweenConverter

* Renamed to IsInRangeConverter

* Added Sample Page

* Added IsInRangeConverterViewModel

* Updated UnitTests

* Cleanup

* Removed RevertResult

* Implemented BindableObjectExtension

* Made ValueConverterExtension inherited from BindableObject

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Drawing View (#740)

* DrawingView (#468)

* DrawingView control, samples, documentation

* fix build issues

Co-authored-by: Vladislav Antonyuk <vlad.antonyuk@outlook.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* fixed codestyle on Android renderer

* GTK renderer adjustments

* iOS renderer adjustments

* MacOS renderer adjustments

* TIzen rendere adjustments

* UWP renderer adjustments

* WPF tests

* Fixed merge conflict

* Fixed wpf stackoverflow exception

* fixed iOS leaks

* revert toast change

* removed wpf implementations

* root sample page to WelcomePage

* removed DrawingView ctor from MainWindow

* removed drawing instructions from readme

* Update README.md

* Drawing View - Fix nullable, add doc to the public method (#1293)

* Fix nullable, add doc to the public method. add WPF

* Remove WPF renderer from the library.

* Change exception message for small images, fix nullable

* return null instead of exception (#1339)

Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
Co-authored-by: Vladislav Antonyuk <vlad.antonyuk@outlook.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Added IsLightDismissed to PopupDismissedEvent (#1362)

* Added IsLightDismissed to PopupDismissedEvent; Fixed Dismissed event so it fires when light dismissed for UWP and Android

* Removing stale comments

* Added Opened event handler to set isOpen to true when Popup displays

* Fixed event cleanup code to unregisterd Closing event

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Fix Android crashes if Bitmap is small, Fix iOS drawing in scrollView (#1421)

* Add StatusBarEffect and NavigationBarEffect classes to manage their color and style (#812)

* Sample Android implementation (doesn't work)

* Update to Android 11

* Add OnElementPropertyChanged

* Refactor GetWindow a bit

* Add dummy implementations for iOS and UWP

* Update Xamarin.CommunityToolkit.csproj

* Update Xamarin.CommunityToolkit.csproj

* Fixed get Activity property

* Update PlatformBarStyle.android.cs

* Remove NavigationBar bits

* Make SetStatusBarColor available on API 23+

* Make StatusBar white for demo app

* Rename BarStyle to Window

* Fix spaces

* Revert "Update to Android 11"

This reverts commit 656f0d05b1.

* Update Xamarin.CommunityToolkit.csproj

* Rename Window to WindowEffect

* Revert Android 11 API support

* Set status bar style in app.xaml

* Replaced Window with WindowEffect is other places

* Remove Detached implementation

* Add WindowEffectAndroid for navigation bar stuff

* Refactor SetBarStyle methods

* Add UWP implementation

* Add iOS implemetation (not tested)

* Use switch expression

* Add `#region` to specify Linker Work-Around

* Rename WindowEffect to StatusBarEffect

* Rename WindowEffectAndroid to PlatformNavigationBarEffect

* Fix nullability errors

* Commit to rerun tests

* Revert "Commit to rerun tests"

This reverts commit f207c74c7b.

* Add sample page

* Fix default is not applied on Android

* Fix radiobutton name on sample page

* Add android specific NavigationBar class

* Remove unneeded null checks

* Coverted StatusBarEffect to static class

* Improve description

* Update EffectIds.shared.cs

* Remove unneeded activity parameter

* Refactor StatusBar.uwp

* Setting view model in XAML

* Update NavigationBar.android.cs

* Make StatusBar style setters accessible from C#

* Add XML documentation

* Remove unrelated code

* Move constant outside the loop

* Add logs if bar style is not supported

* Remove LightContent case

* Commit to rerun build

* Revert "Commit to rerun build"

This reverts commit a49e18f50a.

* Revert "Revert "Commit to rerun build""

This reverts commit c9b3d5b647.

* Revert "Revert "Revert "Commit to rerun build"""

This reverts commit 7152b252b8.

* Change Debug to Trace

* Replace Trace with Log

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/PlatformConfiguration/AndroidSpecific/NavigationBar.shared.cs

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

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/PlatformConfiguration/AndroidSpecific/NavigationBar.shared.cs

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

* Revert "Update src/CommunityToolkit/Xamarin.CommunityToolkit/PlatformConfiguration/AndroidSpecific/NavigationBar.shared.cs"

This reverts commit c56f02bf76.

* Revert "Update src/CommunityToolkit/Xamarin.CommunityToolkit/PlatformConfiguration/AndroidSpecific/NavigationBar.shared.cs"

This reverts commit 6d37b50504.

* Move enums to sepparate files

* Replace linq with methods

* Update UpdateStatusBarAppearance to support iOS 13

Co-Authored-By: Daniel Christmas <1112585+justadaniel@users.noreply.github.com>

* View controller-based status bar appearance: No

Co-Authored-By: Daniel Christmas <1112585+justadaniel@users.noreply.github.com>

* Commit to rerun tests

* Update EffectsGalleryViewModel.cs

* Move files to Effects folder

* Converted BarStyle to effects

* Update sample app

* Drop Windows Mobile support

* Get activity from control

* Update NavigationBarEffect.shared.cs

* Commit to rerun tests

* refactoring ios

* removed UWP linker hack

We don't need it for UWP since we don't have a Linker for it

* Removed not needed properties

* Remove not needed null checks

* Remove using

* Commit to rerun tests

* Moved NavigationBarEffect to use the platformspecific API

* Updated the sample

* Fix test

* Little better styling

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Daniel Christmas <1112585+justadaniel@users.noreply.github.com>
Co-authored-by: Gerald Versluis <gerald@verslu.is>

* Drawing view fixes (#1459)

* Set default line LineColor as black, Fix ClearOnFinish

* Fix SmoothPath issue, update macOS renderer, update sample

* Fix tizen build

* Snackbar corner radius (#1437)

* Snackbar/Toast CornerRadius

* iOS, macOS

* UWP

* WPF

* Update sample, add NativeSnackBar.ios.macos.cs

* Fix ios, macos corner radius

* Update default corner radius to 4

```xml
 <shape android:shape="rectangle"
    xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#323232"/>
    <corners android:radius="4dp"/>
</shape>
```

* Set CornerRadius to 10

* Set CornerRadius to 10

* Use default Corner Radius if not specified

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Added missing using System (#1483)

* [MacOS] Added MediaElement implementation (#1488)

Co-authored-by: Yuriy Holembyovskyy <yuriy.holembyovskyy@gmail.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Drawing view multi line (#1475)

* DrawingView MultiLine

WPF, UWP

* Android

* GTK, Tizen

* iOS, macOS

* DrawingViewService Get Stream from lines

* added missing System using

* Add GetImageStream

* Fix tests

* Add description to switches

* Styling and comments

* DrawingLineCompletedEventArgs

* Add summary, Add tests

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Gerald Versluis <gerald@verslu.is>

* [Bug] Fixed CameraView Linker issue (#1503)

* Fixed CameraView linker issue

* Added Preserve Conditional

* Added test case

Co-authored-by: Gustavo Oliveira <gustavo.oliveira@inspectrealestate.com.au>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* [iOS | Android] TextSwitcher + [iOS] ImageSwitcher (#1422)

* Added text switcher

* Added text switcher sample

* Address comments

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/ViewSwitcher/TextSwitcherRenderer.android.cs

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

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/ViewSwitcher/TextSwitcherRenderer.android.cs

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

* address comment

* fixed build

* fixed typo

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/ViewSwitcher/TextSwitcherRenderer.android.cs

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

* cached sdk int

* Fixed warnings

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

* iOS, macOS - Clean DrawingView on Lines clean (#1520)

* [Bug] Fixed CameraView crash on FlashMode Torch (#1522)

* Update FormsCameraView.ios.cs

Fixed CameraView crashing in Torch FlashMode

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/CameraView/iOS/FormsCameraView.ios.cs

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

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

* Consolidate our XCT platform class (#1559)

* Moved and renamed ToolkitPlatform to XCT inside helpers folder

* replaced all SDK version calls to XCT cached one

* removed unecessary space

* Added a cache to the iOS version

* [Bug] Fixed CameraView Shutter not responding (#1535)

* Fixed CameraView Shutter not responding

* Fixed Merge conflict

* Update FormsCameraView.ios.cs

Removed unnecessary code

* Update FormsCameraView.ios.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Added Speed Property to mediaelement (#1570)

* Added Speed control for MediaElement in iOS and Android

* Added Update Speed inside Play Method so after pausing and playing speed will be remembered

* Added Sample for speed

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/MediaElement/Android/MediaElementRenderer.android.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/MediaElement/Android/MediaElementRenderer.android.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Changed Speed Property binding mode to oneway and removed un necessary property Speed from IMediaElementController

* Added Speed control for MediaElement in iOS and Android

* Changed Speed Property binding mode to oneway and removed un necessary property Speed from IMediaElementController

Co-authored-by: Aswin P G <aswinpg@outlook.in>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Utc to local string converter (#1555)

* Added UtcDateTimeToLocalStringConverter with page to test.

* Tests class added

* Refactored Tests

* Added some additional tests

* Added new converter to the Converters gallery

* Minor fixes

* Code tidy.

* Some passing test.

* Resolves Error CS8625.

* All tests passing

* Suggest changes including:
Moved BindableProperty to top of class.
IsValidDateFormat uses DateTime.TryParse rather then DateTime.Parse.
Removed is string type check for DateTimeFormat.

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/UtcDateTimeToLocalStringConverter.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/UtcDateTimeToLocalStringConverter.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/UtcDateTimeToLocalStringConverter.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/UtcDateTimeToLocalStringConverter.shared.cs

* removed private from method

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

* Update RangeSlider.shared.cs (#1545)

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Removed unused code (#1586)

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

* [Enhancement][Converter] Add Expression property to MathExpressionConverter and MultiMathExpressionConverter (#1609)

* Added Expression parameter

* Fixed Expression property declaration

* Updated sample page

* Added Tests

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

* [Bug] [XCT.Sample] Fixed ContentPages BackgroundColor (#1595)

* Removed SetAppThemeColor

* Move `BasePage` to `Pages` folder

* Handle Null Dereferences introduced in .NET 6

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>

* CornerRadiusEffect (#1316)

* CornerRadiusEffect added

* cosmetics

* Safe corner radius value impl

* nullable fix

* reduce to one linq call

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

* Effect replaced by event subscription

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/CornerRadius/CornerRadiusEffect.shared.cs

* C#9 cleanup

* removed extra )

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/CornerRadius/CornerRadiusEffect.shared.cs

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>

* Update dotnet-format-daily.yml

* MauiCompat Fix for preview 12 (#1792)

* Fix for preview 12

* Allow Prerelease of .NET 6

* Add `--include-previews` to Install .NET MAUI Workload

* Specify .NET v6.0.2

* Install Nightly .NET Build

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* dotnet install with script

* Update azure-pipelines.yml

* install using script

* Update azure-pipelines.yml

* set version

* remove dir

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

* Match Visual Studio 2022 .NET 6.0.2 Preview Version

* Update azure-pipelines.yml

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Andrew Hoefling <andrewh@fileonq.com>
Co-authored-by: Gustavo Oliveira <gu.ol@hotmail.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
Co-authored-by: Vladislav Antonyuk <vlad.antonyuk@outlook.com>
Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>
Co-authored-by: Daniel Christmas <1112585+justadaniel@users.noreply.github.com>
Co-authored-by: Yuriy Holembyovskyy <yholembyovskyy@gmail.com>
Co-authored-by: Yuriy Holembyovskyy <yuriy.holembyovskyy@gmail.com>
Co-authored-by: Gustavo Oliveira <gustavo.oliveira@inspectrealestate.com.au>
Co-authored-by: Aswin P G <aswinpg@outlook.in>
Co-authored-by: Leonard <leojharris@hotmail.com>
Co-authored-by: Yann Zahringer Ferrando <YZahringer@users.noreply.github.com>
2022-01-21 15:08:36 -08:00
Vladislav Antonyuk 9716d9422b
Automate MauiCompat build, Update MAUI Preview 11 (#1775)
* Automate MauiCompat build, Update MAUI Preview 11

* Run script if MauiCompat project doesn't exist
2021-12-30 17:41:36 -08:00
Vladislav Antonyuk f3f1a80dbf
Update MauiCompatSteps, MauiCompat script (#1683)
* Update MauiCompatSteps, MauiCompat script

* Update MauiCompat.sh

* Update MauiCompatSteps.md

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
2021-11-25 07:04:17 +01:00
Gerald Versluis 5719964162
Update azure-pipelines.yml 2021-11-16 11:53:44 +01:00
Gerald Versluis 382f8faa9c
Update azure-pipelines.yml 2021-11-16 11:15:09 +01:00
Pedro Jesus d9ef5f7f8e
Dev main (#1185)
* Develop to Main for 1.1 (#1108)

* Added new TextCaseType to TextCaseConverter (#763)

* Added new TextCaseType to TextCaseConverter

Added support for first char to upper rest to lower case.

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/TextCaseConverter.shared.cs

* Added unit tests and fix bug for empty string

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/TextCaseConverter.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/TextCaseConverter.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/TextCaseConverter.shared.cs

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

Co-authored-by: joacim wall <joacim.wall@evry.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Add LocalizedString class for automatic  ViewModel string updates (#750)

* Add LocalizedString

* Update test name

* Remove from NETSTANDARD1_0

* LangVersion latest

* Revert "LangVersion latest"

This reverts commit e22a4c12759c682e810af236e91adcdf2e0c458c.

* Not using linq discard

* Fix test

* Fix test. Add constructor with localizationManager

* Add new feature to sample app

* Add Dispose() to unsubscribe from localizationManager.PropertyChanged

* Fix Sample localization resources generation

* Update sample app to change AppResources.Culture

* Update LocalizedString to use ObservableObject

* Return unsubscribing from localizationManager.PropertyChanged

* Add WeakSubscribe

* Refactor LocalizedString to use WeakSubscribe

* Add test to ensure instance of LocalizedString is disposed

* Dont create instance of LocalizationResourceManager

* Add null checks to WeakSubscribe

* Invoke action with less code

null check has already been done

* Replace spaces with tabs

* Revert "Use Single for getting culture"

* added one more unit test

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

* Add CommandFactory class (#797)

* Create CommandHelper.shared.cs

* Use CommandHelper in Sample app

* Rename to CommandFactory

* Replace "is null" with "== null"

* Update GravatarImageViewModel.cs

* Update SearchViewModel.cs

* Move CommandFactory to ObjectModel

* Update ConvertExecute and ConvertCanExecute to throw InvalidCommandParameterException

* Add tests

* Skip test in question

* Revert Xamarin.CommunityToolkit.csproj changes

* Fix tests

* Add tests for AsyncValueCommand

* Revert AsyncValueCommandSupport

* Revert "Revert AsyncValueCommandSupport"

This reverts commit 07a178c6ab.

* Creating AsyncValueCommand using CreateValue

* Revert "Creating AsyncValueCommand using CreateValue"

This reverts commit 7b32561059.

* Add Create overloads without optional parameters for Task to act as tiebreakers

* Add different names to "execute" parameters to provide another way to resolve ambiguity

* Updated CommandFactory

- Add XML Documentation
- Separated Command.Factory.Command.shared.cs, Command.Factory.IAsyncCommand.shared.cs and Command.Factory.IAsyncValueCommand.shared.cs
- Removed unnecessary CommandFactory.Create methods
- Added missing CommandFactory.Create methods
- Updated Unit Tests

* Updated XML Documentation

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

* Deprecate LocalizationResourceManager.SetCulture (#766)

* Deprecate SetCulture

* Add EditorBrowsableState.Never

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Helpers/LocalizationResourceManager.shared.cs

* Fix obsolete warning in tests

* Remove unneeded line

* Use new LocalizationResourceManager for tests

Tests were failing from time to time because the same instance of LRM was used for all of them. And since tests are executed in parallel, this caused some issues

* Siplify impicit conversion test to test only conversion itself

* Return Invalidate mathod

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

* ShadowEffect (#725)

* https://github.com/xamarin/XamarinCommunityToolkit/issues/461

* Added mac support

* Added sample

* Updated shadows

* Fixed iOS crash

* removed pragma

* Remove effect when color if default

* cleaned code

* Implemented LazyView (#796)

* Created LazyView and implemented it on TabView

* Added Preserve attribute

* Update LazyTestView.xaml

* Adds Popup Control (#653)

* Ported Popup Control from Xamarin/Xamarin.Forms#9616 to Xamarin Community Toolkit

* Added missing async/await api

* Added popup result sample and fixed uwp/android implementations

* Renamed View->Content

* Updated styles of sample popups

* Updated BorderColor to be a platform specific property for UWP

* Moved Android/iOS/UWP renderers to platform specific folders

* Changed PopupDismissedEventArgs so it is immutable

* Removed visual studio edits to sample android project

* Removed = false for isDisposed as it is default

* Normalized accessor properties for ios and uwp

* Removed performance apis since they are used internally at Xamarin.Forms

* Simplified OnElementChanged to use shared method ConfigureControl

* Removed iOS 9 code

* Updated NavigationExtensions to follow Xamarin Essentials style by adding netstandard impl that throws exception

* Added Control.Cleanup invocation to dispose method

* [iOS] Removed async/await from OnDismissed since it is an event the invocation doesn't need to know when it is complete

* Fixed comment

* Updated iOS to use WeakEventManager

* changed instantiation to use default(SizeRequest)

* ios - Changed WeakEventManager so it is a protected static object on the popup renderer. This will help create a weak reference to the popup delegate for the GC

* Moved sample popup code to new location

* Added WeakEventManager for BasePopup events (Opened, Dismissed)

* ios - changed popover delegate to use action

* Added PopOverDelegate.PopoverDismissed

* Updated accessor for LightDismiss to protected internal

* Updated comment in LightDismiss

* Removed stale iOS code

* Updated xml comments

* Removed obj dir from compilation in 'netstandard' projects and fixed debugger issues

* removed Init method and added code to get the Context

* changed accessor of ToolkitPlatform to internal

* Added new UI popup tests for Xaml binding vs C# binding

* Updated XCT xmlns to use uri instead of fully qualified namespace

* Added shared popup size across samples

* Fixed popup BindingContext not working when set in XAML

* Update Samples

- Capitalize x:Name variables
- Replace expression-bodied properties with read-only properties where applicable

* Add PopupDismissedEventArgs<T>

* Add Default Values for Color and Size

* Remove Unncessary `base` Keyword, per styling guide

* Optimize originX + originX, Add missing `await`

* Update PopupAnchorViewModel.cs

* Fix orignY

Copy/paste error

* Update PopupRenderer.ios.cs

* Update NavigationExtensions.netstandard.macos.tvos.watchos.tizen.wpf.gtk.cs

* Added NavigableElementExtension - This allows rendering popup from ContentPage and other children of NavigableElement

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Update BaseGalleryViewModel.cs

* Merging is hard

* Fix Anchor Popup Sample NRE (#834)

* Changed LoadView to be Async (#828)

* Changed LoadView to ValueTask LoadViewAsync and added summaries

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/LazyView/LazyView.shared.cs

* Popup out of the screen horizontally in Android sample (#839)

* Fix popup out of horizontal bounds

https://github.com/xamarin/XamarinCommunityToolkit/pull/653#issuecomment-757399625

* Device Size dependent

* Essentials namespace

* revert

* [Android] Converting dimensions to pixels in popup renderer (#856)

* [Android] Converting dimensions to pixels in popup renderer

* Add fixed and relative to screen sizes instead of platform specific sizes.

* Update ButtonPopup size.

* Update CsharpBindingPopup size.

* Update MultipleButtonPopup size.

* Update NoLightDismissPopup size.

* Update OpenedEventSimplePopup size.

* Update ReturnResultPopup size.

* Update SimplePopup size.

* Update ToggleSizePopup size.

* Update TransparentPopup size.

* Update XamlBindingPopup size.

* #704 [Bug] No padding around text in a Toast or Snackbar (#714)

* Make ShieldView more customizable (#874)

* Add SubjectBackgroundColor, SubjectTextColor/reorganization.

* Update sample.

* Obsolete message

* Correct typo in comment

Co-authored-by: Gerald Versluis <gerald@verslu.is>

* Drop UpdateTextColor()

Co-authored-by: Gerald Versluis <gerald@verslu.is>

* fixed csproj to produce sourcelink (#893)

* [iOS] Remove popup arrow if anchor isn't set (#854)

* Remove popup arrow if anchor isn't set

* Create PopoverArrowDirection.cs

* Create Popup.shared.cs

* Add arrow direction platform specific.

* Add arrow direction platform specific sample.

* Rename PopoverArrowDirection.cs to PopoverArrowDirection.shared.cs

* Change ArrowDirection to up

* Remove switch PopoverArrowDirection.None since default is already zero.

* Use div 2 instead of multiply by 0.5 for consistency.

Co-authored-by: Sebastian Klatte <sebastian.klatte@trust-communication.com>

* ProgressBar Attached Property to enable progress animation (#352)

* ProgressBar Attached Property to enable progress animation

* Fixes remarks on PR

* Fix remarks PR

* Changes need for new gallery viewmodel

* Correct version from before rebase

* Update AttachedPropertiesGalleryViewModel.cs

* Update ProgressBarAttachedProperties.shared.cs

* Update ProgressBarAttachedProperties.shared.cs

* Change Attached property to behavior

* Update samples/XCT.Sample/Xamarin.CommunityToolkit.Sample.csproj

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/ProgressBarAnimationBehavior.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Xamarin.CommunityToolkit.csproj

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/ProgressBarAnimationBehavior.cs

Co-authored-by: Cfun <15718354+Cfun1@users.noreply.github.com>

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/AttachedProperties/ProgressBarAttachedProperties.shared.cs

Co-authored-by: Cfun <15718354+Cfun1@users.noreply.github.com>

* Remove old attached property and rename new behavior

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Cfun <15718354+Cfun1@users.noreply.github.com>

* Merge main into dev (#913)

* [Android] Fix Long Press blocks CollectionView selection  (#764)

* https://github.com/xamarin/XamarinCommunityToolkit/issues/760

* Moved helper methods to VisualElementExtensions

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Extensions/VisualElementExtension.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Extensions/VisualElementExtension.shared.cs

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* [Android] Fix SideMenuView + Slider issue (#824)

* [Android] Allow using slider inside SideMenu with disabled gestures

https://github.com/xamarin/XamarinCommunityToolkit/issues/810

* Refactored gesture default threshold
https://github.com/xamarin/XamarinCommunityToolkit/issues/810

* Cleaned code. Added linker safety code

* Fixed build

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>

* Automated dotnet-format update (#837)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove `Device` dependency from command implementation (#825) (#830)

* Remove `Device` dependency from command implementation (#804)

* Move Xamarin.CommunityToolkit.ObjectModel.Internals classes to `Internals` folder

* Add Platform-Specific MainThread Implementations, Update Unit Tests to Acommidate Context Switching

* Update BaseCommand.uwp.cs

* Add BaseCommand.wpf.cs

* Finish BaseCommand.gtk.cs

* Update BaseCommand.shared.cs

Co-authored-by: Eugen Richter <eugen.richter@amcsgroup.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>

* Automated dotnet-format update (#865)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fixes https://github.com/xamarin/XamarinCommunityToolkit/issues/859 (#864)

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* ValidationBehavior: Added IsNotValid property (#836)

* Added IsNotValid property to validators

* small fix

* Updated sample

* https://github.com/xamarin/XamarinCommunityToolkit/issues/822 (#877)

* Fixes AvatarView - Valid source images dont load for the first time they are created  (#849)

* https://github.com/xamarin/XamarinCommunityToolkit/issues/805

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/AvatarView/AvatarView.shared.cs

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Fixed image loading

* Fixed null ref

* Fixes crashes

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Added inline docs (#882)

* Update ViewsGalleryViewModel.cs (#888)

removed duplicated text "used to"

* Document all behaviors and associated (#895)

* Housekeeping remove XamlCompilation from code-behind. (#897)

* Changed TabView SelectedIndex property to use TwoWay binding mode (#903)

* Add inline Docs/Comments to Converters (#907)

* Update azure-pipelines.yml

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eugen Richter <github@richter.consulting>
Co-authored-by: Eugen Richter <eugen.richter@amcsgroup.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: WillAutioItrax <15933820+WillAutioItrax@users.noreply.github.com>
Co-authored-by: Cfun <15718354+Cfun1@users.noreply.github.com>

* Add "Add(IEnumerable<T> collection)" to ObservableRangeCollection<T> (#891)

* Create ObservableRangeCollectionEx.shared.cs

* Add test

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/ObjectModel/Extensions/ObservableRangeCollectionEx.shared.cs

* Resolve comments

* Add AddToNullCollection test

* Fix WeakSubscribe parameter type

* Revert "Fix WeakSubscribe parameter type"

This reverts commit 221ee0fe20.

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Update INotifyPropertyChangedEx.shared.cs (#918)

* [Breaking Changes] ValidationBehavior Async checks support (#912)

* Refactored validation behavior

* Refactored to ValueTask

* added configure await false

* Fixed isRunning

* LifeCycleEvents (#674)

* Created LifeCycleEffect and platform implementations

* Added sample to LifeCycle effect

* refactor UnLoaded logic

* clean up csproj

* Fixed NRE for shell

* Code Review fixes

* code style

* improved the sample

* fixed tizen path

* Fixed iOS support

* Implemented WeakEventManager

* Added inline docs/comments

* changed to nameof

* Msbuild hotfix (#946)

* fixed msbuild instructions

* revert android sample csproj

* Add `Grouping` class from Refractored.MvvmHelpers (#957)

* Fix LocalizedString gets unsubscribed while still in use (#987)

* Fixed all the things

* Make PersistentObservableObject abstract

* Reverse the inheritance

* Commit to rerun tests

* Remove PersistentObservableObject

* Grammar

* Feature/371 enum boolean converter (#925)

* Implement EnumToBoolConverter (#371)

* Add example for EnumToBoolConverter

* Make it work with flagged enums (#371)

* Simplify code (#371)

* Make the method an local static method (#371)

* Cache enum type info (#371)

Co-authored-by: Eugen Richter <eugen.richter@amcsgroup.com>

* Add VSM to ValidationBehavior (#955)

* Add VSM to ValidationBehavior

* dumb commit: Re trigger CI

* Fix typo

* Fix typo

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Change string properties to public

* Apply Pascal Case Naming

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Validators/ValidationBehavior.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Validators/ValidationBehavior.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Validators/ValidationBehavior.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Validators/ValidationBehavior.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/Validators/ValidationBehavior.shared.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Fix Singleton Pattern for LocalizationResourceManager (#919)

* Update LocalizationResourceManager.shared.cs

* Implement Lazy Loading for Thread Safety

* Fix Namespace

* Removed changes from main branch

* Revert Commit

* Update LocalizationResourceManager.shared.cs

* Fix Unit Tests

* Add Collection to LocalizationResourceManagerTests

The `Collection` attribute prevents these tests from running in parallel https://xunit.net/docs/running-tests-in-parallel.html

* [Enhancement] Add Scale support for SideMenuView (#1011)

* SideMenu scaling https://github.com/xamarin/XamarinCommunityToolkit/issues/1007

* Added easing

* Update azure-pipelines.yml

* [iOS] Fix missing binding context for popup view (#1003)

* [iOS] Fix missing binding context for popup view

* Fix handle binding context changes.

* Enable Nullable (#1009)

* Enable Nullable on Unit Tests (#1008)

* Enable Nullability on Xamarin.CommunityToolkit.Markup (#1013)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullability on Xamarin.CommunityToolkit.Sample (#1014)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullability for Android, GTK, iOS, Tizen, UWP & WPF Sample Projects (#1015)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Enable Nullability on Xamarin.CommunityToolkit (#1016)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Add Nullability

* Enable Nullable on XamarinCommunityToolkit (#1023)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Add Nullability

* Resolve Possible Null References

* Removed Possible Null References

* Update AppResources.Designer.cs

* Handle Nullability

* Updated Nullabiltiy

* Update Converters & Unit Tests

* Resolve MediaSource Unit Tests

* Fix Unit Tests (#1036)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Add Nullability

* Resolve Possible Null References

* Removed Possible Null References

* Update AppResources.Designer.cs

* Handle Nullability

* Updated Nullabiltiy

* Update Converters & Unit Tests

* Resolve MediaSource Unit Tests

* Fix VariableMultiValueConverter

* Fixed ImpliedOrderGridBehavior

* Update NumericValidationBehavior.shared.cs

* Resolve Nullable in SideMenuView

* Move <Nullable>enable</Nullable> to Directory.Build.props

* Update Xamarin.CommunityToolkit.Sample.csproj

* Revert Designer.cs

* Update Xamarin.CommunityToolkit.Sample.csproj

* Update ItemSelectedEventArgsConverter_Tests.cs

* Update SearchViewModel.cs

* Update ItemTappedEventArgsConverter_Tests.cs

* Update Xamarin.CommunityToolkit.UnitTests.csproj

* Add Nullability

* Resolve Compiler Warnings

* Ignore Closing square brackets should be spaced correctly

With Nullable enabled, `byte[]?` is now valid, however SA1011 was still generating a warning

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/ImpliedOrderGridBehavior.shared.cs

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

* Update CameraFragment.android.cs

* Update CameraFragment.android.cs

* Update ImpliedOrderGridBehavior.shared.cs

* Update MaskedBehavior.shared.cs

* Update PopupRenderer.uwp.cs

* Use .NET 5.0

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add UWP to Release Build

* Update Nullability

* Update Nullablity

* Update TabView.shared.cs

* Update Nullability

* Revert "Update Nullability"

This reverts commit e391b9c654.

* Resolved Nullable

* Update azure-pipelines.yml

* Revert UWP Build Properties

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit 0842280e36.

* Update azure-pipelines.yml

* Revert "Revert UWP Build Properties"

This reverts commit 77226bfd18.

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit 4eb36f4126.

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit e41a477dc4.

* Fix ValidationBehavior.ForceValidate and ValidationBehavior.DefaultForceValidateCommand

* Update SelectAllTextEffect.ios.cs

* Remove Nullabilty from LocalizedString.generator

* Update MediaElementRenderer.ios.cs

* Update PopupRenderer.uwp.cs

* Update PopupRenderer.ios.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/Helpers/iOS/SnackbarViews/BaseSnackBarView.ios.cs

Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>

* Update TranslateExtension.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/SnackBar.android.cs

Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>

* Update Logic

* Fix Failing ICommand Tests

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/SnackBar.tizen.cs

Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>

* Throw Faulted Task

* Use Cast instead of Pattern Matching

* Update RangeSlider.shared.cs

* Fix missing semi-colons

* Throw InvalidOperationException in LocalizationResourceManager

* Make TranslateExtension.StringFormat nullable

* Update UserStoppedTypingBehavior.shared.cs

* Update SearchPage.logic.cs

* Update TouchEffectCollectionViewPage.xaml.cs

* Update AppResources.Designer.cs

* Update AppResources.Designer.cs

* Update EnumToBoolConverterViewModel.cs

* Update EnumToBoolConverter_Tests.cs

* Update IntToBoolConverter_Tests.cs

* Update InvertedBoolConverter_Tests.cs

* Update IsNotNullOrEmptyConverter_Tests.cs

* Update MultiConverter_Tests.cs

* Update NotEqualConverter_Tests.cs

* Update TextCaseConverter_Tests.cs

* Update MockPlatformServices.cs

* Update MockPlatformServices.cs

* Update Namespace_Tests.cs

* Update ObservableRangeCollection_Tests.cs

* Update ObservableRangeCollection_Tests.cs

* Use `async Task` instead of `async void`

* Update MultiValidationBehavior.shared.cs

* Update EnumToBoolConverter.shared.cs

* Update EnumToBoolConverter.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/NotEqualConverter.shared.cs

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

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/StateToBooleanConverter.shared.cs

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

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/TextCaseConverter.shared.cs

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

* Update IconTintColorEffectRouter.android.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/SelectAllText/SelectAllTextEffect.android.cs

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

* Update SelectAllTextEffect.android.cs

* Update SelectAllTextEffect.ios.cs

* Update PlatformTouchEffect.ios.cs

* Update PlatformTouchEffect.uwp.cs

* Update PlatformTouchEffect.uwp.cs

* Update PlatformTouchEffect.macos.cs

* Update PlatformTouchEffect.uwp.cs

* Update PlatformTouchEffect.uwp.cs

* Ensure nullable results from BindableProperties are still resolved

* Update ImageResourceExtension.shared.cs

* Update BaseCommand.android.cs

* Use protected private constructor for BaseCommand

* Update BadgeView.shared.cs

* Update CameraFragment.android.cs

* Fix Android Media Bugs

* Update async/await

* Update CameraView_Tests.cs

* Update CameraView

* Update UriTypeConverter.shared.cs

* Update PopupRenderer.uwp.cs

* Update PopoverArrowDirection.shared.cs

* Update PopoverArrowDirection.shared.cs

* Update TabView.shared.cs

* Improve AsyncCommand Tests

* Ensure Context is non nullable

* Remove Missing Translations

* Fix async/await in TouchEffect.shared.cs

* Make Easing Nullable

* Update Samples

* Fix Null Exception

* Resolve NullReferenceExceptions

* Make IBadgeAnimation Nullable

* Add ShutterCommandValueCreator null check

* Add Timeout to prevent race conditions from stalling tests

* Unsubscribe Event Handlers for AsyncCommand Tests

* Update azure-pipelines.yml

* For WPF, Use Cross-Platform Implementation for `BaseCommand.IsMainThread` and `BaseCommand.BeginInvokeOnMainThread` (#965)

* Add Non-WPF Support to .NET Core 3.1

* Update comments

* Merge .NET Standard and WPF Functionality

* Fix Null Reference

* Update ICommand_AsyncValueCommand_Tests.cs

* Add volatile keyword

* Update AsyncValueCommand_Tests.cs

* Remove Timeouts

* Fix Event Unsubscription

* Add .ConfigureAwait(false);

* Run dotnet test serially

* Use SemaphoreSlim to prevent Race Conditions

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

* add SetFocusOnEntryCompleted (#841) (#911)

* add SetFocusOnEntryCompleted (#841)

* prevent SetFocusOnEntryCompleted memory leak (#841)

also force exception if used on non-Entry

* cleanup (reuse variable) (#841)

* change to attached behavior SetFocusOnEntryCompletedBehavior

* remove AttachedBehaviors sub-namespace

* fix SetFocusOnEntryCompleted_Tests

* simplify SetFocusOnEntryCompletedBehaviorPage

* fixed code to be nullable safe

* code style

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

* https://github.com/xamarin/XamarinCommunityToolkit/issues/1046 (#1052)

* #1025 (#1042)

* Merge fixing

* Implement SafeFireAndForgetExtensions (#1054)

* Implement Safe-Fire-And-Forget

* Change `public` to `internal`

* Update PlatformTouchEffect.android.cs

* Regression #853 (#1063)

* [iOS] Fix popup default color and dark mode (#1041)

* [iOS] Fix popup default color and dark mode

* [Android] Set correct background for default color

* [Android] GetWindowColor() for popup background color

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Popup/Android/PopupRenderer.android.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Popup/Android/PopupRenderer.android.cs

* Update BasePopup.shared.cs

* Update PopupRenderer.android.cs

* Update PopupRenderer.android.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Popup/BasePopup.shared.cs

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

* Add remove border effect implementation for uwp (#1048)

Co-authored-by: Alexander Witkowski <alexander.witkowski@develappers.de>

* Added long press event https://github.com/xamarin/XamarinCommunityToolkit/issues/851 (#1064)

* Update LocalizedString.shared.cs (#1071)

* Image resource converter (#1068)

* Implement ImageResourceConverter

* Add a sample for ImageResource extension

* Fix nullable errors

* Rename converter file to be compiled.

* Better exception message

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Update samples/XCT.Sample/ViewModels/Converters/ImageResourceConverterViewModel.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/ImageResourceConverter.shared.cs

* Update samples/XCT.Sample/ViewModels/Converters/ImageResourceConverterViewModel.cs

* Update samples/XCT.Sample/ViewModels/Converters/ImageResourceConverterViewModel.cs

* Update samples/XCT.Sample/ViewModels/Converters/ImageResourceConverterViewModel.cs

* Fix GalleryPage and VM

* Update samples/XCT.Sample/ViewModels/Extensions/ExtensionsGalleryViewModel.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Update samples/XCT.Sample/ViewModels/Extensions/ExtensionsGalleryViewModel.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>

* Replace Exception approach by extension used by XF (#1028)

* Replace Exception approach by extension used by XF

* Simplified syntax as requested

* Add a missing namespace

* Resolve `IAsyncCommand` / `IAsyncValueValueCommand` Unit Test Race Condition (#1076)

* Add Unit Test Timeouts

* Add macOS Unit Tests

* Build 'samples/XCT.Sample.sln' on macOS

* Restore Unit Test NuGet Packages

* Fix YAML formatting

* Add xunit.runner.console

* Use latest stable version of Microsoft.NET.Test.Sdk

* Fix Unit Tests on macos

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add SemaphoreSlim

* Add `dotnet restore`

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Revert "Add SemaphoreSlim"

This reverts commit 687586551e.

* Revert BaseCommand.semaphoreSlim

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add ConfigureAwait(false) to ValueTaskDelay(int)

* Change Platform from NetCore to macOS

* Passthrough ValueTask

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit d7b284243f.

* Use ConfigureAwait(false)

* Rename Task

* Remove `static`

* Remove `static`

* Revert p:BuildInParallel=false

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit bf93f0ce35.

* Revert "Revert "Update azure-pipelines.yml""

This reverts commit 031121a873.

* Revert "Revert "Revert "Update azure-pipelines.yml"""

This reverts commit 458feb2520.

* https://github.com/xamarin/XamarinCommunityToolkit/issues/1066 (#1078)

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

* fix badge background color (#1080) (#1081)

Co-authored-by: Matthew S <sattew@yandex.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* allow TextCaseConverter to handle any value type (#1053)

* allow TextCaseConverter to handle any value type

* remove duplicate Convert method

* fix nullability

* update TextCaseConverter tests

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/TextCaseConverter.shared.cs

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* https://github.com/xamarin/XamarinCommunityToolkit/issues/850 (#1056)

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Platform specific API (#949)

* added iOS platformSpecific

* added UWP platform specific

* Changed the sample

* code clean up

* added null check for Element

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Add some null checks (#1033)

Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Migrate Unit Tests to NUnit (#1090)

* Migrate to NUnit

* Update Tests

* Update Azure Pipelines

* Update TextCaseConverter_Tests.cs

* Update DateTimeOffsetConverter_Tests.cs

* Increase Timeout

* Increase Timeout

* Add `const int defaultTimeoutThreshold`

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>

* Enable Nullable for Xamarin.CommunityToolkit.Markup.UnitTests (#1086)

* Add Markup Unit Tests

* Add Nullable to Xamarin.CommunityToolkit.Markdown.UnitTests

* Update BindingHelpers.cs

* Fix Failing Unit Tests

* Don't capture XUnit's Synchronization Context

* Re-order Unit Tests

* Revert "Don't capture XUnit's Synchronization Context"

This reverts commit b8b3f16ec4.

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>

* Implement a generic version of the EventToCommandBehavior (#1010)

* created ECBGeneric

* Added Generic implemention to the EventToCommandBehavior

* make EventToCommandBehavior<TType> sealed

* Fixed for value types

* added nullable notations

* update the comment

* fixed unit test

* Migrate Unit Tests to NUnit

* Fixed unitTest

* changed to use C#9 features

* removed Convert method

* Add Inheritance Test

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>

* [UWP] TouchEffect OnPointerReleased crash (#1088)

* Fixed TouchEffect UWP crash

* Touch Effect more nullRef fixes

* fixed build

* fix build

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>

Co-authored-by: Joacim Wall <joacim.wall@gmail.com>
Co-authored-by: joacim wall <joacim.wall@evry.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Andrew Hoefling <andrew@hoefling.me>
Co-authored-by: Cfun <15718354+Cfun1@users.noreply.github.com>
Co-authored-by: Sebastian Klatte <sebastian.klatte@posteo.de>
Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
Co-authored-by: Sebastian Klatte <sebastian.klatte@trust-communication.com>
Co-authored-by: Glenn Versweyveld <Depechie@users.noreply.github.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eugen Richter <github@richter.consulting>
Co-authored-by: Eugen Richter <eugen.richter@amcsgroup.com>
Co-authored-by: WillAutioItrax <15933820+WillAutioItrax@users.noreply.github.com>
Co-authored-by: tranb3r <tranb3r@gmail.com>
Co-authored-by: Jacob Egner <jmegner@gmail.com>
Co-authored-by: Alexander Witkowski <alexanderwitkowski@gmail.com>
Co-authored-by: Alexander Witkowski <alexander.witkowski@develappers.de>
Co-authored-by: Matthew S <sattew@protonmail.com>
Co-authored-by: Matthew S <sattew@yandex.com>
Co-authored-by: Dan Siegel <me@dansiegel.net>

* Generate Mdoc documentation files (#932)

* First bits

* frameworks

* Try some more

* Fix

* Update to monikers

* Update targets

* Last fixes I swear

* Cleanup comments

* Fix path

* API Docs fixes

* Prevent mdoc from becoming dep

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

* Show initials if stream is empty (#1125)

https://github.com/xamarin/XamarinCommunityToolkit/issues/1120

* Init previousState field with LayoutState.None (#1122)

* Init previousState field with LayoutState.None

* make previousState non nullable

* Fix Expander crash when Direction changed (#1147)

https://github.com/xamarin/XamarinCommunityToolkit/issues/1144

* #1059 a photoOutput != null check taken off. Rebased to develop (#1119)

Co-authored-by: Janis Paraschidis <jp@recy-systems.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>

* Update PULL_REQUEST_TEMPLATE.md

* Fix animation behavior fires command twice (#1162)

* https://github.com/xamarin/XamarinCommunityToolkit/issues/1099

* Added unit tests

* Fix MultiValidationBehavior overwrites external BindingContext bindings (#1163)

* https://github.com/xamarin/XamarinCommunityToolkit/issues/1153

* Update methods to adhere to the `bool Try...` pattern

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

* Fix CI Build Errors on Build Windows Samples job (#1173)

* Update azure-pipelines.yml

* Clean + Build

* Revert "Clean + Build"

This reverts commit e93ca8221b.

* Add `dotnet clean`

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add link

* Automated dotnet-format update (#1082)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove Invalid Documentation

* Update dependencies (#1174)

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

* Fix XCT fails build in F# projects (#1133)

* Add "shared" to file name

* Revert "Add "shared" to file name"

This reverts commit 8760dddfbd.

* Include PreserveXamarinCommunityToolkit only in csproj

* Add PreserveXamarinCommunityToolkit.fs

* Resolve comments

* Revert "Resolve comments"

This reverts commit 7be495f159.

* Revert "Add PreserveXamarinCommunityToolkit.fs"

This reverts commit 403f20c927.

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

* Add F# Project (#1181)

* fixed merge

* Remove Duplicate `netstandard` configuration

* Add Missing `[Obsolete]` and Nullable

* fixed unit test

* Fix `dotnet test` Release Configuration

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Joacim Wall <joacim.wall@gmail.com>
Co-authored-by: joacim wall <joacim.wall@evry.com>
Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Andrew Hoefling <andrew@hoefling.me>
Co-authored-by: Cfun <15718354+Cfun1@users.noreply.github.com>
Co-authored-by: Sebastian Klatte <sebastian.klatte@posteo.de>
Co-authored-by: Vladislav Antonyuk <33021114+VladislavAntonyuk@users.noreply.github.com>
Co-authored-by: Sebastian Klatte <sebastian.klatte@trust-communication.com>
Co-authored-by: Glenn Versweyveld <Depechie@users.noreply.github.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eugen Richter <github@richter.consulting>
Co-authored-by: Eugen Richter <eugen.richter@amcsgroup.com>
Co-authored-by: WillAutioItrax <15933820+WillAutioItrax@users.noreply.github.com>
Co-authored-by: tranb3r <tranb3r@gmail.com>
Co-authored-by: Jacob Egner <jmegner@gmail.com>
Co-authored-by: Alexander Witkowski <alexanderwitkowski@gmail.com>
Co-authored-by: Alexander Witkowski <alexander.witkowski@develappers.de>
Co-authored-by: Matthew S <sattew@protonmail.com>
Co-authored-by: Matthew S <sattew@yandex.com>
Co-authored-by: Dan Siegel <me@dansiegel.net>
Co-authored-by: Janis Paraschidis <jp@recy-systems.com>
2021-04-09 23:25:59 +00:00
Brandon Minnick e5572d11f3
Add F# Project (#1181) 2021-04-08 11:11:10 -07:00
Brandon Minnick 3fef5d0221
Fix CI Build Errors on Build Windows Samples job (#1173)
* Update azure-pipelines.yml

* Clean + Build

* Revert "Clean + Build"

This reverts commit e93ca8221b.

* Add `dotnet clean`

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add link
2021-04-05 16:01:17 -07:00
Brandon Minnick f67b9f31de
Enable Nullable for Xamarin.CommunityToolkit.Markup.UnitTests (#1086)
* Add Markup Unit Tests

* Add Nullable to Xamarin.CommunityToolkit.Markdown.UnitTests

* Update BindingHelpers.cs

* Fix Failing Unit Tests

* Don't capture XUnit's Synchronization Context

* Re-order Unit Tests

* Revert "Don't capture XUnit's Synchronization Context"

This reverts commit b8b3f16ec4.

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2021-03-18 19:29:38 +01:00
Brandon Minnick 01a9597fa1
Migrate Unit Tests to NUnit (#1090)
* Migrate to NUnit

* Update Tests

* Update Azure Pipelines

* Update TextCaseConverter_Tests.cs

* Update DateTimeOffsetConverter_Tests.cs

* Increase Timeout

* Increase Timeout

* Add `const int defaultTimeoutThreshold`

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2021-03-18 11:42:12 +01:00
Brandon Minnick 08dd9bb48b
Resolve `IAsyncCommand` / `IAsyncValueValueCommand` Unit Test Race Condition (#1076)
* Add Unit Test Timeouts

* Add macOS Unit Tests

* Build 'samples/XCT.Sample.sln' on macOS

* Restore Unit Test NuGet Packages

* Fix YAML formatting

* Add xunit.runner.console

* Use latest stable version of Microsoft.NET.Test.Sdk

* Fix Unit Tests on macos

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add SemaphoreSlim

* Add `dotnet restore`

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Revert "Add SemaphoreSlim"

This reverts commit 687586551e.

* Revert BaseCommand.semaphoreSlim

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add ConfigureAwait(false) to ValueTaskDelay(int)

* Change Platform from NetCore to macOS

* Passthrough ValueTask

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit d7b284243f.

* Use ConfigureAwait(false)

* Rename Task

* Remove `static`

* Remove `static`

* Revert p:BuildInParallel=false

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit bf93f0ce35.

* Revert "Revert "Update azure-pipelines.yml""

This reverts commit 031121a873.

* Revert "Revert "Revert "Update azure-pipelines.yml"""

This reverts commit 458feb2520.
2021-03-15 16:18:00 -07:00
Brandon Minnick d74ab1d633
Enable Nullable (#1009)
* Enable Nullable on Unit Tests (#1008)

* Enable Nullability on Xamarin.CommunityToolkit.Markup (#1013)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullability on Xamarin.CommunityToolkit.Sample (#1014)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullability for Android, GTK, iOS, Tizen, UWP & WPF Sample Projects (#1015)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Enable Nullability on Xamarin.CommunityToolkit (#1016)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Add Nullability

* Enable Nullable on XamarinCommunityToolkit (#1023)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Add Nullability

* Resolve Possible Null References

* Removed Possible Null References

* Update AppResources.Designer.cs

* Handle Nullability

* Updated Nullabiltiy

* Update Converters & Unit Tests

* Resolve MediaSource Unit Tests

* Fix Unit Tests (#1036)

* Enable Nullable on Unit Tests

* Enable Nullable on Xamarin.CommunityToolkit.Markup

* Enable Nullable on Xamarin.CommunityToolkit.Sample

* Enable Nullable on Android, GTK, iOS and Tizen Samples

* Enable Nullable for UWP & WPF Sample Projects

* Add Nullability

* Resolve Possible Null References

* Removed Possible Null References

* Update AppResources.Designer.cs

* Handle Nullability

* Updated Nullabiltiy

* Update Converters & Unit Tests

* Resolve MediaSource Unit Tests

* Fix VariableMultiValueConverter

* Fixed ImpliedOrderGridBehavior

* Update NumericValidationBehavior.shared.cs

* Resolve Nullable in SideMenuView

* Move <Nullable>enable</Nullable> to Directory.Build.props

* Update Xamarin.CommunityToolkit.Sample.csproj

* Revert Designer.cs

* Update Xamarin.CommunityToolkit.Sample.csproj

* Update ItemSelectedEventArgsConverter_Tests.cs

* Update SearchViewModel.cs

* Update ItemTappedEventArgsConverter_Tests.cs

* Update Xamarin.CommunityToolkit.UnitTests.csproj

* Add Nullability

* Resolve Compiler Warnings

* Ignore Closing square brackets should be spaced correctly

With Nullable enabled, `byte[]?` is now valid, however SA1011 was still generating a warning

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Behaviors/ImpliedOrderGridBehavior.shared.cs

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

* Update CameraFragment.android.cs

* Update CameraFragment.android.cs

* Update ImpliedOrderGridBehavior.shared.cs

* Update MaskedBehavior.shared.cs

* Update PopupRenderer.uwp.cs

* Use .NET 5.0

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Add UWP to Release Build

* Update Nullability

* Update Nullablity

* Update TabView.shared.cs

* Update Nullability

* Revert "Update Nullability"

This reverts commit e391b9c654.

* Resolved Nullable

* Update azure-pipelines.yml

* Revert UWP Build Properties

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit 0842280e36.

* Update azure-pipelines.yml

* Revert "Revert UWP Build Properties"

This reverts commit 77226bfd18.

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit 4eb36f4126.

* Update azure-pipelines.yml

* Revert "Update azure-pipelines.yml"

This reverts commit e41a477dc4.

* Fix ValidationBehavior.ForceValidate and ValidationBehavior.DefaultForceValidateCommand

* Update SelectAllTextEffect.ios.cs

* Remove Nullabilty from LocalizedString.generator

* Update MediaElementRenderer.ios.cs

* Update PopupRenderer.uwp.cs

* Update PopupRenderer.ios.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/Helpers/iOS/SnackbarViews/BaseSnackBarView.ios.cs

Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>

* Update TranslateExtension.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/SnackBar.android.cs

Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>

* Update Logic

* Fix Failing ICommand Tests

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Snackbar/SnackBar.tizen.cs

Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>

* Throw Faulted Task

* Use Cast instead of Pattern Matching

* Update RangeSlider.shared.cs

* Fix missing semi-colons

* Throw InvalidOperationException in LocalizationResourceManager

* Make TranslateExtension.StringFormat nullable

* Update UserStoppedTypingBehavior.shared.cs

* Update SearchPage.logic.cs

* Update TouchEffectCollectionViewPage.xaml.cs

* Update AppResources.Designer.cs

* Update AppResources.Designer.cs

* Update EnumToBoolConverterViewModel.cs

* Update EnumToBoolConverter_Tests.cs

* Update IntToBoolConverter_Tests.cs

* Update InvertedBoolConverter_Tests.cs

* Update IsNotNullOrEmptyConverter_Tests.cs

* Update MultiConverter_Tests.cs

* Update NotEqualConverter_Tests.cs

* Update TextCaseConverter_Tests.cs

* Update MockPlatformServices.cs

* Update MockPlatformServices.cs

* Update Namespace_Tests.cs

* Update ObservableRangeCollection_Tests.cs

* Update ObservableRangeCollection_Tests.cs

* Use `async Task` instead of `async void`

* Update MultiValidationBehavior.shared.cs

* Update EnumToBoolConverter.shared.cs

* Update EnumToBoolConverter.shared.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/NotEqualConverter.shared.cs

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

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/StateToBooleanConverter.shared.cs

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

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Converters/TextCaseConverter.shared.cs

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

* Update IconTintColorEffectRouter.android.cs

* Update src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/SelectAllText/SelectAllTextEffect.android.cs

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

* Update SelectAllTextEffect.android.cs

* Update SelectAllTextEffect.ios.cs

* Update PlatformTouchEffect.ios.cs

* Update PlatformTouchEffect.uwp.cs

* Update PlatformTouchEffect.uwp.cs

* Update PlatformTouchEffect.macos.cs

* Update PlatformTouchEffect.uwp.cs

* Update PlatformTouchEffect.uwp.cs

* Ensure nullable results from BindableProperties are still resolved

* Update ImageResourceExtension.shared.cs

* Update BaseCommand.android.cs

* Use protected private constructor for BaseCommand

* Update BadgeView.shared.cs

* Update CameraFragment.android.cs

* Fix Android Media Bugs

* Update async/await

* Update CameraView_Tests.cs

* Update CameraView

* Update UriTypeConverter.shared.cs

* Update PopupRenderer.uwp.cs

* Update PopoverArrowDirection.shared.cs

* Update PopoverArrowDirection.shared.cs

* Update TabView.shared.cs

* Improve AsyncCommand Tests

* Ensure Context is non nullable

* Remove Missing Translations

* Fix async/await in TouchEffect.shared.cs

* Make Easing Nullable

* Update Samples

* Fix Null Exception

* Resolve NullReferenceExceptions

* Make IBadgeAnimation Nullable

* Add ShutterCommandValueCreator null check

* Add Timeout to prevent race conditions from stalling tests

* Unsubscribe Event Handlers for AsyncCommand Tests

* Update azure-pipelines.yml

* For WPF, Use Cross-Platform Implementation for `BaseCommand.IsMainThread` and `BaseCommand.BeginInvokeOnMainThread` (#965)

* Add Non-WPF Support to .NET Core 3.1

* Update comments

* Merge .NET Standard and WPF Functionality

* Fix Null Reference

* Update ICommand_AsyncValueCommand_Tests.cs

* Add volatile keyword

* Update AsyncValueCommand_Tests.cs

* Remove Timeouts

* Fix Event Unsubscription

* Add .ConfigureAwait(false);

* Run dotnet test serially

* Use SemaphoreSlim to prevent Race Conditions

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
Co-authored-by: Maksym Koshovyi <maximkoshevoi61@gmail.com>
2021-03-09 08:24:05 -08:00
Brandon Minnick 8ba1904d4c
Update azure-pipelines.yml 2021-03-05 18:24:21 -08:00
Gerald Versluis 14ad23760e
Fix build signing (#958)
* Update azure-pipelines.yml

* Update azure-pipelines.yml
2021-02-22 21:01:45 +01:00
Gerald Versluis 0a7f0329c7 Update azure-pipelines.yml for Azure Pipelines 2021-02-22 15:37:05 +01:00
Gerald Versluis f571dcf5ea
Update azure-pipelines.yml 2021-02-16 08:57:47 +01:00
Gerald Versluis f62c078146 Update azure-pipelines.yml for Azure Pipelines 2021-02-04 11:46:25 +01:00
Gerald Versluis 532633c47e
Update azure-pipelines.yml 2021-02-04 11:28:49 +01:00
Gerald Versluis b0ca201f76
Update azure-pipelines.yml 2021-02-03 13:57:34 +01:00
Gerald Versluis 21bec3e669
Update azure-pipelines.yml 2021-01-08 11:41:41 +01:00
Gerald Versluis 8f574e595f Update azure-pipelines.yml for Azure Pipelines 2021-01-06 14:10:55 +01:00
Gerald Versluis f956e16688 Update azure-pipelines.yml for Azure Pipelines 2021-01-06 14:10:43 +01:00
Gerald Versluis 913fa79632
Move sample to root and merge Markup sample (#685)
* Move sample to root and rename

* Move Markup folder

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Fix GTK build

* Fixing references

* Add Markup

* Last fixes

* Folder rename to be inline with .NET Foundation guidelines
2020-12-17 10:33:35 +01:00
Matthew Leibowitz fa93de1445
Update azure-pipelines.yml (#682)
* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Create SignList.xml

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2020-12-15 13:16:06 +01:00
Gerald Versluis 9169e70112
Update azure-pipelines.yml 2020-12-15 09:18:52 +01:00
Gerald Versluis df806d68c0
Update azure-pipelines.yml 2020-12-15 09:14:56 +01:00
Gerald Versluis e6d740c9ad
Update azure-pipelines.yml 2020-12-14 22:20:51 +01:00
Gerald Versluis 841c06f3ce Update azure-pipelines.yml for Azure Pipelines 2020-12-14 21:51:03 +01:00
Vladislav Antonyuk c3ebd2f7c6
Fix Samples build (#613)
* Fix Samples build

* Add job to build samples

Co-authored-by: Vladislav Antonyuk <vlad.antonyuk@outlook.com>
2020-11-26 09:24:02 +01:00
Pedro Jesus c579590850
Part of Project clean-up #529 (#587)
* moved files and fixed XCT solution

* fixed Markup solutions

* Renaming, tidying

- More renaming of files and folders to be more consistent
- Added UnitTest project to Xamarin.CommunityToolkit solution
- Removed unused Support.md
- Fixed path to csproj in build yaml to fix the build

* Update azure-pipelines.yml

* Update Xamarin.CommunityToolkit.UnitTests.csproj

Co-authored-by: Gerald Versluis <gerald@verslu.is>
2020-11-20 21:29:13 +01:00
Vincent Hoogendoorn c030809060
Move C# Markup Extensions from Forms to Toolkit (#522)
* [Spec] CSharpForMarkup (#8342)

* - Add MarkupExtensions from 0615662827/src/XamarinFormsMarkupExtensions.cs
- Remove specific converters
- Fix .NETStandard 1 build errors by refactoring IConvertible to Enum generic constraints
- Add RegisterDefaultBindableProperties method
- Reformat source to comply with Forms contibuting guidelines

* - Move markup extensions to Xamarin.Forms.Markup namespace to prevent impact on existing code and to support clear separation of UI markup from UI logic
- Split up source file for better maintainability

* Cleanup:
- Names of generic types and variables to reflect where clauses
- Namespaces remove unused & sort
- Add whitespace
- Remove unused file

* Fix for incorrect type name in exception message
Remove RowCol helpers because compiler cannot infer its generic type parameters. Use Row and Col methods instead

* Add targetNullValue and fallbackValue parameters to binding helpers.
Equivalent to bd7f999576

* rename binding helpers sourcePropertyName parameter to path

* Enable Style<T> on BindableObject instead of Element to resolve https://github.com/xamarin/Xamarin.Forms/pull/8342#discussion_r363088124

* Fix for Grid properties Row, Col, RowSpan, ColumnSpan not set when default value is specified https://github.com/VincentH-Net/CSharpForMarkup/issues/7

* Support DefaultBindableProperties for BindableObject (was limited to Element)

* .Font:
- Support any IFontElement (was limited to Button, Label, Entry and Picker)
- Fix for italic ignored when bold == true

* Fix for .FontSize, .Bold, .Italic return Label instead of type derived from Label

* Unit tests batch 1: for LabelExtensions, LayoutExtensions, ViewExtensions

* Add DefaultBindableProperties for more BindableObject types

* Remove .Menu() helper from ViewInFlexLayoutExtensions (bc no relation to FlexLayout)

* Fix for .Row and .Col without span specified still sets span

* Rename MarkupBaseTestFixture.TestPropertySet to TestPropertiesSet

* Add unit tests for ViewInFlexLayoutExtensions, ViewInGridExtensions and VisualElementExtensions

* Add default bindable property for all applicable bindable objects in core.

* Add unit tests for DefaultBindableProperties

* Support Bind, Assign and Invoke on BindableObject (was Element)
Add inline doc to clarify purpose of Bind overloads

* Add unit tests for BindableObjectExtensions

* Fix for attributes not set in .Font
Rename fontSize parameter to size
Enable .FontSize, .Bold and .Italic on IFontElement (was Label)

* Add unit tests for ElementExtensions

* Add unit tests for ElementExtensions

* Add assert of exception message content in GetDefaultBindablePropertyForUnsupportedType

* Add unit tests for EnumsForGridRowsAndColumns

* Add inline doc to clarify purpose of gesture recognizer binding overloads
Rename private constant bindingContextPropertyName to bindingContextPath for clarity

* Add unit tests for Style; cleanup namespaces in Style

* Simplify BindableObjectExtensions implementation (functionality unchanged)

* Add IGestureRecognizers to GestureElement and View, to avoid code duplication when accessing the existing GestureRecognizers property

* - Add specific helpers for more built-in gesture recognizers
- Add helpers to support initializing gesture recognizers
- Eliminate duplicate code for View and GestureElement by using new IGestureRecognizers
- Simplify implementation
- Rename ViewGesturesExtensions to ElementGesturesExtensions

* Extract BindingHelpers from BindableObjectExtensionsTests

* Add unit tests for ElementGesturesExtensions

* Add support for typed converter parameters
Add asserts for conversion values in unit tests

* Add unit tests for FuncConverter

* Add missing calls to Bind overloads in unit test for supporting derived types in BindableObject extensions fluent API

* Cleanup: remove unneeded Xamarin.Forms. prefix from static class references

* Add unit tests for PlatformSpecificsExtensions

* Reorder FuncConverter type params to optimize for most common usage and to remain backwards compatible with https://github.com/VincentH-Net/CSharpForMarkup

* Extend Bind*Gesture helpers to support all possible binding parameters

* Rename EnumsForGridRowsAndColumns to GridRowColEnums

* Add BindCommand helper to bind to default Command + CommandParameter properties
Add RegisterForCommand to register default Command + CommandParameter properties for custom bindable objects

* - Change Bind*Gesture helper parameters to match BindCommand parameters, to enable binding to Command + CommandParameter in a single compact call (removed parameters did not make sense for a command).
- Add inline doc to more ElementGesturesExtensions helpers where needed
- Improve ElementGesturesExtensions source formattting for consistency and readability

* Remove PlatformSpecificsExtensions
(only 2 iOS-only helpers; replace with guidance in PR description on how to use any platform specific with .Invoke)

* Fix inline doc spelling: it's -> its

* Rename TextLeft -> TextStart, TextRight -> TextEnd to support RTL

* Add Columns.Define(width, width ...) and Rows.Define(height, height ...) overloads for Grid

* Rename Grid rows & columns extensions class to GridRowsColumns

* Change gesture recognizer helpers implementation from reuse existing instance to always add new instance

* Change Bind*Gesture helpers default to not bind the commandparameter (is the more common scenario)

* Rename BoolNotConverter to NotConverter and make it a 2-way converter

* Add culture support to FuncConverter

* Rename helpers Left -> Start, Right -> End
Add opt-in LeftToRight and RightToLeft helpers

* Rename Col -> Column throughout

* Rename H -> Horizontal and V -> Vertical throughout

* Add Markup_Experimental flag for all API methods and update all unit tests to run with and without the flag

* Re-add "Markup_Experimental" flag

* Add default bindable properties / test exclusions for new BindableObject types in core

* Add constructorHint to FuncConverter and Style for more clear experimental flag message

* Add default bindable property for RadioButton - fixes test AllBindableElementsInCoreHaveDefaultBindablePropertyOrAreExcluded failure

* Cross-Platform OS Theme APIs (#9958)

* Implement OnAppTheme

* Implement AppThemeColor

* Added tests

* Finishing up

* Implement UWP

* Xcode 11 and additional test

* Update Forms.cs

* Update ViewRenderer.cs

* Update ViewRenderer.cs

* Remove IAppThemeProvider

* Implemented RequestedThemeChanged

* Update WindowsBasePlatformServices.cs

* Bindable props and Android invalidate

* Update DefaultBindableProperties.cs

* Updates at runtime

* Review feedback part 1

* Implement VisualElement.OnRequestedThemeChanged

* UWP Dispatcher

* Add experimental flag

* ControlGallery restructure

* Update ViewRenderer.cs

* Update WindowsBasePlatformServices.cs

* iOS pre-13 fix

* AppTheme fix NRE (#10327)

* Various fixes

* Back to basics

* [Enhancement] Shapes (#9218)

* Added Shapes to Core and Core Gallery samples
Implemented basic Shapes on iOS

* Added basic shapes Android implementation

* Fixed UWP namespace conflicts

* Fixed WPF namespace conflicts

* Implemented basic shapes on UWP

* Fixed UWP Ellipse and Rectangle size issue

* Fixed Tizen Build

* Changes to fix the build errors

* Exclude shapes renderers from Tizen compilation

* Implemented LineCap and LineJoin in Android and iOS

* Implemented LineCap and LineJoin on UWP

* Fixed build error

* Updated Polygon sample

* Fixed UWP Build error (namespace conflicts)

* Fixed namespaces collision build error

* Added "Shapes_Experimental" flag

* Update UWP ShapeRenderer size logic

* Updated iOS and Android ShapeRenderer size logic

* Fixed UWP Build error

* Added WPF implementation

* Fixed Tizen Build error

* Added Shapes macOS implementation

* Fixed broken unit tests

* Use the same Shapes classes between UWP and WPF backends

* Fixed flipper macOS shape issue

* Changed Shape class to be abstract

* Added Polygon and Polyline unit tests

* Added more Shapes Unit Tests

* Moved Shapes to Xamarin.Forms.Shapes in Android, iOS and macOS

* Moved Shapes to Xamarin.Forms.Shapes namespace in Windows (UWP and WPF)

fixes #2452 (partially)
fixes #9178

* [Enhancement] Shapes (Path) (#9264)

* Added Path definition in Core (Shapes)
Implemented Path in Android and iOS

* Fixed Android build errors

* Fixed UWP Build

* Fixed WPF Build

* Implemented PathRenderer on UWP

* Added unit tests

* Fixed namespaces conflicts in Platform projects

* Changes to fix the build errors

* Implemented Path Transformations in Android and iOS

* Fixed Build error in WPF and UWP

* Implemented Path Transformations in UWP

* Fixed iOS Build error

* Changes to fix the Build (Path namespace conflict)

* More changes to fix the build error

* Fixed Windows Build errors

* Fixed Path size issue on UWP

* Added Shapes_Experimental flag

* Updated path sample

* Updated Android ShapeRenderer size logic

* Added Shape Aspect sample in Core Gallery

* Added more Shapes samples

* Updated UWP PathRenderer size logic

* Updated droid and iOS pathRenderer size logic (same behavior in all the platforms)

* Updated UWP ShapeRenderer

* Implemented Path in WPF Backend

* Fixed build error

* Initial Clip implementation in WPF and UWP (work in progress)

* Added Path implementation on macOS

* Added Clip implementation in Android, iOS and macOS

* Fixed broken unit tests

* Notify the change of Geometry if any of the child properties changed

* Added new sample clipping different views

* Fixed flipped shape issue on macOS

* Added support to Clip using EllipseGeometry, LineGeometry and RectangleGeometry in UWP

* Changed Shape class to be abstract

* Moved Shapes to Xamarin.Forms.Shapes in Android, iOS and macOS

* Moved Shapes to Xamarin.Forms.Shapes namespace in Windows (UWP and WPF)

* Fixed wrong property in LineGeometry

* Fixed build error

* Added Clip Performance sample in Core Gallery

* Update Matrix.cs

* Update RectangleGeometry.cs

* Update Xamarin.Forms.Platform.macOS.csproj

* Some duplicate classes

* Update PointCollectionTests.cs

* Update ImageButtonRenderer.cs

* Update Xamarin.Forms.Platform.iOS.csproj

* Update Xamarin.Forms.Platform.iOS.csproj

* Fixed tabs error

Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com>

fixes #2452 (partially)
fixes #9178

* Add fluent DynamicResource markup helpers

* Add support for all IPaddingElement Elements to Padding markup helpers (was only Layouts)

* Make family first parameter of Font markup helper (reduces the need to use named parameters across all FontElement extensions)

* Add Stars(double) markup helper for Grids

* Add RelativeLayout markup helpers

* wip Add RelativeLayoutTests

* Add RelativeLayout markup helpers done

* Add BindableLayout markup helpers

* wip Add MultiBind and MultiConverter support to markup helpers

* - Add multiconverter markup helpers
- Improve Bind markup helpers: add multibinding, make more strongly typed, remove converterParameter where unused
- wip Add unit tests for multiconverter and multibind

* wip Add unit tests for multibind

* Move MultiBind helpers + tests to separate files
wip Complete MultiBind unit tests

* wip Add unit tests for MultiBind markup helpers

* Add unit tests for MultiBind and MultiConvert markup helpers

* Add overloads for Bindable Layout markup helpers that take a Func<object> instead of a DataTemplate

* move C# Markup out of forms with internalsvisibleto, eliminate reflection

* Markup API: build against Forms 5 NuGet, remove experimental checks, change namespace to Xamarin.CommunityToolkit.Markup, add TODO comments for inaccessible IPaddingElement

* Build against Forms 5 NuGet, change namespace to Xamarin.CommunityToolkit.Markup.UnitTests, remove experimental flag testing. add TODO comments for inacccessible API's

* Add PR link to TODO comment

* Update to Forms NuGets that have public IPaddingElement
Get unit tests working and succeeding except for issue in Forms

* Bring unit tests to 100% code coverage
Cleanup mocks and remove all unused code from them
Remove all unnecessary namespace usings

* prefix Markup top-level folders with Xamarin.CommunityToolkit.

* add Xamarin.CommunityToolkit.Markup.sln, eliminate Markup subfolders, fix notimplemented exception in MockPlatformServices

* include stylecop.json in Markup project

* add comment with Forms NuGets download url to project files

* add prefix Xamarin.CommunityToolkit. to namespaces and assembly names where missing

* add package settings, license and icon to markup project

* add MarkupSample solution

* fix android build errro due to max path length (remove solution folder)
complete MarkupSample

* remove dependency on internal Forms PaddingElement and FontElement classes

* add temporary msbuild target for downloading NuGets from Forms PR

* add markup to ci

* fix markup project folder names in ci

* fix markup temporary NuGet download in ci

* fix markup unit test project for ci

* use NuGets from PR as merged into Forms 5.5.0 branch
fix tests that fail due to Forms PR 12689 not yet merged

* remove experimental wrapper from markup unit tests
align markup unit test project packagereferences to xct unit test project

* fix all code formatting warnings where applicable
suppress remaining code formatting warnings with justification where not applicable

* add warning codes from GlobalSuppressions.cs to NoWarn in project files

* fix Forms version warning
revert adding warning codes in project files

* ci run all tests in single task

* align markup csproj to XCT csproj for same type of debug info in release package

* update forms version in markup sample

* update to Forms 5.0.0.1709-pre4
remove custom Forms NuGet download targets
update unit tests for Forms fix fix https://github.com/xamarin/Xamarin.Forms/pull/12689

* Markup package version  to 1.0.0-pre4
Markup sample to Markup 1.0.0-pre4 and Forms 5.0.0.1709-pre4

Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Vincent Hoogendoorn <dev@vincenth.net>
Co-authored-by: Vincent Hoogendoorn <vincenth@workstreampeople.com>
2020-11-17 12:04:26 +01:00
Gerald Versluis 8470f56f1a
Update azure-pipelines.yml (#524) 2020-11-05 14:09:07 +01:00
Yann Zahringer Ferrando 23baecafbd
AsyncCommand (#279)
* WeakEventManager added

* AsyncCommand added

* cosmetics

* Update XamarinCommunityToolkit/ObjectModel/IAsyncCommand.shared.cs

* Update XamarinCommunityToolkit/ObjectModel/AsyncCommand.shared.cs

* Update XamarinCommunityToolkit/Helpers/WeakEventManager.shared.cs

* cosmetics

* ArgumentNullException constructor test added

* Lazy isNullableParameterType added

* cosmetics

* Update XamarinCommunityToolkit/ObjectModel/AsyncCommand.shared.cs

* Update XamarinCommunityToolkit/ObjectModel/AsyncCommand.shared.cs

* Update XamarinCommunityToolkit/ObjectModel/AsyncCommand.shared.cs

* CanExecute tests converted to Theory

* build fix

* unit test fix

* async void test fixed with semaphore

* Add AsyncValueCommand & UnitTests

* Update Unit Tests for xUnit

* Delete AsyncCommand_Tests.cs

* Added IAsyncCommand.IsExecuting, IAsyncCommand.AllowsMultipleExecutions

* Add missing NuGet Packages

* Added NuGet Packages

* Fixed Failing Unit Tests

Defer `async void`. This ensures InvalidCommandParameterException is thrown on the calling thread/context before reaching an async void method

* Add BaseCommand, Update Unit Tests

* Finish Unit Tests

* Implement AsyncCommand

* Implement WeakEventManager

* Updated XML Documentation

* Update XML Documentation

* Add & Implement IAsyncCommand<TExecute, TCanExecute>  + IAsyncValueCommand<TExecute, TCanExecute>

* Add IAsyncCommand<TExecute, TCanExecute> Tests, Add IAsyncValueCommand<TExecute, TCanExecute> Tests

* Fix Failing Tests

* Removed Default Parameters

* Update XamarinCommunityToolkit/Helpers/WeakEventManagerService.shared.cs

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

* Update XamarinCommunityToolkit/ObjectModel/AsyncCommand.shared.cs

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

* Update XamarinCommunityToolkit/ObjectModel/AsyncValueCommand.shared.cs

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

* Update XamarinCommunityToolkit/Helpers/WeakEventManager.shared.cs

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

* Update XamarinCommunityToolkit/Helpers/WeakEventManager.shared.cs

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

* Update XamarinCommunityToolkit/Helpers/WeakEventManagerService.shared.cs

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

* Update XamarinCommunityToolkit/Helpers/WeakEventManagerService.shared.cs

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

* Update XamarinCommunityToolkit/Helpers/WeakEventManager.shared.cs

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

* Implement ValueTuple for EventManagerService, Remove WeakEventManager from CameraView

* merge build fix

* Re-add .NET Standard 2.1 Support

* null check cleanup

* Increase NETCORE_TEST_VERSION to 3.1.x

* Add null check

Co-authored-by: Andrei <andrei.misiukevich@gmail.com>
Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>
2020-09-19 01:47:54 +03:00
Gerald Versluis 09bef29c5e
Big Rename (again...) (#191)
* Big rename

* dotnet format

* Update azure-pipelines.yml

* Update Xamarin.CommunityToolkit.csproj

* Update azure-pipelines.yml

* Update README.md

* Update .editorconfig

* Spaces to tabs

* Moar formatting

* Adapted ByteArrayToImageSourceConverter
2020-08-11 22:45:15 +02:00
Almir Vuk 60092a20d3
Microsoft.Toolkit.Xamarin.Forms namespace rename. (#167)
* Huge rename of namepsace.

* Update azure-pipelines.yml

* NuGet rename

* Merge fix

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2020-07-24 20:41:54 +02:00
Gerald Versluis 3cde9de091 Update azure-pipelines.yml for Azure Pipelines 2020-07-15 20:24:35 +02:00
Gerald Versluis f6419a3452
Add unit tests to pipeline (#153)
* Add unit tests to pipeline

* Update README.md
2020-07-08 09:06:18 +02:00