Граф коммитов

4822 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho 04a350013b
[Build] Update GitInfo 2020-06-27 15:05:52 +01:00
Rui Marinho e9e5c68360 [Build] Move from master to main 2020-06-25 17:24:15 -07:00
shane 719fc7a604 Merge branch '4.7.0'
# Conflicts:
#	Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
2020-06-25 18:48:25 -05:00
shane 21caf89d2f Merge branch '4.6.0' into 4.7.0
# Conflicts:
#	Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
#	Xamarin.Forms.Platform.iOS/Renderers/ShellItemRenderer.cs
2020-06-25 18:47:14 -05:00
Javier Suárez 13aeaa2c6d
[iOS] Added preserve default constructor in Shapes renderers (#11111)
* Added default preserve constructor in iOS Shapes renderers

* Added constructor to PathRenderer
2020-06-25 15:31:56 -07:00
Shane Neuville 56463b68b5
Call Setting Page if SetPage has been delayed (#11095)
* Skip code used to cleanup previous page if there isn't one

* Update Issue10182.cs

* Update Issue10182.cs

Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com>

fixes #10182
2020-06-25 15:07:11 -07:00
Shane Neuville 24446ffd5d
Update the tab bar visibility before the layout of the subviews (#11124)
* Update TabBar visibility before layout

* - more uitests

* - change to invoke

* - fix ui test

fixes #11107
fixes #10126
2020-06-25 15:04:43 -07:00
Shane Neuville cb71333973
Invert logic for SendBackButtonPressed on Shell (#11094)
* Invert logic for SendBackButtonPressed on Shell

* - additional test
fixes #7072
2020-06-25 15:03:43 -07:00
Javier Suárez 1ce46514e3
[UWP] Fix interaction issue with ScrollView (#11207)
* Added repro sample

* Fixed the issue

* Fix issue identifier

* Added instructions to the test
2020-06-25 14:57:12 -07:00
Rui Marinho 50e72c7b5e
[Nuget] Components governance (#11188)
* Update packages

* Update packages 2

* Update Newtonsoft

* Update Xamarin.Forms.Xaml.UnitTests.csproj

* Update PagesGallery.Droid.csproj

* Update Xamarin.Forms.Platform.UAP.csproj

* Update Xamarin.Forms.Platform.UAP.csproj

* Update Xamarin.Forms.Maps.UWP.csproj

* [Nuget] Update UITests

* [Nuget] Update nuspecs

* Update Git.Build.targets
2020-06-25 16:20:13 +01:00
E.Z. Hart f127392e26
[iOS] Prevent CollectionView exception when item spacing is too large (#11122) fixes #9929
* Handle spacing settings which don't fit within the CollectionView on iOS

* Add automated test

* Update projitems
fixes #9929

* Fix build error

* Fix test
2020-06-24 18:25:24 +01:00
Alex West ad0e1daf67
[UWP] Physical mouse back button should use OnBackButtonPressed page override (#10346) fixes #10324
* Send OnBackButtonPressed with XButton1 in NavigationPage

* Remove async await

* Add page to test default back behaviour

* Tidy test page

* Add test file to projitems

Co-authored-by: Alex West <alexwest@nuffieldtechnologies.com>
Co-authored-by: E.Z. Hart <hartez@gmail.com>
Co-authored-by: E.Z. Hart <hartez@users.noreply.github.com>
2020-06-24 12:37:12 +01:00
Vladislav Antonyuk 67ac3587bd
[WPF] Migrate ControlsGallery to .NET Core (#10736)
* migrate wpf controls to net core

* calculate dpi

* Update Xamarin.Forms.ControlGallery.WPF.csproj

* Fix nuget restore, maps wpf csproj style

* fix nuspec path

* Update Xamarin.Forms.ControlGallery.WPF.csproj

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-06-24 12:33:24 +01:00
Yuriy Holembyovskyy e1ee394fbc
Added Dispose method for ButtonRenderer (#10793)
Co-authored-by: Yuriy Holembyovskyy <yuriy.holembyovskyy@gmail.com>
2020-06-24 12:32:31 +01:00
Yuriy Holembyovskyy 5047c8d3b1
[UWP] Fix Stepper disposing (#10795)
* Added Dispose method for SetpperRenderer

* Moved _isDisposed  variable definition with the rest of the variables

Co-authored-by: Yuriy Holembyovskyy <yuriy.holembyovskyy@gmail.com>
2020-06-24 12:31:54 +01:00
Javier Suárez 4c6764567c
Allow Intellisense to discover Matrix (#11089)
fixes #11088
2020-06-24 09:53:18 +02:00
Javier Suárez 1a73382dcd
[iOS] Fix NRE clearing ListView ContextActions (#11159) fixes #10934
* Fix NRE clearing ContextActions on iOS

* Changed condition
2020-06-22 15:01:25 +01:00
E.Z. Hart 2a6f69df24
Retain TextColor and Font properties when using HTML Label on iOS (#10989) fixes #10588
* Ensure that TextColor, and Font apply to HTML Labels on iOS
Fixes #10588

* More tests; handle situations where Forms properties are not set;
2020-06-22 12:55:57 +01:00
Peter Foot b846bb079e
[WPF] Pass through AutomationProperties from Xamarin Forms (#11162)
* Added support to base ViewRenderer for automation properties to support Narrator. Added extra code to ButtonRenderer to use button text as automation name when control is displaying image and text.

* Added some missing image resources to the WPF control gallery app

* Added some extra variants of button to test accessibility

* Set automation strings the same for WPF as for UWP

* Only set automation properties when IsInAccessibleTree is true
2020-06-22 12:46:17 +01:00
Shane Neuville 545cd79cb2
Null check for LightDismissLayer on UWP Shell (#11097) fixes #11096
* Null check for LightDismissLayer

* - don't update back drop if flyout disabled

* - add ui test
2020-06-22 12:45:33 +01:00
Rui Marinho 89d683179f Merge branch '4.7.0' 2020-06-21 17:13:49 +01:00
Rui Marinho c3377696ba Merge branch '4.6.0' into 4.7.0 2020-06-21 17:12:35 +01:00
Stephane Delcroix 0a896690a8
[X] find xmlns in Core at design time (#11121) fixes #11101
- fixes #11101
2020-06-19 11:21:18 +01:00
Stephane Delcroix 04404ce59b
try to fix ios locales generation (#11127) fixes #8728 2020-06-19 11:14:16 +01:00
Javier Suárez f26c0ce882
Fixed issue checking Element.IsLooping with a disposed MediaElement on iOS (#11084) fixes #11071 2020-06-18 11:25:13 +01:00
Seungkeun Lee 9ab52ee41b
[Tizen] Fix initialize of Device Independent Pixel option (#11070) 2020-06-18 10:59:54 +01:00
Kangho Hur 0f687e4b65
[Tizen] Ensure the update of color after theme style changing (#11080) 2020-06-18 10:59:31 +01:00
Rui Marinho db45ed23a7
[Build] Fix extra timeout 2020-06-17 23:07:40 +01:00
Rui Marinho ef4d395ffc
Merge branch '4.7.0' 2020-06-17 22:59:38 +01:00
Rui Marinho 80b99aa023
Merge branch '4.6.0' into 4.7.0 2020-06-17 22:53:35 +01:00
Rui Marinho 7ecdb7d937 Merge branch '4.5.0' into 4.6.0 2020-06-17 22:48:14 +01:00
E.Z. Hart 289f53c074
Check renderer and view for null in UpdateTextAndImage (#11079) 2020-06-17 15:37:56 +01:00
Rui Marinho 1b77e32993 Update CollectionViewUITests.cs 2020-06-17 15:24:25 +01:00
Javier Suárez 47ef8d756d
Allow to dynamically change the CollectionView ItemsLayout on UWP (#10797) fixes #10482 fixes #10862
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-06-17 11:59:44 +01:00
Javier Suárez 3295e793a7
CollectionView Header/Footer context issue using also EmptyView on Android (#10705) fixes #8894 fixes #10477
Co-authored-by: Samantha Houts <samhouts@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-06-17 11:45:27 +01:00
Shane Neuville 0be0eeef06
Android Beta Builds (#10937)
* Setup for testing master branches of android

* Update build.cake

* - add dsym

* - add dsym

* - add dsym

* - add dsym
2020-06-17 11:39:17 +01:00
Javier Suárez c4c2fa53a5
[Android] Fix NRE changing SwipeItem visibility (#10566) fixes #10530
* Added repro sample

* Fix the issue

* Fixed a build error

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-06-17 11:38:34 +01:00
E.Z. Hart 33d5ed9174
Null check WeakReference in UnapplyStyle (#11078)
* Fix NRE int Style.Unapply
Fixes #10697

* Better name for test
2020-06-17 08:57:23 +02:00
Javier Suárez efde3b8c51
[Android] Fix SwipeView touch issue scrolling on Device (#10614) fixes #10313 fixes #10875
* Fix issue SwipeView intercept touch scrolling CollectionView on Device

* Added test to validate the Issue10875

* Fixed issue with Controls projitems

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-06-16 16:35:13 +01:00
Javier Suárez fd6ba06116
Avoid set the current item if is null in iOS CarouselView (#10808) fixes #10708 2020-06-16 16:26:43 +01:00
Peter Foot 6c04f8b381
Added Font properties support to DatePickerRenderer on WPF (#10846) fixes #10845 2020-06-16 11:04:50 +01:00
tessarolli 58c5318382
[WPF] Implements CursorPosition on WPF Platform (#10615) Fixes #10548
* [WPF] Implements CursorPosition on WPF Platform

### Description of Change ###

Implements CursorPosition on WPF Platform

### Issues Resolved ###

Fix #10548 Entry.CursorPosition not implemented on WPF

### API Changes ###

Modify EntryRenderer.cs on WPF Platform to include CursorPosition Property Changes

OnElementChanged()
{
    Control.SelectionChanged += TextBoxOnSelectionChanged;
    UpdateCursorPosition();
}

OnElementPropertyChanged()
{
    else if (e.PropertyName == Entry.CursorPositionProperty.PropertyName)
        UpdateCursorPosition();
}

void TextBoxOnSelectionChanged(object sender, RoutedEventArgs e)
{
    if (Control != null && Element != null)
        Element.CursorPosition = Control.CaretIndex;
}

void UpdateCursorPosition()
{
    if (Control.CaretIndex != Element.CursorPosition)
        Control.CaretIndex = Element.CursorPosition;
}

### Platforms Affected ###

- WPF

### Behavioral/Visual Changes ###

None

### Before/After Screenshots ###

Not applicable

### Testing Procedure ###
- Add an Entry to a Xamarin.Forms Project;
- Run WPF platform;
- Add some text to Entry, and monitor CursorPosition changing accordingly;
- Done;

### PR Checklist ###
- [ X ] Targets the correct branch
- [ X ] Tests are passing (or failures are unrelated)

* Update EntryRenderer.cs

* [BUGFIX] FormsPanel MeasureOverride and WPFPlatformServices isInvokeRequired
2020-06-16 11:03:32 +01:00
Javier Suárez a63fe11aad
Remove StateTriggersExperimental flag (#10999) 2020-06-16 10:52:26 +01:00
Javier Suárez 63f33c6699
Moved classes to Xamarin.Forms.Shapes (#11044)
* Moved some classes to Xamarin.Forms.Shapes

* Fixed Build errors

* Fixed Windows Build
2020-06-16 10:51:15 +01:00
Stephane Delcroix a764310aab
[C] converter value on multibindings before apply (#11065)
- fixes #11058
2020-06-16 09:24:33 +02:00
Shane Neuville a104b9f8e9
Add pages depends on to nuget pack job (#11068) 2020-06-15 18:01:12 -06:00
Samantha Houts 43f09e2ce5
Backport #11032 to 4.6.0 (#11040) (#11042)
* [iOS] Fix BackgroundColor issue with Frame (#11032)

* Fixed regression issue with Frame

* Removed wrong set of BackgroundColor to null

* Fix FrameRenderer background;
Make Frame CornerRadius test actually count;
Fix Frame BackgroundColor consistency test;

* Make the radius bigger to get the shadow out of the way

Co-authored-by: E.Z. Hart <hartez@gmail.com>

fixes #11031

* Remove ignore attribute now that 9625 is fixed

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: E.Z. Hart <hartez@gmail.com>

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: E.Z. Hart <hartez@gmail.com>
2020-06-15 15:43:24 -07:00
Shane Neuville bd6ef179c9 Merge branch '4.7.0' 2020-06-15 12:22:42 -06:00
Shane Neuville 9146d6b362 Merge branch '4.6.0' into 4.7.0
# Conflicts:
#	Xamarin.Forms.ControlGallery.iOS/Xamarin.Forms.ControlGallery.iOS.csproj
#	azure-pipelines.yml
#	build/steps/build-osx.yml
2020-06-15 12:14:26 -06:00
Shane Neuville a9e84bb578
Add additional parameters to android build and fix iOS cake build (#11010)
* Fix iOS cake build and upload dsym

* - all the files

* - things

* - dsym

* - config

* - builds

* - remove yml property

* - provision more

* - provision more

* - provision more

* - just build ios proj not sln

* - just build ios proj not sln

* - just build ios proj not sln

* - just build ios proj not sln

* - fix typo

* - cleanup for merge

* - fix typo

* - fix provisionator

* - build android tests
2020-06-15 12:54:09 +01:00