platform/core/csapi/xsf.git
5 years agoReplace IsDesignModeEnabled check with original Context Type Check (#7143)
Shane Neuville [Thu, 15 Aug 2019 22:23:12 +0000 (16:23 -0600)]
Replace IsDesignModeEnabled check with original Context Type Check (#7143)

* remove use of DesignMode just store check in static bool

* - fix set

* - fix last check

* - spelling fix

5 years agoadd profiler instrumentation (#7134)
kingces95 [Thu, 15 Aug 2019 18:34:27 +0000 (08:34 -1000)]
add profiler instrumentation (#7134)

5 years ago[UWP] Multi-window (#2432)
Edwin Wachs [Thu, 15 Aug 2019 17:36:38 +0000 (14:36 -0300)]
[UWP] Multi-window (#2432)

* Changes to support multiple windows on UWP

* Locker on Layout.cs to prevent concurrency

* Changes on UnitTests to work with multi-window

* implemented Xamarin.Forms.Core and UAP Element.Dispatcher

* Implementation on each platform

* Implementation on each platform

* Improved Element casting for Dispatcher utilization

* Correction of the items presented in the code review

* Control Gallery for Multiple Window and Code Review

* [UnitTests]Add missing file

* Correction for Unit Tests

* Correction for Unit Tests

* Correction for Unit Tests - Removed ThreadStatic in Ticker

* removed thread static

* removed thread static into application class

* Update Control Gallery

* Code Review (Changes)

* Comment

* Adjust StackOverflow when close the app

* Performace improvements

* - fix merge and ui test performance

* Name of method and adjust on NavigationProxy

* Adjustments in the implementation of the DispatcherManager

* Updated the ListProxy method and adjust the initialization of dispacther on page.

* Remove GetDispacther method from IPlatformServices and some adjusments of code review.

* Adjust after merge on NavigationProxy

* Register IDispatcherProvider on Xamarin.Forms.Core.UnitTests

* Adjustments for correct unit tests operation

* Adjustments for correct unit tests operation

* remove spaces

* Adjust for UITests

* Remove IsInvokeRequired and adjusted de instance of s_resolutionList

* Remove lock() on ResolveLayoutChanges method

* Make IDispatcher implementations internal

* Removed Dispatcher association from Element and Page class. Removed Child Assignment in Element Class and ThreadStatic Removal from NavigationProxy Property

* Remove DispatcherManager; contain thread static to UWP implementation

* Make dispatcher lazy

* MockDispatcherProvider on Xaml.UnitTests

* Add mock Dispatcher and DispatcherProvider for XAML unit tests

* Revert "Add mock Dispatcher and DispatcherProvider for XAML unit tests"

This reverts commit 134320d348a3812e44507ae0b50459c8f43478e9.

* Add MockDispactcherProvider on Pager.UnitTests

* Revert covariance change

* Centralize dispatcher checking logic

* Add a fallback dispatcher for platforms without a registered DispatcherProvider

* Remove Dispatcher/DispatcherProvider from project

* Allow UI test pages which use ListProxy to get a dispatcher in UITest mode

* Prevent crash instantiating UITest version of Issue2004

* Removed unnecessary old codes

* Clean up whitespace changes

* Remove unused method

5 years agoMerge branch '4.2.0'
Stephane Delcroix [Thu, 15 Aug 2019 06:31:01 +0000 (08:31 +0200)]
Merge branch '4.2.0'

5 years agofix merge (#7164)
Stephane Delcroix [Thu, 15 Aug 2019 06:30:07 +0000 (08:30 +0200)]
fix merge (#7164)

5 years agoMerge branch '4.2.0'
Stephane Delcroix [Wed, 14 Aug 2019 18:43:26 +0000 (20:43 +0200)]
Merge branch '4.2.0'

5 years agoMerge branch '4.1.0' into 4.2.0
Stephane Delcroix [Wed, 14 Aug 2019 18:41:24 +0000 (20:41 +0200)]
Merge branch '4.1.0' into 4.2.0

5 years agoMerge branch '4.0.0' into 4.1.0
Stephane Delcroix [Wed, 14 Aug 2019 18:38:33 +0000 (20:38 +0200)]
Merge branch '4.0.0' into 4.1.0

5 years agofixes #6074 (#6982)
Andrei [Wed, 14 Aug 2019 16:42:07 +0000 (19:42 +0300)]
fixes #6074 (#6982)

5 years agoRemove NestedScrollView from the default shell layout (#7032)
Shane Neuville [Wed, 14 Aug 2019 16:06:54 +0000 (10:06 -0600)]
Remove NestedScrollView from the default shell layout (#7032)

* Remove NestedScrollView from the default shell layout

* only set NestedScrollingEnabled if parent is NestedScrollView

* Automate UI Tests

* - remove C#  7.1 feature and fix UI tests for iOS

* -additional c# 7.1 fixes

* -change ui tests to use gestures for scrolling

5 years agoadded static bool and check for iOS 13 (#7041)
David Ortinau [Wed, 14 Aug 2019 15:44:19 +0000 (10:44 -0500)]
added static bool and check for iOS 13 (#7041)

stephane said it was ok, so it's ok. ok? ok.

5 years ago[iOS] make VisualElementExtensions public (#7144)
Shane Neuville [Wed, 14 Aug 2019 15:00:57 +0000 (09:00 -0600)]
[iOS] make VisualElementExtensions public (#7144)

5 years agoFixes issue #7109 in XF 4.0 branch (#7151)
Jonathan Goldberger [Wed, 14 Aug 2019 14:59:50 +0000 (04:59 -1000)]
Fixes issue #7109 in XF 4.0 branch (#7151)

5 years agoUse NSIndexPath.Item instead of .Row in CollectionView (#7107)
E.Z. Hart [Wed, 14 Aug 2019 14:10:45 +0000 (08:10 -0600)]
Use NSIndexPath.Item instead of .Row in CollectionView (#7107)

* Use NSIndexPath.Item in CollectionView (instead of .Row)
Fixes #6737

* Missed a couple of .Row usages

5 years agoUpdate CONTRIBUTING.md (#7153)
Brian Runck [Wed, 14 Aug 2019 09:37:18 +0000 (05:37 -0400)]
Update CONTRIBUTING.md (#7153)

Fix link to Beginner's Guide for Contributing

5 years agoAdd separate MarkerClick and InfoWindowClick events for Pins (#6079)
Joe Manke [Wed, 14 Aug 2019 00:41:11 +0000 (19:41 -0500)]
Add separate MarkerClick and InfoWindowClick events for Pins (#6079)

* Add separate MarkerClick and InfoWindowClick events for Pins

* Mark Pin.Clicked obsolete

* Use for loops to look up Pins in renderers.

* Add custom EventArgs for MapClicked and InfoWindowClicked

* Update MapGalleryPage for new events

* Obsolete messages and other cleanup

* Correct the pragma when calling Pin.SendTapped

* Change obsolete message to say 4.2.0

* Ignore warning on Pin.SendTap() on other platforms

* Update obsolete messages to 4.3.0

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
fixes #2509
fixes #3131
fixes #5490

5 years agoMerge branch '4.2.0'
ShaneN [Tue, 13 Aug 2019 17:27:43 +0000 (11:27 -0600)]
Merge branch '4.2.0'

5 years agoAdded missing NamedSizes for WPF (#7116)
Gerald Versluis [Tue, 13 Aug 2019 09:59:37 +0000 (11:59 +0200)]
Added missing NamedSizes for WPF (#7116)

# Conflicts:
# Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems

5 years agoadd wait before WaitForNoElement (#7132)
Shane Neuville [Tue, 13 Aug 2019 09:31:43 +0000 (03:31 -0600)]
add wait before WaitForNoElement (#7132)

5 years ago[Android, previewer] fixes layouts in the preview when using InvokeOnMainThread funct...
Pavel Yakovlev [Tue, 13 Aug 2019 06:32:08 +0000 (09:32 +0300)]
[Android, previewer] fixes layouts in the preview when using InvokeOnMainThread function (#7044)

5 years ago[Android] Update webview to use correct value for WebNavigationEvent (#7089)
Ravinder Jangra [Mon, 12 Aug 2019 21:10:23 +0000 (02:40 +0530)]
[Android] Update webview to use correct value for WebNavigationEvent (#7089)

* Update Android webview to return correct WebNavigationEvent value

* set _eventState on load

5 years ago[Android] Disable AndroidTicker if AnimatorDurationScale is equal or below 0 (#7092)
thisisthekap [Mon, 12 Aug 2019 21:08:16 +0000 (23:08 +0200)]
[Android] Disable AndroidTicker if AnimatorDurationScale is equal or below 0 (#7092)

* disable AndroidTicker if AnimatorDurationScale is equal or below 0

* made IsAnimatorEnabled null safe

* changed defautl behavior of IsAnimatorEnabled to disable animations if android context or context resolver are null

5 years agouse c#7.3 (#7131)
Stephane Delcroix [Mon, 12 Aug 2019 13:27:30 +0000 (15:27 +0200)]
use c#7.3 (#7131)

* use c#7.2

* try 7.3 on CI

* [Build] Specify mono version on android build

5 years agoAdded missing NamedSizes for GTK (#7130)
Javier Suárez Ruiz [Mon, 12 Aug 2019 10:10:41 +0000 (12:10 +0200)]
Added missing NamedSizes for GTK (#7130)

5 years agoMerge branch '4.2.0'
Stephane Delcroix [Mon, 12 Aug 2019 08:38:25 +0000 (10:38 +0200)]
Merge branch '4.2.0'

5 years agoStop the madness (#7123)
kingces95 [Sat, 10 Aug 2019 21:02:41 +0000 (11:02 -1000)]
Stop the madness (#7123)

5 years agoAdd ProfilePage (#7112)
kingces95 [Fri, 9 Aug 2019 20:23:11 +0000 (10:23 -1000)]
Add ProfilePage (#7112)

5 years agoRename InitializationFlags -> ActivationFlags (#7084)
kingces95 [Fri, 9 Aug 2019 20:22:43 +0000 (10:22 -1000)]
Rename InitializationFlags -> ActivationFlags (#7084)

* InitFlags -> ActivationFlags

* renames

5 years ago[UITest] Fix 2951 and moved extension method to be more visible (#7108)
Shane Neuville [Fri, 9 Aug 2019 17:56:00 +0000 (11:56 -0600)]
[UITest] Fix 2951 and moved extension method to be more visible (#7108)

* [UITest] Fix 2951 and moved extension method to be more visible

* fix spacing

* tabs

5 years agoJust check if IsDesignModeEnabled true instead of checking Context type (#7110)
Shane Neuville [Fri, 9 Aug 2019 12:32:19 +0000 (06:32 -0600)]
Just check if IsDesignModeEnabled true instead of checking Context type (#7110)

5 years agoAdds a null check for Xamarin.Forms.Platform.Android.PageRenderer.Xamarin.Forms.Platf...
Happypig375 [Fri, 9 Aug 2019 12:19:08 +0000 (20:19 +0800)]
Adds a null check for Xamarin.Forms.Platform.Android.PageRenderer.Xamarin.Forms.Platform.Android.IOrderedTraversalController.UpdateTraversalOrder (#7050)

* Fixes #7049

* Test?

* Tap View please

* Spacing

* Address comments

* Excuse me, semicolons

* Remove private

5 years ago[Bug] NullReferenceException Closing Window During Animation (#7067)
Gerald Versluis [Fri, 9 Aug 2019 00:51:06 +0000 (02:51 +0200)]
[Bug] NullReferenceException Closing Window During Animation (#7067)

* Added null check to current application for WPF

* Apply suggestions from code review

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
fixes #7061

5 years agoReinstated Xamarin icon for NuGets (#7101)
Gerald Versluis [Fri, 9 Aug 2019 00:49:45 +0000 (02:49 +0200)]
Reinstated Xamarin icon for NuGets (#7101)

5 years agoUpdate Issue2577.cs (#7088)
Gerald Versluis [Thu, 8 Aug 2019 16:49:21 +0000 (18:49 +0200)]
Update Issue2577.cs (#7088)

5 years agoUpdate Issue2499.cs (#7086)
Gerald Versluis [Thu, 8 Aug 2019 16:47:13 +0000 (18:47 +0200)]
Update Issue2499.cs (#7086)

5 years agoImplemented scrolling disabling for ScrollView via ScrollOrientation.Neither (#3113)
Alexey Maltsev [Thu, 8 Aug 2019 12:22:26 +0000 (17:22 +0500)]
Implemented scrolling disabling for ScrollView via ScrollOrientation.Neither (#3113)

* Added Neither option for ScrollOrientation to disable scrolling

Added UI-test for issue #2680

Made test more representative

Fixed comment it ui-test for #2680

Added tests for changing orientation in real-time

Updated unit test for asserting ScrollOrientation.Neither

Added test that content size didn't change when ScrollOrientation.Neither

Fixed issue when scroll event was fired if ScrollOrientation is Neither

* Renamed properties at test

* Fixed UI test

* Codestyle fixes

5 years agoUpdate Issue4187.cs (#7087)
Gerald Versluis [Thu, 8 Aug 2019 10:49:36 +0000 (12:49 +0200)]
Update Issue4187.cs (#7087)

5 years ago[XamlC] throw XPE on missing resource key (#7073)
Stephane Delcroix [Thu, 8 Aug 2019 08:46:17 +0000 (10:46 +0200)]
[XamlC] throw XPE on missing resource key (#7073)

When a resource was missing a key (non-implicit resource), XamlC was throwing
an AssemblyResolutionException instead of a proper XamlParseException when the
type of the resource was in a different xmlns than the default Forms one.

All the other cases are fine (default xmlns, or non-compiled Xaml)

- fixes AB#946693

5 years ago[C] Dispose the Disposable (#7020)
Stephane Delcroix [Thu, 8 Aug 2019 08:44:22 +0000 (10:44 +0200)]
[C] Dispose the Disposable (#7020)

Dispose the disposable readers while parsing StyleSheets

- fixes #6986

5 years ago[iOS] CollectionView Header/Footer (#7094)
Shane Neuville [Thu, 8 Aug 2019 07:07:16 +0000 (01:07 -0600)]
[iOS] CollectionView Header/Footer (#7094)

* [iOS] CollectionView Header/Footer

* - add iOS tests

* - fix comments

5 years ago[Android] Click on the center of the down stepper button (#7080)
Shane Neuville [Wed, 7 Aug 2019 17:16:03 +0000 (11:16 -0600)]
[Android] Click on the center of the down stepper button (#7080)

* Locate the actual stepper button for clicking

* Leave iOS test alone

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

5 years agoupdate dot file
Chris King [Wed, 7 Aug 2019 00:03:51 +0000 (14:03 -1000)]
update dot file

5 years agoFix bug where wrong buttons were acted on (#6961)
Gerald Versluis [Tue, 6 Aug 2019 09:13:36 +0000 (11:13 +0200)]
Fix bug where wrong buttons were acted on (#6961)

5 years agoMerge branch '4.2.0'
Stephane Delcroix [Tue, 6 Aug 2019 08:07:12 +0000 (10:07 +0200)]
Merge branch '4.2.0'

5 years agodisable gestures on shell View Pager (#7030)
Shane Neuville [Tue, 6 Aug 2019 01:48:17 +0000 (19:48 -0600)]
disable gestures on shell View Pager (#7030)

fixes #6310
fixes #6060

5 years ago[XamlC] don't reset the NameScope if it exists (#7040)
Stephane Delcroix [Tue, 6 Aug 2019 01:24:29 +0000 (03:24 +0200)]
[XamlC] don't reset the NameScope if it exists (#7040)

if the object creation already creates a namescope (because it's created from xaml), do not override the namescope

- fixes #6192
- fixes #AB957727
- fixes #6902

5 years agoupdate dot files
Chris King [Tue, 6 Aug 2019 00:26:26 +0000 (14:26 -1000)]
update dot files

5 years ago[Tizen] Update ListViewRenderer for header and footer (#6984)
sung-su.kim [Mon, 5 Aug 2019 21:19:25 +0000 (06:19 +0900)]
[Tizen] Update ListViewRenderer for header and footer (#6984)

5 years ago[UITest] Change Query to WaitForElement on 45125 and change GetResult to await for...
Shane Neuville [Mon, 5 Aug 2019 20:26:34 +0000 (14:26 -0600)]
[UITest] Change Query to WaitForElement on 45125 and change GetResult to await for Performance Gallery testing (#7057)

* change query to waitforelement and use async over GetResult

* - ConfigureAwait(false)

5 years agoEnsure FlowDirection propagates to EmptyView when not using a template (#6998)
E.Z. Hart [Mon, 5 Aug 2019 20:05:30 +0000 (14:05 -0600)]
Ensure FlowDirection propagates to EmptyView when not using a template (#6998)

* Make sure FlowDirection propagates to EmptyView when not using a template

* Resolve rebase issues

* Fix stuck EmptyView

5 years agoCache Droid SDK ver (#6983)
kingces95 [Sat, 3 Aug 2019 21:04:01 +0000 (11:04 -1000)]
Cache Droid SDK ver (#6983)

* cache droid SDK ver

* remove lock

5 years agoMerge branch '4.2.0'
Samantha Houts [Thu, 1 Aug 2019 20:34:34 +0000 (13:34 -0700)]
Merge branch '4.2.0'

5 years agoMerge branch '4.1.0' into 4.2.0
Samantha Houts [Thu, 1 Aug 2019 20:32:14 +0000 (13:32 -0700)]
Merge branch '4.1.0' into 4.2.0

5 years agoCleaned up build.props and fixed applinks csproj debugtype (#7039)
Gerald Versluis [Thu, 1 Aug 2019 12:53:53 +0000 (14:53 +0200)]
Cleaned up build.props and fixed applinks csproj debugtype (#7039)

5 years ago[UWP] The SelectedItem in a ListView is not highlighted when set while constructing...
Gerald Versluis [Thu, 1 Aug 2019 11:28:29 +0000 (13:28 +0200)]
[UWP] The SelectedItem in a ListView is not highlighted when set while constructing a page (#6973)

* Enable selection of an item from constructor

* Update ListViewRenderer.cs

* Update ListViewRenderer.cs

* Update ListViewRenderer.cs

5 years agoUse Xamarin.Forms.Size instead of Android.Util.Size to work with API < 21 (#7033...
E.Z. Hart [Thu, 1 Aug 2019 10:30:27 +0000 (04:30 -0600)]
Use Xamarin.Forms.Size instead of Android.Util.Size to work with API < 21 (#7033) fixes #6815

Fixes #6815

5 years agoEnable SourceLink for Xamarin.Forms (#6886) fixes #2165
Gerald Versluis [Thu, 1 Aug 2019 10:07:38 +0000 (12:07 +0200)]
Enable SourceLink for Xamarin.Forms (#6886) fixes #2165

* Added sourcelink config to Directory.Build.props

* Only enable SourceLink for release builds

* Added debugtypes to mac projects

* pdb in nupkg files

* Revert "Added debugtypes to mac projects"

This reverts commit 7235bebdc42abdd9b747cd983357c7d832f91b39.

* Update Directory.Build.props

* Update Directory.Build.props

* Revert "Update Directory.Build.props"

This reverts commit 1c5b66c6e93fe55b66a028237a8b7f3b3629a804.

* Added DebugType portable to csprojs

* Removed all redundant csproj debugtype tags

5 years agoPrevent DisplayEnd for cell on bounce (#7028)
Gerald Versluis [Thu, 1 Aug 2019 09:55:29 +0000 (11:55 +0200)]
Prevent DisplayEnd for cell on bounce (#7028)

5 years agoMerge branch 4.2.0
ShaneN [Wed, 31 Jul 2019 17:44:31 +0000 (11:44 -0600)]
Merge branch 4.2.0

5 years agoModify UI Test 6286 to await push and pop (#7022)
Shane Neuville [Wed, 31 Jul 2019 15:59:30 +0000 (09:59 -0600)]
Modify UI Test 6286 to await push and pop (#7022)

* Modify 6286 test to await push and pop

* convert over to use Tasks

5 years agoRevert "[Tests]Update to Xamarin.UITest 3.0 and NUnit 3.0 (#6332)" (#7021)
Shane Neuville [Wed, 31 Jul 2019 10:08:17 +0000 (04:08 -0600)]
Revert "[Tests]Update to Xamarin.UITest 3.0 and NUnit 3.0 (#6332)" (#7021)

This reverts commit fbebbfc516ee473a9a2ca36914505ab92baadd9e.

5 years agoAndroid CollectionView Header/Footer (non-sticky) (#6948)
E.Z. Hart [Tue, 30 Jul 2019 18:54:43 +0000 (12:54 -0600)]
Android CollectionView Header/Footer (non-sticky) (#6948)

5 years agoMerge branch '4.1.0' into 4.2.0
Stephane Delcroix [Tue, 30 Jul 2019 14:32:14 +0000 (16:32 +0200)]
Merge branch '4.1.0' into 4.2.0

5 years agoMerge branch '4.0.0' into 4.1.0
Stephane Delcroix [Tue, 30 Jul 2019 14:31:31 +0000 (16:31 +0200)]
Merge branch '4.0.0' into 4.1.0

5 years agoMake it easier to create custom renderers for alternate CV layouts on Android (#6990)
E.Z. Hart [Tue, 30 Jul 2019 10:27:36 +0000 (04:27 -0600)]
Make it easier to create custom renderers for alternate CV layouts on Android (#6990)

Demo of StaggeredGridLayoutManager on Android

5 years ago[iOS] Fix usage conflict of Title and AttributedTitle on ButtonRenderer (#6944)
Rui Marinho [Tue, 30 Jul 2019 09:15:54 +0000 (10:15 +0100)]
[iOS] Fix usage conflict of Title and AttributedTitle on ButtonRenderer (#6944)

* [iOS] Fix usage conflict of Title and AttributedTitle on ButtonRenderer

* if CharacterSpacing isn't set then don't set it

* remove comments

* check for null

5 years ago[UWP] Register the Xaml assembly (#7004)
Stephane Delcroix [Tue, 30 Jul 2019 07:45:11 +0000 (09:45 +0200)]
[UWP] Register the Xaml assembly (#7004)

the Xaml asssembly need to be scanned for DependecyServices. The
code in place intended it, but was referring to the wrong type...

 - fixes #6974

5 years ago[iOS] UITableView.Appearance.BackgroundColor ignored or overridden for ListView ...
Gerald Versluis [Tue, 30 Jul 2019 06:25:59 +0000 (08:25 +0200)]
[iOS] UITableView.Appearance.BackgroundColor ignored or overridden for ListView (#6910)

* Fix and UI test

# Conflicts:
# Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems

* Apply suggestions from code review

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
* Last typo fix

5 years agoUWP CollectionView cleanup (#6928)
E.Z. Hart [Mon, 29 Jul 2019 23:50:11 +0000 (17:50 -0600)]
UWP CollectionView cleanup (#6928)

* Move files to CollectionView folder for consistency with other platforms
Move SelectableItemsViewRenderer to Setup/Teardown pattern
Fix event handler naming
Use Is method for property changed check

* Rebase cleanup

5 years ago[UWP] Fixes default button padding (#6455)
Pavel Yakovlev [Mon, 29 Jul 2019 23:49:18 +0000 (02:49 +0300)]
[UWP] Fixes default button padding (#6455)

fixes #6450

5 years agofixes .create-nuget script (#6913)
Pavel Yakovlev [Mon, 29 Jul 2019 21:11:38 +0000 (00:11 +0300)]
fixes .create-nuget script (#6913)

5 years ago[X] Allow tracking the assignment of StaticResource (#6868)
Stephane Delcroix [Mon, 29 Jul 2019 21:09:26 +0000 (23:09 +0200)]
[X] Allow tracking the assignment of StaticResource (#6868)

This allows advanced tracking of SR for debugging purposes. It doesn't affects
apps running without the debugger.

See also https://docs.microsoft.com/en-us/dotnet/api/system.windows.diagnostics.resourcedictionarydiagnostics

5 years agoCollectionView Android - Fix adapter update (#6840)
Andrei Nitescu [Mon, 29 Jul 2019 17:37:52 +0000 (20:37 +0300)]
CollectionView Android - Fix adapter update (#6840)

* CollectionView Android - Fix adapter update #6840

* Fix missing end tag

* Added APP compiler directive

* Update Issue6644.xaml.cs

fixes #6644
fixes #6839

5 years agoImplement DataTemplateSelector support for CollectionView on UWP (#6918)
E.Z. Hart [Mon, 29 Jul 2019 17:10:20 +0000 (11:10 -0600)]
Implement DataTemplateSelector support for CollectionView on UWP (#6918)

fixes #6898

5 years agoMerge branch '4.2.0'
Rui Marinho [Mon, 29 Jul 2019 09:26:00 +0000 (10:26 +0100)]
Merge branch '4.2.0'

5 years agoMerge branch '4.1.0' into 4.2.0
Rui Marinho [Mon, 29 Jul 2019 09:23:54 +0000 (10:23 +0100)]
Merge branch '4.1.0' into 4.2.0

5 years agoMerge branch '4.0.0' into 4.1.0
Rui Marinho [Mon, 29 Jul 2019 09:22:33 +0000 (10:22 +0100)]
Merge branch '4.0.0' into 4.1.0

5 years agoiOS - Test and fix for VoiceOver crash on a ContentPage not having any Content define...
Samantha Houts [Mon, 29 Jul 2019 09:01:24 +0000 (02:01 -0700)]
iOS - Test and fix for VoiceOver crash on a ContentPage not having any Content defined (#6987) fixes #6926

* Added test case for showing crash for issue 6926.

* Potential fix for issue 6926. Prevents a null reference exception when a ContentPage has no Content.

5 years agoremove sandbox (#6993)
Shane Neuville [Mon, 29 Jul 2019 03:12:22 +0000 (21:12 -0600)]
remove sandbox (#6993)

5 years ago [iOS] Reset anchor point before reapplying transforms (#6951) fixes #6945 fixes...
Shane Neuville [Fri, 26 Jul 2019 10:51:29 +0000 (04:51 -0600)]
 [iOS] Reset anchor point before reapplying transforms (#6951) fixes #6945 fixes #5610

* [iOS]  Reset anchor point when reapplying transforms
- fix #6945

* Fix automation ids

5 years agofixes #5575 (#6981)
Andrei [Fri, 26 Jul 2019 10:48:52 +0000 (13:48 +0300)]
fixes #5575 (#6981)

5 years ago[Android] add check for double dispose scrollview/page/platform (#6923)
Shane Neuville [Fri, 26 Jul 2019 07:54:10 +0000 (01:54 -0600)]
[Android] add check for double dispose scrollview/page/platform (#6923)

5 years agoupdate dot files
Chris King [Fri, 26 Jul 2019 01:30:36 +0000 (15:30 -1000)]
update dot files

5 years agoAdded UpdateScreenSize call at instantiation (#6912)
Gerald Versluis [Thu, 25 Jul 2019 20:24:31 +0000 (22:24 +0200)]
Added UpdateScreenSize call at instantiation (#6912)

5 years agoAdded iOS version check for crashing code (#6862) fixes #6847
Gerald Versluis [Thu, 25 Jul 2019 16:40:56 +0000 (18:40 +0200)]
Added iOS version check for crashing code (#6862) fixes #6847

5 years ago[Android] Fix previewer exceptions with SearchBar (#6930) fixes #4108
Pavel Yakovlev [Thu, 25 Jul 2019 16:39:08 +0000 (19:39 +0300)]
[Android] Fix previewer exceptions with SearchBar (#6930) fixes #4108

* [Android] fixes previewer exceptions with SearchBar

* added comment

5 years ago[Android/iOS] RemainingItemsThreshold and Scrolled implementation for CollectionView...
adrianknight89 [Thu, 25 Jul 2019 13:07:28 +0000 (08:07 -0500)]
[Android/iOS] RemainingItemsThreshold and Scrolled implementation for CollectionView (#5754)

* infinite scroll capability

* remove added line

* scroll event implementation

* add offset calculation for GridLayoutManager

* removed custom layout managers

* renamed variables

* changed comment

* implement CenterItemIndex

* fixed pageSize

* removed artifact

* handle the case when the layout manager is not linear

* fix comment

* call base dispose

* code review changes

* remove unused references

* indentation fix

* fix compilation issues

* revert cleanup

* fix

* fix crash

* fix test

* fix index issue

* removed unused method

* fix

* moved private variables into app scope

* Added back UI test

* Name to AutomationID

* added command parameter and addressed minor suggestions

5 years agoFixes #6539 (#6969)
kingces95 [Thu, 25 Jul 2019 09:52:36 +0000 (23:52 -1000)]
Fixes #6539 (#6969)

5 years ago[Tests]Update to Xamarin.UITest 3.0 and NUnit 3.0 (#6332)
Rui Marinho [Thu, 25 Jul 2019 09:26:34 +0000 (10:26 +0100)]
[Tests]Update to Xamarin.UITest 3.0 and NUnit 3.0 (#6332)

* [UITests]Update to Xamarin.UITest 3.0

* [Tests] Move tests to Xamarin.UITests and NUnit 3.0

* [UITests] Use OneTimeSetUp

* suppress CS0436

5 years agoupdate .create-stubs.bat for iOS
Chris King [Thu, 25 Jul 2019 00:39:11 +0000 (14:39 -1000)]
update .create-stubs.bat for iOS

5 years ago[C] Obsolete Device.OpenUri (#6844)
Stephane Delcroix [Wed, 24 Jul 2019 08:46:30 +0000 (10:46 +0200)]
[C] Obsolete Device.OpenUri (#6844)

* [C] Obsolete Device.OpenUri

also fix identation to use tabs

* fix CS618

* Update Xamarin.Forms.Core/Device.cs

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
5 years agoupdate partial slns
Chris King [Tue, 23 Jul 2019 23:30:57 +0000 (13:30 -1000)]
update partial slns

5 years agoMerge branch '4.2.0'
Stephane Delcroix [Tue, 23 Jul 2019 16:12:59 +0000 (18:12 +0200)]
Merge branch '4.2.0'

5 years agoMerge branch '4.1.0' into 4.2.0
Stephane Delcroix [Tue, 23 Jul 2019 16:12:34 +0000 (18:12 +0200)]
Merge branch '4.1.0' into 4.2.0

5 years ago[Android] Fix previewer exceptions with TabbedPage (#6897)
Pavel Yakovlev [Mon, 22 Jul 2019 16:53:28 +0000 (19:53 +0300)]
[Android] Fix previewer exceptions with TabbedPage (#6897)

* [Android] Fix previewer exceptions with TabbedPage

* - consolidated code

5 years agoMerge branch '4.2.0'
Rui Marinho [Sun, 21 Jul 2019 19:57:29 +0000 (20:57 +0100)]
Merge branch '4.2.0'

5 years agoMerge branch '4.1.0' into 4.2.0
Rui Marinho [Sun, 21 Jul 2019 19:56:23 +0000 (20:56 +0100)]
Merge branch '4.1.0' into 4.2.0

5 years ago[iOS] Fix initial color of RefreshControl in ListViews (#6473) fixes #5728
Alan Grgic [Fri, 19 Jul 2019 10:58:59 +0000 (05:58 -0500)]
[iOS] Fix initial color of RefreshControl in ListViews (#6473) fixes #5728

* add reproduction

* make beginrefreshing occur after offset animation and ensure color is set before beginning refresh

5 years agoFix - Prevent race condition between activity create and dispose. (#6596)
Kevin Petit [Fri, 19 Jul 2019 10:50:02 +0000 (12:50 +0200)]
Fix - Prevent race condition between activity create and dispose. (#6596)

5 years agoMacOS: Allow third party libs to display animated images correctly (#6302)
Daniel Luberda [Fri, 19 Jul 2019 10:43:39 +0000 (12:43 +0200)]
MacOS: Allow third party libs to display animated images correctly (#6302)

* Mac Animated NSImage support