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

544 Коммитов

Автор SHA1 Сообщение Дата
Shane Neuville 7dda665c6d
Move IElementConfiguration to an internal structure on Cell (#5850)
* Move IElementConfiguration to an internal structure on Cell

* set custom ElementConfiguration to private

* fix comments
2019-04-17 11:59:16 -06:00
Larry O'Brien f4d87bbf04 s/SearchBoxVisiblity/SearchBoxVisibility/ from base 4.0.0 (#5931)
* s/SearchBoxVisiblty/SearchBoxVisibility/

Fix typo in type name.

* s/Collapsable/Collapsible/

* Changed capitalization in comment
2019-04-16 15:04:55 -07:00
Rui Marinho 4f0724fc4c [iOS] Fix usage of iOS11 api (#5893)
* [iOS] Fix usage of iOS11 api

* [iOS] Fix remaining calls to HomeIndicatorHidden feature
2019-04-15 14:24:50 -07:00
piotrkonowalski 4b5ed4c3c6 [iOS] Add Platform Specific features for PrefersHomeIndicatorAutoHidden (#5717)
fixes #5310
2019-04-10 21:58:34 -07:00
Samantha Houts a58f4d7e97
[Android/iOS] TabIndex sets focus order for TalkBack traversal (#3989)
fixes #2789
2019-04-10 21:53:37 -07:00
Rui Marinho 66062237e0 [iOS] Fix when we render the font icon image as original (#5753)
fixes #5071
2019-04-08 10:15:53 -07:00
Shane Neuville 7e423a41d2
Extend Control Gallery to allow for Shell UI Tests (#5740)
* enable UI tests for shell

* - fix test for ios shell

* - add scrollview so success is visible on ios

* - add instructions

* - add shell category
2019-04-01 14:25:01 -06:00
Shane Neuville 5f9bf9d8c4 Check if Element parent is null before getting the padding insets (#5757)
* Check if Element parent is null before getting the padding insets

* - move if up earlier
2019-04-01 09:53:53 +01:00
Samantha Houts ca184714b4 Merge branch '3.6.0' into 4.0.0 2019-03-27 17:13:02 -07:00
Samantha Houts 35f830502e
[iOS] Don't crash if no Thumbnail specified for AppLink (#5684)
* Add test for #5470

* [iOS] Don't crash if no Thumbnail specified for AppLink

fixes #5470

* Add braces

* fix test on Android
2019-03-27 16:41:38 -07:00
E.Z. Hart 85e75046c2 Handle DataTemplateSelector on iOS/Android CollectionView (#5429)
* DataTemplateSelector working on Android for ItemTemplate and EmptyTemplate

* Demonstrate DataTemplateSelector working with EmptyViewTemplate

* Handle DataTemplateSelector on iOS CollectionView

* Add UI test
Fixes #4826

* Temporarily patching EditorRenderer to get tests running

* Add test for binding errors;
Fix binding errors on Android;

* Fix binding errors for iOS

* Add flag setting to allow UI test to run

* Fix rebase errors
2019-03-27 17:03:35 -06:00
E.Z. Hart f1297f93d5 Re-enable "Treat warnings as errors" (#5602)
* Enable "treat warnings as errors"

* Remove unnecessary for loop

* Remove properties which already exist in base class

* Make property hiding explicit and obsolete hiding property

* Move Treat Warnings as Errors setting to props file

* Fix weird quotation changes in Xamarin.Forms.Build.Tasks.csproj

* Scrub empty WarningsAsErrors tags

* Remove unused variable

* Fix TearDown method hiding in UI tests

* Fix Id member hiding in test for Bugzilla32871

* Fix RootPage member hiding in Bugzilla51503

* Fix RooPage member hiding in Issue1483

* Disable warnings for deprecated OpenGL calls

* Fix member hiding in test view models

* Fix RootPage member hiding in Issue1931

* Fix Id member hiding in Bugzilla42620

* Fix AutomationId member hiding in Bugzilla57114

* Fix Layout member hiding in Bugzilla40911

* Remove unused variables from Bugzilla31114

* Remove unused variable

* Fix various unused variable warnings

* Disable warning to leave example code for reference

* Fix unused variable from macOS test

* Remove unused members

* Fix unused variable warnings

* Fixed unused property warnings

* Fix warnings for unused code

* Disable 'await' warning

* Remove unused variable

* Adding pragma directives for await warnings

* Remove member hiding

* Turn off global "Treat warnings as errors" in other platforms

* Use MarkerId instead of obsolete Id member

* Fix await warnings in WPF GeocoderBackend

* Add missing await

* Disable warning for unused event
2019-03-27 18:38:38 +00:00
Rui Marinho db7e702ecf
[Shell] Add FlyoutIcon (#5567) fixes #4766 fixes #4767 fixes #4845 fixes #5219
* [Controls]  Add repo for shell issue

* [iOS] Allow specify SetPaddingInsets on the ShellContent

* [iOS,Shell] Fix issue when disposing ToolbarItems  of old page

* [Controls] Add demo repo for #5466

* [Shell,Core] Fix navigating to a registered route

* [Shell,Core] Add better exception messages for wrong or non existing content fixes #5081

* [Core,Shell,iOS,Android] Add FlyoutIcon property

* [Controls] Make shell sample work on Android

* [Controls,Android] Add ImageSource support to FlyoutIcon

* [Android]Allow to set text on the back button

* [Android] Create default text back button

* [Controls] Add example to push with back button behavior

* [Android] Fix back button tint color

* [Android] Cleanup and refactor UpdateDrawerArrow

* Update Xamarin.Forms.Platform.Android/Renderers/ShellToolbarTracker.cs

Co-Authored-By: rmarinho <me@ruimarinho.net>

* [iOS,Shell] Fix go back (Pop) when proving BackButtonBehavior

* [iOS] Check the ParentViewController since we were push to it

* [Android,iOS,Shell] Remove extra code implement feedback

* removed old code

* minor cleanup
2019-03-27 17:05:21 +00:00
Rui Marinho 097af8f757
[CollectionView] Fixes for ObservableCollection usage on Android and iOS (#4664)
* [Controls] Update CollectionView observable gallery

* [Controls] Add test case with timer to add items to ObservableCollection

* [Android] Implement IDisposable on IItemsViewSource

* [iOS] ObservableItemSource takes a IList

* [iOS] Update ItemsViewLayout.cs

* [Android] Implement review feedback

* [Controls] Fix adder

* [Build] Update submodule

* [Android] Make similar change to iOS for consistency

* [iOS] Unsubscribe from ObservableCollection on ItemsViewController

* [iOS] Dispose ItemsController

* [Build] Update submodule
2019-03-26 22:58:29 +00:00
Rui Marinho 7118af99e3
[Shell] Fix Register route and Navigate to it (#5564) fixes #5466
* [Controls]  Add repo for shell issue

* [iOS] Allow specify SetPaddingInsets on the ShellContent

* [Shell,iOS] Fix toolbaritems on Shell

* [Controls] Add demo repo for #5466

* [Shell,Core] Fix navigating to a registered route

* [Controls] Fix android example add missing images

* nested routing

* [Controls] Fix build on pre app compact
2019-03-26 22:56:27 +00:00
Rui Marinho 9b8b058416
Merge branch '3.6.0' into 4.0.0 2019-03-25 14:42:29 +00:00
Rui Marinho b0724320b4
[iOS] Better fix for EstimatedRowHeight (#4365) fixes #4356
* [Controls] Add repo for issue #4356

* [iOS] Call UpdateEstimatedRowHeight on MainThread so it delays and reloads after the row is inserted

* [IOS] Try remove UpdateEstimatedRowHeight

* [iOS] Fix EstimatedRowHeight

* [iOS] Consolidate EstimatedRowHeight calculation on the ListviewDataSource

* [iOS] Fix InvalidateCache and clear estimatedRowHeight

* [iOS] Use bool for checking if is empty

Co-Authored-By: rmarinho <me@ruimarinho.net>

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

Co-Authored-By: rmarinho <me@ruimarinho.net>

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

Co-Authored-By: rmarinho <me@ruimarinho.net>

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

Co-Authored-By: rmarinho <me@ruimarinho.net>

* [iOS] Fix rebase

* [Build] Update submodule

* [Build] Remove xcode select

* [iOS] Don't disable EstimatedRowHeight on iOS10
2019-03-24 19:48:16 +00:00
Stephane Delcroix 534a261e30 Merge branch '3.6.0' into 4.0.0 2019-03-21 14:37:08 +01:00
Shane Neuville 13e94c867e Suppress warning for CharacterRangeForGlyphRange is obsolete (#5613) fixes #5246
* switch to GetCharacterRange for spans

* suppress obsolete message
2019-03-21 11:12:18 +00:00
Pavel Yakovlev d9f580e529 [shell] Fix show DisplayAlert (#5491) fixes #5504
* [shell, ios, tizen] fixes show alert

* - added helper extension
- fix navigation model
2019-03-21 10:03:50 +00:00
Samantha Houts 83ccf3ad36 Merge branch '3.6.0' into 4.0.0 2019-03-19 11:58:17 -07:00
Rui Marinho d2f0794a37
[MacOS] Fix rendering small text (#5443) fixes #2204
* [MacOS] Draft push test fix macOS test

* Refactor

* [Controls] Add repo test case #2204

* [Controls] Remove demo page

* [iOS,macOS] Refactor FontExtensions

* [iOS] Change visibility of shared method

* [Controls] Cleanup test #2204
2019-03-19 09:48:11 +00:00
Samantha Houts 0a7e7352b8 Merge branch '3.6.0' into 4.0.0 2019-03-18 18:25:50 -07:00
David Ortinau 08a015d8f7 [iOS,Shell] Fix tab bar style color alignment to match Android (#5075)
* Set the same TabBar color styles as Android

* unified on title color, made names consistent, and commented unused properties.
2019-03-18 18:52:49 +00:00
E.Z. Hart c297cc768f Handle CollectionView multiple selection on Android and iOS (#5352)
* Handle multiple selection on Android and iOS

* Fire SelectionChanged events and commands when switching modes

* Do not fire the selection change if the mode change results in identical selection

* Fix rebase

* Temporarily patching EditorRenderer to get iOS tests running

* Fix bug where native selection is lost when items are off-screen

* [Core] Cleanup drop private o SelectionList

* [Android] Use local variable on foreach
2019-03-18 14:46:41 +00:00
Stephane Delcroix fb169ce976 Merge branch '3.6.0' into 4.0.0 2019-03-18 09:40:11 +01:00
Shane Neuville 0376a5f692 [Android] fix focus event on android and add UI Tests (#5528)
* fix focus event for material entry and add ui tests

* fix iOS

* - Focused
fixes #5509
2019-03-15 14:43:04 -07:00
E.Z. Hart c5f95cc353 [iOS] Fix crash when going from empty to having items (#5430)
* Fix crash on iOS when going from empty to having items

* Temporarily patching EditorRenderer so iOS tests can run
2019-03-15 11:32:17 +00:00
Samantha Houts fd2dd4a342 Merge branch '3.6.0' into 4.0.0 2019-03-05 16:54:26 -08:00
E.Z. Hart a372395fb2 [iOS] Check new element before creating placeholder label (#5432)
* Check new element before creating placeholder label

* additional checks

* create placeholder once
2019-03-05 10:06:27 -08:00
Samantha Houts 28af473d53 Merge branch '3.6.0' into 4.0.0 2019-03-01 19:16:42 -08:00
Shane Neuville f1660e85f5 fix changed apis (#5426)
* fix changed apis

* increment language version

* bring some back

* update font

* VisualElement fixes

fixes #4644
fixes #5170
2019-03-01 19:15:08 -08:00
Gerald Versluis e60bfde9bf [C, iOS, AND, UWP] TabbedPage SelectedTabColor and UnselectedTabColor (#4899)
* Implemented Core and iOS

* Implemented Android

* Supressed platform specific obsolete warnings for now

* Implemented UWP

* Make selected page on UWP not rely on title

* Review feedback

* Removed references to (now) obsolete members

* Review feedback fixes

* Code review feedback

* Changed obsolete msg to reflect right XF version

* Apply suggestions from code review

Co-Authored-By: jfversluis <github@geraldversluis.nl>
fixes #3478
2019-03-01 15:47:31 -08:00
Samantha Houts 98f7e52ca4 Merge branch '3.6.0' into 4.0.0 2019-03-01 10:07:45 -08:00
Samantha Houts dd98d0b9a3 Merge branch '3.5.0' into 3.6.0 2019-03-01 10:06:34 -08:00
Pavel Yakovlev 6c88d523ab [iOS] Fix tapping a ViewCell after close ContextActionMenu (#5425) fixes #4987 2019-03-01 17:22:18 +00:00
Samantha Houts 799d2d7742 Merge branch '3.6.0' 2019-02-28 18:12:27 -08:00
Samantha Houts a101758f71 Merge branch '3.5.0' into 3.6.0 2019-02-28 18:10:53 -08:00
E.Z. Hart 3d28f7dafe Fix iOS EmptyView crash; properly handle EmptyView swapping (#5353) 2019-02-28 12:02:49 -08:00
kingces95 637da05999 previewer; PageRenderer trap for missing bg image (#5342)
* previewer; PageRenderer trap for missing bg image

* previewer; PageRenderer trap for missing bg image

* fix macOS; remove ext for macOS

fixes #5300
2019-02-27 18:32:57 -08:00
Samantha Houts 42345ed82e Merge branch '3.6.0' 2019-02-27 18:22:37 -08:00
Samantha Houts a08e954eaa Merge branch '3.5.0' into 3.6.0 2019-02-27 18:21:59 -08:00
Samantha Houts 0b7965f811
[iOS, Android] Prevent NREs in ScrollViews (#5383)
* Add null checks on new code paths added in #4522

fixes #5161

* Fix cast...

Fixes #5247
2019-02-27 18:08:47 -08:00
Pavel Yakovlev aef568a7c6 [Android, iOS] added re-measure of TimePicker after change value (#4999) 2019-02-27 17:49:11 -08:00
ShaneN 24b4b554ad Merge branch '3.6.0' 2019-02-27 18:20:24 -07:00
Dan Siegel 187602b384 directly load specified Font Family or other valid PostScript Font Name fixes #5372 (#5373) 2019-02-27 14:20:14 -07:00
Andrei 2da9f0c3b0 fix https://github.com/xamarin/Xamarin.Forms/issues/5346 (#5379) 2019-02-27 14:02:49 -07:00
Stephane Delcroix 50dbbcf55d
[C] deprecate GetValues (#5324)
* [C] deprecate GetValues

Deprecate GetValues, as it no longer make snes now that the properties
store is a Dictionary and no longer a List.

Update the code to be C#7-ish.

Take this refactoring opportunity to move similar method next to each other.

- fixes #5015

* Apply suggestions from code review

Co-Authored-By: StephaneDelcroix <stephane@delcroix.org>
2019-02-27 08:56:27 +01:00
Shane Neuville cca80ca763
[Visual] Material Editor (#5345)
* [Material] Visual

* - gallery and simplify android renderers

* Update Xamarin.Forms.Material.iOS/MaterialEditorRenderer.cs

* Update Xamarin.Forms.Platform.Android/Material/MaterialEditorRenderer.cs

* wire up done and fix ph bug

* - ios fix auto sizing issues

* fix NRE

* - Android: fix bounce and IsreadOnly
- iOS: fix IsReadonly and sizing issue

* - fix editor

* Fix ios Editor to shrink when lines are deleted

* Update Xamarin.Forms.Material.iOS/MaterialMultiLineTextField.cs

* - formatting fixes
2019-02-26 12:46:48 -07:00
Stephane Delcroix 533e130191 Merge branch '3.6.0' 2019-02-25 08:33:25 +01:00