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

3032 Коммитов

Автор SHA1 Сообщение Дата
Shane Neuville cbc9c44297 [Android] add another gc.collect for Android to ensure all is collected (#5847)
* add another gc.collect for Android

* move all gc collects to a helper
2019-04-09 17:40:28 -07:00
Shane Neuville 32da34df0e Add automated test for Bugzilla41205 (#5826)
fixes #2353
2019-04-09 17:36:53 -07:00
Sunner bb074a0f82 Implemented ImageButtonRenderer for WPF (#5668)
* Added ImageButton renderer for WPF

* Removed private modifiers
fixes #4991
2019-04-09 11:16:39 -07:00
Samantha Houts eade2355da Update issue templates 2019-04-09 10:31:33 -07:00
ShaneN 5475846880 merge 4.0.0 into master 2019-04-08 13:17:37 -06:00
Stephane Delcroix d5dd812907 Merge branch '3.6.0' into 4.0.0 2019-04-08 21:09:04 +02: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
Stephane Delcroix ccf8c123c4 [C] allow inheriting from Behavior (#5559)
- fixes #5520
2019-04-08 10:15:14 -07:00
yourina c013f64e48 Add the ShellRenderer for Tizen (#5818) 2019-04-08 09:54:41 -07:00
Shane Neuville 80269a4790 update build script for mac and readme based on vs mac 2019 (#5827) 2019-04-08 09:48:23 -07:00
Pedro Jesus 6be88f6cae Create UITest for Bugzilla41619 (#5829)
* - create UITest for Bugzilla41619

* - remove the hard code
2019-04-08 09:17:49 -06:00
Pavel Yakovlev 7dc2edc7b0 [Android] fixes material placeholder (#5823) 2019-04-05 21:42:41 -06:00
E.Z. Hart 94d442d891 Increase API level check for setting Android ripple effect on selection (#5760) fixes #5693
Fixes #5693
2019-04-05 13:02:29 +01:00
Tim Barham 53979c8297
XamlLoader should not ignore x:TypeArguments on root node (#5804) 2019-04-05 15:31:28 +10:00
kingces95 4b2df54aa2
Revert "Man init (#5587) closes #5248" (#5814)
This reverts commit 0b69ead5a0.
2019-04-04 10:38:27 -10:00
kingces95 0b69ead5a0 Man init (#5587) closes #5248
* man init

* man init w/o profile

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

Co-Authored-By: rmarinho <me@ruimarinho.net>
2019-04-04 19:50:39 +01:00
Andres G. Aragoneses 09591bc4e5 [Core] Add some Device.InvokeOnMainThread helpers (#5028)
* [Core] Add some Device.InvokeOnMainThread helpers

These helpers keep popping up on forums/stackoverflow[1][2],
would be nice to include them out of the box.

[1] https://forums.xamarin.com/discussion/51720/wait-for-device-begininvokeonmainthread
[2] https://stackoverflow.com/a/47941859

* [Core] Add a helper to get the mainthread's SynchronizationContext

It might be handy to expose it, so that F# devs can use it when
employing the Async.SwitchToContext API.
2019-04-04 12:23:45 +01:00
Stephane Delcroix c92fb05acd Merge branch '4.0.0' 2019-04-04 08:55:24 +02:00
Andrei c733bb4bb9 [macOS] Fixes #5257 (#5262) 2019-04-03 18:00:48 +01:00
E.Z. Hart d1dc874dab Allow EmptyView swapping in Android CollectionView (#5720) fixes #5535
* Automated test for issue

* Fix empty view swapping for Android (fixes #5535)

* Remove private modifier

* Account for null Flags when setting flags for test

* Fix rebase issue
2019-04-03 17:49:05 +01:00
Stephane Delcroix b181e019c9
[X] check for null on the parent property (#5796)
In case of value types in Compiled Binding Paths, we weren't checking
for null property on the right part of the path

before
```csharp
bindingExtension.TypedBinding = new TypedBinding<Gh5770, Color>(delegate(Gh5770 gh)
	{
		if (gh == null)
		{
			return new ValueTuple<Color, bool>(default(Color), false);
		}
		Gh5770VM expr_24 = gh.MyContentViewModel;
		return new ValueTuple<Color, bool>(expr_24.TextColor, true);
	}, ..., ...);
```

after
```csharp
bindingExtension.TypedBinding = new TypedBinding<Gh5770, Color>(delegate(Gh5770 gh)
	{
		if (gh == null)
		{
			return new ValueTuple<Color, bool>(default(Color), false);
		}
		Gh5770VM expr_24 = gh.MyContentViewModel;
		if (expr_24 == null)
		{
			return new ValueTuple<Color, bool>(default(Color), false);
		}
		return new ValueTuple<Color, bool>(expr_24.TextColor, true);
	}, ..., ...);
```

- fixes #5770
2019-04-03 15:19:48 +02:00
Stephane Delcroix ab164c0ede
[X] resolve generic indexer types (#5794)
- fixes #5510
2019-04-03 15:19:33 +02:00
Stephane Delcroix 38992485dc
[C] SearchHandler.SelectedItem (#5775)
- fixes #5712
2019-04-03 09:27:13 +02:00
Stephane Delcroix cc05cd2026
try to avoid merge conflicts in GitInfo.txt (#5715) 2019-04-03 08:49:40 +02:00
Stephane Delcroix 3f65849d76
[Shell] propagate BindingContext to SearchHandler (#5730)
- fixes #5705
2019-04-03 08:49:01 +02:00
Shane Neuville abd3f350de
fix reference to local folder (#5792) 2019-04-02 20:13:35 -06:00
Rui Marinho e822046427 Merge branch '3.6.0' into 4.0.0 2019-04-02 18:28:23 +01:00
Stephane Delcroix 4496d4951c [Shell] propagate BC to BackButtonBehavior (#5743) fixes #5734
- fixes #5734

no test, as it's straightforward, and mimics #5730
2019-04-02 17:52:48 +01:00
Matthew Leibowitz 6950db8bfe [nuspec] Start using the 28.x versions of Android support (#5512) 2019-04-02 16:06:59 +01:00
Stephane Delcroix 92382c9703
[C] change searchHandler bindingMode (#5776)
Change the default BindingMode for some properties

- fixes #5706
2019-04-02 10:02:44 +02:00
Pavel Yakovlev 9bb6c24b49 [UItest] Added dynamic view gallery (#5402) 2019-04-01 20:45:41 -06:00
E.Z. Hart 170c8922c7 Fix UI test 4600 for Android/iOS; fixes #4943 (#5726) 2019-04-01 20:34:36 -06: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 3439a6727d Add covariance back to IElementConfiguration (#5771)
* add covariance back

* - remove confusing comment
2019-04-01 13:07:59 -07:00
Andrei Nitescu 740654ff56 Map with ItemTemplateSelector (#5226)
* Map with ItemTemplateSelector

* Fixed Map test
2019-04-01 11:12:40 -07: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
Shane Neuville eac5e45be7 Shell.CurrentShell is too many Shells (#5761) 2019-04-01 09:52:18 +01:00
Samantha Houts 723f2de439 Merge branch '4.0.0' 2019-03-27 17:14:57 -07: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
Andrei Nitescu 7c27de2592 Removed dependency on modernhttpclient (#5390)
fixes #1886
2019-03-27 16:38:45 -07:00
Pavel Yakovlev efd55b8b3f [UWP] Fixes the casting crash of the FontImageSource (#5678) 2019-03-27 17:26:05 -06:00
Shane Neuville 421c4f21d7 [visual] Add extra parameter to android visual constructors (#5289)
* [visual] Add extra parameter to android visual constructors

* - add null check and constructor to Material Button Renderer to prove scenario
2019-03-27 16:10:21 -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
Stephane Delcroix 517642b551 [C] alias shell names (#5624)
* [C] alias shell names

* - change from ShellTab to Tab
2019-03-27 12:52:12 -06:00
Rui Marinho 23b61a434b
Merge branch '3.6.0' into 4.0.0 2019-03-27 18:51:38 +00: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
Shane Neuville 9796e15aab remove covariant out on IElementConfiguration (#5449) closes #5235 2019-03-27 18:32:47 +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
Shane Neuville 927c1058ae
[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
2019-03-27 10:07:15 -06:00