platform/core/csapi/xsf.git
5 years agoMerge branch '3.5.0'
Rui Marinho [Tue, 15 Jan 2019 11:59:26 +0000 (11:59 +0000)]
Merge branch '3.5.0'

5 years ago[UITest] Add Preserve to issue #1931 uitest
Rui Marinho [Tue, 15 Jan 2019 11:54:14 +0000 (11:54 +0000)]
[UITest] Add Preserve to issue #1931 uitest

5 years agoNull/disposed check for spannableString to fix ObjectDisposedException. (#4878) Fixes...
Matthew Richardson [Tue, 15 Jan 2019 09:57:51 +0000 (09:57 +0000)]
Null/disposed check for spannableString to fix ObjectDisposedException. (#4878) Fixes #4864

5 years agoAdd instructions to test 33450
Samantha Houts [Tue, 15 Jan 2019 00:19:57 +0000 (16:19 -0800)]
Add instructions to test 33450

fixes #2246

5 years ago[UITests] Fix #1685 UITest
Rui Marinho [Mon, 14 Jan 2019 17:36:20 +0000 (17:36 +0000)]
[UITests] Fix #1685 UITest

5 years ago[ios] clear perfect value add ui test (#4968)
Shane Neuville [Mon, 14 Jan 2019 17:05:51 +0000 (10:05 -0700)]
[ios] clear perfect value add ui test (#4968)

- fixes #4957

5 years agoMerge branch '3.5.0'
Stephane Delcroix [Mon, 14 Jan 2019 13:45:30 +0000 (14:45 +0100)]
Merge branch '3.5.0'

5 years ago[Build] Fix method accessibility
Rui Marinho [Mon, 14 Jan 2019 12:39:11 +0000 (12:39 +0000)]
[Build] Fix method accessibility

5 years ago[iOS, Android] Implement Snap alignment for CollectionView (#4414)
E.Z. Hart [Mon, 14 Jan 2019 11:48:59 +0000 (04:48 -0700)]
[iOS, Android] Implement Snap alignment for CollectionView (#4414)

* Implement snap alignment for iOS CollectionView

* Add missing End/MandatorySingle implementation for Android

* Implement MandatorySingle snapping on iOS

* Fix issues with Android MandatorySingle skipping items;

* Fix rebase issue

5 years agofix merge
Stephane Delcroix [Mon, 14 Jan 2019 11:35:29 +0000 (12:35 +0100)]
fix merge

5 years agofix merge
Stephane Delcroix [Mon, 14 Jan 2019 11:07:51 +0000 (12:07 +0100)]
fix merge

5 years agoDisable suggestions for all Pickers (#4824) fixes #4629
Gerald Versluis [Mon, 14 Jan 2019 11:02:08 +0000 (12:02 +0100)]
Disable suggestions for all Pickers (#4824) fixes #4629

* Disable suggestions for all Pickers

* Removed redundant disabling of spellcheck

5 years ago[iOS] Fix unsubscribing the `PropertyChanged` event of the ViewCell (#4728)
Rui Marinho [Mon, 14 Jan 2019 10:51:49 +0000 (10:51 +0000)]
[iOS] Fix unsubscribing the `PropertyChanged` event of the ViewCell (#4728)

* [Controls] Add repo for comment related with #4186

* [iOS] Fix unsubscribing PropertyChanged when disposing ViewTableCell

* [Controls] Fix test

5 years agoChanges that VS Mac and Dev16 automatically make when you open SLN (#4969)
Shane Neuville [Mon, 14 Jan 2019 10:41:46 +0000 (03:41 -0700)]
Changes that VS Mac and Dev16 automatically make when you open SLN (#4969)

* vsmac changes these when you open it

* dev 16 changes

5 years agoMerge branch '3.5.0'
Stephane Delcroix [Mon, 14 Jan 2019 08:32:43 +0000 (09:32 +0100)]
Merge branch '3.5.0'

5 years ago[Android] Fix brief display of incorrect keyboard (#4384)
E.Z. Hart [Sat, 12 Jan 2019 22:43:08 +0000 (15:43 -0700)]
[Android] Fix brief display of incorrect keyboard (#4384)

* Automate test for 39072

* Add Focus test category

* Add test instructions

* Use named flags value instead of magic number

* Rearrange keyboard hide/show handling when focus changes; fixes #3647

Clean up usings

Add null checks in case Controls are unloaded before the handler executes

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

Co-Authored-By: hartez <hartez@users.noreply.github.com>
* Update Xamarin.Forms.Platform.Android/ViewRenderer.cs

Co-Authored-By: hartez <hartez@users.noreply.github.com>
* Fix bug where programmatic focus of SearchView does not display keyboard;
Add test for programmatic focus of SearchBar, Entry, Editor;

* Prevent object disposed exception if control is disposed before posted ShowKeyboard is run

5 years agoMerge branch 'easy-tests' into 3.5.0
E.Z. Hart [Sat, 12 Jan 2019 00:02:04 +0000 (17:02 -0700)]
Merge branch 'easy-tests' into 3.5.0

5 years agoAutomate test for Issue 1700
E.Z. Hart [Sat, 12 Jan 2019 00:01:22 +0000 (17:01 -0700)]
Automate test for Issue 1700

5 years agoAutomate test for Issue 1685
E.Z. Hart [Fri, 11 Jan 2019 22:44:29 +0000 (15:44 -0700)]
Automate test for Issue 1685

5 years agoAutomate test for Issue 1590
E.Z. Hart [Fri, 11 Jan 2019 22:11:29 +0000 (15:11 -0700)]
Automate test for Issue 1590

5 years agoAutomate test for Issue 1557
E.Z. Hart [Fri, 11 Jan 2019 22:02:17 +0000 (15:02 -0700)]
Automate test for Issue 1557

5 years agoAuotmate test for Issue 1538
E.Z. Hart [Fri, 11 Jan 2019 21:38:41 +0000 (14:38 -0700)]
Auotmate test for Issue 1538

5 years ago[tests] UWP requires file extensions (#4944)
Matthew Leibowitz [Fri, 11 Jan 2019 20:32:57 +0000 (22:32 +0200)]
[tests] UWP requires file extensions (#4944)

5 years agofix #4788 (#4959) fixes #4788
Andrei [Fri, 11 Jan 2019 20:17:32 +0000 (23:17 +0300)]
fix #4788 (#4959) fixes #4788

5 years ago[macOS] BoxView binding to BackgroundColor broken (#4958)
Andrei [Fri, 11 Jan 2019 15:53:45 +0000 (18:53 +0300)]
[macOS] BoxView binding to BackgroundColor broken (#4958)

- fixes #4338

5 years ago[tests] UWP requires file extensions (#4945)
Matthew Leibowitz [Thu, 10 Jan 2019 20:02:46 +0000 (22:02 +0200)]
[tests] UWP requires file extensions (#4945)

5 years ago[UITests] Ignore test failure on iOS9, use manual review
Rui Marinho [Thu, 10 Jan 2019 18:50:18 +0000 (18:50 +0000)]
[UITests] Ignore test failure on iOS9, use manual review

5 years ago[Android] fixes Right-to-Left Hamburger icon in MasterDetailPage (#4716) fixes #2818
Pavel Yakovlev [Thu, 10 Jan 2019 17:56:11 +0000 (20:56 +0300)]
[Android] fixes Right-to-Left Hamburger icon in MasterDetailPage (#4716) fixes #2818

5 years agoMap with ItemsSource and ItemTemplate (#4269) fixes #1708
Andrei Nitescu [Thu, 10 Jan 2019 17:52:11 +0000 (19:52 +0200)]
Map with ItemsSource and ItemTemplate (#4269) fixes #1708

5 years ago[Enhancement] Entry: Read-only Entry and Editor (#1972)
Almir Vuk [Thu, 10 Jan 2019 16:21:29 +0000 (17:21 +0100)]
[Enhancement] Entry: Read-only Entry and Editor (#1972)

- fixes #1678
- fixes #4834

* InputView BindableProperty IsReadOnly

* Android Editor and Entry setup

* MacOS Editor and Entry setup

* Tizen Editor and Entry setup

* UAP Editor and Entry setup

* WPF Editor and Entry setup

* iOS Editor and Entry setup

* Issue1678 - TestContentPage added

* Tests added

* Tizen Editor and Entry fix

* UI Test fix

* Android fix for Entry and Editor.

* Unit Tests fix.

* Android Renderer first try.

* MacOS Entry renderer small fix.

* UpdateEditable fix.

* Android Entry and Editor reduced number of calls to BP.

* fix TestAttributes conflicts

* Remove keyboard

* [macOS] relinquish first responder

* [Android] remove call to UpdateCursorSelection

* [UWP] fix tabs

5 years ago[Android] Fix for ListViewRenderer causing ObjectDisposedException (#4931)
Joris Vergeer [Thu, 10 Jan 2019 16:01:18 +0000 (17:01 +0100)]
[Android] Fix for ListViewRenderer causing ObjectDisposedException (#4931)

* [Android] Fix for ListViewRenderer causing ObjectDisposedException

* Probably cleaner to use _refresh for IsDisposed check

5 years ago[UITests] Disable test #1931 on iOS12 for now
Rui Marinho [Thu, 10 Jan 2019 12:59:38 +0000 (12:59 +0000)]
[UITests] Disable test #1931 on iOS12 for now

5 years agohide obsolete API from editor (#4938)
Stephane Delcroix [Thu, 10 Jan 2019 11:53:48 +0000 (12:53 +0100)]
hide obsolete API from editor (#4938)

- fixes #4772

5 years agoOnly post DisableTimer to the queue if it's not on the UI thread (#4866)
E.Z. Hart [Thu, 10 Jan 2019 11:42:40 +0000 (04:42 -0700)]
Only post DisableTimer to the queue if it's not on the UI thread (#4866)

5 years agoFix incorrect bug description
E.Z. Hart [Wed, 9 Jan 2019 22:40:27 +0000 (15:40 -0700)]
Fix incorrect bug description

5 years ago[iOS] CollectionView EmptyView (#4870)
E.Z. Hart [Wed, 9 Jan 2019 22:24:17 +0000 (15:24 -0700)]
[iOS] CollectionView EmptyView (#4870)

* Implement EmptyView for iOS

* Allow for changes to EmptyView on iOS; rename confusing variables;

5 years ago[Android] If drawable doesn't exist don't dispose of it (#4904)
Shane Neuville [Wed, 9 Jan 2019 14:06:49 +0000 (07:06 -0700)]
[Android] If drawable doesn't exist don't dispose of it (#4904)

5 years ago[Android] Ensure the page background can be un-set (#4916)
Matthew Leibowitz [Wed, 9 Jan 2019 14:06:00 +0000 (16:06 +0200)]
[Android] Ensure the page background can be un-set (#4916)

5 years agoadded case in GTK listviewrendered for change of SelectedItem property (#4757)
Artem Utin [Tue, 8 Jan 2019 01:17:28 +0000 (11:17 +1000)]
added case in GTK listviewrendered for change of SelectedItem property (#4757)

5 years agoMaterial Design Renderers for the Material Visual (#4733)
Shane Neuville [Tue, 8 Jan 2019 00:07:50 +0000 (17:07 -0700)]
Material Design Renderers for the Material Visual (#4733)

* Use the auto-generated constants

* [Visual] Work on the Material Frame

* Improving the code for the sample

* Added a controller to help with frames that have additional padding
 - Android MaterialCardView does not use the default padding to determine where the content starts, rather it uses the content padding of the view because there is a border that does not affect the content

* [Visual] Added a few extra checks on Android to reduce unnecessary interop

* [Visual] A few more frame changes and some button tweaks

* [Visual] use the themers on iOS and save default properties

* [Visual] Add placeholders for themer and cache defaults

* [Visual] Added the material slider for iOS
 - Android does not have a custom control, so uses the existing renderer

* [enhancements] Move from duplicate LoadImageAsync code to GetNativeImageAsync

* [visual] Updated the controls to use the new iOS bits

* [visual] some fixes for material components

* [visual] Added hacks for material alerts

* [visual] removing the alert changes for the main branch

* [visual] Update the MaterialComponents NuGet

* [visual] Rework the theming/customization of Material controls on iOS

* [visual] fix the places where the user colors were being changed

* [visual] Improve the ColorStateList management for Android

* [visual] Re-implemented the Android ProgressBar as a fast, material renderer

* Material Entry

* [visual] Add Android ActivityIndicator

* filter out material layouts for 8.1

* remove folder

* fix __ANDROID_28__

* MaterialContextThemeWrapper

* [visual] remove the `IFrameController` interface

* [visual] reverting the changes to the Frame layout

* [visual] reverting whitespace

* [visual] make sure to raise both property changed

* formatting changes

* fixing colors on android to match with ios themes

* Update Xamarin.Forms.Platform.Android/Material/MaterialButtonRenderer.cs

Co-Authored-By: mattleibow <mattleibow@live.com>
* fix sizing of entry with infinite width size request

* update to release 28 of support

* Update Xamarin.Forms.Platform.Android/Resources/values/styles.xml

Co-Authored-By: PureWeen <shane94@hotmail.com>
* Update Xamarin.Forms.Platform.Android/Resources/values/styles.xml

Co-Authored-By: PureWeen <shane94@hotmail.com>
* PR Comment changes

5 years agoUse PushAsync for 1305 UI test so the toolbar shows up
E.Z. Hart [Mon, 7 Jan 2019 21:12:01 +0000 (14:12 -0700)]
Use PushAsync for 1305 UI test so the toolbar shows up

5 years ago[iOS] Implement item move on iOS CollectionView (#4863)
E.Z. Hart [Mon, 7 Jan 2019 12:13:32 +0000 (05:13 -0700)]
[iOS] Implement item move on iOS CollectionView (#4863)

* Implement item move on iOS CollectionView

* Remove private modifier

5 years agoMerge branch '3.5.0'
Stephane Delcroix [Mon, 7 Jan 2019 09:03:47 +0000 (10:03 +0100)]
Merge branch '3.5.0'

5 years agoAdd missing preserve attribute for UI test 1267
E.Z. Hart [Mon, 7 Jan 2019 00:37:42 +0000 (17:37 -0700)]
Add missing preserve attribute for UI test 1267

5 years agoFix test 852
E.Z. Hart [Sat, 5 Jan 2019 23:42:09 +0000 (16:42 -0700)]
Fix test 852

5 years agoMerge branch '3.5.0' of github.com:xamarin/Xamarin.Forms into 3.5.0
E.Z. Hart [Fri, 4 Jan 2019 23:39:44 +0000 (16:39 -0700)]
Merge branch '3.5.0' of github.com:xamarin/Xamarin.Forms into 3.5.0

5 years agoAutomate UI test 1267
E.Z. Hart [Fri, 4 Jan 2019 21:11:33 +0000 (14:11 -0700)]
Automate UI test 1267

5 years agoAutomate UI test 1236
E.Z. Hart [Fri, 4 Jan 2019 20:12:51 +0000 (13:12 -0700)]
Automate UI test 1236

5 years agoAutomate UI test 1219
E.Z. Hart [Fri, 4 Jan 2019 19:55:50 +0000 (12:55 -0700)]
Automate UI test 1219

5 years agoAdd manual test instructions for 1075, match button text with actual color
E.Z. Hart [Fri, 4 Jan 2019 19:34:15 +0000 (12:34 -0700)]
Add manual test instructions for 1075, match button text with actual color

5 years agoAutomate UI test 1028
E.Z. Hart [Fri, 4 Jan 2019 19:08:48 +0000 (12:08 -0700)]
Automate UI test 1028

5 years agoAdd manual instructions to UI test 1026
E.Z. Hart [Fri, 4 Jan 2019 18:34:07 +0000 (11:34 -0700)]
Add manual instructions to UI test 1026

5 years agoAdd manual test run instructions for UI test 1025
E.Z. Hart [Fri, 4 Jan 2019 18:21:24 +0000 (11:21 -0700)]
Add manual test run instructions for UI test 1025

5 years agoClean up old comments
E.Z. Hart [Thu, 3 Jan 2019 22:56:42 +0000 (15:56 -0700)]
Clean up old comments

5 years agoAdd instructions for test 764; remove automated test that did nothing;
E.Z. Hart [Thu, 3 Jan 2019 22:37:36 +0000 (15:37 -0700)]
Add instructions for test 764; remove automated test that did nothing;

5 years agoMin viable FontImageSource (#4747)
kingces95 [Thu, 3 Jan 2019 17:46:40 +0000 (07:46 -1000)]
Min viable FontImageSource (#4747)

* min viable fontImageSource

* [UWP] Min viable FontImageSource (#4817)

* [UWP] font image source

* address comment

* [UWP] performance optimization of the rendering of icons font
- the minimum Dpi of the icon is 300

* char -> string; CR feedback

5 years agoMake test button visible on UWP
E.Z. Hart [Thu, 3 Jan 2019 17:01:57 +0000 (10:01 -0700)]
Make test button visible on UWP

5 years agoRemove nonsensical comments
E.Z. Hart [Thu, 3 Jan 2019 16:57:30 +0000 (09:57 -0700)]
Remove nonsensical comments

5 years agoAdd instructions to manual UI test
E.Z. Hart [Thu, 3 Jan 2019 01:40:48 +0000 (18:40 -0700)]
Add instructions to manual UI test

5 years agoImplement Android single selection in CollectionView (#4651)
E.Z. Hart [Thu, 27 Dec 2018 02:16:36 +0000 (19:16 -0700)]
Implement Android single selection in CollectionView (#4651)

* Implement Android single selection

* Fix naming conflicts with SelectionChangedEventArgs

* Split files by class; make SelectionChangedEventArgs constructors internal;
Optimizations for SelectionChangedEventArgs;
Fire selection changed event/command from property changed handler;

* Update Xamarin.Forms.Core/Items/SelectableItemsView.cs

Co-Authored-By: StephaneDelcroix <stephane@delcroix.org>
* Set default value for SelectedItemProperty

* Remove unnecessary null check

* Fix order of OnElementChanged and Setup/Teardown Element

* Fix project file weirdness

5 years ago[XamlC] Test generic parameters to evaluate equality of types (#4062)
Akihiko Odaki [Sat, 22 Dec 2018 16:58:06 +0000 (01:58 +0900)]
[XamlC] Test generic parameters to evaluate equality of types (#4062)

5 years agoMake ListView CachingStrategy property visible to Intellisense (#4846)
E.Z. Hart [Sat, 22 Dec 2018 13:54:18 +0000 (06:54 -0700)]
Make ListView CachingStrategy property visible to Intellisense (#4846)

5 years ago[iOS] Added RowAnimationsEnabled platform specific to control row animations (#4709)
adrianknight89 [Fri, 21 Dec 2018 15:28:06 +0000 (09:28 -0600)]
[iOS] Added RowAnimationsEnabled platform specific to control row animations (#4709)

* added platform specific

* changed method signatures

* addressed changes

5 years ago[Shell] fix queryParam navigation (#4843)
Stephane Delcroix [Fri, 21 Dec 2018 15:27:13 +0000 (16:27 +0100)]
[Shell] fix queryParam navigation (#4843)

when navigating to pages, not shell-section, handle the queryParams

- fixes #4837

5 years ago[Tizen] Supports Picker.TitleColor, FontSize, FontFamily and FontAttributes (#4839)
Kangho Hur [Fri, 21 Dec 2018 09:04:30 +0000 (01:04 -0800)]
[Tizen] Supports Picker.TitleColor, FontSize, FontFamily and FontAttributes (#4839)

5 years ago[Flex] fix Padding on the FlexLayout (#4823)
Stephane Delcroix [Fri, 21 Dec 2018 08:23:41 +0000 (09:23 +0100)]
[Flex] fix Padding on the FlexLayout (#4823)

As the flex engine doesn't handle x,y offset on the root layout,
handle that at the XF.FlexLayout level.

- fixes #2663

5 years ago[*] Drop MenuItem.IsEnabledPropertyName (#4659)
Stephane Delcroix [Fri, 21 Dec 2018 08:06:52 +0000 (09:06 +0100)]
[*] Drop MenuItem.IsEnabledPropertyName (#4659)

* [*] Drop MenuItem.IsEnabledPropertyName

While doing one of the big refactoring of 2006, we missed an
opportunity to use a propertyKey for IsEnabled, ending up in some
less-than-optimal  design choices, like IMenuController.IsEnabledPropertyName.

Properly using a public r-o BP removes the need for IsEnabledPropertyName.

* other plats

* use the key

5 years agoRemove unnecessary OK button check that won't pass on older Android versions
E.Z. Hart [Thu, 20 Dec 2018 21:58:22 +0000 (14:58 -0700)]
Remove unnecessary OK button check that won't pass on older Android versions

5 years agoXmlnsPrefix d: (#4781)
Stephane Delcroix [Thu, 20 Dec 2018 12:16:46 +0000 (13:16 +0100)]
XmlnsPrefix d: (#4781)

be ready for when we'll merge #4743

5 years ago[X] Design time properties (#4743)
Stephane Delcroix [Thu, 20 Dec 2018 12:16:40 +0000 (13:16 +0100)]
[X] Design time properties (#4743)

An alternate xaml resource file provider can request the XamlLoader to
_not_ ignore normally ignored properties in prebuilt XF design xmlns, as
in the following snippet:

```xaml
<ContentPage
    xmlns="http://xamarin.com/schemas/2014/forms""
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml""
    xmlns:d="http://xamarin.com/schemas/2014/forms/design""
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006""
    mc:Ignorable="d"">
  <Label d:Text="Bar" Text="Foo" x:Name="label" />
</ContentPage>
```

The `d:` should be the prefix used by default for this, but any other
prefix will do too.

The `d:Text` property maps to the exact same property as `Text`, as the
XmllnsDefinitionAttributes are identical (that's convenient from a Intelisense
point of view), but, when (and only when) instructed by a provided Xaml resource
loader, the `d:Text` will override the `Text` property.

This works with virtually all properties defined on built-in Xamarin.Forms
controls, but it doesn't mean it's a sane idea to try to assign design value
to all existing properties.

The APi ofr setting the ResourceLoader had to change, and instead of taking
pre-defined arguments, it accepts and returns query and response types. This
is slightly less convenient to invoke through reflection, but way more easy
to extend in the future.

5 years ago[Android] set ClipBounds to use ViewCompat.SetClipBounds (#4819)
Shane Neuville [Thu, 20 Dec 2018 08:27:01 +0000 (01:27 -0700)]
[Android] set ClipBounds to use ViewCompat.SetClipBounds (#4819)

5 years ago[Xaml] require escaping curly braces (#4723)
Stephane Delcroix [Wed, 19 Dec 2018 15:14:21 +0000 (16:14 +0100)]
[Xaml] require escaping curly braces (#4723)

This is a breaking change as we weren't throwing errors on that before.

- fixes #2756

5 years ago[XamlC] instantiate generic parameter on base types (#4776)
Stephane Delcroix [Wed, 19 Dec 2018 14:10:08 +0000 (15:10 +0100)]
[XamlC] instantiate generic parameter on base types (#4776)

* [XamlC] Instantiate generic parameters in base type generic arguments

* Add unit test for #4047

- fixes #4760
- closes #4047

5 years ago[C] WeakEventManager minor changes (#4774)
Stephane Delcroix [Wed, 19 Dec 2018 13:23:44 +0000 (14:23 +0100)]
[C] WeakEventManager minor changes (#4774)

As pointed in https://github.com/xamarin/Xamarin.Forms/issues/4750#issuecomment-447673540,
internal WeakEventManager usage can be simplified.

This also updates the code to ValueTuple, throw expressions, ...

5 years ago[Android] Check if Drawable is null in Draw override (#4783)
Shane Neuville [Wed, 19 Dec 2018 01:22:12 +0000 (18:22 -0700)]
[Android] Check if Drawable is null in Draw override (#4783)

- fixes #4782

5 years ago[X] throw XPE on missing element .ctor (#4786)
Stephane Delcroix [Tue, 18 Dec 2018 23:54:45 +0000 (00:54 +0100)]
[X] throw XPE on missing element .ctor (#4786)

* [X] throw XPE on missing element .ctor

In case of runtime parse, wrap the MissingMethodException in a
XamlParseException, to get lineInfo. In case of XamlC, detect missing
constructor and fail early.

- fixes #4751

* fix for ns1.0

5 years ago[XamlC] Always enable implicit casting, boxing and unboxing (#4238)
Akihiko Odaki [Tue, 18 Dec 2018 19:21:53 +0000 (04:21 +0900)]
[XamlC] Always enable implicit casting, boxing and unboxing (#4238)

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