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

3106 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix bc138b49d0 [X] allow previewer fallback on rootnode (#5413)
* [X] allow previewer fallback on rootnode

- fixes #5410

* additional test case
2019-02-28 11:41:34 -08:00
Shane Neuville 70a2a628a5 [Android] Remove changes to IVisualElementRenderer so it remains backwards compatible (#5398)
* return IVisualElementRenderer to previous state

* set to internal
2019-02-28 10:57:20 -08:00
kingces95 637da05999 previewer; PageRenderer trap for missing bg image (#5342)
* previewer; PageRenderer trap for missing bg image

* previewer; PageRenderer trap for missing bg image

* fix macOS; remove ext for macOS

fixes #5300
2019-02-27 18:32:57 -08:00
Samantha Houts 42345ed82e Merge branch '3.6.0' 2019-02-27 18:22:37 -08:00
Samantha Houts a08e954eaa Merge branch '3.5.0' into 3.6.0 2019-02-27 18:21:59 -08:00
Samantha Houts 0b7965f811
[iOS, Android] Prevent NREs in ScrollViews (#5383)
* Add null checks on new code paths added in #4522

fixes #5161

* Fix cast...

Fixes #5247
2019-02-27 18:08:47 -08:00
E.Z. Hart de0ac02b53 Allow SelectableItemsViewRenderer/Adapted to deselect ViewHolders not in the RecyclerView's child collection (#5358)
Fixes #5078
2019-02-27 18:06:48 -08:00
Stephane Delcroix c3ac500a16 [X] more conv exception, bubble to previewer (#5400)
Catch more exception cases, make sure the previewer can recover from them

- fixes #5397
2019-02-27 17:58:58 -08:00
Pavel Yakovlev aef568a7c6 [Android, iOS] added re-measure of TimePicker after change value (#4999) 2019-02-27 17:49:11 -08:00
ShaneN 24b4b554ad Merge branch '3.6.0' 2019-02-27 18:20:24 -07:00
ShaneN e7ca950176 [UITests] remove extra reference 2019-02-27 18:19:57 -07:00
Shane Neuville a9af592006
[Android] move android renderers to separate nuget (#5405)
* [Android] move renderers to separate nuget

* additional android dependency

* rebase with material changes

* add android to material check

* simplify assembly info

* - add context to Init for future cases
2019-02-27 18:04:52 -07:00
Shane Neuville 2e6bc92583
[Visual] Visual tidy (#5356)
* [Visual] remove visual flag and tidy up code

* - added basic loading ui test

* change material namespaces to be Xamarin.Forms.Material.<Platform>

* api 19 fixes

* fix casing on resources
2019-02-27 16:48:45 -07:00
Dan Siegel 187602b384 directly load specified Font Family or other valid PostScript Font Name fixes #5372 (#5373) 2019-02-27 14:20:14 -07:00
Matthew Leibowitz d13a1cd7d5 Fix the issue when building on a mac (#5406)
- mac should not build this assembly, but as it has to do so, exclude everything
2019-02-27 14:03:40 -07:00
Andrei 2da9f0c3b0 fix https://github.com/xamarin/Xamarin.Forms/issues/5346 (#5379) 2019-02-27 14:02:49 -07:00
Stephane Delcroix 50dbbcf55d
[C] deprecate GetValues (#5324)
* [C] deprecate GetValues

Deprecate GetValues, as it no longer make snes now that the properties
store is a Dictionary and no longer a List.

Update the code to be C#7-ish.

Take this refactoring opportunity to move similar method next to each other.

- fixes #5015

* Apply suggestions from code review

Co-Authored-By: StephaneDelcroix <stephane@delcroix.org>
2019-02-27 08:56:27 +01:00
Andrei Nitescu de6a809e33 BindableProperty: More explanatory exception message (#5384) 2019-02-27 08:55:47 +01:00
Shane Neuville 747f7a2255 [UWP] fix so tests are compatible with UWP (#4984)
* [UWP] fix so tests are compatible with UWP

* [UWP] when UI tests run don't load issues list

* [uwp] add preload of tests back in

* added UWP Ignore
2019-02-26 16:58:40 -08:00
Shane Neuville cca80ca763
[Visual] Material Editor (#5345)
* [Material] Visual

* - gallery and simplify android renderers

* Update Xamarin.Forms.Material.iOS/MaterialEditorRenderer.cs

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

* wire up done and fix ph bug

* - ios fix auto sizing issues

* fix NRE

* - Android: fix bounce and IsreadOnly
- iOS: fix IsReadonly and sizing issue

* - fix editor

* Fix ios Editor to shrink when lines are deleted

* Update Xamarin.Forms.Material.iOS/MaterialMultiLineTextField.cs

* - formatting fixes
2019-02-26 12:46:48 -07:00
Stephane Delcroix 55937add66 Merge branch '3.6.0' 2019-02-26 20:12:27 +01:00
Stephane Delcroix af99e177d7
[previewer] resilience on createvalue (#5369)
- fixes #5171
2019-02-26 20:09:16 +01:00
Stephane Delcroix a6c08d577e
[X] wrap typeconverter exceptions in XPE (#5388)
- fixes #5378
2019-02-26 20:07:17 +01:00
Shane Neuville f30d5aec00
[Visual] Check if assembly is dynamic before calling GetExportedTypes (#5389)
* check if assembly is dynamic

* add filenotfound catch
2019-02-26 10:38:10 -07:00
Shane Neuville 538851d120
[Android] add build error if TargetFramework is too low (#5350)
* [Android] add build error if TargetFramework is to low

* change to Corecompile

* add disable condition
2019-02-26 10:22:48 -07:00
Matthew Leibowitz 5f7ab704e3 Visual equality (#5380)
No one gets to go to the top, not even the great Material Design. All pages are equal, and are listed alphabetically.
2019-02-26 14:59:29 +01:00
Shane Neuville 16aa48fb1e
[Visual] Visual xaml and Visual registrations (#5304)
* [visual] add intellisense popups for visual

* Add visual registrations into type converter

* combine VisualMarker and VisualRendererMarker

* remove visual from class name for intellisense

* set Match Parent to internal

* Remove register code and just scan assemblies

* [Visual] Add Visual Attribute and some additional attribute checks

* remove registrar changes

* renamed to specific VisualTypes

* - move check up to LINQ statement

* Make sure the other platforms can create visuals

* fix renderer names

* move stepper renderer

* rename converter
2019-02-25 13:54:02 -07:00
Jeremy Marcus 432adc624d Update BindableLayout.cs to fix #5213 (#5243)
- fixes #5213 

* Add Test for BindableLayout RemoveAll

* Update BindableLayout.cs to fix RemoveAll exception

* Missing using statements
2019-02-25 20:44:00 +01:00
Stephane Delcroix 6f5784a625 ┬──┬◡ノ(° -°ノ) 2019-02-25 10:46:32 +01:00
Stephane Delcroix 533e130191 Merge branch '3.6.0' 2019-02-25 08:33:25 +01:00
Stephane Delcroix a3bcb65988 Merge branch '3.5.0' into 3.6.0 2019-02-25 08:20:29 +01:00
Shane Neuville afa2c780b3
[Visual] Material Pickers (#5194)
* [Material] Change Picker EditText fields to Material

* [Visual] add material placeholder properties

* - add ios placeholder changes

* - remove placeholder apis

* - shrink entry fields when they have no place holder

* - invalidate measure

* - remove marshalling
2019-02-24 20:21:39 -07:00
Pavel Yakovlev bd8a6bb2b4 [Android CollectionView] Fixes crash when ItemSource Changed (#5146) 2019-02-24 11:00:31 -07:00
Pavel Yakovlev 33dd68b7b1 [Android iOS Visual] fixes background in ActivityIndicator (#5283)
* [Android, iOS Visual] fixes background in AcrivityIndicator

* [Android] reduce nesting layouts

* [Android] simplification

* Some calculations for iOS

* [Android] removed padding, added size limit
[iOS] fixes stroke width

* [iOS] default size as in Android

* Use the Android ratio of 10 instead of the spec of 12

* [Android] fix API23

* [iOS] fix unexpected padding

* [Android] fixes padding in API 23 -- IsRunning -- added gallery

* [Android] fixes start with IsRunning = false

* [Android] again fix isRunning

* address comments
2019-02-23 02:30:47 -07:00
Matthew Leibowitz c4df5b2883 [Material] [Android, iOS] Materializing the stepper (#5027)
* [Android] [Material] Refactored the Stepper on Android #5011
 - reuse code between default and material
 - added material stepper

* [Android] [Material] Using the "Fast" renderer style for the stepper #5011
 - switched the button style to the outlined buttons

* [Android] [Material] Adding the tab stops support (#5000)

* [Android] [Material] Switching back to a traditional renderer for now to get tabstops working

* [Material] [iOS] Added a Material stepper for iOS

* [Material] [Android, iOS] Addressed the PR feedback

* [Material] Remove private

* Update MaterialStepperRenderer.cs

* Update StepperRendererManager.cs

* Fixed the merge issues

* add steppers to visual gallery

* The material stepper buttons now resize to fit the available space.

* Update Xamarin.Forms.Controls/ControlGalleryPages/VisualGallery.xaml

Co-Authored-By: mattleibow <mattleibow@live.com>

* [Material] [Stepper] Don't set the background color for steppers
 - we still need to decide on the logic behind the coloring of outline buttons

* Fixed the Android accessibility

* Change UI tests to not use a Text search for locating stepper controls
2019-02-22 12:51:45 -07:00
Shane Neuville 954db04e2a
[Material] rename iOS assembly to be non platform specific (#5332)
* [Material] rename iOS assembly

* fix title and Internals Visible To
2019-02-22 08:29:25 -07:00
Ione Souza Junior f84fab4588 Add UI test to B41600 (#5174) 2019-02-21 17:08:31 -08:00
Stephane Delcroix bd1a0943ea [CSS] fix mapping for vertical-align (#5275) 2019-02-21 16:59:48 -08:00
Akihiko Odaki cd43402f02 [XamlC] Identify generic instance types correctly when importing ctor (#5309)
The old implementation fails to identify generic instance types for typed
binding getter, whose type is:
System.Func`2<TSource, ValueTuple<TProperty, bool>>

This fixes the issue by taking generic arguments into account.
2019-02-21 16:56:42 -08:00
Rui Marinho 7d34a847b2 [Android] Fix SearchBar renderer height on API24 (#5329) 2019-02-21 16:23:32 -08:00
Shane Neuville ca3ae3032a [Android] Include default proguard file so user doesn't have to create rules for XF (#5143)
* [2709] Add default proguard config file

* add proguard.cfg file to nuspec
2019-02-21 10:22:39 -10:00
Tim Barham 583fad6855
Fix NRE in Android ResourceManager when reference resource in Previewer (#5331)
Fixes part of #5300

(cherry picked from commit fb59591580)
2019-02-21 11:24:18 +10:00
Rui Marinho c7ea50d233
[Controls] Fix Restart UITest Android 2019-02-20 12:03:05 +00:00
Andrei Nitescu 0ba2e10ec4 [iOS] Fixed updating Label TextDecorations when no Text is set (#5013)
- fixes #5003
- fixes #5149
- fixes #5258
2019-02-19 15:55:19 +01:00
Stephane Delcroix f00eb51169
[XamlC] compiled binding to int indexers (#5271)
- fixes #5254
2019-02-19 15:26:30 +01:00
Stephane Delcroix 711bf307d7
[XamlC] avoid cast exception on overriden members (#5269)
avoid InvalidCastException if an event is overriden with the new keyword
to a bindableproperty. Kids, DO NOT EVER DO THIS AT HOME.

- fixes #5256 for XamlC
2019-02-19 15:25:51 +01:00
Matthew Leibowitz 763461246d [iOS] Fix the layout of the button (#5221) * fixes #5160
- it appears that iOS has a nice little delay when setting the title to the layout
2019-02-19 12:36:59 +00:00
Tim Barham fb59591580 Fix NRE in Android ResourceManager when reference resource in Previewer (#5305)
Fixes part of #5300
2019-02-19 11:34:26 +00:00
Stephane Delcroix 262af01bba Add (passing) test for #5290 2019-02-19 11:17:02 +01:00
Alan McGovern 00b44f6777 Revert "Update Forms.cs"
This reverts commit e4fa2c0603.
2019-02-19 08:56:36 +00:00