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

3360 Коммитов

Автор SHA1 Сообщение Дата
Andrei Nitescu 802ab20e71 Fixes binding to nullable types (#6860)
-fixes #6280
2019-07-15 13:34:54 +02:00
Stephane Delcroix 04d44fbe82
[X] do not compile binding set as property values (#6837)
binding passed as properties don't have a valid datatype, so do not compile those.

- fixes #5240
2019-07-15 12:02:13 +02:00
Stephane Delcroix a0682d706a Merge branch '4.1.0' into 4.2.0 2019-07-12 16:22:56 +02:00
Stephane Delcroix 29abc1e23a [HR] properly reload merged rds 2019-07-12 15:40:16 +02:00
E.Z. Hart 5bc931f089 Don't force binding expression applications to queue (#6857)
* Don't force binding expression applications to queue; fixes #6609

* Make PropertyChangeBindingsOccurThroughMainThread test what it claims to test
2019-07-12 13:07:57 +02:00
Ravinder Jangra 8931dbd8ee Add Scrollbar Visibility option to the CollectionView (#6602)
* Add Horizontal and Vertical Scrollbar Visibility option to the CollectionView

* bump gitinfo

* make requested changes

* Add Android implementation

* use ScrollBarVisibility.Default instead of 0 and other requested changes
fixes #6053
2019-07-11 16:03:12 -07:00
Samantha Houts d1d868121a Merge branch '4.1.0' into 4.2.0 2019-07-11 15:44:58 -07:00
Mike Schwörer f507130f4d Fixed: Button CornerRadius doesn't work in explicit style (#6753)
- fixes #5046 

* Fixed #5046 - Button CornerRadius doesn't work in explicit style

* Added Unit Test

* Requested changes from PR

* Moved UnitTest to Xamarin.Forms.Xaml.UnitTests

* Update Xamarin.Forms.Xaml.UnitTests/ButtonCornerRadius.xaml.cs

Co-Authored-By: Stephane Delcroix <stephane@delcroix.org>

* Do not add ButtonCornerRadius in csproj

* removed dangling changes in ButtonUnitTest.cs
2019-07-11 10:52:18 +02:00
Andrei Nitescu ea132d0830 Add protected GetTemplateChild to ContentPage and ContentView #6747 (#6752)
fixes #6747
2019-07-10 18:35:25 -07:00
Kevin Petit bb6366f42b [Android] Uniformize handler name (CollectionView) (#6720)
* CollectionView - Uniformize handler name.

* Address naming feedback.

* Revert BOM.
2019-07-10 18:34:26 -07:00
Joe Manke ed26340b0e Auto-focus next view from Entry with ReturnType.Next (#6706)
* Automatically focus the next view after hitting the Return key on an Entry with ReturnType.Next

* UWP implementation
2019-07-10 19:18:42 +02:00
Stephane Delcroix 4237219d8b [X] hide TypedBinding from Intelisense 2019-07-10 12:18:17 +02:00
Andrei Nitescu 51654555d8 Fix Page implicit and inherited style with ControlTemplate #6657 (#6661)
* Fix Page implicit and inherited style with ControlTemplate #6657

* Update StyleTests.cs
fixes #6657
2019-07-09 19:03:16 -07:00
Alan Grgic feb0072128 [Android] Fix KeyNotFoundException during Shell Navigation (#6740)
* fix android shell nav crash

* add reproduction test

* add automation and address feedback

* move fragmet creation of stack items to after switch statement

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue6738.cs

Co-Authored-By: Shane Neuville <shane94@hotmail.com>

* [iOS] fix shell section disposals so multiple page renderers don't get assigned
2019-07-09 18:24:10 -06:00
Samantha Houts c9ebaab4b4 Merge branch '4.1.0' into 4.2.0 2019-07-09 10:50:41 -07:00
Andrei Nitescu 9493446d93 Fix for Switch on Android losing shadow #6798 (#6798) 2019-07-08 16:51:37 -07:00
Joe Manke 62a32bcc0d Reimplement ITabStop to return the EditText on Android Material renderers that use TextInputLayout as the native Control (#6732)
fixes #5102
2019-07-08 16:17:05 -07:00
Stephane Delcroix d44d705cf1 [X] Allow x:Null for x:DataType (#6822)
- fixes #6648
2019-07-08 16:03:32 -07:00
Shane Neuville 069f68e8b7
[Shell] Flyout TableView height fix and implement margins for Flyout Header (#6572)
* [ios] fix safeareas and use marging to offset flyout

* android fixes for margin

* [iOS] frame size and inset fixes

* android fix header offset

* Update Xamarin.Forms.Platform.iOS/Renderers/ShellTableViewController.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>

* top offset fixes

* add mask back in for scrolling header

* fix NRE when FlyoutHeader is null

* tweak Bugzilla26993Test
2019-07-07 16:08:31 -06:00
Shane Neuville 24fab93cb4
Clear global routes on unit tests and process global routes in the right place (#6781)
* Clear global routes on unit tests and process global routes in the right place

* - route with current item in case shellSection is null

* inset ui test fix

* Fix ColorFilter for API 19

* add missing file
2019-07-06 13:56:10 -06:00
Christopher Dresel 3113198179 Fix for #6444: Propagate binding context for children of shell sections (#6730)
* Propagate binding context for children of shell sections

* Added a few more BindingContext Propagation tests
2019-07-05 12:29:42 -06:00
adrianknight89 dd8618e14f Create UI test template for XAML pages (#5853)
* create template for XAML pages

* update existing template

* added BindingContext

* removed whitespace

* move BindingContext

* change class name to Issue

* fixed absolute path
2019-07-03 21:09:02 -07:00
Samantha Houts 2c9b7fd382 Merge branch '4.1.0' 2019-07-03 20:49:49 -07:00
Andrei Nitescu 43f5c32405 Fix Map Gallery page (#6603) 2019-07-03 17:31:27 -07:00
Samantha Houts a28a207a50 Merge branch '4.1.0' 2019-07-03 17:16:32 -07:00
David Roqueni 1c9fe47d1e Add Color.ToHex() (#6272)
* Updated Color to have ToHex() method. Created Unit tests to ensure method is working as expected.

* Updated ToHex() use uint values. Updated unit tests for ToHex.
fixes #6003
2019-07-03 17:13:01 -07:00
Andrei Nitescu a21caa5389 Switch ThumbColor (#6312)
fixes #5415
2019-07-03 17:08:56 -07:00
Ravinder Jangra bdc4113f44 Add constructor in WkWebViewRenderer to use custom configuration (#6578) 2019-07-03 17:05:55 -07:00
Andrei Nitescu d004178e5e Map MoveToLastRegionOnLayoutChange Property (#6601)
fixes #6222
2019-07-03 17:05:17 -07:00
Pavel Yakovlev f7620d219b [UWP] fixes crash after reset corner radius (#6744) 2019-07-03 17:03:13 -07:00
Shane Neuville daeb45b158 [Shell] Apply Query string parameters even if they aren't present and correctly apply them to nested pages (#6695)
* apply query string parameters if they aren't there
- apply query string parameters correctly to nested pages

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

Co-Authored-By: Stephane Delcroix <stephane@delcroix.org>
fixes #6543
2019-07-03 16:57:46 -07:00
Shane Neuville 490be76aab Shell lifecycle (#6527)
* shell appearing and disappearing events

* life cycle UI tests and fixes

* - fix appearing on shell content to only fire when page gets created
- fix navigated to only fire after shell content is appearing

* OnNavigatedOnlyFiresOnce
fixes #6486
2019-07-03 16:53:45 -07:00
E.Z. Hart 22f39546de Unhook Page from embedded Application on disposal (#6735)
* Unhook Page from embedded Application on disposal

* Update Xamarin.Forms.Core/Application.cs

fixes #4671
2019-07-03 16:46:47 -07:00
Samantha Houts 1707f56d7e Merge branch '4.0.0' into 4.1.0 2019-07-03 16:42:03 -07:00
Pavel Yakovlev ebad51173b [UWP] fixes crash after reset text color (#6435) 2019-07-03 16:24:57 -07:00
Shane Neuville 6572230dcc don't throw exception if registering same route factory to same route name (#6775) 2019-07-03 16:22:23 -07:00
nels83 7a1434b747 [GTK] Fix navigation (#6692)
Commit 491947606d
introduced this change :

* [GTK] Don't recreate the toolbar on each change

However when changing page, toolbar needs to be recreated.
2019-07-03 15:59:37 -07:00
Shane Neuville e2d4d38dc9
Rename some tests to better identify purpose and change query to WaitForElement (#6759) 2019-07-03 09:44:14 -06:00
Shane Neuville da8d36df9a
[ios] Shell inset, general SafeArea fixes for shell and non shell embedded pages, entry scrolling fixes (#6457)
* [ios] insets, keyboard scroll, safearea

* ui tests

* small fixes

* ui tests

* additional ui test

* reset default padding more intelligently

* ios10 fixes

* ios10 fixes

* use safe area only if tabbar or navbar is present

* better searching for uiscrollview

* ios11 ui test fixes

* slight delay for scroll to resolve before checking

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

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>

* Update Xamarin.Forms.Platform.iOS/Renderers/KeyboardInsetTracker.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/ShellInsets.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>

* try to fix ui tests apply pr suggestions

* more app center ios10 tweaks

* ios 10 fixes

* Update Xamarin.Forms.Platform.iOS/Renderers/ScrollViewRenderer.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>

* Update Xamarin.Forms.Platform.iOS/Renderers/ShellSectionRootRenderer.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>

* PR comments

* fix inset change thrashing and only send offset when changed

* add delay for loading url images and rename shell test

* add null check to extension
2019-07-03 08:27:51 -06:00
E.Z. Hart 0a11a184a2
Implement CollectionView grouping on iOS (#6590)
* Implement CollectionView grouping for iOS

* Add grouping UI tests

* Fix invalidcast when source is not INotifyCollectionChanged

* Remove old TODO comments

* Apply suggestions from code review

Co-Authored-By: Stephane Delcroix <stephane@delcroix.org>

* IsGroupingEnabled -> IsGrouped

* Update empty source workaround

* Fix incorrect group counting for empty collections

* Iron out all section counts; remove unsavory empty view workaround;

* Fix crash when filter is null

* Handle sections for add/remove to/from empty sources; check for empty sources when handling sections;

* Prevent random test failures for test 5793

* Remove now-unnecessary size check on transition from empty to non-empty source

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/CollectionViewGrouping.cs

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
2019-07-02 15:34:45 -06:00
Eilon Lipton cd699094ba Make building easier on Windows by setting PowerShell execution policy (attempt 2) (#6755)
* Make building easier on Windows by setting PowerShell execution policy

* Update build.cake to reference cmd as well as ps1

* remove . on instructions
2019-07-02 14:36:22 -06:00
Shane Neuville e15ae8ca86
Cherry pick Issue4597 fixes back to branch 4.0.0 (#6724)
* Split up Issue4597 into separate testable chunks (#6654)

* split up tests

* fix tests for ios

* comment out tests for UWP for now

* - add delay for loading from uri
- rearrage components so switch is always visible

* add retry logic to url based tests so images can load

* fix automationid binding

* remove extra file

* fix tabs
2019-07-01 10:42:41 -06:00
ShaneN 97a558a252 Merge branch '4.1.0' 2019-06-30 10:02:55 -06:00
ShaneN ca1e3fd3b8 Merge branch '4.0.0' into 4.1.0 2019-06-30 10:02:26 -06:00
Shane Neuville e22494884b
request layout of measure changes force layout if it doesn't (#6704) 2019-06-30 10:00:34 -06:00
campersau 12bebc5096 fix NRE in InvokeOnMainThreadAsync (#6708) 2019-06-30 10:25:53 +02:00
Rui Marinho 037f003c3d Merge branch '4.1.0' 2019-06-29 15:19:17 +01:00
Rui Marinho de5e14c8b6
Merge branch '4.0.0' into 4.1.0 2019-06-29 15:18:41 +01:00
Shane Neuville 4d09f7698a Split up Issue4597 into separate testable chunks (#6654)
* split up tests

* fix tests for ios

* comment out tests for UWP for now

* - add delay for loading from uri
- rearrage components so switch is always visible

* add retry logic to url based tests so images can load
2019-06-29 14:53:38 +01:00
Samantha Houts c87f65b26d
Update README.md 2019-06-28 11:21:03 -07:00