platform/core/csapi/xsf.git
5 years agoUndo broken change in un-watching empty view observer;
E.Z. Hart [Mon, 24 Jun 2019 19:47:46 +0000 (13:47 -0600)]
Undo broken change in un-watching empty view observer;
This may cause a small leak in some corner cases, but that leak is fixed by

5 years agoClean up Platform on PlatformRenderer disposal: fixes #4671 (#6636)
E.Z. Hart [Mon, 24 Jun 2019 19:01:57 +0000 (13:01 -0600)]
Clean up Platform on PlatformRenderer disposal: fixes #4671 (#6636)

5 years agoMerge branch '4.0.0' into 4.1.0
Samantha Houts [Fri, 21 Jun 2019 00:10:59 +0000 (17:10 -0700)]
Merge branch '4.0.0' into 4.1.0

5 years agoUpdate ItemsViewLayout.cs (#6583)
E.Z. Hart [Thu, 20 Jun 2019 17:48:36 +0000 (11:48 -0600)]
Update ItemsViewLayout.cs (#6583)

Unsubscribe from PropertyChanged during Dispose() on ItemsViewLayout (iOS).

5 years agoImplement ItemSizingStrategy.MeasureFirstItem on Android (#6422)
E.Z. Hart [Thu, 20 Jun 2019 02:28:43 +0000 (20:28 -0600)]
Implement ItemSizingStrategy.MeasureFirstItem on Android (#6422)

* Implement ItemSizingStrategy.MeasureFirstItem on Android

* Remove unnecessary method

5 years ago[UWP] fixes hangs ListView when using Narrator (#6431)
Pavel Yakovlev [Thu, 20 Jun 2019 02:27:53 +0000 (19:27 -0700)]
[UWP] fixes hangs ListView when using Narrator (#6431)

fixes #5340

5 years ago[Android] Dispose the collection view item adapter (#6525)
Kevin Petit [Thu, 20 Jun 2019 02:27:25 +0000 (04:27 +0200)]
[Android] Dispose the collection view item adapter (#6525)

* [Android] Dispose the collection view adapter.

* More complete fix.

5 years ago[Android] Hamburger icon not shown when using FormsAppCompatActivity (#6548)
Gerald Versluis [Thu, 20 Jun 2019 02:27:04 +0000 (04:27 +0200)]
[Android] Hamburger icon not shown when using FormsAppCompatActivity (#6548)

* Update NavigationPageRenderer.cs

* Add reproduction for #2577

* Update NavigationPageRenderer.cs

* Taking into account MasterDetailPage and GetHasBackButton correctly

* Update NavigationPageRenderer.cs
fixes #2577

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Thu, 20 Jun 2019 02:25:10 +0000 (19:25 -0700)]
Merge branch '3.6.0' into 4.0.0

5 years agodon't setup webview if running as designer (#6592)
Shane Neuville [Wed, 19 Jun 2019 23:52:31 +0000 (17:52 -0600)]
don't setup webview if running as designer (#6592)

5 years agoAdded missing named sizes (#6591)
Gerald Versluis [Wed, 19 Jun 2019 23:40:59 +0000 (01:40 +0200)]
Added missing named sizes (#6591)

fixes #6517

5 years agoMake ShellTabLayoutAppearanceTracker public (#6530)
Gerald Versluis [Wed, 19 Jun 2019 23:30:33 +0000 (01:30 +0200)]
Make ShellTabLayoutAppearanceTracker public (#6530)

fixes #6529

5 years ago[Android] Fixes loading image from uri (#6394)
Pavel Yakovlev [Wed, 19 Jun 2019 23:26:41 +0000 (16:26 -0700)]
[Android] Fixes loading image from uri (#6394)

* [Android] Fixes loading image form uri

* - modified Issue4597 test

* nested function is removed

* moved redundant code

* Update Xamarin.Forms.Platform.Android/Extensions/ImageViewExtensions.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
fixes #6313

5 years ago[Android] Fixes layout in AppCompat ButtonRenderer (#6329)
Pavel Yakovlev [Wed, 19 Jun 2019 23:24:51 +0000 (16:24 -0700)]
[Android] Fixes layout in AppCompat ButtonRenderer (#6329)

* [Android] Fixes layout in AppCompact ButtonRenderer

* - fixes button alignment when fast changing padding
- fixes material button alignment

* refactoring

* forceLayout

* generalize force layout

* if APP check on ui test
fixes #6282

5 years ago[Android] fix accessibility of Picker (#5125)
Pavel Yakovlev [Wed, 19 Jun 2019 23:23:00 +0000 (16:23 -0700)]
[Android] fix accessibility of Picker (#5125)

* [Android] fix accessibility of Picker

* fix NRE

* fixes read selected item with accessibility

* refactoring test

* added dispose of accessibility delegate

* fix build uitest

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3454.cs

Co-Authored-By: paymicro <v-payako@microsoft.com>
* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue3454.cs

Co-Authored-By: paymicro <v-payako@microsoft.com>
5 years ago[Android] Add disposed check to MasterDetailPageRenderer (#6354)
Samantha Houts [Wed, 19 Jun 2019 22:55:59 +0000 (15:55 -0700)]
[Android] Add disposed check to MasterDetailPageRenderer (#6354)

* [Android] Add disposed check to MasterDetailPageRenderer

Co-Authored-By: Felipe Silveira <transis2@users.noreply.github.com>
* Fix dispose pattern

a la #6305

* apply same set of changes to NavigationPageRenderer

fixes #3489
closes #4586

5 years ago[Android] hide keyboard after tapping on pickers (#6284)
Pavel Yakovlev [Wed, 19 Jun 2019 22:54:00 +0000 (15:54 -0700)]
[Android] hide keyboard after tapping on pickers (#6284)

fixes #6235

5 years agoMerge branch '4.0.0' into 4.1.0
Rui Marinho [Wed, 19 Jun 2019 22:49:12 +0000 (23:49 +0100)]
Merge branch '4.0.0' into 4.1.0

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Wed, 19 Jun 2019 22:48:36 +0000 (23:48 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years agoDynamic view gallery support all Enum properties (#6434)
Pavel Yakovlev [Wed, 19 Jun 2019 18:45:54 +0000 (11:45 -0700)]
Dynamic view gallery support all Enum properties (#6434)

5 years ago[UITests] Wait a little bit longer for go to test button to appear (#6570)
Shane Neuville [Wed, 19 Jun 2019 17:21:08 +0000 (11:21 -0600)]
[UITests] Wait a little bit longer for go to test button to appear (#6570)

5 years ago[Android] Fixed applying effects to Frames (#6412)
Andrei [Wed, 19 Jun 2019 16:59:32 +0000 (19:59 +0300)]
[Android] Fixed applying effects to Frames (#6412)

* [Android] Fixed effects applying to Frame

fixes https://github.com/xamarin/Xamarin.Forms/issues/3548

* Added ui test case

* added UITest

* fixed test case's affected platform

Co-Authored-By: Shane Neuville <shane94@hotmail.com>
5 years agoSet ExceptionHandler on HydrationContext in ApplyPropertiesVisitor.SetTemplate()...
Tim Barham [Wed, 19 Jun 2019 08:31:30 +0000 (18:31 +1000)]
Set ExceptionHandler on HydrationContext in ApplyPropertiesVisitor.SetTemplate() (#6573)

5 years agoMerge 4.0.0 into 4.1.0
ShaneN [Tue, 18 Jun 2019 16:42:55 +0000 (10:42 -0600)]
Merge 4.0.0 into 4.1.0

5 years ago[Build] Don't push NuGet packages from build
Rui Marinho [Tue, 18 Jun 2019 12:01:26 +0000 (13:01 +0100)]
[Build] Don't push NuGet packages from build

5 years agowait for test to finish so it doesn't break later tests (#6562)
Shane Neuville [Tue, 18 Jun 2019 10:21:30 +0000 (04:21 -0600)]
wait for test to finish so it doesn't break later tests (#6562)

5 years ago[Android] Fix context actions icon so that it loads (#6437) fixes #6258
Shane Neuville [Tue, 18 Jun 2019 10:20:37 +0000 (04:20 -0600)]
[Android] Fix context actions icon so that it loads (#6437) fixes #6258

* fix icon load loading and setting accessibility on menuitem

* instructions

* clean up

* Update Xamarin.Forms.Platform.Android/Extensions/AccessibilityExtensions.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
* Update Xamarin.Forms.Platform.Android/ResourceManager.cs

* Update Xamarin.Forms.Platform.Android/CellAdapter.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
* Fix load TitleIcon on non app compact

* apply valid check one more place

* automate titleicon fixes

* fix ui tests and removed _isdisposed

* toolbaritem ui test tweaks

* toolbar tweaks

* ios toolbaritem tweak

* update menuitem to read like other platforms

* retain automationid if content desc not set

5 years agoAdd Intellisense for vertical/horizontal list options in CollectionView (#6537)
E.Z. Hart [Tue, 18 Jun 2019 09:20:02 +0000 (03:20 -0600)]
Add Intellisense for vertical/horizontal list options in CollectionView (#6537)

5 years agoFix occasional disappearing content in CV items on UWP (#6465)
E.Z. Hart [Mon, 17 Jun 2019 22:46:18 +0000 (16:46 -0600)]
Fix occasional disappearing content in CV items on UWP (#6465)

fixes #4658

5 years ago[iOS] Fix missing partial columns in horizontal grid layout (#6241)
E.Z. Hart [Mon, 17 Jun 2019 21:07:32 +0000 (15:07 -0600)]
[iOS] Fix missing partial columns in horizontal grid layout (#6241)

* Create repro

* Work around UICollectionViewFlowLayout bug to display partial columns; fixes #6077
Fix content inset behaviors when dealing with safe area on newer iOS versions

* Add check for case where there is only a single partial column

* Works better if I don't forget the return statement

* Split up tests to make it easier to determine what failed

* Fix bounds exception when changing to a smaller ItemsSource

* Add preserve attributes so the linker won't ruin my UI test

* Fix missing using after rebase

5 years agoFix for layouts in a cell to expand on resize (WPF) Issue #5682 (#6179)
jaytilly [Mon, 17 Jun 2019 11:47:26 +0000 (04:47 -0700)]
Fix for layouts in a cell to expand on resize (WPF) Issue #5682 (#6179)

* Added fix for grids in a cell to expand on resize

* Added check for expand before expanding grid

* Removed unused using

* Made the resize fix more generic

* Removed generic constraint on type check for layout controls on resize for children of cell control

5 years ago[Android] Fixes work IsClippedToBounds on (Fast Renderer) Frame (#6358) fixes #3150...
Pavel Yakovlev [Mon, 17 Jun 2019 11:43:11 +0000 (04:43 -0700)]
[Android] Fixes work IsClippedToBounds on (Fast Renderer) Frame (#6358) fixes #3150 fixes #6447

* [Android] Fixes work IsClippedToBounds on (Fast Renderer) Frame
- fixes float values in Dynamic ViewGallery

* added on-screen instructions for test

* added API check

* added SetClipToOutline to ViewExtensions

* added button to toggle IsClippedToBounds

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Mon, 17 Jun 2019 11:15:59 +0000 (12:15 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years ago[ios] change checkbox to use default constructor (#6512)
Shane Neuville [Fri, 14 Jun 2019 19:07:17 +0000 (13:07 -0600)]
[ios] change checkbox to use default constructor (#6512)

5 years agoadd checkbox style to nuspec (#6504)
Shane Neuville [Thu, 13 Jun 2019 20:29:39 +0000 (14:29 -0600)]
add checkbox style to nuspec (#6504)

fixes #6501

5 years ago[iOS] adds a flag to ios if user needs to disable accessibility sizing for named...
Shane Neuville [Thu, 13 Jun 2019 19:59:01 +0000 (13:59 -0600)]
[iOS] adds a flag to ios if user needs to disable accessibility sizing for named font sizes (#6345)

* adds a flag to ios if user needs to disable accessibility sizing for named font sizes

* move setting to platform specific

* move to mobile if defs

* move comment back

* move comment back

* invert and delete

5 years ago[Android] Retrieve PackageName from the correct Platform instance (#6420)
Shane Neuville [Thu, 13 Jun 2019 19:57:30 +0000 (13:57 -0600)]
[Android] Retrieve PackageName from the correct Platform instance (#6420)

* Fix getting packagename and pass context into RM
- fixes #6327

* spacing

5 years agoResolve fallback type before trying to make constructed generic type (#6511)
Tim Barham [Thu, 13 Jun 2019 18:21:55 +0000 (04:21 +1000)]
Resolve fallback type before trying to make constructed generic type (#6511)

* Resolve fallback type before trying to make constructed generic type

The FallbackTypeResolver hander in the Forms previewer does not have access to the x:TypeArguments attribute, so if it constructs a proxy generic type from metadata it can't construct it. So the previewer has to create an unconstructed generic type, and Forms will need to construct it.

So we need to move the code that constructs the generic type after the call to FallbackTypeResolver.

(cherry picked from commit 5acfea4f457453856a8905002f4d35c8e9aad106)

* Fix error building DesignTimeLoaderTests in 4.1

5 years ago[Android, iOS] Item Spacing for CollectionView (#6478) fixes #4681
E.Z. Hart [Thu, 13 Jun 2019 18:17:10 +0000 (12:17 -0600)]
[Android, iOS] Item Spacing for CollectionView (#6478) fixes #4681

* First pass at item spacing for CollectionView ListItemsLayout on Android

* Handle GridItemsLayout spacing on Android

* Change spacings from int -> double
Implement spacing on iOS

* Remove old TODO comment

5 years ago[iOS] Protect against SetNativeControl when no Element is present (#6415) fixes ...
Rui Marinho [Thu, 13 Jun 2019 13:21:09 +0000 (14:21 +0100)]
[iOS] Protect against SetNativeControl when no Element is present (#6415) fixes #6368 fixes #6328

* [Controls] Add repo for issue #6368 and #6328

* [iOS] Protect against no Element from CustomRenderers bad usage

* [Controls] Drop private on sample code

5 years agoremove excess code and clean up sandbox (#6503)
Shane Neuville [Wed, 12 Jun 2019 23:42:25 +0000 (17:42 -0600)]
remove excess code and clean up sandbox (#6503)

5 years ago[UWP] Fixes IndexOutOfRangeException on TabbedPage (#6385)
Pavel Yakovlev [Wed, 12 Jun 2019 23:41:46 +0000 (16:41 -0700)]
[UWP] Fixes IndexOutOfRangeException on TabbedPage (#6385)

* [UWP] Fixes IndexOutOfRangeException on TabbedPage

* add tab page category

* fix update colors

* optimization

5 years agoMerge branch '4.0.0' into 4.1.0
Rui Marinho [Tue, 11 Jun 2019 09:09:30 +0000 (10:09 +0100)]
Merge branch '4.0.0' into 4.1.0

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Tue, 11 Jun 2019 09:08:29 +0000 (10:08 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years ago[UWP] fixes ListView displays null values black (#6211)
Pavel Yakovlev [Sat, 8 Jun 2019 01:11:42 +0000 (18:11 -0700)]
[UWP] fixes ListView displays null values black (#6211)

fixes #6154
fixes #6233

5 years ago[Android] fixes ListView pull-to-refresh gesture in non-data areas (#5417) fixes...
Pavel Yakovlev [Thu, 6 Jun 2019 13:55:17 +0000 (06:55 -0700)]
[Android] fixes ListView pull-to-refresh gesture in non-data areas (#5417) fixes #5268

* [Android] fixes ListView pull-to-refresh gesture in non-data areas

* refactoring

* addressing comments

5 years agoMerge branch '4.0.0' into 4.1.0
Samantha Houts [Thu, 6 Jun 2019 04:15:41 +0000 (21:15 -0700)]
Merge branch '4.0.0' into 4.1.0

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Thu, 6 Jun 2019 04:10:49 +0000 (21:10 -0700)]
Merge branch '3.6.0' into 4.0.0

5 years ago[iOS] Fix Bounds for PageContainer (#6405)
Rui Marinho [Thu, 6 Jun 2019 04:07:59 +0000 (05:07 +0100)]
[iOS] Fix Bounds for PageContainer  (#6405)

* [Controls] Add repo for issue #6334

* [iOS] Give a default size to the PageContainer so Effects can use Bounds

* {UITests] Update AutomationID

fixes #6334
fixes #6372

5 years agoreadd IVT
Stephane Delcroix [Wed, 5 Jun 2019 19:22:14 +0000 (21:22 +0200)]
readd IVT

5 years ago[WPF] restore missed assembly attribute (#6418) fixes #6399
Pavel Yakovlev [Wed, 5 Jun 2019 16:09:17 +0000 (09:09 -0700)]
[WPF] restore missed assembly attribute (#6418) fixes #6399

5 years agohandle implicit resources (#6416)
Stephane Delcroix [Wed, 5 Jun 2019 13:23:04 +0000 (15:23 +0200)]
handle implicit resources (#6416)

5 years ago[CSS] workaround for corner-radius (#6401)
Stephane Delcroix [Wed, 5 Jun 2019 06:26:51 +0000 (08:26 +0200)]
[CSS] workaround for corner-radius (#6401)

Frame and Button implement IBorderElement bot do not share the CornerRadiusProperty.
This ifx workaround that so the CSS engine is not confused. This is a workaround,
a proper, but breaking, change is required and will happen on master

5 years agoMerge branch '3.6.0' into 4.0.0
ShaneN [Tue, 4 Jun 2019 23:49:27 +0000 (17:49 -0600)]
Merge branch '3.6.0' into 4.0.0

5 years agoCherry pick Tizen project changes to 4.0.0 and modify SLN changes VS makes (#6396)
Shane Neuville [Tue, 4 Jun 2019 23:48:29 +0000 (17:48 -0600)]
Cherry pick Tizen project changes to 4.0.0 and modify SLN changes VS makes (#6396)

* [Tizen] Add TFM identifier and version explictly for vs2019 16.1 (#6304)

* sln changes that vs wants to apply

5 years agoCherry pick Tizen project changes to 3.6.0 and modify SLN changes VS makes (#6407)
Shane Neuville [Tue, 4 Jun 2019 23:47:21 +0000 (17:47 -0600)]
Cherry pick Tizen project changes to 3.6.0 and modify SLN changes VS makes (#6407)

* [Tizen] Add TFM identifier and version explictly for vs2019 16.1 (#6304)

* sln changes that vs wants to apply

5 years agoSpeed up core UI tests and reduce flakiness (#6395)
E.Z. Hart [Tue, 4 Jun 2019 18:28:21 +0000 (12:28 -0600)]
Speed up core UI tests and reduce flakiness (#6395)

* Speed up ViewUITests and hopefully reduce flakiness

* Make focus tests work even when keyboard pops up

* Move Date/Time picker tests to the end so they can't break the other bubbling tests
Add delay before trying to dismiss dialogs so they can fully appear

* Fix accidental triggering of Picker when removing focus from Entry

* Bump up number of tests before restart

5 years ago[Xaml[C]] Allow to connect to event handler with overloads (#5118)
Akihiko Odaki [Tue, 4 Jun 2019 11:45:19 +0000 (20:45 +0900)]
[Xaml[C]] Allow to connect to event handler with overloads (#5118)

* [Xaml] Allow to connect to event handler with overloads

* [XamlC] Allow to connect to event handler with overloads

5 years agoMerge branch '4.0.0' into 4.1.0
Samantha Houts [Sat, 1 Jun 2019 04:00:25 +0000 (21:00 -0700)]
Merge branch '4.0.0' into 4.1.0

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Sat, 1 Jun 2019 01:50:16 +0000 (18:50 -0700)]
Merge branch '3.6.0' into 4.0.0

5 years agoUpdate BottomNavigationViewUtils.cs: removing redundant Dispose() calls (#5298)
PawKanarek [Sat, 1 Jun 2019 01:45:58 +0000 (03:45 +0200)]
Update BottomNavigationViewUtils.cs: removing redundant Dispose() calls (#5298)

* Update BottomNavigationViewUtils.cs

Remove Dispose() and using statement as we don't destroy items.

Casting objects to classes that implements IDisposable interface dosen't mean we need call Dispose() on them, and surely we don't want call it here.

* Update BottomNavigationViewUtils.cs

Fixed typo: removed closing parenthesis, added semicolon

5 years agoFix disappearing MasterDetail menu on UWP (#5808)
Matt Lacey [Sat, 1 Jun 2019 01:43:55 +0000 (02:43 +0100)]
Fix disappearing MasterDetail menu on UWP (#5808)

* Ensure Mstrdetail Popover menu is always visible

For #5412

* Add UITest for Issue 5412

* Add missing namespace

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue5412.cs

Co-Authored-By: mrlacey <matt@mrlacey.co.uk>
fixes #5412
fixes #5637

5 years ago[Tizen]Add Material Style Renderers (#6204)
shmin [Sat, 1 Jun 2019 01:42:15 +0000 (10:42 +0900)]
[Tizen]Add Material Style Renderers (#6204)

5 years ago[Android] Pass correct measurement values to item content (#6285)
E.Z. Hart [Sat, 1 Jun 2019 01:40:25 +0000 (19:40 -0600)]
[Android] Pass correct measurement values to item content (#6285)

* Test case to reproduce the issue

* Set proper height/width values in measure for layouts; fixes #5765

* More descriptive test name

* Avoid unnecessary FromPixel calls

* Remove double include

fixes #5765
fixes #5782

5 years agoRoll back assembly version to 2.0.0.0 (#6379)
Samantha Houts [Sat, 1 Jun 2019 01:36:34 +0000 (18:36 -0700)]
Roll back assembly version to 2.0.0.0 (#6379)

fixes #6375

5 years agoCheckbox (#6232)
Shane Neuville [Thu, 30 May 2019 16:32:28 +0000 (10:32 -0600)]
Checkbox (#6232)

* Add CheckBox class and Renderer

* Add CheckBoxCell class

* Add Control Gallery for CheckBox and CheckBoxCell.
Add stubs only for Android for now.

* Update to fast renderer for Android, Implement Checked and Unchecked Colors!

* Initial UWP implementation, no colors yet.

* Add iOS implementation for checkbox. It's not pretty, but it is a start!

* Updates from Frank

* Code cleanup with frank

* Finalize iOS checkbox!!! it is a circle!

* Fix WPF build and Add a checkbox!!!

* Cell Renderers and macOS

* UWP switchcell

* Update CheckBox Cell on ios/android with colors

* Remove all instances of CheckBoxCell per demand

* Added UITests and UnitTests

* Changed colors to TintColor which makes sense. Added a IsChecked visual state property and a sample!

* checkbox cleanup, tint color fixes, and material

* uwp fix when changing TintBrush

* add checkbox to visual controls page

* formatting fix

* formatting fix

* formatting fix

* convert to tabs

* formatting

* checkbox tabs

* roll back formatting changes to WPFResources

* android renderer overrides

* uwp fix and sizing fix ios

* mask checkbox

* use a single image for ios inatead of always drawing new ones

* wpf fix

* rename to color and add css interfaces

* missing wpf file

* designer hack

* fix wpf for ios builds

* assembly info

* fix default tint color and infinite crash

* [iOS] fixes change checked state from control
simplification
added to dynamic galery

* [iOS material] fix crash when dispose

* [UWP, WPF] fix vertical alignment

* [Android] fixes does not change size when the reduction HeightRequest

* Update Xamarin.Forms.Material.iOS/MaterialCheckboxRenderer.cs

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
* [Android] TabStop support

* alphabetize gallery, fix color update when disabled, unsubscribe from event in dispose

* cleanup assembly info

* fix assembly attributes

* remove assembly info

* pr comments

* couple of more dispose fixes

* One Last Dispose

* fix api 19 call to ClipToOutline

5 years agoFix build
Samantha Houts [Wed, 29 May 2019 02:15:37 +0000 (19:15 -0700)]
Fix build

5 years agoMerge branch '4.0.0'
Samantha Houts [Wed, 29 May 2019 01:53:09 +0000 (18:53 -0700)]
Merge branch '4.0.0'

5 years ago[Android] Remove call to update Image on button during measure (#6274)
Shane Neuville [Wed, 29 May 2019 01:40:39 +0000 (19:40 -0600)]
[Android] Remove call to update Image on button during measure (#6274)

* remove update call before measure

* apply to material as well
fixes #6260

5 years agoIssue4879 ImageButton Padding (UWP) (#5837)
Matt Lacey [Wed, 29 May 2019 00:53:17 +0000 (01:53 +0100)]
Issue4879 ImageButton Padding (UWP) (#5837)

* Apply ImageButton.Padding on UWP like other platforms

For #4879

* Apply ImageButton.Padding on UWP like other platforms

For #4879

* Apply ImageButton.Padding on UWP like other platforms

For #4879

* don't use obsolete property after rebasing to 4.0

fixes #4879

5 years agoiOS: Setting FormattedText doesn't use TextDecorations (#5803)
Andrei Nitescu [Wed, 29 May 2019 00:50:52 +0000 (03:50 +0300)]
iOS: Setting FormattedText doesn't use TextDecorations (#5803)

fixes #5801

5 years agoroll back IButtonLayoutRenderer to its former 3.6 glory (#6290)
Shane Neuville [Wed, 29 May 2019 00:27:26 +0000 (18:27 -0600)]
roll back IButtonLayoutRenderer to its former 3.6 glory (#6290)

5 years agoCheck for correct API version (#6306)
E.Z. Hart [Tue, 28 May 2019 19:48:17 +0000 (13:48 -0600)]
Check for correct API version (#6306)

fixes #5693

5 years ago[Android] propagate elevation after initial elevation changes android (#6271)
Shane Neuville [Tue, 28 May 2019 18:56:40 +0000 (12:56 -0600)]
[Android] propagate elevation after initial elevation changes android (#6271)

fixes #6262

5 years ago[Shell, Android] Fixes crash on api 22 or less (#6198)
Pavel Yakovlev [Tue, 28 May 2019 17:56:31 +0000 (10:56 -0700)]
[Shell, Android] Fixes crash on api 22 or less (#6198)

fixes #6197

5 years ago[GTK] Add Alpha support to Frame background (#6092)
mtz [Tue, 28 May 2019 17:55:05 +0000 (19:55 +0200)]
[GTK] Add Alpha support to Frame background (#6092)

* [GTK] Add transparent background support for Gtk.Frame

Fixes https://github.com/xamarin/Xamarin.Forms/issues/4700

* [GTK] Disable Frame shadow

fixes #4700

5 years agoMake CollectionView SelectedItem and SelectedItems binding function correctly (#6085)
E.Z. Hart [Tue, 28 May 2019 17:54:09 +0000 (11:54 -0600)]
Make CollectionView SelectedItem and SelectedItems binding function correctly (#6085)

* Add automated test for CollectionView single selection bound item

* Make SelectedItem Two-Way

* Multiple selection test page

* Bindable SelectedItems implementation

* Add automated test

* Simplify null checks

* Add Preserve attribute so linker doesn't break test

* Make multi-item select test smaller so it passes UITests on smaller screens

* Clearer list-to-string method

* Clear native selection on iOS when SelectedItem set to null

fixes #6158
fixes #5832

5 years ago[Tizen] Add TFM identifier and version explictly for vs2019 16.1 (#6304)
Kangho Hur [Tue, 28 May 2019 15:12:47 +0000 (00:12 +0900)]
[Tizen] Add TFM identifier and version explictly for vs2019 16.1 (#6304)

5 years ago[Build] This actually doesn't fix the issue
Rui Marinho [Tue, 28 May 2019 11:01:09 +0000 (12:01 +0100)]
[Build] This actually doesn't fix the issue

5 years agoMerge branch '4.0.0'
Rui Marinho [Sat, 25 May 2019 00:43:59 +0000 (01:43 +0100)]
Merge branch '4.0.0'

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Sat, 25 May 2019 00:33:08 +0000 (01:33 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Build] Fix env variable for release nuget (#6311)
Rui Marinho [Sat, 25 May 2019 00:30:00 +0000 (01:30 +0100)]
[Build]  Fix env variable for release nuget (#6311)

5 years agoMerge branch '4.0.0'
Rui Marinho [Fri, 24 May 2019 23:18:49 +0000 (00:18 +0100)]
Merge branch '4.0.0'

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Fri, 24 May 2019 23:18:10 +0000 (00:18 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Build] Fix release variable name
Rui Marinho [Fri, 24 May 2019 23:02:44 +0000 (00:02 +0100)]
[Build] Fix release variable name

5 years agoMerge branch '4.0.0'
Rui Marinho [Fri, 24 May 2019 22:19:32 +0000 (23:19 +0100)]
Merge branch '4.0.0'

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Fri, 24 May 2019 21:10:57 +0000 (22:10 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years agoFix packageversion (#6288)
Rui Marinho [Fri, 24 May 2019 21:08:24 +0000 (22:08 +0100)]
Fix packageversion (#6288)

* [Build] Simplify package version

* [Build] Update the semver package version

* [Build] Remove prepare and set tags

* [Build] Update win build

* [Build] Fix tags

* Update Version.targets

* Update azure-pipelines.yml

* Update Version.targets

* [Build] Fix sign

* Update azure-pipelines.yml

5 years ago[Build] Add a global.json to specify what netcore sdk to use (#6279)
Rui Marinho [Thu, 23 May 2019 15:09:08 +0000 (16:09 +0100)]
[Build] Add a global.json to specify what netcore sdk to use (#6279)

5 years ago[MacOS] Fix build error #6153
Rui Marinho [Thu, 23 May 2019 01:21:18 +0000 (02:21 +0100)]
[MacOS] Fix build error #6153

5 years agoProperly guard against statusbar usage (#5999)
Morten Nielsen [Thu, 23 May 2019 00:44:22 +0000 (17:44 -0700)]
Properly guard against statusbar usage (#5999)

If you add the `Microsoft.Toolkit.Uwp.PlatformSpecificAnalyzer` nuget package, you'll find the analyzer points out these locations as not correctly guarded against usage.

5 years agoMerge branch '4.0.0'
Rui Marinho [Thu, 23 May 2019 00:38:28 +0000 (01:38 +0100)]
Merge branch '4.0.0'

5 years agoAllow third party libs to display animated images correctly in view recycling scenari...
Daniel Luberda [Thu, 23 May 2019 00:31:01 +0000 (02:31 +0200)]
Allow third party libs to display animated images correctly in view recycling scenarios (#6153)

* VisualElementRenderer and ElevationHelper should be public

* ElevationHelper.SetElevation should be public

* remove comment

* Allows to display animated images on iOS in recycled views (CollectionView, ListView)

5 years ago[Tizen] Enhancement CollectionView implementation on Tizen (#6181)
Seungkeun Lee [Thu, 23 May 2019 00:21:38 +0000 (09:21 +0900)]
[Tizen] Enhancement CollectionView implementation on Tizen  (#6181)

* Implement ItemsView.ItemSizingStrategy property

* CollectionView - Optimization Item size calculation with cache

* Implement ItemsView.ItemSizingStrategy property on GridItemsLayout

 - refactoring CollectionView

* CollectionView - Support DataTemplateSelector

* Fix FrameRenderer

 - Inherit from LayoutRenderer because Frame is subclass of Layout

* Fix minor layout issue on CollectionView

* Allow CollectionView items to resize with their content

* Fix miss typo and remove comment

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Thu, 23 May 2019 00:06:47 +0000 (01:06 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Build] Update version target (#6270)
Rui Marinho [Thu, 23 May 2019 00:04:53 +0000 (01:04 +0100)]
[Build] Update version target (#6270)

5 years agoMerge branch '4.0.0'
Rui Marinho [Wed, 22 May 2019 21:32:28 +0000 (22:32 +0100)]
Merge branch '4.0.0'

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Wed, 22 May 2019 21:21:31 +0000 (22:21 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Build]Yaml consolidate nuget (#6266)
Rui Marinho [Wed, 22 May 2019 18:33:27 +0000 (19:33 +0100)]
[Build]Yaml consolidate nuget (#6266)

* [Build] Consolidate nuget version

* [Build] Allow to continue to other steps if package fails to push on internal feed

* [Build] Fix script

5 years ago[Build] Clean Xamarin.Forms.Build
Rui Marinho [Wed, 22 May 2019 16:37:20 +0000 (17:37 +0100)]
[Build] Clean Xamarin.Forms.Build