platform/core/csapi/xsf.git
5 years ago[tests] fix msbuild tests (#4450)
Stephane Delcroix [Sat, 17 Nov 2018 12:13:23 +0000 (13:13 +0100)]
[tests] fix msbuild tests (#4450)

* [tests] fix msbuild tests

those tests are failing sice the move to SDK-style project for
Xaml.UnitTests

* [Build] Copy xaml.unittests artifacts

* [build] Xaml.UnitTests lives in the debug/net47 foder

5 years ago[C] perf fixes on BindingExpression.TryConvert (#4443)
Stephane Delcroix [Fri, 16 Nov 2018 20:54:57 +0000 (21:54 +0100)]
[C] perf fixes on BindingExpression.TryConvert (#4443)

BindingExpression.TryConvert is a hot path, the string operation should
use the StringComparison. Also (less hot as it's a fallback), we should
avoid throwing for catching the exception a few line later.

5 years ago[Controls]Use propotional values on test 1914 (#4434)
Rui Marinho [Fri, 16 Nov 2018 17:07:12 +0000 (17:07 +0000)]
[Controls]Use propotional values on test 1914 (#4434)

5 years ago[C] ToStringValueConverter shouldn't be public (#4442)
Stephane Delcroix [Fri, 16 Nov 2018 14:40:05 +0000 (15:40 +0100)]
[C] ToStringValueConverter shouldn't be public (#4442)

5 years agoAdd ImageButton Renderer on Tizen (#4436)
Seungkeun Lee [Fri, 16 Nov 2018 11:00:45 +0000 (20:00 +0900)]
Add ImageButton Renderer on Tizen (#4436)

5 years ago[Tizen] Fix ToolbarItem (#4416)
shmin [Thu, 15 Nov 2018 13:00:06 +0000 (22:00 +0900)]
[Tizen] Fix ToolbarItem (#4416)

5 years ago[iOS] fix for SearchBar background color (#4229)
Andrei Nitescu [Tue, 13 Nov 2018 18:00:39 +0000 (20:00 +0200)]
[iOS] fix for SearchBar background color (#4229)

* iOS fix for SearchBar background color

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

* Fix Merge Issues
- fixes #4194

5 years agoGH-4367 Clarify Readme for deps & commandline build (#4368)
James Montemagno [Tue, 13 Nov 2018 15:52:48 +0000 (07:52 -0800)]
GH-4367 Clarify Readme for deps & commandline build (#4368)

* Clarify Readme for deps & commandline build

Ensure everyone knows to install .NET 4.7 dependency and also simplify msbuild into single action!

* Update README.md

Specify Android SDK

5 years agoMerge branch '3.4.0'
Rui Marinho [Tue, 13 Nov 2018 15:10:35 +0000 (15:10 +0000)]
Merge branch '3.4.0'

5 years agoMerge branch '3.3.0' into 3.4.0
Rui Marinho [Tue, 13 Nov 2018 15:09:01 +0000 (15:09 +0000)]
Merge branch '3.3.0' into 3.4.0

5 years ago[Build] Fix jenkins job id and add triggers
Rui Marinho [Tue, 13 Nov 2018 15:07:45 +0000 (15:07 +0000)]
[Build] Fix jenkins job id and add triggers

5 years agoMerge branch '3.4.0'
Rui Marinho [Tue, 13 Nov 2018 12:54:34 +0000 (12:54 +0000)]
Merge branch '3.4.0'

5 years agoMerge branch '3.3.0' into 3.4.0
Rui Marinho [Tue, 13 Nov 2018 12:53:56 +0000 (12:53 +0000)]
Merge branch '3.3.0' into 3.4.0

5 years ago[Enhancement] Add CollectionView progress behind feature flag (#4265)
E.Z. Hart [Tue, 13 Nov 2018 12:49:08 +0000 (05:49 -0700)]
[Enhancement] Add CollectionView progress behind feature flag (#4265)

* The barest beginnings of starting a spike for LV2

* Very basic RecyclerView

* Very, very basic UICollectionView

* Start setting up galleries

* De-duplicate some gallery code

* Android horizontal layout

* Very basic horizontal/vertical text lists for iOS

* Vertical list views working in iOS, stashing while trying to figure out what the deal is
with horizontal views and frames with heights of 1

* Working on rotation issues in iOS

* Fix name of renderer in UWP; make horizontal scrolling work for horizontal
lists on UWP

* Set up gallery to generate different sizes of lists for testing

* Respond to items source updates on UWP

* Add gallery for GridLayout; Add GridLayout;
begin GridLayout implementation UWP

* Basic UWP gridness

* Add demo page for grid layouts with text;
Handle grid layout spans on UWP; handle grid layout span changes on UWP;

* Implement span updates on Android grid layouts;

* Ironed out most of the iOS text cell layout issues

* iOS vertical/horizontal text lists now working reliably;

* In progress on UWP DataTemplate stuff

* Dumping the data template into the itemsource

* Vertical list basically working with DataTemplate; horizontal list having image size issues

* Clean up names and move classes to their own files

* Adding some notes for FormsContentControl

* Rolling back platform test on UWP

* Fix Tizen build

* Fix typo and roll back old test code

* Remove old testing comments

* Make basic data templates work on Android

* Update measure to work horizontally

* Remove old testing code

* Terser rectangles

* Use nameof()

* Rename FormsContentControl to ItemContentControl

* Use CreateRenderer instead of GetOrCreateRenderer

* Clean up TemplateCodeCollectionViewGallery

* Add grid galleries for templates

* Nicer example templates

* Create gallery to test removing items from collections

* Smooth single item removal on Android

* Smooth item insertion on Android

* Observable collection item adds working on UWP

* UWP Remove

* Split files

* Add gallery for snap points; start implementation of snap points on Android;

* Move snap handling to separate class; implement Start snapping (horizontally)

* Debugging vertical overlap issues on Android

* Temporarily add IsClippedToBounds to generators to force clipping on Android

* Start and End SnapHelpers are working horizontally and vertically

* Consolidate some snap code on Android

* Mandatory Single Snapping working for Center/Start horizontally

* Throwing together scrollto gallery

* Super basic "ScrollTo" implementation for Android, plus test page

* Expand ScrollTo test harness;

* Move ScrollToRequestEventArgs to its own file

* Mostly working Carousel renderer; needs some cleanup and its own gallery pages

* Carousel gallery

* Naming cleanup

* Make parameter name consistent

* Finally some basic data template functionality for lists

* Checkpoint; sort of working

* Working out estimate size hacks

* Working out cell optimizations

* Checkpoint before some serious refactoring

* Collapsing closer to a solution; text lists and grids working;
template lists and grids working; uniform size hint mostly implemented;

* Remove awkward Update method

* No longer hard-coding list item heights estimates

* Consolidate more code

* Get rid of event on ItemsViewLayout

* Remove public NeedsEstimate stuff

* Get rid of IConstrainedCell

* Watch for Span changes on iOS

* Indexed ScrollTo on iOS

* Implement removal/insertion of items on iOS

* Handle Move, Reset, Replace on Android

* Add screens to test ScrollTo Item; implement ScrollTo Item for iOS

* ScrollTo Item working on Android, but only works for MakeVisible

* Implement Android ScrollTo Animated ScrollToPosition

* Ugly but functional non-animated scroll with ScrollToPosition

* Move Scroll logic into helper class for clarity and maintenance

* Fix Start snapping with grids (hard-coded span of 1)

* Fix next/previous row/col snapping bug for EndSnapHelper

* Remove some debug statements

* Clean up example code

* Fix missing delegate setting on CollectionView

* Add filtering example

* Watching the adapter and handling empty view from the renderer

* Add debugging for all the FindViewHolder methods

* Suuuuper basic but functional EmptyView

* Allow EmptyView to be turned on and off

* Building tests for all the EmptyView scenarios

* Set Platform on EmptyView (for now)

* Templated EmptyView on Android

* Clean up merge errors

* Require flag to use CollectionView on Android

* Require flag to use CollectionView on UWP

* Restore Label functionality commented out during testing

* Adding a note for myself

* Add flags for iOS; flags for Android CarouselView;

* Remove Calabash out-commenting

* Undo changes to DotSettings; remove outdated TODOs

* Fix formatting

* Remove debugging code; remove outdated todos; remove unnecessary comments

* Undo randon VS changes

* Include CollectionView in experimental renderer testing

* Use correct property in nameof() call

* Rename ScrollToRequestEventArgs Animate -> IsAnimated

* Rename Constrain -> ConstrainTo for consistency

* Add Core flags feature; add flag verification for CollectionView features

* Make sure no one is subclassing native CollectionView stuff without flag

* Set CollectionView flags for unit tests

* Make flags depend on Application.Current

* Fix iOS 9.3 exception when laying out CollectionView

* Use Device.Flags

* Move CV flag check to CollectionView; use Device.Flags on native platforms;

* Move classes into their own files

* Make CollectionView flag check method non-browseable

* Remove old TODO

* Remove Element.Platform sets

* stubbed toolbox entries and snippets for Carousel and Collection

* updated CV snippet to include layout

* Remove Linq using statement

* Remove unused using statement

* Turn off CollectionView in Control Gallery

* Move PropertyChangedEventArgsExtensions to internal on each platform

* Clean up debugging code

* Fix broken test setup

* Remove ToString overrides

* Fix broken test screen
Fix broken test screen

* Fix rebase errors

* Update submodule

* Fix rebase error

5 years ago[UITests] Try fix iOS failing tests (#4264)
Rui Marinho [Tue, 13 Nov 2018 12:46:56 +0000 (12:46 +0000)]
[UITests] Try fix iOS failing tests (#4264)

* [UITests] Try fix iOS failing tests

* [UITests] Try fix 1931 test

* [UITests] WaitForElement on test for 1469

5 years ago[Build] Add azure pipeline definition (#4385)
Rui Marinho [Tue, 13 Nov 2018 12:43:14 +0000 (12:43 +0000)]
[Build] Add azure pipeline definition (#4385)

* [Build] Add azure pipeline build definition

* [Scripts] Add docs and provisioning scripts

5 years ago[Core] Delete left over file (#4383)
Shane Neuville [Tue, 13 Nov 2018 01:18:51 +0000 (18:18 -0700)]
[Core] Delete left over file (#4383)

5 years ago[MacOs] Implemented InsertPageBefore (#4242)
Andrei [Tue, 13 Nov 2018 01:06:04 +0000 (04:06 +0300)]
[MacOs] Implemented InsertPageBefore (#4242)

* implemented InsertPage for MacOs

* Removed TODO

* fixed insert before method for mac
- fixes #4030

5 years ago[iOS] ControlsGallery, shake gesture to navigate to the root page (#4263)
Andrei [Mon, 12 Nov 2018 23:48:38 +0000 (02:48 +0300)]
[iOS] ControlsGallery, shake gesture to navigate to the root page (#4263)

* #3724 new approach for navigating to the root page

* Changed the way of registering Application and ApplicationDelegate

* removed "5 taps to navigate to the root screen" code
- fixes #3724

5 years agoUpdate README.md (#4290)
Daniel Chalmers [Mon, 12 Nov 2018 20:07:16 +0000 (14:07 -0600)]
Update README.md (#4290)

* Update README.md

* Fix UWPMapsAuthKey link

* VSTS -> Azure DevOps

Co-Authored-By: danielchalmers <daniel.chalmers@outlook.com>
5 years agoMerge branch '3.4.0'
Rui Marinho [Mon, 12 Nov 2018 12:53:42 +0000 (12:53 +0000)]
Merge branch '3.4.0'

5 years agoBring ImageButton API additions in line with current code (#4328)
Shane Neuville [Sat, 10 Nov 2018 19:25:01 +0000 (12:25 -0700)]
Bring ImageButton API additions in line with current code (#4328)

* Bring ImageButton API additions in line with current code

* [Core] putting things in better places

* [Core] first round of changes

* fix issue with checking if bindable properties are set

5 years ago[Android] Fix TabbedPage appearing when inside other PageContainer (#4309) fixes...
Rui Marinho [Fri, 9 Nov 2018 23:17:39 +0000 (23:17 +0000)]
[Android] Fix TabbedPage appearing when inside other PageContainer  (#4309) fixes #4303

* [Controls] Add repo for issue #4303

* [Android] Don't fire Appearing if we are inside a PageContainer

5 years agoAdd fake Platform property to Page to keep Previewer happy (#4355) fixes #4351
E.Z. Hart [Fri, 9 Nov 2018 22:18:01 +0000 (15:18 -0700)]
Add fake Platform property to Page to keep Previewer happy (#4355) fixes #4351

* Add fake Platform property to Page to keep Previewer happy: fixes #4351

* Make the fake Platform property internal

* Add unit tests to verify Previewer-required stuff in Core has not be changed

* Adding Obsolete to Page.Platform

5 years agoremove implicitly included files from csproj (#4364)
Shane Neuville [Fri, 9 Nov 2018 19:31:31 +0000 (12:31 -0700)]
remove implicitly included files from csproj (#4364)

5 years agoMerge branch '3.4.0'
Stephane Delcroix [Fri, 9 Nov 2018 11:53:09 +0000 (12:53 +0100)]
Merge branch '3.4.0'

5 years agoResilient xaml (#4096)
Stephane Delcroix [Fri, 9 Nov 2018 09:03:17 +0000 (10:03 +0100)]
Resilient xaml (#4096)

* [Xaml] un-obsolete XamlLoader.Create

now that we plan to load Xaml files without compiling the ctor, keeping
XamlLoader.Create makes sense.

* [Xaml] add FallbackTypeResolver

* Additional tests

* More tests

* Further tests

* [Xaml] provide an mock App

* [C] allow re-registering implicit styles

* Some tweaks and reinstated test with missing resource key

* Add StyleAppliedToDerivedTypesAppliesToDerivedUnknownType test

* Renamed some stuff for consistency. Added some CSS tests.

* Remove use of ValueTuple

* Temporarily disable failing tests

* redirect valueprovider exceptions to the handler, allow the handler to intercept excpetion with Create()

* fix the CSS situation

* new callback, works for CSS

5 years agoMitigate race conditions for UI test 1469
E.Z. Hart [Fri, 9 Nov 2018 00:18:07 +0000 (17:18 -0700)]
Mitigate race conditions for UI test 1469

5 years ago[XamlC] resolve props on generics for bindings (#4352)
Stephane Delcroix [Thu, 8 Nov 2018 19:52:52 +0000 (20:52 +0100)]
[XamlC] resolve props on generics for bindings (#4352)

Somehow, we weren't doing that up to now...

- fixes #4348

5 years ago[Core] Unseal Span (#4331) fixes #4083
Gerald Versluis [Thu, 8 Nov 2018 18:24:25 +0000 (19:24 +0100)]
[Core] Unseal Span (#4331) fixes #4083

5 years agofix dependon for Controls.csproj (#4350)
Stephane Delcroix [Thu, 8 Nov 2018 13:14:01 +0000 (14:14 +0100)]
fix dependon for Controls.csproj (#4350)

properly populate DependOn xaml and code behind

5 years agoPort Xaml.Unitests proj to SDK-Style (#4349)
Stephane Delcroix [Thu, 8 Nov 2018 12:32:43 +0000 (13:32 +0100)]
Port Xaml.Unitests proj to SDK-Style (#4349)

This should avoid most of the merge conflicts in the future

5 years agofixes the link to contribution file in the readme (#4345)
Pavel Yakovlev [Thu, 8 Nov 2018 11:00:26 +0000 (14:00 +0300)]
fixes the link to contribution file in the readme (#4345)

5 years ago[XamlC] accept internal for x:Static (#4334)
Stephane Delcroix [Thu, 8 Nov 2018 10:17:11 +0000 (11:17 +0100)]
[XamlC] accept internal for x:Static (#4334)

- fixes #4326

5 years ago[XamlC] resolve properties in base interfaces (#4332) fixes #4227
Stephane Delcroix [Thu, 8 Nov 2018 03:20:34 +0000 (04:20 +0100)]
[XamlC] resolve properties in base interfaces (#4332) fixes #4227

- fixes #4227

5 years ago[Xaml] Support correctly custom resource providers (#4236)
Andoni Morales Alastruey [Wed, 7 Nov 2018 14:07:18 +0000 (15:07 +0100)]
[Xaml] Support correctly custom resource providers (#4236)

5 years agoMake ToolbarItem constructor match properties (#4333)
Edward Brey [Wed, 7 Nov 2018 13:12:24 +0000 (07:12 -0600)]
Make ToolbarItem constructor match properties (#4333)

This changes the `ToolbarItem` constructor's `name` parameter to `text`, to match the non-obsolete `Text` that gets the value. Without the change, it's confusing when tracing data flow related to `Text`, since it doesn't appear at first that it's being set.

5 years agotest 4215 for compiledBindings
Stephane Delcroix [Wed, 7 Nov 2018 10:21:19 +0000 (11:21 +0100)]
test 4215 for compiledBindings

5 years agofix test for 4215
Stephane Delcroix [Wed, 7 Nov 2018 10:17:50 +0000 (11:17 +0100)]
fix test for 4215

5 years agoCorrect names of files under Xamarin.Forms.Controls.Issues.Shared (#4320)
Akihiko Odaki [Wed, 7 Nov 2018 07:55:20 +0000 (16:55 +0900)]
Correct names of files under Xamarin.Forms.Controls.Issues.Shared (#4320)

5 years ago[iOS] Label HorizontalTextAlignment="Center" not working in conjunction with LineHeig...
masonyc [Tue, 6 Nov 2018 22:34:28 +0000 (11:34 +1300)]
[iOS] Label HorizontalTextAlignment="Center" not working in conjunction with LineHeight on iOS (#4275)

* fix issue#4262
Label HorizontalTextAlignment="Center" not working in conjunction with LineHeight on iOS

* Add missing parameter for macOS due to the previous method param change

* merge

* Added using UITextAlignment = AppKit.NSTextAlignment; as maintainability requested

* Revert "merge"

This reverts commit 939b6e1bc8ebd538af0db91dd8656e7eb2d31203.

* Revert "merge"

This reverts commit 939b6e1bc8ebd538af0db91dd8656e7eb2d31203.

* make test case more clear

5 years ago[macOS] ContextActions on ListView not working (TextCell for example) (#4243)
Andrei [Tue, 6 Nov 2018 22:01:20 +0000 (01:01 +0300)]
[macOS] ContextActions on ListView not working (TextCell for example) (#4243)

* fixed context menu

* fixed ctor protection level

5 years agoChanged the namespace for all the Issues in the control gallery to *Xamarin.Forms...
Ione Souza Junior [Tue, 6 Nov 2018 22:00:08 +0000 (20:00 -0200)]
Changed the namespace for all the Issues in the control gallery to *Xamarin.Forms.Controls.Issues* (#4234)

* Changed the namespace for all the issues to Xamarin.Forms.Controls.Issues

* Moved some classes to Control directory with namespace Xamarin.Forms.Controls to fix conflicts after namespaces changes

* Fixed missed namespace for ButtonExtension

* Fixed namespace reference of Bugzilla42602 in WindowsUniversal/CustomRenderers.cs

5 years ago[XamlC] Explicitly cast values for ldc.i4 (#4301)
Akihiko Odaki [Tue, 6 Nov 2018 19:09:28 +0000 (04:09 +0900)]
[XamlC] Explicitly cast values for ldc.i4 (#4301)

5 years ago[iOS] Fix for issue 4295 text decorations gone wild after text update (#4322)
Gerald Versluis [Tue, 6 Nov 2018 19:06:52 +0000 (20:06 +0100)]
[iOS] Fix for issue 4295 text decorations gone wild after text update (#4322)

fixes #4295

5 years agoMerge branch '3.4.0'
Rui Marinho [Tue, 6 Nov 2018 18:19:49 +0000 (18:19 +0000)]
Merge branch '3.4.0'

5 years agoMerge branch '3.3.0' into 3.4.0
Rui Marinho [Tue, 6 Nov 2018 18:18:46 +0000 (18:18 +0000)]
Merge branch '3.3.0' into 3.4.0

5 years agoMerge branch '3.4.0'
ShaneN [Tue, 6 Nov 2018 17:44:33 +0000 (10:44 -0700)]
Merge branch '3.4.0'

5 years ago[Android] Convert android projects to package reference (#4310)
Shane Neuville [Tue, 6 Nov 2018 16:09:31 +0000 (09:09 -0700)]
[Android] Convert android projects to package reference (#4310)

* [Android] Package Reference

* [Android] forwarders

* add package id to fix nuget restore confusion

* adding packageid to the more relevant projects

5 years ago[Build] Update to XCode 10.1
Rui Marinho [Tue, 6 Nov 2018 14:23:30 +0000 (14:23 +0000)]
[Build] Update to XCode 10.1

5 years ago[GTK] Fix synchronization context fairness (#4237)
Andoni Morales Alastruey [Tue, 6 Nov 2018 11:12:58 +0000 (12:12 +0100)]
[GTK] Fix synchronization context fairness (#4237)

GLib.Idle.Add enqueues functions in the main loop
with the lowest priority, so while the UI is updating
tasks will be queued in the main loop.
Using Gtk.Application.Invoke they are interleaved with UI
updates and handled with more fairness.

5 years agoMove github files to .github dir (#4288)
Kevin Behrens [Tue, 6 Nov 2018 11:10:34 +0000 (05:10 -0600)]
Move github files to .github dir (#4288)

This change is completely non-functional, the files moved will function identically in the .github dir, but don't cruft up the root dir.

5 years agoAdded UI test to B44338 (#4307) fixes #2379
Ione Souza Junior [Tue, 6 Nov 2018 11:10:07 +0000 (09:10 -0200)]
Added UI test to B44338 (#4307) fixes #2379

5 years agofix merge issues
ShaneN [Tue, 6 Nov 2018 02:08:08 +0000 (19:08 -0700)]
fix merge issues

5 years agomerge 3.4.0 into master
ShaneN [Tue, 6 Nov 2018 01:43:06 +0000 (18:43 -0700)]
merge 3.4.0 into master

5 years ago[iOS] make button constructor public (#4313)
Shane Neuville [Mon, 5 Nov 2018 22:26:48 +0000 (15:26 -0700)]
[iOS] make button constructor public (#4313)

5 years agoxamarin/Xamarin.Forms/issues/2315 (#4190) fixes #2315
Andrei [Mon, 5 Nov 2018 17:19:16 +0000 (20:19 +0300)]
xamarin/Xamarin.Forms/issues/2315 (#4190) fixes #2315

5 years ago[C] Add Default value to OnIdiom (#4225)
Stephane Delcroix [Mon, 5 Nov 2018 13:13:37 +0000 (14:13 +0100)]
[C] Add Default value to OnIdiom (#4225)

* [C] Add Default value to OnIdiom

- fixes #4006
- closes #4025

* add test

5 years agoImageButton (#1974)
Shane Neuville [Sat, 3 Nov 2018 22:45:28 +0000 (16:45 -0600)]
ImageButton (#1974)

* ImageButton Implementation

* [Android] rename BorderBackgroundManager

* [Android] copy AspectFill changes to ImageButton

* [UITests] fix order of gallery pages to work with tests

* [Android] Account for changing image region with border/shadows

* [Android] check for api 18 and add setpadding call back in

* [Android] throw exception instead of crash when image fails to load

* Addressing issue comments and adding additional test cases to Issue demo

- fixes #1724

5 years ago[UITests] fix dismiss page crash (#4251)
Shane Neuville [Thu, 1 Nov 2018 16:38:16 +0000 (10:38 -0600)]
[UITests] fix dismiss page crash (#4251)

5 years agoRemoved custom entitlements entry for iOS simulator builds (#4257)
Andrei [Thu, 1 Nov 2018 16:08:03 +0000 (19:08 +0300)]
Removed custom entitlements entry for iOS simulator builds (#4257)

5 years agoListView should convert item to string when ItemTemplate is not specified (#4016)
Rasto [Thu, 1 Nov 2018 16:04:47 +0000 (00:04 +0800)]
ListView should convert item to string when ItemTemplate is not specified (#4016)

* Convert item to string, when ListView has no ItemTemplate

* ToStringValueConverter tests

* Format value using parameter in ToStringValueConverter
- fixes #3715

5 years agoAdd Editor.IsTextPredictionEnabled property (#4023)
Noam Yogev [Thu, 1 Nov 2018 16:03:23 +0000 (18:03 +0200)]
Add Editor.IsTextPredictionEnabled property (#4023)

* Add Editor.IsTextPredictionEnabled property

* simplfy UpdateInputType logic

* modify IsTextPredictionEnabledProperty BindingMode to Default

* undo changes of commit 5db2456d

* [UITests] update namespace for UI Tests

- Fixes #3555

5 years ago[UnitTest] Remove UnitPlatform
Rui Marinho [Thu, 1 Nov 2018 12:18:01 +0000 (12:18 +0000)]
[UnitTest] Remove UnitPlatform

5 years agoMove GetNativeSize to PlatformServices, remove IPlatform (#4235)
E.Z. Hart [Wed, 31 Oct 2018 21:12:22 +0000 (15:12 -0600)]
Move GetNativeSize to PlatformServices, remove IPlatform (#4235)

5 years ago[iOS] Change CALayer.Transform in MainThread (#4160)
Andrei [Wed, 31 Oct 2018 00:13:28 +0000 (03:13 +0300)]
[iOS] Change CALayer.Transform in MainThread (#4160)

* fixes #1480

* Added test case

* Update Xamarin.Forms.Platform.iOS/VisualElementTracker.cs

Co-Authored-By: AndreiMisiukevich <andrei.misiukevich@gmail.com>
* updated test case

5 years ago[iOS] Fix issue where entry would emit a change notification without a user triggered...
Jason Smith [Tue, 30 Oct 2018 22:07:00 +0000 (15:07 -0700)]
[iOS] Fix issue where entry would emit a change notification without a user triggered change (#3433)

* [iOS] Fix issue where entry would emit a change notification without a user triggered change

* Add repro

5 years ago[UWP] Fix ActivityIndicator width in absolutelayout (#3224)
Pavel Yakovlev [Tue, 30 Oct 2018 21:52:51 +0000 (00:52 +0300)]
[UWP] Fix ActivityIndicator width in absolutelayout (#3224)

* [Core] Fix autosize elements in absolute layout

* revert the Hasflag extension

* - refactoring to the local UWP fix for Activity Indicator
- fixes #1399

5 years ago[GTK] Fix several memory leaks in the GTK backend (#4112)
Andoni Morales Alastruey [Tue, 30 Oct 2018 17:06:47 +0000 (18:06 +0100)]
[GTK] Fix several memory leaks in the GTK backend (#4112)

* [GTK] Don't recreate master or detail if it didn't change

* [GTK] Fix several memory leaks using the Destroy pattern

Gtk objects must be disposed using the Destroy function that will
automatically iterate over the children and destroy them too:
https://developer.gnome.org/gtk2/stable/GtkWidget.html#gtk-widget-destroy

The gtk-sharp bindings discourage the use of Dispose and don't even call
the base class, leaving it without effect:
https://github.com/mono/gtk-sharp/blob/gtk-sharp-2-12-branch/gtk/Object.custom#L98

In the Controls, that inherits directly from native Gtk objects, the
overrides of the Dispose function are changed to override the Destroy
function.  In the Renderers, that inherit from VisualElementRenderer,
the Destroy funtion is called in the dispose implementation so
subclasses only have to override Dispose (bool disposing) as they do
now.

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

* [GTK] Fix leak connecting to the PropertyChanged event twice

5 years ago[MacOs] Image from file not getting searched in the bundle fixes #2322 (#4247)
Andrei [Tue, 30 Oct 2018 15:37:49 +0000 (18:37 +0300)]
[MacOs] Image from file not getting searched in the bundle  fixes #2322 (#4247)

5 years agonotify me of changes to XamlC
Stephane Delcroix [Mon, 29 Oct 2018 09:06:36 +0000 (10:06 +0100)]
notify me of changes to XamlC

5 years agomerge 3.4.0 into master
ShaneN [Mon, 29 Oct 2018 02:38:26 +0000 (20:38 -0600)]
merge 3.4.0 into master

5 years agoMerge branch '3.3.0' into 3.4.0
ShaneN [Mon, 29 Oct 2018 02:01:52 +0000 (20:01 -0600)]
Merge branch '3.3.0' into 3.4.0

5 years agoEnforce clipping on fast renderer ImageRenderer when using AspectFill; fixes #4133...
E.Z. Hart [Sat, 27 Oct 2018 03:08:38 +0000 (21:08 -0600)]
Enforce clipping on fast renderer ImageRenderer when using AspectFill; fixes #4133 (#4218)

- fixes #4133

5 years ago[Mac] Fixes crash after changing main page (#4228)
Pavel Yakovlev [Sat, 27 Oct 2018 03:06:51 +0000 (06:06 +0300)]
[Mac] Fixes crash after changing main page (#4228)

- fixes #4156

5 years agoRemove unnecessary ToArray to reduce number of BindableObject[] allocations (#4101)
E.Z. Hart [Sat, 27 Oct 2018 02:58:16 +0000 (20:58 -0600)]
Remove unnecessary ToArray to reduce number of BindableObject[] allocations (#4101)

5 years ago[GTK] Do not show a label in gtk slider renderer (#4098)
Axel Gorris [Fri, 26 Oct 2018 15:42:49 +0000 (17:42 +0200)]
[GTK] Do not show a label in gtk slider renderer (#4098)

5 years agoBindable layouts (#4052)
Andrei Nitescu [Fri, 26 Oct 2018 09:00:34 +0000 (12:00 +0300)]
Bindable layouts (#4052)

- fixes #1718

5 years ago[Core] Fix layout padding update issue (#4166)
Seungkeun Lee [Fri, 26 Oct 2018 06:59:14 +0000 (15:59 +0900)]
[Core] Fix layout padding update issue (#4166)

- Update PaddingPropertyChanged handler
 - Add UnitTest for Padding
 - Update ControlGallery

- fixes #4165

5 years ago[Enhancement] Possibility to change IsPassword for MacOS (#4175) fixes #2223
Andrei [Thu, 25 Oct 2018 21:23:11 +0000 (00:23 +0300)]
[Enhancement] Possibility to change IsPassword for MacOS (#4175) fixes #2223

* https://github.com/xamarin/Xamarin.Forms/issues/2223 added possibility to change IsPassword for mac

* added test case

5 years agoMerge branch '3.3.0' into 3.4.0
Stephane Delcroix [Thu, 25 Oct 2018 18:55:53 +0000 (20:55 +0200)]
Merge branch '3.3.0' into 3.4.0

5 years agohttps://github.com/xamarin/Xamarin.Forms/issues/4076 fix (#4161)
Andrei [Tue, 23 Oct 2018 16:13:47 +0000 (19:13 +0300)]
https://github.com/xamarin/Xamarin.Forms/issues/4076 fix (#4161)

5 years ago[C] avoid AmbiguousMatchexception in Bindings (#4216) fixes #4215
Stephane Delcroix [Thu, 25 Oct 2018 17:59:19 +0000 (19:59 +0200)]
[C] avoid AmbiguousMatchexception in Bindings (#4216) fixes #4215

if a type defines multiple op_implicit from the same type to different
ones, trying to retrieve it with GetMethod() throws an
AmbiguousMatchException. If this happens, we have to do the resolution
ourself.

- fixes #4215

5 years agoAdding instructions and UI tests for Bugzilla44461 (#4144)
mikescandy [Thu, 25 Oct 2018 16:45:44 +0000 (17:45 +0100)]
Adding instructions and UI tests for Bugzilla44461 (#4144)

* Adding instructions and UI tests for Bugzilla44461

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

Co-Authored-By: mikescandy <michele.scandura@outlook.com>
* Fix assert

5 years ago[Core, iOS, MacOS, Android, UWP, WPF] ListView hide scroll view scroll bars (#3897...
Gerald Versluis [Thu, 25 Oct 2018 08:32:22 +0000 (01:32 -0700)]
[Core, iOS, MacOS, Android, UWP, WPF] ListView hide scroll view scroll bars (#3897) fixes #3843

* Update from origin (#8)

* [C] VisibilityConverter Trims input (#3581)

For CSS purposes, the VisibilityConverter was added, and actually
replaced the `Boolean.Parse(str)` call for parsing Visibility.
`Boolean.Parse()` trims input, and the converter was not, so this was a
regression.
This changes Trim() the input, to be fully backward compatible.

- fixes #3554

* Ensure ConstructorCountId and TimeId elements are available before querying them (#3588)

* For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)

This would allow previewer/designer/reloader to determine the source of a
stylesheet and refresh its content when appropriate.

* Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)"

This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c.

* Fix NRE; Ret 0 if Text null (#3594) fixes #3579

* [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704

* [Core] Ignore Shamehat target when running DesignTimeBuild (#3605)

* [XamlC] Fix binding compilation fo value types (#3551)

properly load valuetype arguments of generated setters, using ldarg,
instead of ldarga.

- fixes #3539

* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* [Android] Fix Label LineHeight (#3452)

* fix line height android

* Make UAP respect initial LineHeight

* update .create-nuget.bat (#3638)

* Add Null Check to GetRenderer (#3575)

- fix #3563

* Fix 3562 Null Reference Exception (#3576)

- fixes #3562

* Fix 3564 Null Reference Exception (#3578)

- fixes #3564

* [iOS] AutomationProperty support for cells (#3313) fixes #3296

* [iOS] AutomationProperty support for cells

* Add test case to AutomationProperties gallery

* [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514)

* [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641)

* [C] Set binding context on Span Gestures (#3639)

* [Core] Set binding context on Span Gestures
* [Core] Simplify loop setting child binding context

- fixes #3524

* Update PULL_REQUEST_TEMPLATE.md

* [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672)

* [iOS] iPad ActionSheet should always have a Cancel method (#3636)

* Add repro for #3049

* [iOS] iPad ActionSheet should always have a Cancel method

fixes #3049

* [Android] fixes #3675 - set  initial ScrollView Scroll values when RTL (#3676)

* [Android] API check for Shadow properties on Button (#3617) fixes #2702

* [Android] API check for Shadow properties on Button

* Fix swapped shadow values

* [iOS] fixes #3525 - add epsilon for float compare (#3654)

* [iOS] fixes #3525 - add epsilon for float compare and make region immutable

* [ControlGallery] spread out spans to account for click slop

* [ControlGallery] - adjust span slightly for android test

* [Core] remove private

* Fix text wrapping (#3671) fixes #3634

* [GTK] Fix navigation bar visibility updates (#3651)

* Fix partially  #3585 (#3592)

* Make webkit-sharp.dll.config cross-platform

* Update webkit-sharp.dll with missing signals bindings

see: https://github.com/ylatuya/webkit-sharp/tree/fluendo

* [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643)

* [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases

* [Core] remove ChildGestureRecognizers when spans get removed

* [iOS] removed incorrect return from null

* Fixes #3663 (#3684)

* Fix ScrollView Padding issue (#3685)

* [WPF] Memory leak when you pop a TabbedPage (#3372) fixes #3267

* Fix [WPF] Memory leak when you pop a TabbedPage

* Update ViewRenderer.cs

* Update ViewRenderer.cs

* [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633

* Add repro for #3343 + unit tests

* [Core] Disallow negative values for CursorPosition/SelectionLength

* [All] CursorPosition/SelectionLength can bindin ctor & clear value

fixes #3343

* typo

* cleanup

* [iOS] Cursor snaps to end

* try/catch

* [CSS] add more properties (#3466)

map new CSS properties:
- `color` on `IColorElement` (`ActivityIndicator`, `BoxView`),
  `ProgressBar` and `Switch`
- `row-gap` and `column-gap` on `Grid`
- `transform` and `transform-origin` on `VisualElement`
- `vertical-align` on `Label`

add new XF-specific CSS properties
- `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`,
  `SearchBar`
- `-xf-max-length` on `InputView` (`Editor` and `Entry`)
- `-xf-bar-background-color` and `-xf-bar-text-color` on
  `NavigationPage` and `TabbedPage`
- `-xf-orientation` on `ScrollView` and `StackLayout`
- `-xf-horizontal-scroll-bar-visibility` and
  `-xf-vertical-scroll-bar-visibility` on `ScrollView`
- `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color`
  on `Slider`
- `-xf-spacing` on `StackLayout`

This PR replaces and closes #3276

- fixes #2891

* [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139

* [Controls] Add reproduction and test case for issue #3413

* [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3

* [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width

* [Controls] Fix spelling and add Manual Review to the test of #3413

* [iOS] Simplify code for UISearchBar width

* [iOS] Return always some width from measure the UISearchBar on IOS

* [Controls] Add reproduction case for issue #2139

* [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616

* [Android] Support multiple clipping settings in single layout (#3559)

* Repro

* Fix for API 18+

*  [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518)

* [Controls] Add repo of issue #3408

* [iOS] Unsubscribe CellPropertyChanged when cell is disposed

* [Controls] Add issue to project

* [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers

* [Controls] Simplify Issue

* [iOS] Remove PropertyChanged that was not used

* [Controls] add check for null binding on template, add notes about issues

* [Controls] added reference to Android crash

* [iOS]Use existing PropertyChanged on ViewCelRenderer

* [iOS] Keep the existing override so we don't break users

* Update TextCellRenderer.cs

* update submodule

* 24H Mode (#3701)

The 24h mode for the pickerdialog was not working.

Version 3.1 was working fine.

Here is an updated file.

* [UWP] uncomment tests that are now passing for 3188 (#3723)

* [UITest] Update Xamarin.UITest nuget package (#3632)

* [UITests] Update Xamarin.UITest 2.2.5

* [UITests] Try fix Toolbaritems

* [UITest] Update to 2.2.5-1606

* [UITests] Small Fixes and workarounds to make uitest happy

* [UITests ] Add delay to 1733 for API28

* [Android] Revert bad merge (#3746)

fixes #3705

* [Android, iOS] Fixes layout compression causes (#3698) fixes #3624

* [Android, iOS] Fixes layout compression causes

* [iOS] improve UpdateNewElement method

* Fix build error hopefully

* [UWP] Fixes CollectionChanged events in ListView (#3323)

* fixes #3273

* [UWP] Fixes CollectionChanged events in ListView

* a wrapped collection is used only if the SourceItem is not ObservableCollection

* improve uitest

* fixed NRE in empty ListView

* added a sortable custom renderer for UItest

* minor refactoring

* fixed reset of not wrapped collections

* addressing comments

* [UWP] remove WinRT hack

* [UWP] add missing using and cleanup additional resources

* [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629

* [Build] Update provisioning

* [Controls] Ignore deprecated  Android API usage

* [Android] Remove use of obsolete color usage

* [Android] Remove app fragment usage

* [android] Rollback changes to EntryCellRenderer

* [Android] Better way to get the default color for the label text

* [Android] Obsolete message for ContentPage.CreateFragment()

* [ControlGallery] - create bitmap from Drawable to use for pixel location

* [Android] Use textcolor resource

* Update submodule

* Fix tests (#3771)

* [ControlGallery] Wait for element and add timing to tests

* [iOS] Fix NRE on RenderPool

* Add TabStop/TabIndex (#2795)

* [Core, UWP, Android] support TabStop/TabIndex

* removing linq

* add iOS / MacOS implementation

* add WPF implementation
fixes UWP implementation

* - addressing comments
- improve test
- optimizations
- added previous tab direction in same tab group

* addressing comments

* [Android] support tabstop for pickers

* - moving shared code to a static class
- removed reflection

* ITabStop -> changed to internal, renamed, added in to fastRenderers

* Update ITabStop to be public

* Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756

* [iOS] Fix NRE on ContextCell (#3714) fixes #3275

* [Controls] Add repo for issue #3275

* [iOS] Fix NRE when no gestures exist on table

* [iOS] Null check outside loop

* [iOS]Make sure to dispose/unhook when we are removed from UITableView.

* Update submodule

* [iOS] Don't double dispose ContextActionCell

* WPF - Fix Width and Height measurement when GetDesiredSize (#3750)

* WPF - Reset Width and Height when GetDesiredSize

* Some formatting changes

* Add APP directive

* [WPF]Fix build

* [Android Maps] Make markers available to subclasses (#3751)

* Make markers available to subclasses

* Fix build

* Use Find instead of FirstOrDefault

* [UITests] wait for element before querying for it (#3791)

* [UITests] wait for element before querying for it

* [Controls] generalize and better represent intended behavior

* WPF - Fix Local store not persistant when restarting App (#3752)

-fixes #3541
* WPF - Fix Local store not persistant when restarting App
* Add UITest
* [Controls] Add automated UI Test

* [UITests] Isolate test 3408

* [UITest] Update Xamarin UITest packages

* [UWP] implement Replace without reloading ListView (#3792)

-fixes #3788
* [UWP] implement Replace without reloading ListView
* [UWP] extract bindingcontext of new item for replace

* [iOS] Use UIApperance default color for UISwitch (#3819)

* [Controls] Set default color of UISwitch to Red

* [iOS] Use default color from Apperance API

* [UITests] replace awaits with more reliable WaitForElement (#3835)

* [Core] Propagate BindingContext changes to TitleView (#3823)

* [Core] Propagate BindingContext changes to TitleView

* [Tests] Move UI test to Core Unit Test

* [A] do not draw gradient for empty CornerRadius (#3786)

Drawing CornerRadius (introduce by #1998) when the CornerRadii are
actually 0 causes scaling artifacts on API < 25.

This fixes the regression when no CornerRadius is set. Expect blurry
border scaling with CornerRadius not empty and API < 25

- fixes #3781

* [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780)

* Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted

* Changed _webViewClient and GetWebViewClient() method to return base class

* Changed public things to protected internal

* Fix spaces to tabs indentation to match the coding style (#3745)

* [Build] Fix merge

* Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097

* Implemented for iOS, Android and MacOS

* Implemented UAP and WPF

* Refactored duplicate code and removed typo in method name

* Update from origin (#9)

* [C] VisibilityConverter Trims input (#3581)

For CSS purposes, the VisibilityConverter was added, and actually
replaced the `Boolean.Parse(str)` call for parsing Visibility.
`Boolean.Parse()` trims input, and the converter was not, so this was a
regression.
This changes Trim() the input, to be fully backward compatible.

- fixes #3554

* Ensure ConstructorCountId and TimeId elements are available before querying them (#3588)

* For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)

This would allow previewer/designer/reloader to determine the source of a
stylesheet and refresh its content when appropriate.

* Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)"

This reverts commit f66a72de5b475a6a8387a80e418997b38dc40d4c.

* Fix NRE; Ret 0 if Text null (#3594) fixes #3579

* [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704

* [Core] Ignore Shamehat target when running DesignTimeBuild (#3605)

* [XamlC] Fix binding compilation fo value types (#3551)

properly load valuetype arguments of generated setters, using ldarg,
instead of ldarga.

- fixes #3539

* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* [Android] Fix Label LineHeight (#3452)

* fix line height android

* Make UAP respect initial LineHeight

* update .create-nuget.bat (#3638)

* Add Null Check to GetRenderer (#3575)

- fix #3563

* Fix 3562 Null Reference Exception (#3576)

- fixes #3562

* Fix 3564 Null Reference Exception (#3578)

- fixes #3564

* [iOS] AutomationProperty support for cells (#3313) fixes #3296

* [iOS] AutomationProperty support for cells

* Add test case to AutomationProperties gallery

* [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514)

* [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641)

* [C] Set binding context on Span Gestures (#3639)

* [Core] Set binding context on Span Gestures
* [Core] Simplify loop setting child binding context

- fixes #3524

* Update PULL_REQUEST_TEMPLATE.md

* [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672)

* [iOS] iPad ActionSheet should always have a Cancel method (#3636)

* Add repro for #3049

* [iOS] iPad ActionSheet should always have a Cancel method

fixes #3049

* [Android] fixes #3675 - set  initial ScrollView Scroll values when RTL (#3676)

* [Android] API check for Shadow properties on Button (#3617) fixes #2702

* [Android] API check for Shadow properties on Button

* Fix swapped shadow values

* [iOS] fixes #3525 - add epsilon for float compare (#3654)

* [iOS] fixes #3525 - add epsilon for float compare and make region immutable

* [ControlGallery] spread out spans to account for click slop

* [ControlGallery] - adjust span slightly for android test

* [Core] remove private

* Fix text wrapping (#3671) fixes #3634

* [GTK] Fix navigation bar visibility updates (#3651)

* Fix partially  #3585 (#3592)

* Make webkit-sharp.dll.config cross-platform

* Update webkit-sharp.dll with missing signals bindings

see: https://github.com/ylatuya/webkit-sharp/tree/fluendo

* [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643)

* [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases

* [Core] remove ChildGestureRecognizers when spans get removed

* [iOS] removed incorrect return from null

* Fixes #3663 (#3684)

* Fix ScrollView Padding issue (#3685)

* [WPF] Memory leak when you pop a TabbedPage (#3372) fixes #3267

* Fix [WPF] Memory leak when you pop a TabbedPage

* Update ViewRenderer.cs

* Update ViewRenderer.cs

* [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633

* Add repro for #3343 + unit tests

* [Core] Disallow negative values for CursorPosition/SelectionLength

* [All] CursorPosition/SelectionLength can bindin ctor & clear value

fixes #3343

* typo

* cleanup

* [iOS] Cursor snaps to end

* try/catch

* [CSS] add more properties (#3466)

map new CSS properties:
- `color` on `IColorElement` (`ActivityIndicator`, `BoxView`),
  `ProgressBar` and `Switch`
- `row-gap` and `column-gap` on `Grid`
- `transform` and `transform-origin` on `VisualElement`
- `vertical-align` on `Label`

add new XF-specific CSS properties
- `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`,
  `SearchBar`
- `-xf-max-length` on `InputView` (`Editor` and `Entry`)
- `-xf-bar-background-color` and `-xf-bar-text-color` on
  `NavigationPage` and `TabbedPage`
- `-xf-orientation` on `ScrollView` and `StackLayout`
- `-xf-horizontal-scroll-bar-visibility` and
  `-xf-vertical-scroll-bar-visibility` on `ScrollView`
- `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color`
  on `Slider`
- `-xf-spacing` on `StackLayout`

This PR replaces and closes #3276

- fixes #2891

* [iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139

* [Controls] Add reproduction and test case for issue #3413

* [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3

* [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width

* [Controls] Fix spelling and add Manual Review to the test of #3413

* [iOS] Simplify code for UISearchBar width

* [iOS] Return always some width from measure the UISearchBar on IOS

* [Controls] Add reproduction case for issue #2139

* [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616

* [Android] Support multiple clipping settings in single layout (#3559)

* Repro

* Fix for API 18+

*  [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518)

* [Controls] Add repo of issue #3408

* [iOS] Unsubscribe CellPropertyChanged when cell is disposed

* [Controls] Add issue to project

* [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers

* [Controls] Simplify Issue

* [iOS] Remove PropertyChanged that was not used

* [Controls] add check for null binding on template, add notes about issues

* [Controls] added reference to Android crash

* [iOS]Use existing PropertyChanged on ViewCelRenderer

* [iOS] Keep the existing override so we don't break users

* Update TextCellRenderer.cs

* update submodule

* 24H Mode (#3701)

The 24h mode for the pickerdialog was not working.

Version 3.1 was working fine.

Here is an updated file.

* [UWP] uncomment tests that are now passing for 3188 (#3723)

* [UITest] Update Xamarin.UITest nuget package (#3632)

* [UITests] Update Xamarin.UITest 2.2.5

* [UITests] Try fix Toolbaritems

* [UITest] Update to 2.2.5-1606

* [UITests] Small Fixes and workarounds to make uitest happy

* [UITests ] Add delay to 1733 for API28

* [Android] Revert bad merge (#3746)

fixes #3705

* [Android, iOS] Fixes layout compression causes (#3698) fixes #3624

* [Android, iOS] Fixes layout compression causes

* [iOS] improve UpdateNewElement method

* Fix build error hopefully

* [UWP] Fixes CollectionChanged events in ListView (#3323)

* fixes #3273

* [UWP] Fixes CollectionChanged events in ListView

* a wrapped collection is used only if the SourceItem is not ObservableCollection

* improve uitest

* fixed NRE in empty ListView

* added a sortable custom renderer for UItest

* minor refactoring

* fixed reset of not wrapped collections

* addressing comments

* [UWP] remove WinRT hack

* [UWP] add missing using and cleanup additional resources

* [Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629

* [Build] Update provisioning

* [Controls] Ignore deprecated  Android API usage

* [Android] Remove use of obsolete color usage

* [Android] Remove app fragment usage

* [android] Rollback changes to EntryCellRenderer

* [Android] Better way to get the default color for the label text

* [Android] Obsolete message for ContentPage.CreateFragment()

* [ControlGallery] - create bitmap from Drawable to use for pixel location

* [Android] Use textcolor resource

* Update submodule

* Fix tests (#3771)

* [ControlGallery] Wait for element and add timing to tests

* [iOS] Fix NRE on RenderPool

* Add TabStop/TabIndex (#2795)

* [Core, UWP, Android] support TabStop/TabIndex

* removing linq

* add iOS / MacOS implementation

* add WPF implementation
fixes UWP implementation

* - addressing comments
- improve test
- optimizations
- added previous tab direction in same tab group

* addressing comments

* [Android] support tabstop for pickers

* - moving shared code to a static class
- removed reflection

* ITabStop -> changed to internal, renamed, added in to fastRenderers

* Update ITabStop to be public

* Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756

* [iOS] Fix NRE on ContextCell (#3714) fixes #3275

* [Controls] Add repo for issue #3275

* [iOS] Fix NRE when no gestures exist on table

* [iOS] Null check outside loop

* [iOS]Make sure to dispose/unhook when we are removed from UITableView.

* Update submodule

* [iOS] Don't double dispose ContextActionCell

* WPF - Fix Width and Height measurement when GetDesiredSize (#3750)

* WPF - Reset Width and Height when GetDesiredSize

* Some formatting changes

* Add APP directive

* [WPF]Fix build

* [Android Maps] Make markers available to subclasses (#3751)

* Make markers available to subclasses

* Fix build

* Use Find instead of FirstOrDefault

* [UITests] wait for element before querying for it (#3791)

* [UITests] wait for element before querying for it

* [Controls] generalize and better represent intended behavior

* WPF - Fix Local store not persistant when restarting App (#3752)

-fixes #3541
* WPF - Fix Local store not persistant when restarting App
* Add UITest
* [Controls] Add automated UI Test

* [UITests] Isolate test 3408

* [UITest] Update Xamarin UITest packages

* [UWP] implement Replace without reloading ListView (#3792)

-fixes #3788
* [UWP] implement Replace without reloading ListView
* [UWP] extract bindingcontext of new item for replace

* [iOS] Use UIApperance default color for UISwitch (#3819)

* [Controls] Set default color of UISwitch to Red

* [iOS] Use default color from Apperance API

* [UITests] replace awaits with more reliable WaitForElement (#3835)

* [Core] Propagate BindingContext changes to TitleView (#3823)

* [Core] Propagate BindingContext changes to TitleView

* [Tests] Move UI test to Core Unit Test

* [A] do not draw gradient for empty CornerRadius (#3786)

Drawing CornerRadius (introduce by #1998) when the CornerRadii are
actually 0 causes scaling artifacts on API < 25.

This fixes the regression when no CornerRadius is set. Expect blurry
border scaling with CornerRadius not empty and API < 25

- fixes #3781

* [Android] Fix WebView.Navigating event, make WebViewClient inheritable (#3780)

* Extracted WebViewRenderer.WebClient to FormsWebViewClient, moved SendNavigating call from ShouldOverrideUrlLoading to OnPageStarted

* Changed _webViewClient and GetWebViewClient() method to return base class

* Changed public things to protected internal

* Fix spaces to tabs indentation to match the coding style (#3745)

* [Build] Fix merge

* Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097

* Ensure that the ListViewAdapter is no longer being used by the ListVi… (#3848) fixes #3603

* Ensure that the ListViewAdapter is no longer being used by the ListView before disposing it

* Remove `RemoveAllViews` from `Dispose`

* Fixed code review comments

* Removed obsolete convert method

* Making sure default platform functionality is intact iOS and Android

As er code review comments

* Making sure default platform functionality is intact MacOS

* Making sure default platform functionality is intact UWP and WPF

* Code review comments for iOS, Android and MacOS

Default platform value is now preserved and applied when setting is set to default

* Code review comments UWP and WPF

* Fix build

* [UITest] - add ui test to test scroll permutations

* [Uwp] fix bad merge

* [wpf] fix spacing

5 years agobump gitinfo
Stephane Delcroix [Thu, 25 Oct 2018 07:37:15 +0000 (09:37 +0200)]
bump gitinfo

5 years agoFix PropagateEvent value properly on Cells (#4191)
Seungkeun Lee [Thu, 25 Oct 2018 07:29:01 +0000 (16:29 +0900)]
Fix PropagateEvent value properly on Cells (#4191)

5 years agoAdd uitest for 2794 (#4110) fixes #2293
Viridovics [Wed, 24 Oct 2018 23:40:31 +0000 (02:40 +0300)]
Add uitest for 2794 (#4110) fixes #2293

5 years agoAdd UI Test. Add instructions. Move to correct namespace (#4170) fixes #2251
mikescandy [Wed, 24 Oct 2018 23:39:36 +0000 (00:39 +0100)]
Add UI Test. Add instructions. Move to correct namespace (#4170) fixes #2251

5 years ago[XamlC] fix the argument match check for events (#4134)
Stephane Delcroix [Wed, 24 Oct 2018 19:05:35 +0000 (21:05 +0200)]
[XamlC] fix the argument match check for events (#4134)

Well, it looks like the order of arguments of InheritOrImplements was
reversed... a totally fine and normal Friday so far

- fixes #4130

5 years ago[msbuild] use portable pdb files (#4201)
Jonathan Peppers [Wed, 24 Oct 2018 18:35:47 +0000 (13:35 -0500)]
[msbuild] use portable pdb files (#4201)

Currently, on the first build of a "Hello World" Xamarin.Forms app,
you will see this in the build log:

    ConvertDebuggingFiles
        Parameters
            Files
                C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.pdb
                C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.pdb
        OutputItems
            _ConvertedDebuggingFiles
                C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\FormsViewGroup.dll
                C:\Users\myuser\.nuget\packages\xamarin.forms\3.1.0.697729\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll

The logging is a little weird here, but this `ConvertDebuggingFiles`
MSBuild task takes about 100ms on my machine.

What is it doing?

The Mono debugger can support two types of debugging files:
- `mdb` files
- "portable" `pdb` files

If Xamarin.Android's build finds a "non-portable" `pdb` file, we have
to run it through this task to convert to an `mdb` file... This gives
us proper stacktraces for `FormsViewGroup.dll` and
`Xamarin.Forms.Platform.Android.dll`.

You can change the type of debugging symbols in your project with the
`DebugType` setting, which has these options:
- Blank or `None`: don't generate symbols. (Although Xamarin.Android
  has funny behavior here, see:
  https://github.com/xamarin/xamarin-android/issues/2282)
- `Full` generates an `mdb` file, this is a Windows-proprietary format
  for debug builds
- `PdbOnly` generates a "non-portable" `pdb` file, a
  Windows-proprietary format for release builds
- `Portable` generates a "portable" pdb file, which is the new
  standard that works for debug and release builds. New SDK-style
  MSBuild projects use this option by default.

These values are not case sensitive, I have mostly seen them lower
case in newer projects.

So what does Xamarin.Forms need to do?

Use `<DebugType>portable</DebugType>` in any Android class library or
app project. Other platforms, this is optional, not as much benefit. I
have heard that `DebugType=portable` might cause a problem on UWP.

* Xamarin.Forms will ship "portable" `pdbs` in its NuGet package for
  `FormsViewGroup.dll` and `Xamarin.Forms.*.Android.dll`. Developers
  won't pay the 100ms on initial build.
* Initial build times for `Xamarin.Forms.sln` will be slightly better
  for development, although I didn't measure the difference here.

5 years agohttps://github.com/xamarin/Xamarin.Forms/issues/2831 fixes #2831 (#4111)
Andrei [Wed, 24 Oct 2018 16:54:56 +0000 (19:54 +0300)]
https://github.com/xamarin/Xamarin.Forms/issues/2831 fixes #2831 (#4111)

5 years ago[macOS] NRE in WebViewRenderer (#4188) fixes #4001
Andrei [Wed, 24 Oct 2018 14:33:13 +0000 (17:33 +0300)]
[macOS] NRE in WebViewRenderer (#4188) fixes #4001

* https://github.com/xamarin/Xamarin.Forms/issues/4001

* fixed build

5 years ago[UWP] Fix TitleView Width and MDP rendering quirks (#3987)
Shane Neuville [Wed, 24 Oct 2018 07:23:46 +0000 (01:23 -0600)]
[UWP] Fix TitleView Width and MDP rendering quirks (#3987)

* [UWP] Fix TitleView Width and MDP rendering quirks

* [UWP] fix load timing for pushed pages and titleview

* [UWP] move renderer check

* [UWP] remove re-measure until 4116 fixed

- fixes #3828
- fixes #3834

5 years ago[UWP] fixes entering text into SearchBar with UI Tests (#4173)
Pavel Yakovlev [Tue, 23 Oct 2018 23:57:02 +0000 (02:57 +0300)]
[UWP] fixes entering text into SearchBar with UI Tests (#4173)

* [UWP] fixes entering text into SearchBar with UI Tests

* [UWP] ITabStopOnDescendants - fixed selection when setting focus from Selenium

5 years agoFix https://github.com/xamarin/Xamarin.Forms/issues/3301 (#4164)
Andrei [Tue, 23 Oct 2018 23:50:33 +0000 (02:50 +0300)]
Fix https://github.com/xamarin/Xamarin.Forms/issues/3301 (#4164)

- fixes #3301

5 years agoAdded UI test to B45027 (#4079)
Ione Souza Junior [Tue, 23 Oct 2018 23:33:17 +0000 (20:33 -0300)]
Added UI test to B45027 (#4079)

* Add UI test to B45027

* Changed execution of current UI test to Android platform

* Added iOS UI test to B45027

* Refactored UI test execution

5 years agoAdd missing initial call to UpdateLineHeight; fixes #4136 (#4147)
E.Z. Hart [Tue, 23 Oct 2018 22:32:09 +0000 (16:32 -0600)]
Add missing initial call to UpdateLineHeight; fixes #4136 (#4147)

5 years agoUWP Toolbar dynamic overflow (#4022)
Martin Zikmund [Tue, 23 Oct 2018 16:27:28 +0000 (18:27 +0200)]
UWP Toolbar dynamic overflow (#4022)

* Adding Windows specific ToolbarDynamicOverflowEnabled configuration

* Enabled ToolbarDynamicOverflowEnabled (pun intended) on page controls and renderers

* Issue 3988 sample

* Removed obsolete comment, cleaned up private and whitespace

* Added toolbar dynamic overflow examples for master detail page and tabbed page

- fixes #2057
- fixes #3988

5 years ago[Android] Fixes AutomationProperties.Name on Button (#4094)
Pavel Yakovlev [Tue, 23 Oct 2018 16:25:19 +0000 (19:25 +0300)]
[Android] Fixes AutomationProperties.Name on Button (#4094)

* [Android] Fixes AutomationProperties.Name on Button

* [Android] Fixes for Switch control