platform/core/csapi/xsf.git
5 years agoMerge branch '3.5.0'
Rui Marinho [Tue, 18 Dec 2018 14:19:27 +0000 (14:19 +0000)]
Merge branch '3.5.0'

5 years agoMerge branch '3.4.0' into 3.5.0
Rui Marinho [Tue, 18 Dec 2018 14:18:26 +0000 (14:18 +0000)]
Merge branch '3.4.0' into 3.5.0

5 years ago[Controls] Remove default timeout test #2482
Rui Marinho [Tue, 18 Dec 2018 13:03:25 +0000 (13:03 +0000)]
[Controls] Remove default timeout test #2482

5 years ago[Android] Avoid acting on a disposed reference (#4780)
Samantha Houts [Tue, 18 Dec 2018 13:01:48 +0000 (05:01 -0800)]
[Android] Avoid acting on a disposed reference (#4780)

5 years ago[Tizen] Supports SwitchCell.OnColor (#4785)
Kangho Hur [Tue, 18 Dec 2018 12:58:58 +0000 (04:58 -0800)]
[Tizen] Supports SwitchCell.OnColor (#4785)

5 years ago[C, iOS, AND, UWP] Color for Picker.Title (#4701)
Gerald Versluis [Tue, 18 Dec 2018 12:12:30 +0000 (13:12 +0100)]
[C, iOS, AND, UWP] Color for Picker.Title (#4701)

* Implemented Core, iOS and Android

* Implemented UWP

* Processed code review feedback

* More code review feedback
And implemented reset scenarios for all platforms

* Also apply color to popup dialog on Android

- fixes #4669

5 years ago[XamlC] Resolve generic parameters of a method with generic return type (#4244)
Akihiko Odaki [Tue, 18 Dec 2018 11:07:49 +0000 (20:07 +0900)]
[XamlC] Resolve generic parameters of a method with generic return type (#4244)

5 years agoRevert "Properly detect SDK style projects (#4699)"
Stephane Delcroix [Mon, 17 Dec 2018 19:10:18 +0000 (20:10 +0100)]
Revert "Properly detect SDK style projects (#4699)"

This reverts commit 36b5345596180a62c732836b7ff20484b76861af.

5 years ago[IOS] Add launch storyboard (#4724)
Rui Marinho [Mon, 17 Dec 2018 10:43:17 +0000 (10:43 +0000)]
[IOS] Add launch storyboard (#4724)

* [IOS} Add launch storyboard

* [Mac] Fix csproj

* [Controls] Update MinimumOSVersion iOS

* [Controls] Remove missing file reference

* Update Xamarin.Forms.ControlGallery.MacOS.csproj

5 years ago[UItests] Fix UITest 41424 (#4745)
Rui Marinho [Mon, 17 Dec 2018 09:55:23 +0000 (09:55 +0000)]
[UItests] Fix UITest 41424 (#4745)

* [UITests] Delay for showing picker

* [UITests] Another try to wait for picker opened

5 years agoMerge branch '3.5.0'
Samantha Houts [Fri, 14 Dec 2018 19:00:28 +0000 (11:00 -0800)]
Merge branch '3.5.0'

5 years agoMerge branch '3.4.0' into 3.5.0
Samantha Houts [Fri, 14 Dec 2018 00:17:21 +0000 (16:17 -0800)]
Merge branch '3.4.0' into 3.5.0

5 years ago[iOS] Update cell size estimates after empty data source (#4688) fixes #4600
E.Z. Hart [Thu, 13 Dec 2018 23:52:32 +0000 (16:52 -0700)]
[iOS] Update cell size estimates after empty data source (#4688) fixes #4600

* Create gallery to test issue

* Prevent DetermineCellSize loop; allow autolayout to size first cell after
initially empty data source; update estimates after initially empty data source;
fixes #4600

* Automated test

* Fix typo in comments

* Using Ignore to avoid running test because UI tests seems to ignore Explicit

* Change `_previousCount` to `bool _wasEmpty`

5 years agoupdate to preview9 and uncomment no longer broken interface (#4727)
Shane Neuville [Thu, 13 Dec 2018 23:46:29 +0000 (16:46 -0700)]
update to preview9 and uncomment no longer broken interface (#4727)

5 years ago[Android] fixes pop-up dialog in Pickers when you call Focus() (#4725)
Pavel Yakovlev [Thu, 13 Dec 2018 23:44:53 +0000 (02:44 +0300)]
[Android] fixes pop-up dialog in Pickers when you call Focus() (#4725)

* [Android] fixes pop-up dialog in Pickers when you call Focus()

* [Android] Extract the popup-on-focus logic
 - the will be useful when other, non-EditText triggers are used
 - this can be extended later if more features are needed
 - no specific types in base types

5 years agoAdd NUnitTestAdapter to xamarin ui test projects so VSIX isn't required for running...
Shane Neuville [Thu, 13 Dec 2018 23:41:05 +0000 (16:41 -0700)]
Add NUnitTestAdapter to xamarin ui test projects so VSIX isn't required for running UI Tests (#4719)

* add NUnitTestAdapter to xamarin ui test projects

* NUnitTestAdapter not needed on ios project

* NUnitTestAdapter not needed on macOS project

5 years agodelay ui test a bit so elements can vanish first (#4726)
Shane Neuville [Thu, 13 Dec 2018 19:15:39 +0000 (12:15 -0700)]
delay ui test a bit so elements can vanish first (#4726)

5 years agoremove armeabi and set HttpClient Implementation on iOS to NSUrlSession (#4717)
Shane Neuville [Thu, 13 Dec 2018 16:48:18 +0000 (09:48 -0700)]
remove armeabi and set HttpClient Implementation on iOS to NSUrlSession (#4717)

* remove armeabi and set  Http Client Implementation to NSUrlSession

* remove armeabi

5 years ago[Xaml] throw on unexpected empty elements (#4582)
Stephane Delcroix [Wed, 12 Dec 2018 15:50:30 +0000 (16:50 +0100)]
[Xaml] throw on unexpected empty elements (#4582)

new exception being thrown:
>Xamarin.Forms.Xaml.XamlParseException : Position 7:4. Unexpected empty element '<Grid.ColumnDefinitions/>'

also reduce the number of places we resolve lineInfo for exceptions
purposes

- fixes #4553

5 years agoProperly detect SDK style projects (#4699)
Daniel Cazzulino [Wed, 12 Dec 2018 09:33:08 +0000 (06:33 -0300)]
Properly detect SDK style projects (#4699)

The `$(MSBuildSDKsPath)` is actually *always* set whenever there are MSBuild SDKs
*installed*, not necessarily when the current project is an SDK-style project itself.

This means that we're potentially adding duplicate items and otherwise disrupting
normal operation of the non-SDK style projects with this import.

So use the well-known properties that are set by the .NET [Sdk.props](https://github.com/dotnet/sdk/blob/master/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.props#L22-L27) file instead,
which is the first imported target even before nuget-provided .props files.

5 years ago[Android] ItemContentView should use all available space (#4569) fixes #4406
E.Z. Hart [Tue, 11 Dec 2018 18:41:30 +0000 (11:41 -0700)]
[Android] ItemContentView should use all available space (#4569) fixes #4406

* [Android] ItemContentView should use all available space; fixes #4406
Fix inconsistent/inaccurate class naming for cells/views.

* Update Xamarin.Forms.Platform.Android/CollectionView/SizedItemContentView.cs

Add missing space.

Co-Authored-By: hartez <hartez@users.noreply.github.com>
* Make ReuseId values match class names

5 years agoMerge branch '3.5.0'
E.Z. Hart [Mon, 10 Dec 2018 20:36:36 +0000 (13:36 -0700)]
Merge branch '3.5.0'

5 years agoRoot the XFBuildTasksLocation path
E.Z. Hart [Mon, 10 Dec 2018 20:35:09 +0000 (13:35 -0700)]
Root the XFBuildTasksLocation path

5 years agoMerge branch '3.5.0'
Stephane Delcroix [Mon, 10 Dec 2018 07:55:42 +0000 (08:55 +0100)]
Merge branch '3.5.0'

5 years agorevert package downgrade
Stephane Delcroix [Mon, 10 Dec 2018 07:55:03 +0000 (08:55 +0100)]
revert package downgrade

5 years agoUpdated README to reflect correct name (#4687)
DavidRoqueni [Sun, 9 Dec 2018 08:49:10 +0000 (01:49 -0700)]
Updated README to reflect correct name (#4687)

Corrected typo to reflect the correct Android name.

5 years agoMerge branch '3.5.0'
Stephane Delcroix [Sun, 9 Dec 2018 08:33:09 +0000 (09:33 +0100)]
Merge branch '3.5.0'

5 years agofix merge mistake
Stephane Delcroix [Sun, 9 Dec 2018 08:32:34 +0000 (09:32 +0100)]
fix merge mistake

5 years agoMerge branch '3.5.0'
Rui Marinho [Sun, 9 Dec 2018 01:16:23 +0000 (01:16 +0000)]
Merge branch '3.5.0'

5 years agoMerge 3.4.0 to 3.5.0
Rui Marinho [Sun, 9 Dec 2018 00:51:34 +0000 (00:51 +0000)]
Merge 3.4.0 to 3.5.0

5 years ago[build] add a Directory.Build.props (#4672)
Stephane Delcroix [Sun, 9 Dec 2018 00:31:53 +0000 (01:31 +0100)]
[build] add a Directory.Build.props (#4672)

Copying <PropertyGroup>s on (almost) every .csproj, and get the
relative paths just right is tedious. Starting msbuild 15 (vs2017)
we can use a Directory.Build.props (and Directory.Build.targets)
so I see no reason why we shouldn't.

see https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2017

5 years ago[tasks] Build.Tasks targets net46 (#4670)
Stephane Delcroix [Sat, 8 Dec 2018 09:03:34 +0000 (10:03 +0100)]
[tasks] Build.Tasks targets net46 (#4670)

* [tasks] Build.Tasks targets net46

Build tasks in VS MUST target net46 and no higher

- fixes #4667

* fix nuspec

5 years ago[XamlC] Compile the {DataTemplate} markup (#4641)
Stephane Delcroix [Sat, 8 Dec 2018 08:53:07 +0000 (09:53 +0100)]
[XamlC] Compile the {DataTemplate} markup (#4641)

* [XamlC] Compile the {DataTemplate} markup

- fixes #4592

* [C] throw XPE on missing mandatory member

TypeName for {Type} and {DataTemplate} markup extensions is mandatory.
Throw a XamlParseException, with context, when that happens.

* fix style

* (ab)use of nameof

5 years agoUpdate issue templates
Samantha Houts [Fri, 7 Dec 2018 18:01:33 +0000 (10:01 -0800)]
Update issue templates

5 years agoChange SearchBar base class to InputView (#3248) fixes #2902
jcmanke [Fri, 7 Dec 2018 13:31:56 +0000 (07:31 -0600)]
Change SearchBar base class to InputView (#3248) fixes #2902

* Changed SearchView base class from View to InputView

* Minor code cleanup

5 years ago[iOS] Change default background color of Cell to UIColor.Clear (#4002) fixes #3450
Andrei [Fri, 7 Dec 2018 13:30:40 +0000 (16:30 +0300)]
[iOS] Change default background color of Cell to UIColor.Clear (#4002) fixes #3450

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

* Added possibility to configure cell background color for iOS

* Update Xamarin.Forms.Platform.iOS/Cells/CellRenderer.cs

* Fixed merge suggestion issue

* Update Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Cell.cs

Co-Authored-By: AndreiMisiukevich <andrei.misiukevich@gmail.com>
* Update Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Cell.cs

Co-Authored-By: AndreiMisiukevich <andrei.misiukevich@gmail.com>
* Update Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Cell.cs

Co-Authored-By: AndreiMisiukevich <andrei.misiukevich@gmail.com>
5 years ago[Build] Don't build Tizen and Design projects on iPhone of iPhoneSimulator (#4646)
Rui Marinho [Fri, 7 Dec 2018 11:31:41 +0000 (11:31 +0000)]
[Build] Don't build Tizen and Design projects on iPhone of iPhoneSimulator (#4646)

* [Build] Don't build Tizen and Design projects on iPhone of iPhoneSimulator

* [Build] Update build

5 years agobump gitinfo
Stephane Delcroix [Fri, 7 Dec 2018 10:16:04 +0000 (11:16 +0100)]
bump gitinfo

5 years agoGH 4444; Fix local nuget build script (#4668)
kingces95 [Fri, 7 Dec 2018 00:56:29 +0000 (14:56 -1000)]
GH 4444; Fix local nuget build script (#4668)

5 years agoAdded the style from .NET Foundation plus variances (#4575)
Matthew Leibowitz [Fri, 7 Dec 2018 00:55:31 +0000 (02:55 +0200)]
Added the style from .NET Foundation plus variances (#4575)

5 years ago[Android] fixes crash when switching Bottom Navigation Tabs too fast or click on...
Pavel Yakovlev [Fri, 7 Dec 2018 00:54:44 +0000 (03:54 +0300)]
[Android] fixes crash when switching Bottom Navigation Tabs too fast or click on More menu (#4617) fixes #4382

5 years ago[Shell] expose CurrentShell (#4626) fixes #4625
Stephane Delcroix [Fri, 7 Dec 2018 00:53:50 +0000 (01:53 +0100)]
[Shell] expose CurrentShell (#4626) fixes #4625

* [Shell] expose CurrentShell

- fixes #4625

* Update Xamarin.Forms.Core/Shell/Shell.cs

Co-Authored-By: hartez <hartez@users.noreply.github.com>
5 years ago[test] add passing test for #4572 (#4656)
Stephane Delcroix [Thu, 6 Dec 2018 11:02:49 +0000 (12:02 +0100)]
[test] add passing test for #4572 (#4656)

- closes #4572

5 years agoUpdate issue templates
Stephane Delcroix [Thu, 6 Dec 2018 08:24:12 +0000 (09:24 +0100)]
Update issue templates

5 years ago[Android] Fix ImageSource being set to null and fix ImageCell so it loads images...
Shane Neuville [Wed, 5 Dec 2018 00:55:00 +0000 (17:55 -0700)]
[Android] Fix ImageSource being set to null and fix ImageCell so it loads images (#4601) fixes #4597 fixes #4584

* [Android] fix imageCell and null ImageSource

* [iOS] fixed ui tests for iOS

* [Android] fix FR UI Tests

* suggested formatting fixes

5 years ago[Android] fixes Picker list showing up incorrectly when focus is set on other control...
Pavel Yakovlev [Wed, 5 Dec 2018 00:54:00 +0000 (03:54 +0300)]
[Android] fixes Picker list showing up incorrectly when focus is set on other controls (#4344) fixes #4318 fixes #4187 fixes #4494

* [Android] fixes Picker list shows up, when focus is set on other controls

* - fixes Picker outside the cell, when you tap on the adjacent EditBox
- address comments

* [Android] added automated UItest

* [Android] added automated test in the carousel

* correct namespace UITest

* fix uitest

* fix uitest #2

* [Controls] Add test for #4494

* minor formating

5 years agoMerge branch '3.5.0'
Rui Marinho [Tue, 4 Dec 2018 23:04:14 +0000 (23:04 +0000)]
Merge branch '3.5.0'

5 years agoMerge branch '3.4.0' into 3.5.0
Rui Marinho [Tue, 4 Dec 2018 23:03:31 +0000 (23:03 +0000)]
Merge branch '3.4.0' into 3.5.0

5 years agoremove nupkgs (#4633)
Shane Neuville [Tue, 4 Dec 2018 22:27:07 +0000 (15:27 -0700)]
remove nupkgs (#4633)

* remove nupkgs

* add nupkg to gitignore

* add pdb to gitignore

5 years ago[Android] Java.Lang.RuntimeException: Animators may only be run on Lo… (#4177)
Paul Datsiuk [Tue, 4 Dec 2018 19:49:07 +0000 (21:49 +0200)]
[Android] Java.Lang.RuntimeException: Animators may only be run on Lo… (#4177)

* [Android] Java.Lang.RuntimeException: Animators may only be run on Looper threads on Battery Saver Mode

https://github.com/xamarin/Xamarin.Forms/issues/4176

* rewrite code to BeginInvokeOnMainThread
- fixes #4176

5 years ago[Enhancement] Add drag started and completed events/commands to Slider (#4423) fixes...
Matthew Richardson [Tue, 4 Dec 2018 19:08:13 +0000 (19:08 +0000)]
[Enhancement] Add drag started and completed events/commands to Slider (#4423) fixes #1450

* Implement DragStarted and DragCompleted events/commands in Slider.

* Add Tizen support.

* Use explicit interface implementation.

* Fix unit tests.

* Update Xamarin.Forms.Core/ISliderController.cs

Co-Authored-By: velocitysystems <matthew@velocitysystems.co.nz>
* Fix whitespace.

* Add missing namespace import

5 years ago[Xaml] expose XmlnsPrefixAttribute (#4562)
Stephane Delcroix [Tue, 4 Dec 2018 18:36:29 +0000 (19:36 +0100)]
[Xaml] expose XmlnsPrefixAttribute (#4562)

Expose the XmlnsPrefixAttribute, that can be used by external tools to
support object tree serialixation to Xaml.

- fixes #3191

5 years ago[Android] Crash at Dependency service call possible fix (#4157)
Andrei [Tue, 4 Dec 2018 18:35:23 +0000 (21:35 +0300)]
[Android] Crash at Dependency service call possible fix (#4157)

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

* renamed lock object

* updated DS and sample

* merge fix

- fixes #4097

5 years agoIgnore context change to null on UAP listview (#4412) fixes #4373
kingces95 [Tue, 4 Dec 2018 18:28:35 +0000 (08:28 -1000)]
Ignore context change to null on UAP listview (#4412) fixes #4373

5 years ago[XamlC] test for null in Binding paths (#4521) fixes #4102
Stephane Delcroix [Tue, 4 Dec 2018 18:21:36 +0000 (19:21 +0100)]
[XamlC] test for null in Binding paths (#4521) fixes #4102

* [XamlC] test for null in Binding paths

Instead of relying on a NRE behing thrown while trying to evaluate a
compiled binding getter, detect the null value and fail faster, without
throwing. This require changing the type of the getter so they return a
(TProperty, bool) value tuple indicating the success.

- fixes #4102

* depend on ValueTuple for ns1.0

5 years ago[UWP] Fixes throws NullReferenceException on empty NavigationPage (#3325) fixes ...
Pavel Yakovlev [Tue, 4 Dec 2018 18:20:56 +0000 (21:20 +0300)]
[UWP] Fixes throws NullReferenceException on empty NavigationPage (#3325) fixes #2102

5 years ago[Shell][iOS] do not try to smartly unblend bgcolor (#4593)
Stephane Delcroix [Tue, 4 Dec 2018 18:20:00 +0000 (19:20 +0100)]
[Shell][iOS] do not try to smartly unblend bgcolor (#4593)

Unblending bg color was a smart idea. But only works in a controlled
subset of cases. To avoid unexpected blends, we will do the dumb stuff,
as we always do.

5 years ago[tasks] avoid passing dupe assemblies to Cecil (#4624) fixes #4620
Stephane Delcroix [Tue, 4 Dec 2018 18:17:54 +0000 (19:17 +0100)]
[tasks] avoid passing dupe assemblies to Cecil (#4624) fixes #4620

* [tasks] avoid passing dupe assemblies to Cecil

avoid feeding Mono.Cecil with dupes. Removes a negligeable handful
of milliseconds (100ms on average, hard to measure) from XamlC. Even
less from XamlG.

- fixes #4620

* add extra check

5 years ago[Enhancement] Added GroupHeaderStyle property for iOS specific ListView class (#4616)
Andrei [Tue, 4 Dec 2018 18:17:02 +0000 (21:17 +0300)]
[Enhancement] Added GroupHeaderStyle property for iOS specific ListView class (#4616)

* Added group header style property for ios specific list view class

* removed redundant test line

5 years ago[build] do not fail on multiple core rebuild (#4621) fixes #4619
Stephane Delcroix [Tue, 4 Dec 2018 13:13:08 +0000 (14:13 +0100)]
[build] do not fail on multiple core rebuild (#4621) fixes #4619

- fixes #4619

5 years agoremove whitespaces, makes git happier
Stephane Delcroix [Tue, 4 Dec 2018 10:34:20 +0000 (11:34 +0100)]
remove whitespaces, makes git happier

5 years ago[Shell] Allow queryParams navigation (#4615)
Stephane Delcroix [Tue, 4 Dec 2018 03:12:00 +0000 (04:12 +0100)]
[Shell] Allow queryParams navigation (#4615)

* [Shell] Allow queryParams navigation

Allow uri navigation with queryParams. queryParams can be applied
to:
- the ShellContent (if inherited)
- the Content (or inflated ContentTemplate) of the ShellContent
- the BindingContext of the Content

those 3 can inherit an interface and handle the queryParams, or
the types can be decorated with some [QueryProperty] attributes.
Attributes are handled on the 3 typesL ShellContent, actual content,
or bindingcontext.

- fixes #4596

* syntax errors

* Address formatting comments

* [Core] add check when setting BindingContext on page to self

* [Core] fix navigation for non templated item

5 years ago[Shell] allow missing trailing slash on uri (#4595)
Stephane Delcroix [Mon, 3 Dec 2018 19:41:03 +0000 (20:41 +0100)]
[Shell] allow missing trailing slash on uri (#4595)

5 years ago[C] Expose Application.LogWarningsListener (#4539) fixes #1517 fixes #3873
Stephane Delcroix [Mon, 3 Dec 2018 12:59:52 +0000 (13:59 +0100)]
[C] Expose Application.LogWarningsListener (#4539) fixes #1517 fixes #3873

* [C] Expose Application.LogWarningsListener

The fix proposed in #2911 didn't worked with Release build of XF, aka
the majority of the builds used.
This fix allows the developer to set any logger he might like, but the
plan is to add a default one in the template, that uses Debug.WriteLine,
so it will Log if the user application is build with Debug, and not if
XF binaries are.

- fixes #1517
- fixes #3873

* Update Xamarin.Forms.Core/BindableObject.cs

* Update Xamarin.Forms.Core/ListView.cs

5 years ago[UWP] Rename ConvertExtensions to ColorExtensions and change access to public (#4558...
Stephane Delcroix [Mon, 3 Dec 2018 12:49:09 +0000 (13:49 +0100)]
[UWP] Rename ConvertExtensions to ColorExtensions and change access to public (#4558) fixes #1522 closes #1535

* Rename ConvertExtensions to ColorExtensions and change access to public

- fixes #1522
- closes #1535

* remove unused convertextensions

5 years ago[iOS] Fixed keyboard type for cells in TableView (#4377) fixes #1386
Andrei [Mon, 3 Dec 2018 12:25:52 +0000 (15:25 +0300)]
[iOS] Fixed keyboard type for cells in TableView (#4377) fixes #1386

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

* Added test case

* Added test case

* fixed build

5 years ago[Tizen]Update style for Phone Idiom in ImageCell renderer (#4610)
flyofsky [Mon, 3 Dec 2018 12:24:30 +0000 (21:24 +0900)]
[Tizen]Update style for Phone Idiom in ImageCell renderer (#4610)

5 years agoAdd custom tabs to MonoAndroid90 nuspec to improve essentials experience (#4605)
Shane Neuville [Mon, 3 Dec 2018 11:40:57 +0000 (04:40 -0700)]
Add custom tabs to MonoAndroid90 nuspec to improve essentials experience (#4605)

5 years agoMerge branch '3.5.0'
Stephane Delcroix [Mon, 3 Dec 2018 07:58:19 +0000 (08:58 +0100)]
Merge branch '3.5.0'

5 years agoMerge branch '3.4.0' into 3.5.0
Stephane Delcroix [Mon, 3 Dec 2018 07:57:17 +0000 (08:57 +0100)]
Merge branch '3.4.0' into 3.5.0

5 years ago[Core] remove code setting NavProxy to null (#4604)
Shane Neuville [Mon, 3 Dec 2018 07:53:47 +0000 (00:53 -0700)]
[Core] remove code setting NavProxy to null (#4604)

5 years ago[iOS] Recover from popping page after the page has already been popped by back button...
genriquez [Sun, 2 Dec 2018 19:28:25 +0000 (21:28 +0200)]
[iOS] Recover from popping page after the page has already been popped by back button (#2873)

* Cleanup navigation task on Pop exception

* Bugzilla 59172 + recovery repro tests

* Trap for Pop race

* [Core] add check on OnPopToRootAsync

* Added test scenario description
- fixes #4129

5 years ago[iOS] ImageButton border radius issue (#4518)
Andrei [Sun, 2 Dec 2018 00:09:15 +0000 (03:09 +0300)]
[iOS] ImageButton border radius issue (#4518)

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

* Added test-case
- fixes #4511

5 years ago[build] add a stamp file to shamehat (#4591) fixes #4563
Stephane Delcroix [Fri, 30 Nov 2018 12:48:24 +0000 (13:48 +0100)]
[build] add a stamp file to shamehat (#4591) fixes #4563

In addition to #4579 that check, in the tool, that the extra
method isn't present, this protects the task itself from being ran
twice.

Both fixes are required for extra performance and safety.

This also removes the last reference to the original name of the tool.
But I'll still remember it fondly, and use it in internal conversations.

5 years ago[build] prevent ShameHat to run twice (#4579)
Stephane Delcroix [Fri, 30 Nov 2018 12:47:23 +0000 (13:47 +0100)]
[build] prevent ShameHat to run twice (#4579)

- fixes #4563

5 years agoapply the increment to all ctors
Stephane Delcroix [Fri, 30 Nov 2018 08:20:19 +0000 (09:20 +0100)]
apply the increment to all ctors

5 years agoMerge branch '3.4.0' into 3.5.0
Stephane Delcroix [Fri, 30 Nov 2018 08:16:00 +0000 (09:16 +0100)]
Merge branch '3.4.0' into 3.5.0

5 years ago[Shell] The glorious Shell (#4522)
Stephane Delcroix [Fri, 30 Nov 2018 04:22:51 +0000 (05:22 +0100)]
[Shell] The glorious Shell (#4522)

* [Shell] The glorious Shell

* set the flag for the test

* remove the FastRenderer flag

* [Android] If we were disposed earlier Element can be null and Control was disposed

* [Controls] Seems part of #2520 was solved so we don't need this

* [iOS] Fix NRE on the ScrollviewTracker

* add missing constructor for RenderWith

* [Core] propagate visual/flow through shell

* use interlock increment

* hide IDataTemplateController

* [Android] Fix TableViewModelRenderer dispose

* [Core] propagate visual/flow direction through shell hierarchy

* [Android-Gallery] removed some left in settings changes that effect UI Tests

* [iOS,Droid,Core] Code formatting

* [iOS,Core] Last minute style refactoring

5 years ago[UWP] add missing xbf files to nuspec (#4588)
Shane Neuville [Fri, 30 Nov 2018 01:44:28 +0000 (18:44 -0700)]
[UWP] add missing xbf files to nuspec (#4588)

* [UWP] add missing xbf files to nuspec

* [UWP] fix target for ItemsListView

5 years agoSet ImageButton property of Android.ImageButtonRenderer public (#4534)
Alexandre Caprais [Fri, 30 Nov 2018 00:14:14 +0000 (01:14 +0100)]
Set ImageButton property of Android.ImageButtonRenderer public (#4534)

* Set ImageButton property public
Set ImageButton property public.
* Rename ImageButton to Element
the Element set property remains private.

5 years agoFix initial load of pins (#4304)
Andrei Nitescu [Thu, 29 Nov 2018 23:59:08 +0000 (01:59 +0200)]
Fix initial load of pins (#4304)

5 years ago [iOS] Clear the delegate from ContextActionCell (#4324) fixes #4314
Rui Marinho [Thu, 29 Nov 2018 18:03:08 +0000 (18:03 +0000)]
 [iOS] Clear the delegate from ContextActionCell  (#4324) fixes #4314

* [Controls] Add repo for issue #4341

* [iOS] Clear the global closer delegate from ContextActionCell when disposing

* [Controls] Rename to correct issue number

* [Controls] Try fix opening context menu on iOS10

* [Controls] Add more testing to #4314

* [iOS] Fix Globalcloser when no cell exists

5 years ago[Core]Call invalidate measure after the FormattedText is set (#4448) fixes #4026
Rui Marinho [Thu, 29 Nov 2018 17:50:06 +0000 (17:50 +0000)]
[Core]Call invalidate measure after the FormattedText is set (#4448) fixes #4026

* [Controls] Add repo for for issue #4026

* [Controls]Add instructions for issue #4026

* [Core] Hook FormattedTextChanging

* [Core] Invalidate measure after the renderer updates the Control's text

* [iOS] Make sure to clear perfectSize on Font property changing

* [iOS] Fix nre when accessing old or new element

5 years agoremoving a helper introduced in #2782
Stephane Delcroix [Thu, 29 Nov 2018 15:21:29 +0000 (16:21 +0100)]
removing a helper introduced in #2782

5 years agoGH2691: Make XmlnsDefinitionAttribute public (#2782)
Peter Moore [Thu, 29 Nov 2018 13:58:34 +0000 (07:58 -0600)]
GH2691: Make XmlnsDefinitionAttribute public (#2782)

* Make XmlnsDefinitionAttribute public. Change XamlC, XamlG, and XamlParser to search for all referenced/available assemblies for attribute and referenced types. Add XAML unit tests and control gallery entry.

* change ns for xmlnsdefattribute

- fixes #2691

5 years ago[Android] total fix of issue #3575 (#4567)
Paul Datsiuk [Thu, 29 Nov 2018 13:12:43 +0000 (15:12 +0200)]
[Android] total fix of issue #3575 (#4567)

* total fix of issue #3575

we need to check _childView with null also

* Update MasterDetailContainer.cs

5 years agoModify Android and iOS adapters to handle null items sources (#4536) fixes #4366
E.Z. Hart [Thu, 29 Nov 2018 13:03:21 +0000 (06:03 -0700)]
Modify Android and iOS adapters to handle null items sources (#4536) fixes #4366

* Modify Android and iOS adapters to handle null items sources; fixes #4366

* Correct behavior for EmptySource indexer on iOS

5 years agoupdate support and sync up nuspecs (#4571)
Shane Neuville [Thu, 29 Nov 2018 13:00:20 +0000 (06:00 -0700)]
update support and sync up nuspecs (#4571)

5 years agoFix edge case in unsubscribing weak events (#4538)
Víctor Guzmán [Thu, 29 Nov 2018 12:58:42 +0000 (13:58 +0100)]
Fix edge case in unsubscribing weak events (#4538)

When an event has two subscriptions to the same handler,
unsubscribing cleared all the handlers, not only one.

5 years ago Implemented colored refresh indicator for ListView pull-to-refresh (#2961)
Gerald Versluis [Thu, 29 Nov 2018 12:57:57 +0000 (13:57 +0100)]
 Implemented colored refresh indicator for ListView pull-to-refresh (#2961)

* Implemented colored spinner for ListView pull-to-refresh

* Added back default spinner color

* Renamed away from "spinner" and did some default value magic

Color.Default reinstated, but also added the default black color in the iOS `UpdateRefreshControlColor` method. Seeing this also happens for the seperator color this is something that is necessary. If not, the spinner is invisible.

* Implemented default color on iOS and right property name on Android

For iOS, when the new `RefreshControlColor` has the default color, the `TintColor` for iOS is set to null, causing the color to be the default one.

Forgot to refactor the new name in the Android renderer, whoops

* Reinstated coloring on listview gallry page

* Implemented colored spinner for ListView pull-to-refresh

* Added back default spinner color

* Renamed away from "spinner" and did some default value magic

Color.Default reinstated, but also added the default black color in the iOS `UpdateRefreshControlColor` method. Seeing this also happens for the seperator color this is something that is necessary. If not, the spinner is invisible.

* Implemented default color on iOS and right property name on Android

For iOS, when the new `RefreshControlColor` has the default color, the `TintColor` for iOS is set to null, causing the color to be the default one.

Forgot to refactor the new name in the Android renderer, whoops

* Reinstated coloring on listview gallry page

* Added documentation for new property

* Fixed merge boo-boos

5 years ago[Android] Handle accessibility importance when using modal pages (#4404) fixes #3622
Rui Marinho [Thu, 29 Nov 2018 12:14:23 +0000 (12:14 +0000)]
[Android] Handle accessibility importance when using modal pages (#4404) fixes #3622

* [Controls] Add repo for issue #3622

* [Android] Handle accessibility importance when using modal pages

* [Controls] Use default styles

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

Co-Authored-By: rmarinho <me@ruimarinho.net>
5 years ago[C] Seal our attributes (#4559)
Stephane Delcroix [Thu, 29 Nov 2018 09:12:26 +0000 (10:12 +0100)]
[C] Seal our attributes (#4559)

Follow CA1813 guidance. And seal our attributes.

- fixes #1788

5 years ago[binding] return defaultValueCreator on failure (#4541)
Stephane Delcroix [Thu, 29 Nov 2018 08:29:49 +0000 (09:29 +0100)]
[binding] return defaultValueCreator on failure (#4541)

if the FallbackValue isn't set, returns the value created by the
defaultValueCreator instead of the DefaultValue when a binding can not
be resolved.

- fixes #2752

5 years agoFix Xaml Native Views Gallery on Android when Linker is enabled
E.Z. Hart [Wed, 28 Nov 2018 22:58:52 +0000 (15:58 -0700)]
Fix Xaml Native Views Gallery on Android when Linker is enabled

5 years ago[UWP] Prevent Layouts with no background color from being input transparent (#4508)
E.Z. Hart [Wed, 28 Nov 2018 19:03:57 +0000 (12:03 -0700)]
[UWP] Prevent Layouts with no background color from being input transparent (#4508)

* [UWP] Prevent Layouts with no background color from being input transparent; fixes #4360;

* Add comments

* Fix build for UITests projects

5 years ago[UWP] fixes control render by ViewToRendererConverter in off screen (#4532) fixes...
Pavel Yakovlev [Wed, 28 Nov 2018 18:08:56 +0000 (21:08 +0300)]
[UWP] fixes control render by ViewToRendererConverter in off screen (#4532) fixes #4463 fixes #4116

5 years agoRevert "[Design] Design assemblies targets v4.5 (#4560) fixes #2216"
Stephane Delcroix [Wed, 28 Nov 2018 13:06:09 +0000 (14:06 +0100)]
Revert "[Design] Design assemblies targets v4.5 (#4560)  fixes #2216"

This reverts commit 6fa2c1708e1508a016d4a4332f12a0f0d832d8bb.
This reverts commit 11fd3ee9e55475f9017eb35c2b26018082122e94.

5 years ago[Design] missing one
Stephane Delcroix [Wed, 28 Nov 2018 11:51:29 +0000 (12:51 +0100)]
[Design] missing one

5 years agoadapt CODEOWNERS
Stephane Delcroix [Wed, 28 Nov 2018 11:50:33 +0000 (12:50 +0100)]
adapt CODEOWNERS

5 years ago[Design] Design assemblies targets v4.5 (#4560) fixes #2216
Stephane Delcroix [Wed, 28 Nov 2018 10:57:03 +0000 (11:57 +0100)]
[Design] Design assemblies targets v4.5 (#4560)  fixes #2216