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

3360 Коммитов

Автор SHA1 Сообщение Дата
Samantha Houts 4fff7aaa78
Update README.md 2019-06-28 11:11:56 -07:00
Kevin Petit 56e99c84cb [Android] Fix various issues in object dispose methods. (#6467)
* Android - Fix various issues in object dispose methods.

* Tear down old element before disposing the ItemViewAdapter.

* More fixes.

* NavigationPageRenderer - Reorder ResetToolbar and remove view before dispose
ShellSectionRenderer - Call base.Destroy last + Remove and destroy _scrollview

* Remove obsolete code.

* Fix build.
2019-06-28 11:53:49 +01:00
Felipe Momm bff446926d [Shell] MenuItem font image fix (#6628) fixes #6559
* [Shell] FontImageSource not working with MenuItem

* [Shell] Adds missing Binding (FlyoutIcon) for ShellItem

* Revert changes and adjust to change the binding instead

* Replace magic strings for nameof
2019-06-28 11:52:59 +01:00
Shane Neuville 40961c12b6 return empty dictionary instead of null (#6675) fixes #6614
* return empty dictionary instead of null

* add warning if Element is being reparented

* fix warning message

* only fire warning if parent has inner children
2019-06-28 11:17:11 +01:00
Andrew Hoefling efa9cf4a02 Adds FontImage Markup Extension for FontImageSource (#6398)
* Added FontImage markup extension which simplifies usage of FontImageSource into any ImageSource

* Added unit tests to cover TabBar which is used in Shell

* Cleaned up xaml for test code

* Removed class references from unit test project which were added by mistake

* Removed FontImageExtension from markup parser

* Added ContentProperty to markup extension

* Added Size to FontImageExtension

* Updated unit tests for new properties

* added unit tests to certify each property was set correctly by the markup extension

* Added content property test to certify that Glyph is being set correctly

* Flipped order in unit tests of expected and actual

* Updated default value for Size to use the FontImageSource default's value. This will keep it in sync if that value ever changes

fixes #6376
2019-06-27 17:23:32 -07:00
Andrei Nitescu 0c8d9818fb Validate style target at runtime (#6677)
* Check Style target type at runtime #6268

* Use IsAssignableFrom internal version
fixes #6268
fixes #6535
2019-06-27 17:19:47 -07:00
Samantha Houts 577bc7b06f Merge branch '4.1.0' 2019-06-27 16:50:21 -07:00
Samantha Houts 8625af8b86 Merge branch '4.0.0' into 4.1.0 2019-06-27 16:49:07 -07:00
adrianknight89 6c20061735 make ShouldChangeText virtual (#6634) 2019-06-27 16:37:25 -07:00
Rui Marinho 3ffb15cb94 [iOS] Provide a base CarouselViewRenderer (#6686)
* [iOS] Don't provide a CarouselViewRenderer

* [iOS] Fix CarouselViewRenderer

* Update CarouselViewRenderer.cs
2019-06-27 17:34:52 -06:00
Rui Marinho cd2f07365b
Update nightly feed (#6411)
* Update README.md

* [Docs]Update to aka.ms link

* Update README.md
2019-06-27 22:03:19 +01:00
Sergej Derjabkin 24b8f2ceee [Bugfix] Catching ReflectionTypeLoadException in the VisualTypeConverter (#6646)
* - Bugfix: Catching ReflectionTypeLoadException in the VisualTypeConverter

* - Fixed formatting

* - Removed empty line
2019-06-27 11:46:33 -07:00
Andrei Nitescu 99291f71a5 Button Layout gallery page: don't set initial Padding (#6599) fixes #6469 2019-06-27 11:42:42 +01:00
Stephane Delcroix 267eca042c
try to generate more unique names (#6669)
- fixes #6668
2019-06-27 11:30:11 +02:00
Kangho Hur fe5b6bdcb4 [Tizen] Added support AutomationProperties (#6080) 2019-06-26 17:10:09 +01:00
Kevin Petit 554602bff6 Fix flaky tests. (#6510)
Found issues on some tests when running on my local machine.
The test Bugzilla 31333 dont wait the input to take focus (so on a fast machine it fail).
The test Issue1733 use the current culture to parse number which can fail (and indeed fail on my machine).
2019-06-26 16:57:36 +01:00
Shane Neuville b3bfb7bf5e
wait for animation to complete (#6652) 2019-06-26 09:57:26 -06:00
Kangho Hur 26be6ca368 [Tizen] Add Checkbox (#6526) fixes #1728 2019-06-26 16:52:22 +01:00
humhei 3ac5b51c35 [UWP] CollectionView SelectionMode (#6629) fixes #3172 fixes #6489 fixes #5844 fixes #5625
* UWP CollectionView SelectionMode

* Null check

* SelectItems get property

* ItemTemplatePair type check

* Avoid mutually trigger OnSelectionChange

* Extended -> Multiple + Avoid creating new SelectedItems
2019-06-26 16:37:08 +01:00
Stephane Delcroix ea0d55dd0d
[X] resolve event handlers in base generic types (#6194)
* [XamlC] fix Debug harness generation code

* [X] resolve event handlers in base generic types

- fixes #6176
2019-06-26 14:35:54 +02:00
Shane Neuville 12357114d6
Issue1733 change Query to WaitForElement (#6588)
- rename test
2019-06-25 22:52:09 -06:00
Felipe Momm 3782a5d7df [Shell] Fail when trying to add a duplicated route (#6613) 2019-06-25 17:05:03 -06:00
Stephane Delcroix 506d3b92e8 Backport41 (#6651)
* use a BP for QueryAttributes (#6569)

* use a BP for QueryAttributes

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

* Allow tracking of StyleSheets (#6502)

* remove excess code and clean up sandbox (#6503)

* Allow tracking of StyleSheets

*  ¯\_(ツ)_/¯
2019-06-25 15:20:55 -07:00
Andrei Nitescu 6fa97f81b4 Don't reset implicit style (#6641) (#6641)
fixes #6635
2019-06-25 11:45:50 -07:00
Samantha Houts 5aeebd1252 Merge branch '4.1.0' 2019-06-24 16:38:27 -07:00
Eilon Lipton 63f61b12ef Fix compiler warnings in WPF platform project (#6616) 2019-06-24 15:10:17 -07:00
E.Z. Hart 96a26e1910
Undo broken change in un-watching empty view observer;
This may cause a small leak in some corner cases, but that leak is fixed by
2019-06-24 13:47:46 -06:00
E.Z. Hart 32377e4b89 Clean up Platform on PlatformRenderer disposal: fixes #4671 (#6636) 2019-06-24 20:01:57 +01:00
Samantha Houts 62dfadabf2 Merge branch '4.1.0' 2019-06-20 17:39:25 -07:00
Samantha Houts c556f85fd4 Merge branch '4.0.0' into 4.1.0 2019-06-20 17:10:59 -07:00
E.Z. Hart 5a8748a5d0
Update ItemsViewLayout.cs (#6583)
Unsubscribe from PropertyChanged during Dispose() on ItemsViewLayout (iOS).
2019-06-20 11:48:36 -06:00
Elias Puurunen 0ad4dd3b02 Update ItemsViewLayout.cs (#6583)
Unsubscribe from PropertyChanged during Dispose() on ItemsViewLayout (iOS).
2019-06-20 11:46:19 -06:00
Akihiko Odaki 54acfa9122 [XamlC] Do not try to set a value to bound source property if unavailable (#6564) 2019-06-20 11:37:42 +02:00
Shane Neuville dd22e787d7 [Android] Change elevation to use float.minvalue instead of negative infinity (#6560)
* change negative infinity to float.minvalue

* api 19 fixes
2019-06-19 19:54:07 -07:00
E.Z. Hart ccb4ae0af7 Implement ItemSizingStrategy.MeasureFirstItem on Android (#6422)
* Implement ItemSizingStrategy.MeasureFirstItem on Android

* Remove unnecessary method
2019-06-19 19:28:43 -07:00
Pavel Yakovlev ec5645aec3 [UWP] fixes hangs ListView when using Narrator (#6431)
fixes #5340
2019-06-19 19:27:53 -07:00
Kevin Petit 22dd496206 [Android] Dispose the collection view item adapter (#6525)
* [Android] Dispose the collection view adapter.

* More complete fix.
2019-06-19 19:27:25 -07:00
Gerald Versluis 2a319084c5 [Android] Hamburger icon not shown when using FormsAppCompatActivity (#6548)
* Update NavigationPageRenderer.cs

* Add reproduction for #2577

* Update NavigationPageRenderer.cs

* Taking into account MasterDetailPage and GetHasBackButton correctly

* Update NavigationPageRenderer.cs
fixes #2577
2019-06-19 19:27:04 -07:00
Samantha Houts 4356c6736a Merge branch '3.6.0' into 4.0.0 2019-06-19 19:25:10 -07:00
Shane Neuville 3a5614bead don't setup webview if running as designer (#6592) 2019-06-19 16:52:31 -07:00
Gerald Versluis b580920666 Added missing named sizes (#6591)
fixes #6517
2019-06-19 16:40:59 -07:00
Gerald Versluis 578d0f92a4 Make ShellTabLayoutAppearanceTracker public (#6530)
fixes #6529
2019-06-19 16:30:33 -07:00
Pavel Yakovlev 4b8997b705 [Android] Fixes loading image from uri (#6394)
* [Android] Fixes loading image form uri

* - modified Issue4597 test

* nested function is removed

* moved redundant code

* Update Xamarin.Forms.Platform.Android/Extensions/ImageViewExtensions.cs

Co-Authored-By: Pavel Yakovlev <v-payako@microsoft.com>
fixes #6313
2019-06-19 16:26:40 -07:00
Pavel Yakovlev ffbbd3f16d [Android] Fixes layout in AppCompat ButtonRenderer (#6329)
* [Android] Fixes layout in AppCompact ButtonRenderer

* - fixes button alignment when fast changing padding
- fixes material button alignment

* refactoring

* forceLayout

* generalize force layout

* if APP check on ui test
fixes #6282
2019-06-19 16:24:50 -07:00
Pavel Yakovlev ccfd6170cc [Android] fix accessibility of Picker (#5125)
* [Android] fix accessibility of Picker

* fix NRE

* fixes read selected item with accessibility

* refactoring test

* added dispose of accessibility delegate

* fix build uitest

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

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

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

Co-Authored-By: paymicro <v-payako@microsoft.com>
2019-06-19 16:23:00 -07:00
Samantha Houts 0c6e2c957b
[Android] Add disposed check to MasterDetailPageRenderer (#6354)
* [Android] Add disposed check to MasterDetailPageRenderer

Co-Authored-By: Felipe Silveira <transis2@users.noreply.github.com>

* Fix dispose pattern

a la #6305

* apply same set of changes to NavigationPageRenderer

fixes #3489
closes #4586
2019-06-19 15:55:59 -07:00
Pavel Yakovlev 3df78bc674 [Android] hide keyboard after tapping on pickers (#6284)
fixes #6235
2019-06-19 15:54:00 -07:00
Rui Marinho a874f52adc Merge branch '4.1.0' 2019-06-19 23:49:46 +01:00
Rui Marinho 1a02c31fec Merge branch '4.0.0' into 4.1.0 2019-06-19 23:49:12 +01:00
Rui Marinho 4ed6d95cb3 Merge branch '3.6.0' into 4.0.0 2019-06-19 23:48:36 +01:00