platform/core/csapi/xsf.git
5 years agoAdd preserve attr to 1326,1400
Samantha Houts [Tue, 15 Jan 2019 23:55:57 +0000 (15:55 -0800)]
Add preserve attr to 1326,1400

5 years ago[UITests] Fix #1685 UITest
Rui Marinho [Tue, 15 Jan 2019 14:49:40 +0000 (14:49 +0000)]
[UITests] Fix #1685 UITest

5 years ago[Shell] fixes navigate to a relative URI (#4977)
Pavel Yakovlev [Tue, 15 Jan 2019 14:05:51 +0000 (17:05 +0300)]
[Shell] fixes navigate to a relative URI (#4977)

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 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[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 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 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 '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 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 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 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 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 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 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 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[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[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 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[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[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.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[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.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 agoRoot the XFBuildTasksLocation path
E.Z. Hart [Mon, 10 Dec 2018 20:35:09 +0000 (13:35 -0700)]
Root the XFBuildTasksLocation path

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

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

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 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 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 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.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 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[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[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 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 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.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[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.