platform/core/csapi/xsf.git
5 years ago[C] deprecate GetValues (#5324)
Stephane Delcroix [Wed, 27 Feb 2019 07:56:27 +0000 (08:56 +0100)]
[C] deprecate GetValues (#5324)

* [C] deprecate GetValues

Deprecate GetValues, as it no longer make snes now that the properties
store is a Dictionary and no longer a List.

Update the code to be C#7-ish.

Take this refactoring opportunity to move similar method next to each other.

- fixes #5015

* Apply suggestions from code review

Co-Authored-By: StephaneDelcroix <stephane@delcroix.org>
5 years agoBindableProperty: More explanatory exception message (#5384)
Andrei Nitescu [Wed, 27 Feb 2019 07:55:47 +0000 (09:55 +0200)]
BindableProperty: More explanatory exception message (#5384)

5 years agoMerge branch '3.6.0'
Stephane Delcroix [Tue, 26 Feb 2019 19:12:27 +0000 (20:12 +0100)]
Merge branch '3.6.0'

5 years ago[X] wrap typeconverter exceptions in XPE (#5388)
Stephane Delcroix [Tue, 26 Feb 2019 19:07:17 +0000 (20:07 +0100)]
[X] wrap typeconverter exceptions in XPE (#5388)

- fixes #5378

5 years ago[Visual] Check if assembly is dynamic before calling GetExportedTypes (#5389)
Shane Neuville [Tue, 26 Feb 2019 17:38:10 +0000 (10:38 -0700)]
[Visual] Check if assembly is dynamic before calling GetExportedTypes (#5389)

* check if assembly is dynamic

* add filenotfound catch

5 years ago[Android] add build error if TargetFramework is too low (#5350)
Shane Neuville [Tue, 26 Feb 2019 17:22:48 +0000 (10:22 -0700)]
[Android] add build error if TargetFramework is too low (#5350)

* [Android] add build error if TargetFramework is to low

* change to Corecompile

* add disable condition

5 years agoVisual equality (#5380)
Matthew Leibowitz [Tue, 26 Feb 2019 13:59:29 +0000 (15:59 +0200)]
Visual equality (#5380)

No one gets to go to the top, not even the great Material Design. All pages are equal, and are listed alphabetically.

5 years ago[Visual] Visual xaml and Visual registrations (#5304)
Shane Neuville [Mon, 25 Feb 2019 20:54:02 +0000 (13:54 -0700)]
[Visual] Visual xaml and Visual registrations (#5304)

* [visual] add intellisense popups for visual

* Add visual registrations into type converter

* combine VisualMarker and VisualRendererMarker

* remove visual from class name for intellisense

* set Match Parent to internal

* Remove register code and just scan assemblies

* [Visual] Add Visual Attribute and some additional attribute checks

* remove registrar changes

* renamed to specific VisualTypes

* - move check up to LINQ statement

* Make sure the other platforms can create visuals

* fix renderer names

* move stepper renderer

* rename converter

5 years agoUpdate BindableLayout.cs to fix #5213 (#5243)
Jeremy Marcus [Mon, 25 Feb 2019 19:44:00 +0000 (14:44 -0500)]
Update BindableLayout.cs to fix #5213 (#5243)

- fixes #5213

* Add Test for BindableLayout RemoveAll

* Update BindableLayout.cs to fix RemoveAll exception

* Missing using statements

5 years ago┬──┬◡ノ(° -°ノ)
Stephane Delcroix [Mon, 25 Feb 2019 09:46:32 +0000 (10:46 +0100)]
┬──┬◡ノ(° -°ノ)

5 years agoMerge branch '3.6.0'
Stephane Delcroix [Mon, 25 Feb 2019 07:33:25 +0000 (08:33 +0100)]
Merge branch '3.6.0'

5 years agoMerge branch '3.5.0' into 3.6.0
Stephane Delcroix [Mon, 25 Feb 2019 07:20:29 +0000 (08:20 +0100)]
Merge branch '3.5.0' into 3.6.0

5 years ago[Visual] Material Pickers (#5194)
Shane Neuville [Mon, 25 Feb 2019 03:21:39 +0000 (20:21 -0700)]
[Visual] Material Pickers (#5194)

* [Material] Change Picker EditText fields to Material

* [Visual] add material placeholder properties

* - add ios placeholder changes

* - remove placeholder apis

* - shrink entry fields when they have no place holder

* - invalidate measure

* - remove marshalling

5 years ago[Android CollectionView] Fixes crash when ItemSource Changed (#5146)
Pavel Yakovlev [Sun, 24 Feb 2019 18:00:31 +0000 (21:00 +0300)]
[Android CollectionView] Fixes crash when ItemSource Changed (#5146)

5 years ago[Android iOS Visual] fixes background in ActivityIndicator (#5283)
Pavel Yakovlev [Sat, 23 Feb 2019 09:30:47 +0000 (12:30 +0300)]
[Android iOS Visual] fixes background in ActivityIndicator (#5283)

* [Android, iOS Visual] fixes background in AcrivityIndicator

* [Android] reduce nesting layouts

* [Android] simplification

* Some calculations for iOS

* [Android] removed padding, added size limit
[iOS] fixes stroke width

* [iOS] default size as in Android

* Use the Android ratio of 10 instead of the spec of 12

* [Android] fix API23

* [iOS] fix unexpected padding

* [Android] fixes padding in API 23 -- IsRunning -- added gallery

* [Android] fixes start with IsRunning = false

* [Android] again fix isRunning

* address comments

5 years ago[Material] [Android, iOS] Materializing the stepper (#5027)
Matthew Leibowitz [Fri, 22 Feb 2019 19:51:45 +0000 (21:51 +0200)]
[Material] [Android, iOS] Materializing the stepper (#5027)

* [Android] [Material] Refactored the Stepper on Android #5011
 - reuse code between default and material
 - added material stepper

* [Android] [Material] Using the "Fast" renderer style for the stepper #5011
 - switched the button style to the outlined buttons

* [Android] [Material] Adding the tab stops support (#5000)

* [Android] [Material] Switching back to a traditional renderer for now to get tabstops working

* [Material] [iOS] Added a Material stepper for iOS

* [Material] [Android, iOS] Addressed the PR feedback

* [Material] Remove private

* Update MaterialStepperRenderer.cs

* Update StepperRendererManager.cs

* Fixed the merge issues

* add steppers to visual gallery

* The material stepper buttons now resize to fit the available space.

* Update Xamarin.Forms.Controls/ControlGalleryPages/VisualGallery.xaml

Co-Authored-By: mattleibow <mattleibow@live.com>
* [Material] [Stepper] Don't set the background color for steppers
 - we still need to decide on the logic behind the coloring of outline buttons

* Fixed the Android accessibility

* Change UI tests to not use a Text search for locating stepper controls

5 years ago[Material] rename iOS assembly to be non platform specific (#5332)
Shane Neuville [Fri, 22 Feb 2019 15:29:25 +0000 (08:29 -0700)]
[Material] rename iOS assembly to be non platform specific (#5332)

* [Material] rename iOS assembly

* fix title and Internals Visible To

5 years agoAdd UI test to B41600 (#5174)
Ione Souza Junior [Fri, 22 Feb 2019 01:08:31 +0000 (22:08 -0300)]
Add UI test to B41600 (#5174)

5 years ago[CSS] fix mapping for vertical-align (#5275)
Stephane Delcroix [Fri, 22 Feb 2019 00:59:48 +0000 (01:59 +0100)]
[CSS] fix mapping for vertical-align (#5275)

5 years ago[XamlC] Identify generic instance types correctly when importing ctor (#5309)
Akihiko Odaki [Fri, 22 Feb 2019 00:56:42 +0000 (09:56 +0900)]
[XamlC] Identify generic instance types correctly when importing ctor (#5309)

The old implementation fails to identify generic instance types for typed
binding getter, whose type is:
System.Func`2<TSource, ValueTuple<TProperty, bool>>

This fixes the issue by taking generic arguments into account.

5 years ago[Android] Fix SearchBar renderer height on API24 (#5329)
Rui Marinho [Fri, 22 Feb 2019 00:23:32 +0000 (00:23 +0000)]
[Android] Fix SearchBar renderer height on API24 (#5329)

5 years ago[Android] Include default proguard file so user doesn't have to create rules for...
Shane Neuville [Thu, 21 Feb 2019 20:22:39 +0000 (15:22 -0500)]
[Android] Include default proguard file so user doesn't have to create rules for XF (#5143)

* [2709] Add default proguard config file

* add proguard.cfg file to nuspec

5 years agoFix NRE in Android ResourceManager when reference resource in Previewer (#5331)
Tim Barham [Thu, 21 Feb 2019 01:24:18 +0000 (11:24 +1000)]
Fix NRE in Android ResourceManager when reference resource in Previewer (#5331)

Fixes part of #5300

(cherry picked from commit fb59591580ea474e7f48e5941854fd790dc5a8cb)

5 years ago[Controls] Fix Restart UITest Android
Rui Marinho [Wed, 20 Feb 2019 12:03:05 +0000 (12:03 +0000)]
[Controls] Fix Restart UITest Android

5 years ago[iOS] Fixed updating Label TextDecorations when no Text is set (#5013)
Andrei Nitescu [Tue, 19 Feb 2019 14:55:19 +0000 (16:55 +0200)]
[iOS] Fixed updating Label TextDecorations when no Text is set (#5013)

- fixes #5003
- fixes #5149
- fixes #5258

5 years ago[XamlC] compiled binding to int indexers (#5271)
Stephane Delcroix [Tue, 19 Feb 2019 14:26:30 +0000 (15:26 +0100)]
[XamlC] compiled binding to int indexers (#5271)

- fixes #5254

5 years ago[XamlC] avoid cast exception on overriden members (#5269)
Stephane Delcroix [Tue, 19 Feb 2019 14:25:51 +0000 (15:25 +0100)]
[XamlC] avoid cast exception on overriden members (#5269)

avoid InvalidCastException if an event is overriden with the new keyword
to a bindableproperty. Kids, DO NOT EVER DO THIS AT HOME.

- fixes #5256 for XamlC

5 years ago[iOS] Fix the layout of the button (#5221) * fixes #5160
Matthew Leibowitz [Tue, 19 Feb 2019 12:36:59 +0000 (14:36 +0200)]
[iOS] Fix the layout of the button (#5221) * fixes #5160

- it appears that iOS has a nice little delay when setting the title to the layout

5 years agoFix NRE in Android ResourceManager when reference resource in Previewer (#5305)
Tim Barham [Tue, 19 Feb 2019 11:34:26 +0000 (21:34 +1000)]
Fix NRE in Android ResourceManager when reference resource in Previewer (#5305)

Fixes part of #5300

5 years agoAdd (passing) test for #5290
Stephane Delcroix [Tue, 19 Feb 2019 10:17:02 +0000 (11:17 +0100)]
Add (passing) test for #5290

5 years agoRevert "Update Forms.cs"
Alan McGovern [Tue, 19 Feb 2019 08:56:36 +0000 (08:56 +0000)]
Revert "Update Forms.cs"

This reverts commit e4fa2c0603dab511fef9cb72daa2a4a5c6222082.

5 years agoUpdate Forms.cs
Alan McGovern [Tue, 19 Feb 2019 08:56:08 +0000 (08:56 +0000)]
Update Forms.cs

If you want a foolproof way of getting a reference to the assembly from
the Android head project, then just use the EntryAssembly
property of the AppDomain.

5 years agoFix dynamic resources in merged dictionaries #3661 (#4993) * fixes #3661
Patrick Allwood [Mon, 18 Feb 2019 14:57:23 +0000 (14:57 +0000)]
Fix dynamic resources in merged dictionaries #3661 (#4993) * fixes #3661

5 years agoMerge branch '3.6.0'
Stephane Delcroix [Mon, 18 Feb 2019 11:49:32 +0000 (12:49 +0100)]
Merge branch '3.6.0'

5 years agoMerge branch '3.5.0' into 3.6.0
Stephane Delcroix [Mon, 18 Feb 2019 11:49:11 +0000 (12:49 +0100)]
Merge branch '3.5.0' into 3.6.0

5 years ago[C] Binding null on nullable (#5255)
Stephane Delcroix [Thu, 14 Feb 2019 19:08:16 +0000 (20:08 +0100)]
[C] Binding null on nullable (#5255)

* fixes #5274

bindings should allow null for nullable valuetypes!

* [C] Binding null on nullable

@kicsiede's fix for #5242, plus unit test, targetted to 3.6.0

- closes #5242

5 years ago[iOS] add single parameter constructor back (#5281) * fixes #5278
Shane Neuville [Mon, 18 Feb 2019 11:31:55 +0000 (04:31 -0700)]
[iOS] add single parameter constructor back (#5281) * fixes #5278

5 years agoSetup sandbox app inside our project (#5264)
Shane Neuville [Mon, 18 Feb 2019 11:30:08 +0000 (04:30 -0700)]
Setup sandbox app inside our project (#5264)

* [Visual] Material Pickers and setup sandbox app

* Fixed the ambiguous types for UWP

5 years ago[Android] Fix ObjectDisposedException on MasterDetailPageRenderer update (#4955)
Kevin Petit [Mon, 18 Feb 2019 11:24:26 +0000 (12:24 +0100)]
[Android] Fix ObjectDisposedException on MasterDetailPageRenderer update (#4955)

* Android - MasterDetailPageRenderer - Fix ObjectDisposedException on update.

* Fix update call to master.

* Move checks inside update methods.
Add HandleMasterPropertyChanged handler unsubscribing.

5 years ago[MacOs] Slider inside StackLayout Horizontal Orientation crash (#5191) * fixes #3610
Andrei [Mon, 18 Feb 2019 11:21:54 +0000 (14:21 +0300)]
[MacOs] Slider inside StackLayout Horizontal Orientation crash (#5191) * fixes #3610

* fix https://github.com/xamarin/Xamarin.Forms/issues/3610

* updated default size

* Added info comment

5 years agoImplement FlowDirection propagation to items in CollectionView (#5051) * fixes #4583
E.Z. Hart [Mon, 18 Feb 2019 11:21:10 +0000 (04:21 -0700)]
Implement FlowDirection propagation to items in CollectionView (#5051) * fixes #4583

* Implement FlowDirection propagation to items in CollectionView; fixes #4583

* Run logical child detachment via CellDisplayingEnded

* Fix Visual propagation on iOS

* Fix Visual propagation on Android

* Fix rebase error

5 years ago[Android] Set Page background color (#5066) * Fixes #5057 * closes #4916 * Fixes...
Andrei Nitescu [Mon, 18 Feb 2019 11:19:57 +0000 (13:19 +0200)]
[Android] Set Page background color (#5066) * Fixes #5057 * closes #4916 * Fixes #5073

* [Android] Fix setting Page background color

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue5057.xaml.cs

Co-Authored-By: andreinitescu <nitescua@yahoo.com>
* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue5057.xaml.cs

Co-Authored-By: andreinitescu <nitescua@yahoo.com>
* Refactoring and added test info

* Update Xamarin.Forms.Platform.Android/Renderers/PageRenderer.cs

Co-Authored-By: andreinitescu <nitescua@yahoo.com>
5 years agoCollectionview uitest (#5231)
Rui Marinho [Mon, 18 Feb 2019 11:18:50 +0000 (11:18 +0000)]
Collectionview uitest (#5231)

* [UITests] Add basic CollectionView tests

* [UITests] Enable uitests ObservableCollectionGallery

* [UITests] Update itemssource

* Update Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/CollectionViewGallery.cs

Co-Authored-By: rmarinho <me@ruimarinho.net>
5 years agoMerge branch '3.6.0'
Stephane Delcroix [Mon, 18 Feb 2019 08:15:37 +0000 (09:15 +0100)]
Merge branch '3.6.0'

5 years ago[C] Binding null on nullable (#5255)
Stephane Delcroix [Thu, 14 Feb 2019 19:08:16 +0000 (20:08 +0100)]
[C] Binding null on nullable (#5255)

* fixes pull #4453

bindings should allow null for nullable valuetypes!

* [C] Binding null on nullable

@kicsiede's fix for #5242, plus unit test, targetted to 3.6.0

- closes #5242

5 years agoAdd AllowMultiple=true to QueryPropertyAttribute (#5180) (#5251)
Stephane Delcroix [Thu, 14 Feb 2019 09:54:30 +0000 (10:54 +0100)]
Add AllowMultiple=true to QueryPropertyAttribute (#5180) (#5251)

In the process of building a demo app (https://github.com/matthewrdev/xamarin-forms-4), I discovered that I could not apply multiple parameters; doing so would cause a compile-time error.

The usage of this property in ShellContent, specifically in ApplyQueryAttributes, indicates that the intended behaviour is to allow users to specify multiple URL arguments that will be applied onto the page. Changing AllowMultiple to true fixes this.

For reference, when AllowMultiple is not explicitly set, it's default value is false. See: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/attributeusage.

5 years agoMerge branch '3.6.0'
Samantha Houts [Thu, 14 Feb 2019 00:57:13 +0000 (16:57 -0800)]
Merge branch '3.6.0'

5 years agoMerge branch '3.5.0' into 3.6.0
Samantha Houts [Thu, 14 Feb 2019 00:55:00 +0000 (16:55 -0800)]
Merge branch '3.5.0' into 3.6.0

5 years ago[Android] Fix ImageRenderer URI (#5241)
Rui Marinho [Thu, 14 Feb 2019 00:22:40 +0000 (00:22 +0000)]
[Android] Fix ImageRenderer URI (#5241)

* ignore check if imageview isn't set

* [Controls] Add repo case for #5172

* [Controls] Use xf github image url

fixes #5172

5 years agoapply Remove suggestion bar in iOS picker (#4634)
Yun Chen [Wed, 13 Feb 2019 23:42:11 +0000 (12:42 +1300)]
apply  Remove suggestion bar in iOS picker (#4634)

fixes #4629

5 years ago[Material] [Android, iOS] Added Slider and ProgressBar (#5209)
Matthew Leibowitz [Wed, 13 Feb 2019 23:36:55 +0000 (01:36 +0200)]
[Material] [Android, iOS] Added Slider and ProgressBar (#5209)

* [Android Material] Linear Progress Indicator (#5079)

Merging into the material "slider" / "progress" bar branch so that we can share some code as they are the same control

* [Material] [Slider, ProgressBar] Updated the progress bard and added the slider

* Renamed the gallery

fixes #5008
fixes #5079
fixes #5018

5 years agoFixed passing container (#5158)
Andrei Nitescu [Wed, 13 Feb 2019 23:33:14 +0000 (01:33 +0200)]
Fixed passing container (#5158)

fixes #5156

5 years agoRevert "[Android] fixes issue content set after an await is not visible (#4861)"...
Samantha Houts [Wed, 13 Feb 2019 23:21:31 +0000 (15:21 -0800)]
Revert "[Android] fixes issue content set after an await is not visible (#4861)" (#5245)

This reverts commit bf0733129dda78349c14d7cb6ae39cd61ebe2288.

5 years agoBackport some 3.6 previewer changes to 3.5 (#5227)
Stephane Delcroix [Wed, 13 Feb 2019 21:41:45 +0000 (22:41 +0100)]
Backport some 3.6 previewer changes to 3.5 (#5227)

* [X] add callback for previewer on failing ctor (#5101)

Add a callback when object instantiation or creation fails, so the
previewer can replace it by an educated guess

* Allow the previewer to use design flag on RDs (#5096)

* [Xaml] Better handling of exception on properties (#5099)

Allow the previewer to recover and continue on throwing property setters
or BindableProperties.

* [Previewer] Fallback for factorymethod not found (#5139)

- fixes #5138

* [previewer] more info to the callback (#5155)

5 years ago[iOS] Fix ImageRenderer dispose (#5222)
Rui Marinho [Wed, 13 Feb 2019 19:45:15 +0000 (19:45 +0000)]
[iOS] Fix ImageRenderer dispose (#5222)

* [iOS] Fix ViewRenderer dispose

* Revert "[iOS] Fix ViewRenderer dispose"

This reverts commit 94ee061b0cc000b527f193963e6f911b57ec34f9.

* [iOS] Fix for ImageRenderer

5 years agoMerge branch '3.5.0' into 3.6.0
Shane [Wed, 13 Feb 2019 15:31:49 +0000 (10:31 -0500)]
Merge branch '3.5.0' into 3.6.0

5 years agoAdded TapGesture handling for Spans on Mac OS * fixes #4775
Andrei [Wed, 13 Feb 2019 15:08:39 +0000 (18:08 +0300)]
Added TapGesture handling for Spans on Mac OS * fixes #4775

5 years agoFix ScrollTo on Mac (#4983) * fixes #3319
Sanya Andreichuk [Wed, 13 Feb 2019 13:39:52 +0000 (15:39 +0200)]
Fix ScrollTo on Mac (#4983) * fixes #3319

* Fix github issue #3319

Fix  #3319 [MAC] ScrollTo method is not working in Xamarin.Forms for mac platform

* Update Issue3318.cs

Fix Issue3318 UITest.

* Fix github issue #3319

Fix  #3319 [MAC] ScrollTo method is not working in Xamarin.Forms for mac platform

* Update Issue3318.cs

Fix Issue3318 UITest.

5 years agoUpdate WebViewRenderer.cs (#4737)
zhuXinghan [Wed, 13 Feb 2019 13:10:07 +0000 (21:10 +0800)]
Update WebViewRenderer.cs (#4737)

Fixed the problem that only the first Navigating event can be triggered

5 years ago[Xaml] better error reporting (#5104) #fixes #5095
Stephane Delcroix [Wed, 13 Feb 2019 13:02:01 +0000 (14:02 +0100)]
[Xaml] better error reporting (#5104) #fixes #5095

* [Xaml] better error reporting

Report error on invalid value nodes

- fixes #5095

* Think about the nullable

* fix test

5 years agoRevert "Add AllowMultiple=true to QueryPropertyAttribute (#5180)" (#5234)
Rui Marinho [Wed, 13 Feb 2019 12:44:31 +0000 (12:44 +0000)]
Revert "Add AllowMultiple=true to QueryPropertyAttribute (#5180)" (#5234)

This reverts commit 169daca254a8191477326b95f2dca717e9f216e7.

5 years agoAdd AllowMultiple=true to QueryPropertyAttribute (#5180)
Matthew Robbins [Wed, 13 Feb 2019 12:43:51 +0000 (23:43 +1100)]
Add AllowMultiple=true to QueryPropertyAttribute (#5180)

In the process of building a demo app (https://github.com/matthewrdev/xamarin-forms-4), I discovered that I could not apply multiple parameters; doing so would cause a compile-time error.

The usage of this property in ShellContent, specifically in ApplyQueryAttributes, indicates that the intended behaviour is to allow users to specify multiple URL arguments that will be applied onto the page. Changing AllowMultiple to true fixes this.

For reference, when AllowMultiple is not explicitly set, it's default value is false. See: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/attributeusage.

5 years agoReinstate and obsolete IPlatform, et al (#5181)
E.Z. Hart [Tue, 12 Feb 2019 20:27:00 +0000 (13:27 -0700)]
Reinstate and obsolete IPlatform, et al (#5181)

* Reanimate IPlatform and mark it obsolete

* Reinstate IPlatform everywhere in case someone is using it or subscribing to
PlatformSet

* Revert breaking parameter name change

* Obsolete IsEnabledPropertyName

* Reinstate and obsolete Realized property and constructor

* Escape string format so solution will build

* Fix previewer reflection test

* Fix interface on Tizen/TizenPlatformServices

* Update Xamarin.Forms.Core/Element.cs

Co-Authored-By: hartez <hartez@users.noreply.github.com>
5 years ago[Android, WPF] Fixes rounding down the size of visual elements (#2697) Fixes #1544
Pavel Yakovlev [Tue, 12 Feb 2019 17:48:56 +0000 (20:48 +0300)]
[Android, WPF] Fixes rounding down the size of visual elements (#2697) Fixes #1544

* [Android, WPF] Fixes rounding down the size of visual elements
[Android] Fixes settting background color for BoxView

* refactoring PrepareLayout action

* address comments

5 years ago[Android] fixes TabStop on Stepper Control (#5000) fixes #4956
Pavel Yakovlev [Tue, 12 Feb 2019 13:39:03 +0000 (16:39 +0300)]
[Android] fixes TabStop on Stepper Control (#5000) fixes #4956

5 years agoMissing visual falling not falling back to registered default renderer (#5179)
Shane Neuville [Tue, 12 Feb 2019 13:37:26 +0000 (06:37 -0700)]
Missing visual falling not falling back to registered default renderer (#5179)

5 years agoFixed opening of multiple picker dialogs on Android (#4911) fixes #4909
Gerald Versluis [Tue, 12 Feb 2019 13:25:22 +0000 (14:25 +0100)]
Fixed opening of multiple picker dialogs on Android (#4911) fixes #4909

5 years ago[UWP] Fixes call Tapped event ListView (#3400) fixes #2318 fixes #4901
Pavel Yakovlev [Tue, 12 Feb 2019 13:13:58 +0000 (16:13 +0300)]
[UWP] Fixes call Tapped event ListView (#3400) fixes #2318  fixes #4901

- fixes EntryCellTextBox template

5 years ago[Enhancement] Android: WebView - Control over Zoom controls (#3607) fixes #1661
Gerald Versluis [Tue, 12 Feb 2019 13:10:33 +0000 (14:10 +0100)]
[Enhancement] Android: WebView - Control over Zoom controls (#3607) fixes #1661

* Started implementation of zoom support on Android WebView

* Implemented fully working zoom and zoom controls for Android WebView

* Corrected merge error

* Removed redundant API checks

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>
* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>
* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>
* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>
* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>
* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>
5 years agoCake build script (#5074)
Shane Neuville [Tue, 12 Feb 2019 13:05:51 +0000 (06:05 -0700)]
Cake build script (#5074)

* cake

* cake

* android fix

* fix clean

* version fix

* android deploy updates

* move to cake tools

* add clean bin obj back in

* git versioning

* fix vs mac target

* vs mac fixes

* remove default config on sh

* add UAP pdbs

5 years agoUpdated all the OpenTK references to use NuGet (#4836)
Matthew Leibowitz [Tue, 12 Feb 2019 12:59:18 +0000 (14:59 +0200)]
Updated all the OpenTK references to use NuGet (#4836)

* Updated all the OpenTK references to use NuGet
 - Using the same NuGet version of OpenTK across the board
 - Added a gallery factory to allow for platform-specific pages
 - Added the OpenGL galleries to Android, iOS, GTK# and WPF

* Fix the build for iOS and macOS

* Fix the modified defines for the control gallery

5 years ago[Mac] NavigationPageRenderer amendments RE: Issue4388 (#4607) #4388 #4389
Andrei [Tue, 12 Feb 2019 12:33:17 +0000 (15:33 +0300)]
[Mac] NavigationPageRenderer amendments RE: Issue4388  (#4607) #4388 #4389

* crash fixes https://github.com/xamarin/Xamarin.Forms/issues/4388

* Subview Z-index fix

* [MacOS] Dispose cleanup

* Added WantsLayer prop to Insert method

* Added disposing check to ViewRenderer

5 years agoMerge branch '3.5.0' into 3.6.0
Stephane Delcroix [Mon, 11 Feb 2019 08:15:42 +0000 (09:15 +0100)]
Merge branch '3.5.0' into 3.6.0

5 years ago[X] only require escaping if starts with '{' (#5169)
Stephane Delcroix [Fri, 8 Feb 2019 19:32:35 +0000 (20:32 +0100)]
[X] only require escaping if starts with '{' (#5169)

- fixes #5152

5 years ago[iOS] CollectionView multi-item Add/Remove/Replace/Move (#5055)
E.Z. Hart [Fri, 8 Feb 2019 12:18:44 +0000 (05:18 -0700)]
[iOS] CollectionView multi-item Add/Remove/Replace/Move (#5055)

* Split file by class

* Handle multiple moving items on iOS

* Make replacer indexes more intuitive

* Handle multi-item replacement on iOS

* More robust Remove implementation

* Make Replace test indexes include the end index; don't determine startIndex when removing
unless necessary.

5 years ago[previewer] more info to the callback (#5155)
Stephane Delcroix [Thu, 7 Feb 2019 20:39:38 +0000 (21:39 +0100)]
[previewer] more info to the callback (#5155)

5 years ago[Previewer] Fallback for factorymethod not found (#5139)
Stephane Delcroix [Thu, 7 Feb 2019 16:30:41 +0000 (17:30 +0100)]
[Previewer] Fallback for factorymethod not found (#5139)

- fixes #5138

5 years agoPrevent snap helpers from snapping until the user interacts with scro… (#5065)
E.Z. Hart [Wed, 6 Feb 2019 20:24:57 +0000 (13:24 -0700)]
Prevent snap helpers from snapping until the user interacts with scro… (#5065)

* Prevent snap helpers from snapping until the user interacts with scrolling; fixes #4935

* Lower sensitivity for snapping to kick in on Android

* Remove underscore in method name

5 years ago[Xaml] don't use context before checking it's not null (#5124)
Stephane Delcroix [Tue, 5 Feb 2019 08:12:25 +0000 (09:12 +0100)]
[Xaml] don't use context before checking it's not null (#5124)

5 years ago[Controls] Ignore random failures on AppCenter
Rui Marinho [Mon, 4 Feb 2019 20:01:49 +0000 (20:01 +0000)]
[Controls] Ignore random failures on AppCenter

5 years ago[Xaml] Better handling of exception on properties (#5099)
Stephane Delcroix [Mon, 4 Feb 2019 14:45:49 +0000 (15:45 +0100)]
[Xaml] Better handling of exception on properties (#5099)

Allow the previewer to recover and continue on throwing property setters
or BindableProperties.

5 years ago[Build] Use wildcards on triggers (#5126)
Rui Marinho [Mon, 4 Feb 2019 13:02:23 +0000 (13:02 +0000)]
[Build] Use wildcards on triggers (#5126)

5 years ago[iOS] Implement ItemSizingStrategy hint property for CollectionView (#5094)
E.Z. Hart [Mon, 4 Feb 2019 12:38:38 +0000 (05:38 -0700)]
[iOS] Implement ItemSizingStrategy hint property for CollectionView (#5094)

* Add ItemSizingStrategy to CollectionView in Core;
Create test harness for changing ItemSizingStrategy;
Handle ItemSizingStrategy and ItemSizingStrategy changes on iOS;

* Update test bed to better illustrate changes

* No need for DetermineCellSize to be internal

* Conserve precious bits by removing `private` modifier

partially implements #3172

5 years agoAllow the previewer to use design flag on RDs (#5096)
Stephane Delcroix [Mon, 4 Feb 2019 08:42:30 +0000 (09:42 +0100)]
Allow the previewer to use design flag on RDs (#5096)

5 years ago[X] add callback for previewer on failing ctor (#5101)
Stephane Delcroix [Mon, 4 Feb 2019 08:41:17 +0000 (09:41 +0100)]
[X] add callback for previewer on failing ctor (#5101)

Add a callback when object instantiation or creation fails, so the
previewer can replace it by an educated guess

5 years agoMerge branch '3.5.0' into 3.6.0
Samantha Houts [Sat, 2 Feb 2019 02:00:56 +0000 (18:00 -0800)]
Merge branch '3.5.0' into 3.6.0

5 years agoMerge branch '3.4.0' into 3.5.0
Samantha Houts [Sat, 2 Feb 2019 01:56:58 +0000 (17:56 -0800)]
Merge branch '3.4.0' into 3.5.0

5 years agoMerge branch '3.5.0'
Samantha Houts [Fri, 1 Feb 2019 22:41:04 +0000 (14:41 -0800)]
Merge branch '3.5.0'

5 years agoFix ScrollToPosition.MakeVisible on iOS (was scrolling to Start) (#5063)
E.Z. Hart [Thu, 31 Jan 2019 19:13:57 +0000 (12:13 -0700)]
Fix ScrollToPosition.MakeVisible on iOS (was scrolling to Start) (#5063)

5 years ago[Mac] fixes NRE when changing MainPage. Refactoring tab order. (#4962) fixes #4156
Pavel Yakovlev [Thu, 31 Jan 2019 13:31:07 +0000 (16:31 +0300)]
[Mac] fixes NRE when changing MainPage. Refactoring tab order. (#4962) fixes #4156

5 years agoMerge branch '3.5.0'
Samantha Houts [Thu, 31 Jan 2019 03:02:38 +0000 (19:02 -0800)]
Merge branch '3.5.0'

5 years agoRevert "[Android] Ensure the page background can be un-set (#4916)"
Samantha Houts [Thu, 31 Jan 2019 02:57:42 +0000 (18:57 -0800)]
Revert "[Android] Ensure the page background can be un-set (#4916)"

This reverts commit 1c27d0bcff769b6b341e5934539726effbcb6231.

5 years ago[Material] + [Android, iOS] Refactored and fixed lots of button layout issues (#4967)
Matthew Leibowitz [Wed, 30 Jan 2019 23:44:23 +0000 (01:44 +0200)]
[Material] + [Android, iOS] Refactored and fixed lots of button layout issues (#4967)

* [Android] Refactored and fixed lots of button layout issues
 - All text, image and content layout logic has been extracted into a separate manager
 - Fixed the issue buttons with just an image changing size
 - Fixed a few button padding issues (still needs another look)
 - Fixed the issue with the content layout changes not updating the actual button layout
 - Fixed image positioning for all (not legacy) buttons
 - Material button no longer uses material image layout as it overrides the custom positioning
 - Fixed a few other issues where properties don't change the native button, or layouts break the positioning of the image

* [Button] Fixed a whole bunch of issues
 - added a platform specific "BorderAdjustsPadding" to Android and iOS to prevent border overlap
 - added a new gallery with all sorts of buttons
 - improvements to the Android button layout manager
 - fixed to the Android button measure/layout process

* [Android] [Button] The preservation of default padding is now a flag

* [iOS] [Button] Extracted all the layout logic for the classic button
 - yet to update Material button to use this
 - fixed a few issues with the iOS layout
    - content layout changes were not updating the control
    - top/bottom did not respect spacing
    - the native control trimmed text in the getter, so use the value from the element

* Removing the platform specifics as they were the wrong property
 - the property is part of the renderer implementation
 - Material button on iOS still needs implementing

* Updated the material button to use the layout manager
 - the iOS layout logic needs some more investigation

* remove old comments

* A fix for when there is no text and some backwards compatibility

* Added a more realistic set of values

* Restrict the material button border to 1px. See #4951.

* Fixed that issue with the buttons and the padding...
 - Removed the inset so that layout is accurate
 - set the padding to 8dp to match that of iOS and Material
 - set the minimum height to 36 according to Material (it was 48dp, with 12dp total inset, and, 48-12=36)

* Update Xamarin.Forms.Core/Button.cs

Co-Authored-By: mattleibow <mattleibow@live.com>
* Don't add members to the public type

* [Material] Added a button to change text size in the demo page

* appcompat regression fixes

* move state checks around

* fix bad merge

* adding delay to ui tests

5 years ago[Android iOS Material] ActivityIndicator (#5088)
Pavel Yakovlev [Wed, 30 Jan 2019 22:21:03 +0000 (01:21 +0300)]
[Android iOS Material] ActivityIndicator (#5088)

* [Android iOS Material] ActivityIndicator

* address comments

* [iOS] background path optimization

5 years ago[Android] fixes app crash when next control in FocusSearch isn't focusable (#5031)
Pavel Yakovlev [Wed, 30 Jan 2019 22:01:02 +0000 (01:01 +0300)]
[Android] fixes app crash when next control in FocusSearch isn't focusable (#5031)

fixes #5030

5 years ago[Control Gallery] Basic Search + Visual Selector (#5014)
Matthew Leibowitz [Wed, 30 Jan 2019 22:00:14 +0000 (00:00 +0200)]
[Control Gallery] Basic Search + Visual Selector (#5014)

* Implement basic search on the gallery home page

* Added a context menu so that the visual can be dynamically changed

* Added sorting to the gallery

5 years agoMaterial Entry v1 (#5056)
Shane Neuville [Wed, 30 Jan 2019 21:44:34 +0000 (14:44 -0700)]
Material Entry v1 (#5056)

* Fixing entry style positioning to match ios/android

* centralize colors more

* [Android] underline alpha

* fix underline colors

* font and height tweaks

* Core Gallery updates

* add materials target to SLN

* implement suggestions

5 years agoMerge branch '3.5.0'
ShaneN [Tue, 29 Jan 2019 22:57:44 +0000 (15:57 -0700)]
Merge branch '3.5.0'

5 years agoupdate to support less prone to freezing (#5080)
Shane Neuville [Tue, 29 Jan 2019 22:52:41 +0000 (15:52 -0700)]
update to support less prone to freezing (#5080)

5 years agoMerge branch '3.5.0'
ShaneN [Tue, 29 Jan 2019 22:32:55 +0000 (15:32 -0700)]
Merge branch '3.5.0'