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

479 Коммитов

Автор SHA1 Сообщение Дата
Javier Suárez 6ad7cd109a
Port CollectionView performance fixes from .NET MAUI (#15697) 2023-02-28 16:45:13 +01:00
Gerald Versluis b3600a2424
Binding convert looks at right culture setting (#15240)
* Binding convert looks at right culture setting

* Update BindingExpressionTests.cs
2022-03-30 11:34:11 +02:00
JonKAS a13a484fdd
Fix input for decimal/float/double and nullable (#11815)
* Fix input for decimal/float/double and nullable

This commit fixes the input of decimal/float/double and their
nullable equivalents in different cultures.

Issue #7996

* Update UI test

Makes the UI test more understandable. It shows now a label with the actual resolved binding value. In the entry you can now see the value you provided.

* Fix unit test

* Fix more unit tests

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2022-01-14 10:33:05 +01:00
Shane Neuville 37589f0f41
Route Shell Modal Navigation through ShellSection (#15053) 2022-01-14 09:15:48 +01:00
Sören Nils Kuklau 763bf922d9
CSS: Support omitting semicolon from last property (#14306) 2022-01-12 10:49:16 +01:00
Oliver Brown 78e7f5c80f
Add tests for #9151 (#14793) 2021-11-25 13:10:41 +01:00
Shane Neuville 46d1d9dd1a
Route Navigation.(Push/Pop)Modal through Shell Navigation Manager (#14080)
* Route Navigation.(Push/Pop)Modal through Shell Navigation Mananger

* - fix SO error

* Update ShellNavigationManager.cs
2021-07-07 05:06:47 -05:00
Shane Neuville 86db84805e
Fix iOS so if you remove more than one page it's able to remove them successfully (#14383)
* Fix iOS Shell when removing multiple views

* - ui tests and fix navigate args

* - improve logic

* Update ShellSection.cs

* - update UI Tests
2021-07-05 17:42:25 +01:00
Shane Neuville cc0caa6f50
Fix additional scenarios with nested defined routes (#13648)
* Fix additional scenarios with nested defined routes

* - pick better starting point for uri matching

* - fix merge

* - formating changes and more accurate test fix
2021-02-09 12:12:43 -06:00
Shane Neuville 6a52953a3b
Update to latest Nunit3 (#13677)
* Update to latest Nunit3

* - update ui test libraries

* - adapter updates
2021-02-07 01:41:19 +00:00
Shane Neuville 6b73a624ef
Fix string initializer for ShellNavigationState (#13478) fixes #13422 2021-02-05 17:48:31 +00:00
Shane Neuville 26b06da946
Fix popping with ".." and QueryString (#13507)
* Fix popping with ".." and QueryString

* - add additional Unit Tests
2021-02-03 18:48:12 -06:00
Shane Neuville 11b3525b01
Setup Shell to only use the LogicalChildren for reporting its LogicalChildren (#13462)
* Visual Tree Fixes

* Fix logical Chidlren

* - fix setting of view and test

* Call Add/RemoveLogicalChildren for Flyout Items

* - fix logical children

* - fix iOS
2021-01-22 14:22:47 -06:00
Stephane Delcroix 590ac5712d
[C] elements from Source are like items (#13490) fixes #13209
treat elements from the "Source" RD like if they were part of the actual
dictionary, for Count, and Remove
2021-01-22 12:43:57 +00:00
github-actions[bot] 165d490887
Automated dotnet-format update (#13424)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-01-18 00:25:33 +00:00
Shane Neuville de4d0bc56e
Fix Shell Navigation for Hierarchally registered Global Routes (#13330) fixes #13328 fixes #11237
* Fix Shell Navigation for Hierarchally registered Global Routes

* - fix added paths

* - fix relative hierarchical routing

* - remove extra comment

* - remove comments

* - generalize shell setter

* - additional test

* Update BaseShellItem.cs

* - fix routes pushed with longer uris

* - improve matching

* - clean up comments

* - fix multiple back navigation with hierarchies

* - fix root routes

* - fix absolute routes
2021-01-15 18:27:46 +00:00
Shane Neuville 4048fab83b
Shell flyout content template (#13190) fixes #6293
* Flyout Content

* - uitest

* - ios fix

* - fix ios

* - fix ios

* - fix offset

* - fix measuring issues

* - fix ScrollView Check

* - Cleanup iOS

* - remove comments

* - fix up ui test

* Remove UWP for UI Tests

* - fix merge

* - Add Flyout Items

* - fix uwp flyout items from rebinding

* - cleanup code

* Update ShellFlyoutContentRenderer.cs
2020-12-31 14:30:50 +00:00
Shane Neuville cb1b8a3f12
Fix NRE if user immediately completes Deferral (#13202) fixes #13131
* Fix NRE if user immediately completes Deferal

Made the deferral flow more linear and easy to follow
Moved the navigation parts of Shell out to a separate class

* - Shell Section Fixes

* - fix unit test name

* - fix spelling

* - fix return value
2020-12-23 12:12:33 +00:00
Shane Neuville a22317ae16
Fix poor choice for FlyoutItem BP Name (#13152)
* Fix poor choice for FlyoutItem BP

* - UI Tests

* Update Xamarin.Forms.Controls.Issues.Shared.projitems

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-12-18 12:35:30 +00:00
github-actions[bot] f783f857db
Automated dotnet-format update (#13172)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-12-17 10:36:13 +00:00
E.Z. Hart 54fee8f86f
Merge branch '4.8.0' into 5.0.0 2020-12-16 17:31:02 -07:00
E.Z. Hart 43d575110a
Scale potential star row/column values by the appropriate star value (#13146) fixes #13127 fixes #13034
Along with 13085, this fixes #13127
2020-12-16 14:43:46 +00:00
E.Z. Hart 30f29a3118
Apply maximum starred column/row size for all starred columns/rows (#13085) Fixes #12961 Fixes #12725 Fixes #12900
Fixes #12961
Fixes #12725
Fixes #12900
2020-12-14 22:43:52 +00:00
E.Z. Hart ebd6ac35b0
Bind RadioButton default template root properties to RadioButton's pr… (#12742) fixes #12345
* Bind RadioButton default template root properties to RadioButton's properties
Fixes #12345

* Revert project file changes
2020-11-11 12:25:43 +00:00
Javier Suárez 362ad021c4
[Core] Brushes working with DynamicResource (#12761) fixes #11907 fixes #11911 fixes #11691
* Propagate BC to Brush childrens

* Added Brush unit test to check if propagate the bc correctly

* Added another repro sample

* Fix the issue

* Added brush parent unit test
2020-11-11 12:21:18 +00:00
Shane Neuville afe2540a7e
Remove markup extensions (#12730)
* Remove markup extensions

* - remove flag
2020-11-06 11:15:13 +00:00
Shane Neuville 454cc53618
Fix MasterBehavior to propagate correctly to FlyoutPage (#12727) fixes #12490 2020-11-06 11:12:01 +00:00
Shane Neuville 5ebc785e41
Fix BL.SetEmptyViewTemplate to use correct property (#12689) 2020-11-05 07:28:22 -06:00
Javier Suárez fd123d9ab5
[Android] Fix exception removing item from CarouselView (#11074) fixes #10865
* Fix issue removing items in CarouselView

* Added instructions to the core gallery sample

* Apply the same fix using List and groups

* Updated sample

* Added Unit Test

* Fixed crash after removing item
2020-10-29 14:49:57 +00:00
github-actions[bot] b59bb767a4
Automated dotnet-format update (#12613)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-10-27 11:30:41 +00:00
Rui Marinho b5453b835a Merge branch '4.8.0' into 5.0.0 2020-10-26 11:28:55 +00:00
github-actions[bot] 3ec6acb330
Automated dotnet-format update (#12589)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-10-25 17:23:54 +00:00
Shane Neuville 3b5b760f41
Calculate Nav Source and fix popping params (#12514)
* Calculate Nav Source and fix popping params

* Update Shell.cs

* - fix length check

* - poptoroot

* Update Shell.cs

* Update Shell.cs

* Update Shell.cs

* - fix inserting middle pages and a few events
2020-10-23 10:55:45 -05:00
E.Z. Hart a26b017871
Fix Grid regressions with text in star rows/columns (#12475)
* Fix vertical column measurement when star column coefficient is < 1
Fixes #12292; Fixes #12363

* Fix vertical text layout issues with StackLayouts in Grids
Fixes #12462, Fixes #12175, Fixes #12001
2020-10-21 14:08:06 -05:00
github-actions[bot] 5188b700e5
Automated dotnet-format update (#12500)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-10-16 16:35:11 +01:00
Yann Zahringer Ferrando cbcb0f6c65
TryFormat with result of MultiValueConverter (#12100)
- fixes #12094
2020-10-15 09:42:53 +02:00
github-actions[bot] 17d65c3482
Automated dotnet-format update (#12437)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-10-12 12:32:28 +02:00
Shane Neuville a695fabafa
When popping multiple pages remove middle pages first (#12331)
* When popping multiple pages remove middle pages first

* - additional remove page scenarios

* - clean up code and fix iOS crash

* - remove comment

* - fix android when removing last page

* Update ShellSectionRenderer.cs

* Update ShellSectionRenderer.cs
2020-10-09 16:49:38 -04:00
github-actions[bot] 7d73de8cc5
Automated dotnet-format update (#12403)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-10-08 13:09:36 +01:00
Shane Neuville 75a33d2402
[Shell] Fix query parsing and allow more types for parameters (#12186) fixes #10899
* Fix query parsing and allow more types

* Update ShellNavigationState.cs

* Update Xamarin.Forms.Core.UnitTests.csproj
2020-10-07 15:15:24 +01:00
Javier Suárez 80a4dbfb1c
Removed RadioButton Experimental flag (#12322) 2020-10-01 16:40:27 -07:00
Rui Marinho 79cc0f49fe
Major code format (#12254) 2020-09-29 11:15:44 +01:00
Pedro Jesus 65e22f02c5
Fix flyout render quirks (#12129)
* Fix UWP and wrong flyout render logic

* Fixed FlyoutItemVisibleWorksForMenuItemsAddedAsShellItem unittest

* fixed grouping in Flyout

* added handle for GetIsVisible for MenuItem

* fixed unit test for FlyoutGroupsNumbersForFlyoutDisplayOptionsAsMultipleItems

* - only increment when needed

* - fix test

* - fix names

* - fix wrong disable behavior

* - generate less noise if flyout hasn't changed

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2020-09-25 12:51:30 +01:00
Javier Suárez d79d5b77e7
[Core] Added RoundRectangleGeometry (#11851)
* Implemented RoundRectangleGeometry

* Fixed broken unit test

* Fix formatting

* Fixed formatting issues

fixes #11151
2020-09-18 14:36:43 -07:00
Shane Neuville be202998f3
Shell navigating deferral token (#12039)
* Check Point

* Shell Navigating Deferal Token

* - fix PopToRoot and add to store

* - fix animations

* - clean up code

* Update Xamarin.Forms.Core/Routing.cs

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* Update Xamarin.Forms.Core/Routing.cs

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

* - fix formatting

Co-authored-by: Pedro Jesus <pedrojesus.cefet@gmail.com>

fixes #10638
2020-09-18 14:34:02 -07:00
E.Z. Hart 2a97a6c5f0
Templated RadioButtons and RadioButtonGroups (#11628)
* First stab at RadioButtonGroup attached property and Templated RadioButton

* RadioButtonGroupController assigning group names

* Added updates for RadioButtonGroupController on selection change

* More galleries!

* Content property propagation

* Ignore renderers if using templated views on UWP

* Apply text/font properties to Content

* Make RadioButton template parts constants

* Cache renderer availability lookup

* Add TemplateView check to CreateRenderer on iOS

* Handle Checked RadioButton GroupName changes

* Update WPF renderer

* Update macOS and Tizen renderers

* Add more unit tests, make RB Value updates propagate to RBG

* Remove Text property, updated examples; throw Exception when Content is not Text and non-Text Content is not supported

* Prevent Content exceptions in demo pages

* Colors -> Brushes

* Add default ControlTemplate example

* Set up flags for Core Gallery test pages

* Switch Android back to ToString for Content

* Back to ToString where necessary, and using the WrapperControl for UWP

* Add comment for Content

* Log a nice warning if folks try to use View as Content and it's not supported

* Add experimental flags for drag and drop tests

* Fix crashes due to missing brush experimental flag

* Make control templates from styles work alongside default templates

* Catch up on which flags are still a concern

* Fix infinite loop in platform tests

* Attempt to fix occasionaly GroupableItemsViewController disposed crash

* Make webview visible so we can verify it loaded in UI test screen shots

* Fix merge

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2020-09-18 17:38:47 +01:00
Shane Neuville 19a15b5da9
Fix various quirks with flyout item bindings (#11987)
* Fix Shell flyout binding quirks

* - fix constructor

* Update ShellTests.cs
2020-09-15 18:17:20 -05:00
Rui Marinho 1882b5d59d
[Core,iOS,Android] Remove experimental flags Carousel, Swipe, Shapes, Brush (#12068)
* [Core,iOS,Android] Remove experimental flags Carrousel,Swipe,Shapes,Brush,DragAndDrop

* [Controls]Remove set some experimental flags
2020-09-10 12:59:32 +01:00
Rui Marinho 6b816f7148
[Core,iOS,Droid,UWP,Tizen] Remove MediaElement (#12007)
* [Core,UWP,iOS,Android] Remove MediaElement

* [Tizen] Remove MediaElement

* [WPF] Remove reference to MediaElement

* [Tests] Remove MediaSourceTests

* [Core] Remove MediaSource

* [Tizen] Remove extra files related with MediaElement

* Update ExperimentalFlags.cs

* [Controls] Removing References to MedialElement strings

* [Controls] Remove  reference to MediaElement flag
2020-09-10 10:22:37 +01:00
Rui Marinho 38977a36f9
Merge branch '4.8.0' into 5.0.0 2020-09-07 11:33:29 +01:00