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

2977 Коммитов

Автор SHA1 Сообщение Дата
Tim Barham 53979c8297
XamlLoader should not ignore x:TypeArguments on root node (#5804) 2019-04-05 15:31:28 +10: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 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
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 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
Stephane Delcroix eab93e53d1 bump 2019-03-27 15:41:20 +01:00
Stephane Delcroix f798438e04 bump 2019-03-27 15:40:50 +01:00
Shane Neuville d707f74d96 [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
2019-03-27 11:58:35 +00:00
Rui Marinho 097af8f757
[CollectionView] Fixes for ObservableCollection usage on Android and iOS (#4664)
* [Controls] Update CollectionView observable gallery

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

* [Android] Implement IDisposable on IItemsViewSource

* [iOS] ObservableItemSource takes a IList

* [iOS] Update ItemsViewLayout.cs

* [Android] Implement review feedback

* [Controls] Fix adder

* [Build] Update submodule

* [Android] Make similar change to iOS for consistency

* [iOS] Unsubscribe from ObservableCollection on ItemsViewController

* [iOS] Dispose ItemsController

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

* [iOS] Allow specify SetPaddingInsets on the ShellContent

* [Shell,iOS] Fix toolbaritems on Shell

* [Controls] Add demo repo for #5466

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

* [Controls] Fix android example add missing images

* nested routing

* [Controls] Fix build on pre app compact
2019-03-26 22:56:27 +00:00
Pavel Yakovlev 5d85cf8621 [Android] Fixes ObjectDisposedException when call Unfocus of Entry (#5670)
* [Android] Fixes ObjectDisposedException when call Unfocus of Entry

* address comment

* fix ui test
2019-03-26 12:42:05 -06:00
Rui Marinho 499d68773b
[Build] Update verssion 2019-03-25 14:42:52 +00:00
Rui Marinho 9b8b058416
Merge branch '3.6.0' into 4.0.0 2019-03-25 14:42:29 +00:00
Rui Marinho a765d7e413 Merge branch '3.5.0' into 3.6.0 2019-03-25 11:54:50 +00:00
Rui Marinho 9dfa174661
[Build] Fix suffix check 2019-03-25 11:47:05 +00:00
Rui Marinho 673d2c58b2 Merge branch '3.5.0' into 3.6.0 2019-03-25 11:06:21 +00:00
Rui Marinho 627695f95c
[Update] Yaml build 2019-03-25 11:05:22 +00:00
E.Z. Hart dd6cd3305e 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
2019-03-24 20:05:01 +00:00
Rui Marinho 85d95a5c3b
[Build] Update yaml build 2019-03-24 19:51:25 +00:00
Rui Marinho a69b8cce15 Merge branch '3.5.0' into 3.6.0 2019-03-24 19:49:23 +00:00
Rui Marinho b0724320b4
[iOS] Better fix for EstimatedRowHeight (#4365) fixes #4356
* [Controls] Add repo for issue #4356

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

* [IOS] Try remove UpdateEstimatedRowHeight

* [iOS] Fix EstimatedRowHeight

* [iOS] Consolidate EstimatedRowHeight calculation on the ListviewDataSource

* [iOS] Fix InvalidateCache and clear estimatedRowHeight

* [iOS] Use bool for checking if is empty

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

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

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

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

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

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

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

* [iOS] Fix rebase

* [Build] Update submodule

* [Build] Remove xcode select

* [iOS] Don't disable EstimatedRowHeight on iOS10
2019-03-24 19:48:16 +00:00
Pavel Yakovlev 7a2a6a241e [UWP] fix throw exception when update switch color (#5633) 2019-03-22 16:25:10 -06:00
Rui Marinho 9beea57fb2 Merge branch '3.4.0' into 3.5.0 2019-03-22 16:07:42 +00:00
Rui Marinho f5dce54a7f
[Build] Fix provision on yaml (#5660)
* [Build] Fix provision on yaml

* [Build] Update provisioning to use shared tasks
2019-03-22 12:13:58 +00:00
Rui Marinho f7bb7eb115 Revert "Remove submodule"
This reverts commit 6616000366.
2019-03-21 20:08:43 +00:00