platform/core/csapi/xsf.git
5 years ago[C] alias shell names (#5624)
Stephane Delcroix [Wed, 27 Mar 2019 18:52:12 +0000 (19:52 +0100)]
[C] alias shell names (#5624)

* [C] alias shell names

* - change from ShellTab to Tab

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Wed, 27 Mar 2019 18:51:38 +0000 (18:51 +0000)]
Merge branch '3.6.0' into 4.0.0

5 years agoRe-enable "Treat warnings as errors" (#5602)
E.Z. Hart [Wed, 27 Mar 2019 18:38:38 +0000 (12:38 -0600)]
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

5 years agoremove covariant out on IElementConfiguration (#5449) closes #5235
Shane Neuville [Wed, 27 Mar 2019 18:32:47 +0000 (12:32 -0600)]
remove covariant out on IElementConfiguration (#5449) closes #5235

5 years ago[Shell] Add FlyoutIcon (#5567) fixes #4766 fixes #4767 fixes #4845 fixes #5219
Rui Marinho [Wed, 27 Mar 2019 17:05:21 +0000 (17:05 +0000)]
[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

5 years ago[Android] Fix various issues with material found by a full run of the UI Tests with...
Shane Neuville [Wed, 27 Mar 2019 16:07:15 +0000 (10:07 -0600)]
[Android] Fix various issues with material found by a full run of the UI Tests with Material active (#5676)

* - locate activity

* get tests to run

* - fix and force core gallery to work against default

* - fix check if control already disposed

* - fixing what automationid assigns to

* - input transparent fixes

* - fix sandbox back

* - set default visual back to default

* Update Xamarin.Forms.Material.Android/MaterialStepperRenderer.cs

* Update Xamarin.Forms.Material.Android/MaterialSliderRenderer.cs

* - fix core gallery ui tests to find container

* - ui test tweak

* - fix background color on pickers

* - suggested changes

* - suggested fix

5 years agobump
Stephane Delcroix [Wed, 27 Mar 2019 14:41:20 +0000 (15:41 +0100)]
bump

5 years agobump
Stephane Delcroix [Wed, 27 Mar 2019 14:40:50 +0000 (15:40 +0100)]
bump

5 years ago[Android] don't clear shell content because native page isn't visible (#5671) fixes...
Shane Neuville [Wed, 27 Mar 2019 11:58:35 +0000 (05:58 -0600)]
[Android] don't clear shell content because native page isn't visible (#5671) fixes #4684

* [Android] don't clear shell content because native page isn't visible

* - move checks up a line

5 years ago[CollectionView] Fixes for ObservableCollection usage on Android and iOS (#4664)
Rui Marinho [Tue, 26 Mar 2019 22:58:29 +0000 (22:58 +0000)]
[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

5 years ago[Shell] Fix Register route and Navigate to it (#5564) fixes #5466
Rui Marinho [Tue, 26 Mar 2019 22:56:27 +0000 (22:56 +0000)]
[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

5 years ago[Android] Fixes ObjectDisposedException when call Unfocus of Entry (#5670)
Pavel Yakovlev [Tue, 26 Mar 2019 18:42:05 +0000 (21:42 +0300)]
[Android] Fixes ObjectDisposedException when call Unfocus of Entry (#5670)

* [Android] Fixes ObjectDisposedException when call Unfocus of Entry

* address comment

* fix ui test

5 years ago[Build] Update verssion
Rui Marinho [Mon, 25 Mar 2019 14:42:52 +0000 (14:42 +0000)]
[Build] Update verssion

5 years agoMerge branch '3.6.0' into 4.0.0
Rui Marinho [Mon, 25 Mar 2019 14:42:29 +0000 (14:42 +0000)]
Merge branch '3.6.0' into 4.0.0

5 years agoMerge branch '3.5.0' into 3.6.0
Rui Marinho [Mon, 25 Mar 2019 11:54:50 +0000 (11:54 +0000)]
Merge branch '3.5.0' into 3.6.0

5 years ago[Build] Fix suffix check
Rui Marinho [Mon, 25 Mar 2019 11:47:05 +0000 (11:47 +0000)]
[Build] Fix suffix check

5 years agoMerge branch '3.5.0' into 3.6.0
Rui Marinho [Mon, 25 Mar 2019 11:06:21 +0000 (11:06 +0000)]
Merge branch '3.5.0' into 3.6.0

5 years ago[Update] Yaml build
Rui Marinho [Mon, 25 Mar 2019 11:05:22 +0000 (11:05 +0000)]
[Update] Yaml build

5 years agoAdd translated Intellisense files to NuGet package (#5672)
E.Z. Hart [Sun, 24 Mar 2019 20:05:01 +0000 (14:05 -0600)]
Add translated Intellisense files to NuGet package (#5672)

* WIP Experimenting with getting the translated Intellisense in the right places

* Set up nuspec to include Intellisense translations

* Use languages branch of submodule for now

* Update submodule

* Update submodule

* Updated submodule

* Update submodule

* Pull in translated docs from all the languages

5 years ago[Build] Update yaml build
Rui Marinho [Sun, 24 Mar 2019 19:51:25 +0000 (19:51 +0000)]
[Build] Update yaml build

5 years agoMerge branch '3.5.0' into 3.6.0
Rui Marinho [Sun, 24 Mar 2019 19:49:23 +0000 (19:49 +0000)]
Merge branch '3.5.0' into 3.6.0

5 years ago[iOS] Better fix for EstimatedRowHeight (#4365) fixes #4356
Rui Marinho [Sun, 24 Mar 2019 19:48:16 +0000 (19:48 +0000)]
[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

5 years ago[UWP] fix throw exception when update switch color (#5633)
Pavel Yakovlev [Fri, 22 Mar 2019 22:25:10 +0000 (01:25 +0300)]
[UWP] fix throw exception when update switch color (#5633)

5 years agoMerge branch '3.4.0' into 3.5.0
Rui Marinho [Fri, 22 Mar 2019 16:07:42 +0000 (16:07 +0000)]
Merge branch '3.4.0' into 3.5.0

5 years ago[Build] Fix provision on yaml (#5660)
Rui Marinho [Fri, 22 Mar 2019 12:13:58 +0000 (12:13 +0000)]
[Build] Fix provision on yaml (#5660)

* [Build] Fix provision on yaml

* [Build] Update provisioning to use shared tasks

5 years agoRevert "Remove submodule"
Rui Marinho [Thu, 21 Mar 2019 20:08:43 +0000 (20:08 +0000)]
Revert "Remove submodule"

This reverts commit 6616000366ff9dd05de2ee91e2612600f63fd4f5.

5 years agoRemove submodule
Rui Marinho [Thu, 21 Mar 2019 20:08:18 +0000 (20:08 +0000)]
Remove submodule

5 years ago[GTK] Fix NavigationBar check for Layout calc (#5506)
mtz [Thu, 21 Mar 2019 00:08:13 +0000 (01:08 +0100)]
[GTK] Fix NavigationBar check for Layout calc (#5506)

The loop was exiting before current was being set.

fixes #4713

5 years agoMerge branch '3.5.0' into 3.6.0
ShaneN [Thu, 21 Mar 2019 16:58:10 +0000 (10:58 -0600)]
Merge branch '3.5.0' into 3.6.0

5 years agomerge 3.4 into 3.5
ShaneN [Thu, 21 Mar 2019 16:50:41 +0000 (10:50 -0600)]
merge 3.4 into 3.5

5 years ago[Android] Remove changes to IVisualElementRenderer so it remains backwards compatible...
Shane Neuville [Thu, 21 Mar 2019 16:46:55 +0000 (10:46 -0600)]
[Android] Remove changes to IVisualElementRenderer so it remains backwards compatible (#5619)

* [Android] Remove changes to IVisualElementRenderer so it remains backwards compatible (#5398)

* return IVisualElementRenderer to previous state

* set to internal

* remove extra change

* - ToUIBarButtonItem abi fix

* - page gallery

* - remove tizen from iphone configuration

5 years agoMerge branch '3.6.0' into 4.0.0
Stephane Delcroix [Thu, 21 Mar 2019 13:37:08 +0000 (14:37 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years agoMerge branch '3.5.0' into 3.6.0
Stephane Delcroix [Thu, 21 Mar 2019 13:35:44 +0000 (14:35 +0100)]
Merge branch '3.5.0' into 3.6.0

5 years agoFix BindableLayout's incorrect layout.children.add -> use insert (#5582)
Chris van de Steeg [Thu, 21 Mar 2019 13:24:31 +0000 (14:24 +0100)]
Fix BindableLayout's incorrect layout.children.add -> use insert (#5582)

* Fix incorrect layout.children.add -> use insert

* Modify unit test to match the problem with this issue

- fixes #5579

5 years agoSuppress warning for CharacterRangeForGlyphRange is obsolete (#5613) fixes #5246
Shane Neuville [Thu, 21 Mar 2019 11:12:18 +0000 (05:12 -0600)]
Suppress warning for CharacterRangeForGlyphRange is obsolete (#5613) fixes #5246

* switch to GetCharacterRange for spans

* suppress obsolete message

5 years ago[shell] Fix show DisplayAlert (#5491) fixes #5504
Pavel Yakovlev [Thu, 21 Mar 2019 10:03:50 +0000 (13:03 +0300)]
[shell] Fix show DisplayAlert (#5491) fixes #5504

* [shell, ios, tizen] fixes show alert

* - added helper extension
- fix navigation model

5 years agofix abi breaks (#5620) fixes #5288
Shane Neuville [Thu, 21 Mar 2019 10:00:59 +0000 (04:00 -0600)]
fix abi breaks (#5620) fixes #5288

5 years ago[Android] fixes redraw element when changing renderer (#5233)
Pavel Yakovlev [Wed, 20 Mar 2019 17:31:55 +0000 (20:31 +0300)]
[Android] fixes redraw element when changing renderer (#5233)

fixes #1760

5 years agoCentralize Theme Wrapper and fix sandbox to work with previewer (#5495)
Shane Neuville [Wed, 20 Mar 2019 17:11:16 +0000 (11:11 -0600)]
Centralize Theme Wrapper and fix sandbox to work with previewer (#5495)

* Centralize Theme Wrapper and fix sandbox to work with previewer

* simplify

* Update Xamarin.Forms.Material.Android/MaterialContextThemeWrapper.cs

Co-Authored-By: PureWeen <shane94@hotmail.com>
* Update Xamarin.Forms.Material.Android/MaterialContextThemeWrapper.cs

Co-Authored-By: PureWeen <shane94@hotmail.com>
* Update Xamarin.Forms.Material.Android/MaterialContextThemeWrapper.cs

5 years ago[Android] Fixes cancel Webview Navigation (#5458) fixes #4891 fixes #4919 closes...
Pavel Yakovlev [Tue, 19 Mar 2019 20:05:38 +0000 (23:05 +0300)]
[Android] Fixes cancel Webview Navigation (#5458) fixes #4891 fixes #4919 closes #5460

* [Android] Fixes cancel Webview Navigation

* - added fix 4891
- refactoring

* Fix obsolete message

Co-authored-by: Ralph Brackert <brackert@baselineconnect.com>
5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Tue, 19 Mar 2019 20:01:21 +0000 (13:01 -0700)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Controls] Fix build
Rui Marinho [Tue, 19 Mar 2019 20:00:02 +0000 (20:00 +0000)]
[Controls] Fix build

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Tue, 19 Mar 2019 18:58:17 +0000 (11:58 -0700)]
Merge branch '3.6.0' into 4.0.0

5 years ago[UITest] Disable old 1461 test (#5605)
Samantha Houts [Tue, 19 Mar 2019 18:08:56 +0000 (11:08 -0700)]
[UITest] Disable old 1461 test (#5605)

5 years ago[MacOS] Fix rendering small text (#5443) fixes #2204
Rui Marinho [Tue, 19 Mar 2019 09:48:11 +0000 (09:48 +0000)]
[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

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Tue, 19 Mar 2019 01:25:50 +0000 (18:25 -0700)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Android] fall back to using native get identifier if reflection fails to retrieve...
Shane Neuville [Tue, 19 Mar 2019 01:22:34 +0000 (19:22 -0600)]
[Android] fall back to using native get identifier if reflection fails to retrieve drawable (#5585)

* - first try to use native get identifier before reflection

* add dummy types

* - try reflection first

* - add null check for resource requests

* fix fall through checks

* Update Xamarin.Forms.Platform.Android/ResourceManager.cs

Co-Authored-By: PureWeen <shane94@hotmail.com>
* - remove "smart" code for simpler code

* - fix replace

* - cleanup

* remove using

* - better if placement

* - hide LogInfoToPreviewer

* - hide LogInfoToPreviewer

5 years ago[X] intercepts FindByName exceptions (#5599)
Stephane Delcroix [Mon, 18 Mar 2019 23:43:59 +0000 (00:43 +0100)]
[X] intercepts FindByName exceptions (#5599)

for previewer

- fixes #5572

5 years ago[X] resilient to random text content (#5557)
Stephane Delcroix [Mon, 18 Mar 2019 22:45:15 +0000 (23:45 +0100)]
[X] resilient to random text content (#5557)

- fixes https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/817588

5 years ago[X] Allow empty property xaml-elements (#5550)
Stephane Delcroix [Mon, 18 Mar 2019 21:58:36 +0000 (22:58 +0100)]
[X] Allow empty property xaml-elements (#5550)

- fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/817710?src=WorkItemMention&src-action=artifact_link
- reverts #4582

5 years ago[iOS,Shell] Fix tab bar style color alignment to match Android (#5075)
David Ortinau [Mon, 18 Mar 2019 18:52:49 +0000 (13:52 -0500)]
[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.

5 years agoHandle CollectionView multiple selection on Android and iOS (#5352)
E.Z. Hart [Mon, 18 Mar 2019 14:46:41 +0000 (08:46 -0600)]
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

5 years ago- Move renderer registration to Assembly Info (#5584)
Shane Neuville [Mon, 18 Mar 2019 11:47:23 +0000 (05:47 -0600)]
- Move renderer registration to Assembly Info (#5584)

5 years ago[X] recover from memberaccessEx
Stephane Delcroix [Mon, 18 Mar 2019 10:25:47 +0000 (11:25 +0100)]
[X] recover from memberaccessEx

- fixes #5589

5 years agoremove maps.design (#5583)
Shane Neuville [Mon, 18 Mar 2019 09:27:22 +0000 (03:27 -0600)]
remove maps.design (#5583)

5 years agoMerge branch '3.6.0' into 4.0.0
Stephane Delcroix [Mon, 18 Mar 2019 08:40:11 +0000 (09:40 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years agoremove left over sealed on Material Entry Renderer (#5586)
Shane Neuville [Sat, 16 Mar 2019 01:19:53 +0000 (19:19 -0600)]
remove left over sealed on Material Entry Renderer (#5586)

5 years ago[Android] Fix issue when Message is null on Android API19 (#5562)
Rui Marinho [Sat, 16 Mar 2019 01:13:14 +0000 (01:13 +0000)]
[Android] Fix issue when Message is null on Android API19 (#5562)

* [Android] Fix issue when Message is null on Android API19

* added kitkat check and moved check to extension method

* - remove awaken for kit kat and just catch all NPE

* - remove using

5 years ago[XamlC] Resolve complex property type (#5086)
Akihiko Odaki [Fri, 15 Mar 2019 22:12:57 +0000 (07:12 +0900)]
[XamlC] Resolve complex property type (#5086)

5 years ago[Shell,Core] Add better exception messages for wrong or non existing content (#5566)
Rui Marinho [Fri, 15 Mar 2019 21:45:17 +0000 (21:45 +0000)]
[Shell,Core] Add better exception messages for wrong or non existing content (#5566)

fixes #5081

5 years ago[Android] fix focus event on android and add UI Tests (#5528)
Shane Neuville [Fri, 15 Mar 2019 21:43:04 +0000 (15:43 -0600)]
[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

5 years ago[iOS] Fix crash when going from empty to having items (#5430)
E.Z. Hart [Fri, 15 Mar 2019 11:32:17 +0000 (05:32 -0600)]
[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

5 years ago[X] resilient to unyped x:Name (#5552)
Stephane Delcroix [Fri, 15 Mar 2019 00:42:54 +0000 (01:42 +0100)]
[X] resilient to unyped x:Name (#5552)

Allow the previewer to recover from an x:Name attribute on a element
with unresolved type.

- fixes #5546
- closes #5547

5 years ago[Controls] Only register AppCompact renderer if running in that context
Rui Marinho [Thu, 14 Mar 2019 15:31:44 +0000 (15:31 +0000)]
[Controls] Only register AppCompact renderer if running in that context

5 years ago[XamlC] Correctly load addresses of values in compiled binding paths (#5082)
Akihiko Odaki [Thu, 14 Mar 2019 12:39:29 +0000 (21:39 +0900)]
[XamlC] Correctly load addresses of values in compiled binding paths (#5082)

5 years ago[X] resilience on markup (#5532)
Stephane Delcroix [Thu, 14 Mar 2019 08:21:19 +0000 (09:21 +0100)]
[X] resilience on markup (#5532)

let the previewer intercepts and recover from misformatted markups

- fixes #5508
- closes #5527

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Wed, 13 Mar 2019 22:40:27 +0000 (15:40 -0700)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Housekeeping] Be more polite (#5539)
Samantha Houts [Wed, 13 Mar 2019 21:51:38 +0000 (14:51 -0700)]
[Housekeeping] Be more polite (#5539)

5 years agoFix Map ItemsSource bp name (#5499)
Andrei Nitescu [Wed, 13 Mar 2019 19:24:22 +0000 (21:24 +0200)]
Fix Map ItemsSource bp name (#5499)

5 years ago[Android] ensure scrollbar has been initialized (#5462)
Shane Neuville [Wed, 13 Mar 2019 16:03:32 +0000 (10:03 -0600)]
[Android] ensure scrollbar has been initialized (#5462)

* [Android] ensure scrollbar has been initialized

* fix comments

* Update Xamarin.Forms.ControlGallery.Android/CustomRenderers.cs

5 years agoCorrect Grid Height When Aspect Fit Image Gets Shrinked (#4990)
spruceDevelopment [Wed, 13 Mar 2019 11:39:58 +0000 (12:39 +0100)]
Correct Grid Height When Aspect Fit Image Gets Shrinked  (#4990)

- fixes #4933

* Grid size incorrect when using with Image #4990

* Unit Test for Grid size incorrect when using with Image #4933

* Grid size incorrect when using with Image #4933

* Unit Test for Grid size incorrect when using with Image #4933

5 years ago[UWP] added Win2D.uwp dependency to nuget (#5475)
Pavel Yakovlev [Tue, 12 Mar 2019 23:58:05 +0000 (02:58 +0300)]
[UWP] added Win2D.uwp dependency to nuget (#5475)

fixes #5188

5 years ago[XamlC] Identify generic instance types correctly when importing ctor (#5309)
Akihiko Odaki [Fri, 22 Feb 2019 00:56:42 +0000 (09:56 +0900)]
[XamlC] Identify generic instance types correctly when importing ctor (#5309)

The old implementation fails to identify generic instance types for typed
binding getter, whose type is:
System.Func`2<TSource, ValueTuple<TProperty, bool>>

This fixes the issue by taking generic arguments into account.

5 years agoFix NamedSize in Previewer (#5496)
Tim Barham [Tue, 12 Mar 2019 21:36:12 +0000 (07:36 +1000)]
Fix NamedSize in Previewer (#5496)

In the previewer, ConvertTextAppearanceToSize() returns -0.5 for all values. Return default value if we get a size of 0 or less.

5 years agoFix up Sandbox to work with previewer and add android material reference in (#5513)
Shane Neuville [Mon, 11 Mar 2019 20:45:38 +0000 (14:45 -0600)]
Fix up Sandbox to work with previewer and add android material reference in (#5513)

* fix sandbox to work with previewer

* small page fixes

5 years ago[X] recover from missing markup type (#5485)
Stephane Delcroix [Mon, 11 Mar 2019 13:38:34 +0000 (14:38 +0100)]
[X] recover from missing markup type (#5485)

- fixes #5484

5 years agoMerge branch '3.6.0' into 4.0.0
Stephane Delcroix [Mon, 11 Mar 2019 08:19:20 +0000 (09:19 +0100)]
Merge branch '3.6.0' into 4.0.0

5 years ago[Maps} move design dll to the design folder (#5481)
Samantha Houts [Thu, 7 Mar 2019 22:44:10 +0000 (14:44 -0800)]
[Maps} move design dll to the design folder (#5481)

- fixes #5472

5 years agoContextCompat.getColor if API < 23 (#5450)
kingces95 [Thu, 7 Mar 2019 17:18:57 +0000 (07:18 -1000)]
ContextCompat.getColor if API < 23 (#5450)

Update Xamarin.Forms.Platform.Android/Forms.cs

Does this do all the suggestions?

Co-Authored-By: kingces95 <kingces95@users.noreply.github.com>
ContextCompat.getColor if API < 23

5 years ago[UWP] Roll back PR 3400 so the correct context is passed into Tapped (#5476)
Shane Neuville [Thu, 7 Mar 2019 17:17:43 +0000 (10:17 -0700)]
[UWP] Roll back PR 3400 so the correct context is passed into Tapped (#5476)

* [UWP] pass the correct object to ItemView

* - remove object from source

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Wed, 6 Mar 2019 00:54:26 +0000 (16:54 -0800)]
Merge branch '3.6.0' into 4.0.0

5 years agoUwp restart uitests on crash (#5420)
Shane Neuville [Tue, 5 Mar 2019 18:07:57 +0000 (11:07 -0700)]
Uwp restart uitests on crash (#5420)

* [UWP] if a UI tests crashes the UWP window this will restart the window so all the rest of the tests can run

* simplify

5 years ago[iOS] Check new element before creating placeholder label (#5432)
E.Z. Hart [Tue, 5 Mar 2019 18:06:27 +0000 (11:06 -0700)]
[iOS] Check new element before creating placeholder label (#5432)

* Check new element before creating placeholder label

* additional checks

* create placeholder once

5 years ago[Android] remove android specific target (#5442)
Shane Neuville [Mon, 4 Mar 2019 23:43:22 +0000 (16:43 -0700)]
[Android] remove android specific target (#5442)

* [Android] get rid of specific android targets

* change to AndroidApplication

* remove before/after targets

* MonoAndroid

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Sat, 2 Mar 2019 03:16:42 +0000 (19:16 -0800)]
Merge branch '3.6.0' into 4.0.0

5 years agofix changed apis (#5426)
Shane Neuville [Sat, 2 Mar 2019 03:15:08 +0000 (20:15 -0700)]
fix changed apis (#5426)

* fix changed apis

* increment language version

* bring some back

* update font

* VisualElement fixes

fixes #4644
fixes #5170

5 years agoFix WPFResources, EntryCell (#5361)
Matthijs ter Woord [Fri, 1 Mar 2019 23:49:49 +0000 (00:49 +0100)]
Fix WPFResources, EntryCell (#5361)

Also bind Isenabled
fixes #5360

5 years ago[C, iOS, AND, UWP] TabbedPage SelectedTabColor and UnselectedTabColor (#4899)
Gerald Versluis [Fri, 1 Mar 2019 23:47:31 +0000 (00:47 +0100)]
[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

5 years agoMerge branch '3.6.0' into 4.0.0
Samantha Houts [Fri, 1 Mar 2019 18:07:45 +0000 (10:07 -0800)]
Merge branch '3.6.0' into 4.0.0

5 years agoMerge branch '3.5.0' into 3.6.0
Samantha Houts [Fri, 1 Mar 2019 18:06:34 +0000 (10:06 -0800)]
Merge branch '3.5.0' into 3.6.0

5 years agoReverts "[Xaml] require escaping curly braces (#4723)" and "[X] only require escaping...
Samantha Houts [Fri, 1 Mar 2019 17:59:21 +0000 (09:59 -0800)]
Reverts "[Xaml] require escaping curly braces (#4723)" and "[X] only require escaping if starts with '{' (#5169)" (#5424)

* Revert "[X] only require escaping if starts with '{' (#5169)"

This reverts commit cd73391c3a2d7ff60a95449cac255c1425e81a43.

* Revert "[Xaml] require escaping curly braces (#4723)"

This reverts commit 6753ace40e68f8aa6d45eefa90117f5650984c6f.

* Make sure parsing doesn't fail when there *are* curly braces now

5 years ago[iOS] Fix tapping a ViewCell after close ContextActionMenu (#5425) fixes #4987
Pavel Yakovlev [Fri, 1 Mar 2019 17:22:18 +0000 (20:22 +0300)]
[iOS] Fix tapping a ViewCell after close ContextActionMenu (#5425) fixes #4987

5 years agoMerge branch '3.6.0'
Samantha Houts [Fri, 1 Mar 2019 02:12:27 +0000 (18:12 -0800)]
Merge branch '3.6.0'

5 years agoMerge branch '3.5.0' into 3.6.0
Samantha Houts [Fri, 1 Mar 2019 02:10:53 +0000 (18:10 -0800)]
Merge branch '3.5.0' into 3.6.0

5 years ago[X] bubble markup exception to previewer (#5411)
Stephane Delcroix [Fri, 1 Mar 2019 00:17:13 +0000 (01:17 +0100)]
[X] bubble markup exception to previewer (#5411)

- fixes #5407

5 years agoFix iOS EmptyView crash; properly handle EmptyView swapping (#5353)
E.Z. Hart [Thu, 28 Feb 2019 20:02:49 +0000 (13:02 -0700)]
Fix iOS EmptyView crash; properly handle EmptyView swapping (#5353)

5 years ago[X] allow previewer fallback on rootnode (#5413)
Stephane Delcroix [Thu, 28 Feb 2019 19:41:34 +0000 (20:41 +0100)]
[X] allow previewer fallback on rootnode (#5413)

* [X] allow previewer fallback on rootnode

- fixes #5410

* additional test case

5 years ago[X] allow previewer fallback on rootnode (#5413)
Stephane Delcroix [Thu, 28 Feb 2019 19:41:34 +0000 (20:41 +0100)]
[X] allow previewer fallback on rootnode (#5413)

* [X] allow previewer fallback on rootnode

- fixes #5410

* additional test case

5 years ago[Android] Remove changes to IVisualElementRenderer so it remains backwards compatible...
Shane Neuville [Thu, 28 Feb 2019 18:57:20 +0000 (11:57 -0700)]
[Android] Remove changes to IVisualElementRenderer so it remains backwards compatible (#5398)

* return IVisualElementRenderer to previous state

* set to internal

5 years agopreviewer; PageRenderer trap for missing bg image (#5342)
kingces95 [Thu, 28 Feb 2019 02:32:57 +0000 (16:32 -1000)]
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