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

3003 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix e763ba2a21 Merge branch '3.5.0' into 3.6.0 2019-02-18 12:49:11 +01:00
Stephane Delcroix 55110c8324 [C] Binding null on nullable (#5255)
* fixes #5274

bindings should allow null for nullable valuetypes!

* [C] Binding null on nullable

@kicsiede's fix for #5242, plus unit test, targetted to 3.6.0

- closes #5242
2019-02-18 12:46:56 +01:00
Shane Neuville cc355de189 [iOS] add single parameter constructor back (#5281) * fixes #5278 2019-02-18 11:31:55 +00:00
Shane Neuville de1a5bae64 Setup sandbox app inside our project (#5264)
* [Visual] Material Pickers and setup sandbox app

* Fixed the ambiguous types for UWP
2019-02-18 11:30:08 +00:00
Kevin Petit 7c72459b29 [Android] Fix ObjectDisposedException on MasterDetailPageRenderer update (#4955)
* Android - MasterDetailPageRenderer - Fix ObjectDisposedException on update.

* Fix update call to master.

* Move checks inside update methods.
Add HandleMasterPropertyChanged handler unsubscribing.
2019-02-18 11:24:26 +00:00
Andrei f8d7358144 [MacOs] Slider inside StackLayout Horizontal Orientation crash (#5191) * fixes #3610
* fix https://github.com/xamarin/Xamarin.Forms/issues/3610

* updated default size

* Added info comment
2019-02-18 11:21:54 +00:00
E.Z. Hart ee511d8781 Implement FlowDirection propagation to items in CollectionView (#5051) * fixes #4583
* Implement FlowDirection propagation to items in CollectionView; fixes #4583

* Run logical child detachment via CellDisplayingEnded

* Fix Visual propagation on iOS

* Fix Visual propagation on Android

* Fix rebase error
2019-02-18 11:21:10 +00:00
Andrei Nitescu 2277ce8e72 [Android] Set Page background color (#5066) * Fixes #5057 * closes #4916 * Fixes #5073
* [Android] Fix setting Page background color

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue5057.xaml.cs

Co-Authored-By: andreinitescu <nitescua@yahoo.com>

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue5057.xaml.cs

Co-Authored-By: andreinitescu <nitescua@yahoo.com>

* Refactoring and added test info

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

Co-Authored-By: andreinitescu <nitescua@yahoo.com>
2019-02-18 11:19:57 +00:00
Rui Marinho 5828832821
Collectionview uitest (#5231)
* [UITests] Add basic CollectionView tests

* [UITests] Enable uitests ObservableCollectionGallery

* [UITests] Update itemssource

* Update Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/CollectionViewGallery.cs

Co-Authored-By: rmarinho <me@ruimarinho.net>
2019-02-18 11:18:50 +00:00
Stephane Delcroix c3a5a6b850 Merge branch '3.6.0' 2019-02-18 09:15:37 +01:00
Stephane Delcroix 748da1e628
[C] Binding null on nullable (#5255)
* fixes pull #4453 

bindings should allow null for nullable valuetypes!

* [C] Binding null on nullable

@kicsiede's fix for #5242, plus unit test, targetted to 3.6.0

- closes #5242
2019-02-14 20:08:16 +01:00
Stephane Delcroix 532431dc93
Add AllowMultiple=true to QueryPropertyAttribute (#5180) (#5251)
In the process of building a demo app (https://github.com/matthewrdev/xamarin-forms-4), I discovered that I could not apply multiple parameters; doing so would cause a compile-time error.

The usage of this property in ShellContent, specifically in ApplyQueryAttributes, indicates that the intended behaviour is to allow users to specify multiple URL arguments that will be applied onto the page. Changing AllowMultiple to true fixes this.

For reference, when AllowMultiple is not explicitly set, it's default value is false. See: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/attributeusage.
2019-02-14 10:54:30 +01:00
Samantha Houts 4cfa82569d Merge branch '3.6.0' 2019-02-13 16:57:13 -08:00
Samantha Houts 3581e88f6c Merge branch '3.5.0' into 3.6.0 2019-02-13 16:55:00 -08:00
Rui Marinho 116000f3a2 [Android] Fix ImageRenderer URI (#5241)
* ignore check if imageview isn't set

* [Controls] Add repo case for #5172

* [Controls] Use xf github image url

fixes #5172
2019-02-13 16:22:40 -08:00
Yun Chen 4c91025c51 apply Remove suggestion bar in iOS picker (#4634)
fixes #4629
2019-02-13 15:42:11 -08:00
Matthew Leibowitz 9ab1fff85f [Material] [Android, iOS] Added Slider and ProgressBar (#5209)
* [Android Material] Linear Progress Indicator (#5079)

Merging into the material "slider" / "progress" bar branch so that we can share some code as they are the same control

* [Material] [Slider, ProgressBar] Updated the progress bard and added the slider

* Renamed the gallery

fixes #5008
fixes #5079
fixes #5018
2019-02-13 15:36:55 -08:00
Andrei Nitescu b127bd1f93 Fixed passing container (#5158)
fixes #5156
2019-02-13 15:33:14 -08:00
Samantha Houts 0bf0e580fe
Revert "[Android] fixes issue content set after an await is not visible (#4861)" (#5245)
This reverts commit bf0733129d.
2019-02-13 15:21:31 -08:00
Stephane Delcroix 973b569903 Backport some 3.6 previewer changes to 3.5 (#5227)
* [X] add callback for previewer on failing ctor (#5101)

Add a callback when object instantiation or creation fails, so the
previewer can replace it by an educated guess

* Allow the previewer to use design flag on RDs (#5096)

* [Xaml] Better handling of exception on properties (#5099)

Allow the previewer to recover and continue on throwing property setters
or BindableProperties.

* [Previewer] Fallback for factorymethod not found (#5139)

- fixes #5138

* [previewer] more info to the callback (#5155)
2019-02-13 13:41:45 -08:00
Rui Marinho e5f532d4f7
[iOS] Fix ImageRenderer dispose (#5222)
* [iOS] Fix ViewRenderer dispose

* Revert "[iOS] Fix ViewRenderer dispose"

This reverts commit 94ee061b0cc000b527f193963e6f911b57ec34f9.

* [iOS] Fix for ImageRenderer
2019-02-13 19:45:15 +00:00
Shane c1ae194404 Merge branch '3.5.0' into 3.6.0 2019-02-13 10:31:49 -05:00
Andrei 27542f7df8 Added TapGesture handling for Spans on Mac OS * fixes #4775 2019-02-13 15:08:39 +00:00
Sanya Andreichuk 156c7b66b7 Fix ScrollTo on Mac (#4983) * fixes #3319
* Fix github issue #3319

Fix  #3319 [MAC] ScrollTo method is not working in Xamarin.Forms for mac platform

* Update Issue3318.cs

Fix Issue3318 UITest.

* Fix github issue #3319

Fix  #3319 [MAC] ScrollTo method is not working in Xamarin.Forms for mac platform

* Update Issue3318.cs

Fix Issue3318 UITest.
2019-02-13 13:39:52 +00:00
zhuXinghan 88fbd3b0c6 Update WebViewRenderer.cs (#4737)
Fixed the problem that only the first Navigating event can be triggered
2019-02-13 13:10:07 +00:00
Stephane Delcroix ac6287c0b1 [Xaml] better error reporting (#5104) #fixes #5095
* [Xaml] better error reporting

Report error on invalid value nodes

- fixes #5095

* Think about the nullable

* fix test
2019-02-13 13:02:01 +00:00
Rui Marinho 17c7c8b773
Revert "Add AllowMultiple=true to QueryPropertyAttribute (#5180)" (#5234)
This reverts commit 169daca254.
2019-02-13 12:44:31 +00:00
Matthew Robbins 169daca254 Add AllowMultiple=true to QueryPropertyAttribute (#5180)
In the process of building a demo app (https://github.com/matthewrdev/xamarin-forms-4), I discovered that I could not apply multiple parameters; doing so would cause a compile-time error.

The usage of this property in ShellContent, specifically in ApplyQueryAttributes, indicates that the intended behaviour is to allow users to specify multiple URL arguments that will be applied onto the page. Changing AllowMultiple to true fixes this.

For reference, when AllowMultiple is not explicitly set, it's default value is false. See: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/attributeusage.
2019-02-13 12:43:51 +00:00
E.Z. Hart c439585878 Reinstate and obsolete IPlatform, et al (#5181)
* Reanimate IPlatform and mark it obsolete

* Reinstate IPlatform everywhere in case someone is using it or subscribing to
PlatformSet

* Revert breaking parameter name change

* Obsolete IsEnabledPropertyName

* Reinstate and obsolete Realized property and constructor

* Escape string format so solution will build

* Fix previewer reflection test

* Fix interface on Tizen/TizenPlatformServices

* Update Xamarin.Forms.Core/Element.cs

Co-Authored-By: hartez <hartez@users.noreply.github.com>
2019-02-12 12:27:00 -08:00
Pavel Yakovlev 8747919ae5 [Android, WPF] Fixes rounding down the size of visual elements (#2697) Fixes #1544
* [Android, WPF] Fixes rounding down the size of visual elements
[Android] Fixes settting background color for BoxView

* refactoring PrepareLayout action

* address comments
2019-02-12 17:48:56 +00:00
Pavel Yakovlev cd1cf19fca [Android] fixes TabStop on Stepper Control (#5000) fixes #4956 2019-02-12 13:39:03 +00:00
Shane Neuville 30ae2a5368 Missing visual falling not falling back to registered default renderer (#5179) 2019-02-12 13:37:26 +00:00
Gerald Versluis c60b58de69 Fixed opening of multiple picker dialogs on Android (#4911) fixes #4909 2019-02-12 13:25:22 +00:00
Pavel Yakovlev 4c720530e6 [UWP] Fixes call Tapped event ListView (#3400) fixes #2318 fixes #4901
- fixes EntryCellTextBox template
2019-02-12 13:13:58 +00:00
Gerald Versluis 2c3df0ac0e [Enhancement] Android: WebView - Control over Zoom controls (#3607) fixes #1661
* Started implementation of zoom support on Android WebView

* Implemented fully working zoom and zoom controls for Android WebView

* Corrected merge error

* Removed redundant API checks

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/WebView.cs

Co-Authored-By: jfversluis <github@geraldversluis.nl>
2019-02-12 13:10:33 +00:00
Shane Neuville b4b5f43ea8 Cake build script (#5074)
* cake

* cake

* android fix

* fix clean

* version fix

* android deploy updates

* move to cake tools

* add clean bin obj back in

* git versioning

* fix vs mac target

* vs mac fixes

* remove default config on sh

* add UAP pdbs
2019-02-12 13:05:51 +00:00
Matthew Leibowitz 920e2dd416 Updated all the OpenTK references to use NuGet (#4836)
* Updated all the OpenTK references to use NuGet
 - Using the same NuGet version of OpenTK across the board
 - Added a gallery factory to allow for platform-specific pages
 - Added the OpenGL galleries to Android, iOS, GTK# and WPF

* Fix the build for iOS and macOS

* Fix the modified defines for the control gallery
2019-02-12 12:59:18 +00:00
Andrei 334e23d7c6 [Mac] NavigationPageRenderer amendments RE: Issue4388 (#4607) #4388 #4389
* crash fixes https://github.com/xamarin/Xamarin.Forms/issues/4388

* Subview Z-index fix

* [MacOS] Dispose cleanup

* Added WantsLayer prop to Insert method

* Added disposing check to ViewRenderer
2019-02-12 12:33:17 +00:00
Stephane Delcroix 15c6f561e6 Merge branch '3.5.0' into 3.6.0 2019-02-11 09:15:42 +01:00
Stephane Delcroix cd73391c3a
[X] only require escaping if starts with '{' (#5169)
- fixes #5152
2019-02-08 20:32:35 +01:00
E.Z. Hart 21125d8862 [iOS] CollectionView multi-item Add/Remove/Replace/Move (#5055)
* Split file by class

* Handle multiple moving items on iOS

* Make replacer indexes more intuitive

* Handle multi-item replacement on iOS

* More robust Remove implementation

* Make Replace test indexes include the end index; don't determine startIndex when removing
unless necessary.
2019-02-08 12:18:44 +00:00
Stephane Delcroix d018c154a7
[previewer] more info to the callback (#5155) 2019-02-07 21:39:38 +01:00
Stephane Delcroix b3aabc7422
[Previewer] Fallback for factorymethod not found (#5139)
- fixes #5138
2019-02-07 17:30:41 +01:00
E.Z. Hart 94f65ce530
Prevent snap helpers from snapping until the user interacts with scro… (#5065)
* Prevent snap helpers from snapping until the user interacts with scrolling; fixes #4935

* Lower sensitivity for snapping to kick in on Android

* Remove underscore in method name
2019-02-06 13:24:57 -07:00
Stephane Delcroix d126219219
[Xaml] don't use context before checking it's not null (#5124) 2019-02-05 09:12:25 +01:00
Rui Marinho da0fd3668e
[Controls] Ignore random failures on AppCenter 2019-02-04 20:01:49 +00:00
Stephane Delcroix bcd8a12672
[Xaml] Better handling of exception on properties (#5099)
Allow the previewer to recover and continue on throwing property setters
or BindableProperties.
2019-02-04 15:45:49 +01:00
Rui Marinho 6d090b3492
[Build] Use wildcards on triggers (#5126) 2019-02-04 13:02:23 +00:00
E.Z. Hart 86054cd085 [iOS] Implement ItemSizingStrategy hint property for CollectionView (#5094)
* Add ItemSizingStrategy to CollectionView in Core;
Create test harness for changing ItemSizingStrategy;
Handle ItemSizingStrategy and ItemSizingStrategy changes on iOS;

* Update test bed to better illustrate changes

* No need for DetermineCellSize to be internal

* Conserve precious bits by removing `private` modifier

partially implements #3172
2019-02-04 12:38:38 +00:00
Stephane Delcroix bc3c9ef4ea
Allow the previewer to use design flag on RDs (#5096) 2019-02-04 09:42:30 +01:00