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

1481 Коммитов

Автор SHA1 Сообщение Дата
Michael Dwan a1af9344b7 [iOS] Fix for assigning wrong element type to a recycled renderer (#1513)
* Fix: wrong element assigned to a recycled renderer

* Use ScrollForElement
2018-01-18 17:43:24 +00:00
E.Z. Hart a8632f2d75
Remove superfluous test category 2018-01-17 10:40:53 -07:00
E.Z. Hart fa21576e26
Split 36171 into multiple tests and add more helpful assertion messages 2018-01-17 10:39:02 -07:00
Stephane Delcroix 38f244aa49
[Xaml] let the previewer know the asm (#1594)
* [Xaml] let the previewer know the asm

in addition to the resourcePath, tell the previewer the assembly in
which we're looking for the resource.

* fix docs
2018-01-17 15:19:18 +01:00
Stephane Delcroix 5a7cdb081e
[C] Cascade StyleSheets defined at Application level (#1590)
fixes #1553
2018-01-17 09:13:13 +01:00
E.Z. Hart d46d6fb403 Remove key info for WP8, WinRT from blank.config and readme 2018-01-16 12:15:23 -07:00
E.Z. Hart 721104751c Make pre-build target work in .NET Standard 2018-01-16 11:21:07 -07:00
Edward Brey f9b27a2edf Fix UWP button image rendering crash (#1576)
On UWP, if you click around an app quickly, you can get it crash with this error:
> Xamarin.Forms.Platform.UAP.dll!Xamarin.Forms.Platform.UWP.ButtonRenderer.UpdateContent.AnonymousMethod__0(object sender, Windows.UI.Xaml.RoutedEventArgs args)

Since image loading is deferred, if you navigate quickly (or if you load the image from a slow source), the Xamarin.Forms element may no longer be present when `ImageOpened` is raised. The null check in this PR should fix that.
2018-01-16 11:20:18 +00:00
Stephane Delcroix 12ee823b94 same as #1551 bot for the other path 2018-01-16 11:22:11 +01:00
E.Z. Hart a72345732d [Android] Don't assume casts to Activity from Context will be successful (#1561)
* Don't assume casts to Activity from Context will be successful

* Remove superfluous `using` statement
2018-01-15 12:23:57 +00:00
Stephane Delcroix 35ae3847e3
[Xaml] do not check PropertyName on Obsolete BPs (#1571)
fixes #1566
2018-01-12 21:51:45 +01:00
Javier Suárez Ruiz 886abf0853 Added WPFLightToolkit ResourceDictionary to WPF Platform project. This prevents the user from having to add it to the resources of their Application. (#1560) 2018-01-12 17:35:02 +00:00
Stephane Delcroix a24c7e5808
[Xaml[C]] avoid processing RD content multiple times (#1559)
Stop the RD visitor on the RD node, as the SetPropVisitor is taking over

fixes #1554
2018-01-11 20:03:12 +01:00
Paul DiPietro dcb2d2bb2a [UWP] Use transparent as default TabbedPage bar background color (#922 reopen) (#1327)
* [UWP] Use transparent as default TabbedPage bar background color

* Remove a now unnecessary check for 8.1
2018-01-11 12:36:22 +00:00
Paul DiPietro 7ea9f20bd2 [UWP] Check LockApplicationHost/assigned access on IsInvokeRequired (#1534) 2018-01-11 12:11:46 +00:00
E.Z. Hart eb5839341e
Merge branch 'issue-filters' 2018-01-10 16:59:00 -07:00
Stephane Delcroix 8091843062
[CSS] allow the previewer to intercept the load call earlier (#1551) 2018-01-10 20:43:02 +01:00
Stephane Delcroix 485b345049
[CSS] Apply StyleSheets through Cells (#1547)
Cells, and other Elements, are now part of the hierarchy used
for setting down stylesheets,

fixes #1472
2018-01-10 16:35:44 +01:00
Rui Marinho ef6cf6af8b Update provisioning to 15.5 sr3 2018-01-10 11:06:59 +00:00
Stephane Delcroix 0618c35de2
[XamlC] resolve generic types with generic and non-generic parameters (#1533)
fixes #1497
2018-01-09 09:32:41 +01:00
Kangho 3490f61c65 Support Page embedding to Tizen backend (#1506) 2018-01-08 19:19:19 +00:00
Rui Marinho 103baa4158
Update submodule (#1511) 2018-01-05 19:10:38 +00:00
Rui Marinho 913befb7e2 Update submodule 2018-01-05 17:34:39 +00:00
workgroupengineering f8566492da [Core] Fixed invocation of the IButtonController methods when IsEnabled is false (#1410)
* Fixed invocation of the IButtonController methods when IsEnabled is false

* Fixed Testes
2018-01-05 16:25:41 +00:00
Rui Marinho 14937b6252 Merge branch '15-5' 2018-01-05 10:13:23 +00:00
Samantha Houts c5afb79153 [UWP] Grouped ListViews respond correctly to Tapped events (#1499)
* Add repro for issue 1439

* [UWP] Use GlobalIndex to get index of item when there are groups.

* [UWP] Just in case the ListView is disposed before the event fires...
fixes #1439
fixes #1401 (duplicate)
2018-01-05 09:46:49 +00:00
BradChase2011 3c9fffddcf [WPF] Added a simplistic TimePicker. (#1500) 2018-01-05 09:12:33 +00:00
E.Z. Hart 28948d7ef7 VisualStateManager phase 1 (#1405)
* Port from old VSM branch

* Add PS and notes

* Checkpoint: entry text UWP mostly working, need to check on background colors

* Remove irrelevant samples from the EntryDisabledStatesGallery
Make Background color work on UWP Entry with VSM

* Add platform specific for disabling legacy colors on Android

* Add OnPlatform example to visual state manager gallery

* Add example OnIdiom in Visual State Manager

* Add platform specific for disabling legacy color mode on iOS Entry

* Add gallery for Button disabled states
Handling legacy colors for Buttons on Android

* Split out disabled states galleries; disabled legacy handling for Picker

* TimePicker disabled states

* DatePicker color management on Android

* Color management for pre-AppCompat button

* Button legacy color handling on iOS

* Consolidate Platform Specifics;
legacy colors working for iOS Picker and DatePicker

* Fix broken search bar color management
SearchBar color management working with VSM
Add test page for SearchBar disabled color management
Consolidate legacy color management check code into extension method on Android

* Legacy color management for Editor on Android

* Fix legacy color stuff for SearchBar Cancel button on iOS

* C# 7 cleanup

* Add colors for Cancel Button

* Make sure VisualStateGroup collections set by styles are distinct objects

* Validation example

* Make common state names consts

* Make the Windows VSM and Forms VSM work together

* Update galleries for Windows

* Make new methods internal

* Split gallery classes and add more explanation to validation example

* Remove debugging statements

* Add a quick code-only example

* Make legacy color management work for fast button renderer

* Remove old TODO

* Update docs

* Move RunTimeNamePropertyAttribute to Xamarin.Forms.Xaml namespace

* Verify XF namespace when looking for VisualState

* Use nameof

* Make common states constants public

* Cast VisualElement directly so it crashes if the property is set on the wrong type

* Collection -> IList for VisualStateManager

* Setting fromStyle to true

* Remove extraneous `private set`

* Seal VSM classes

* Use constraints instead of ==

* Add teardown method; use constraints rather than ==

* Remove null checking with GetVisualStateGroups

* Don't explicitly initialize collections on elements

* Actually, turns out that fromStyle:false *was* correct

* Direct casts

* Use GetIsDefault check in GoToState

* Validate parents in FindTypeForVisualState

* Validate group and state names on Add

* Fixed check for setter collection

* Fix issues with "duplicate" names when VisualStateGroups declared directly on VisualElements

* Add gallery example for VSGs directly on VisualElements

* Update docs

* Fix bug where initial TextColor isn't set for FastRenderer Button

* Move to explicit VisualStateGroupList in Setter

* Fix return types for unit tests

* Using string.CompareOrdinal in GetState

* Update docs

* Add check for null/empty VisualState Name properties
2018-01-05 09:11:51 +00:00
kingces95 bcb7b665ad Fix NRE when resuing reset map (#1265) 2018-01-04 17:37:30 +00:00
Mohamed CHOUCHANE c8b4685bc9 [Android] Fix bug : Frame outline color not rendering (#1385)
* Fix issue G1347

* Add dispose _backgroundDrawable

* Replace OutlineColor by BorderColor
2018-01-03 10:47:38 -08:00
Adam Ivancza b8de5564bf CGColor creation fixed on iOS and MacOS (#1182) 2018-01-03 18:19:14 +00:00
E.Z. Hart 9a8c3e7825
Add filter toggles for the various issue trackers 2018-01-03 09:58:04 -07:00
E.Z. Hart 0d199d1515
Filter issues screen as user types 2018-01-03 09:58:04 -07:00
E.Z. Hart cdf39b8769 [Android] Handle LongPress correctly in ViewCell with TapGesture content (#1441)
* Allow LongPress to process events when item with TapGesture doesn't fill cell; fixes #1331
Add haptic feedback when calling LongClick;

* Remove unnecessary XamlCompilation attribute
2018-01-03 15:18:26 +00:00
E.Z. Hart c5326abe12 [Android] Remove extra scrolling when ScrollOrientation is Both (#1294)
* Repro of 60774

* Remove extra Y-direction scrolling when bidirectional scrolling is on

* Add tests for horizontal and diagonal scrolling
Fix horizontal scroll speed, restore diagonal scrolling and fix speed

* Add test instructions
2018-01-03 10:52:47 +00:00
Mihhail Maslakov 569585a2d4 Descriptive exception when ItemViewType >= ViewTypeCount (#1383) 2018-01-03 10:52:22 +00:00
E.Z. Hart 1988ac644b
Another attempt to make the 31333 UI test work on all platforms 2018-01-02 17:24:36 -07:00
E.Z. Hart 0a555f43ed
Fix possible race condition in 31333 UI test 2018-01-02 10:24:59 -07:00
Javier Suárez Ruiz fa85b658c9 [GTK] Platform and Maps NuGet nuspecs (#1453)
* Added GTK Platform and Maps nuspecs

* Added new GTK nuspecs to the solution

* Changes from PR feedback: Renamed Xamarin.Forms.Platform.GTK.nuspec to Xamarin.Forms.GTK.nuspec and discarded changes in the main sln

* Changed Xamarin.Forms.GTK nuspec identifier

* Updated nuspec (copyright year and Platform id)
2018-01-02 16:29:01 +00:00
Rui Marinho 6668ff6458
[iOS] Update inner stack correctly when popped fast (#1029)
* [iOS] Update the NavigationPage inner stack when UIViewController is removed

* [iOS] Remove debug info

* Update submodule
2018-01-02 11:37:05 +00:00
kingces95 33bd88fbc8 [Android] Deduplicate AutomationPropertiesProvider (#1199)
* Deduplicate AutomationPropertiesProvider

* [Android] Remove not used field
2018-01-02 11:36:21 +00:00
Rui Marinho 5ff07b6368 Update submodule 2018-01-02 11:33:06 +00:00
kingces95 f4f4906304 Fix IndexOutOfRangeException for iOS ListView (#1463)
* Rename create-nuget.bat

* fix bz59412; maybe 1333
2018-01-02 10:58:21 +00:00
Kangho fc1f817996 Add support for hint flags for tizen backend (#1484) 2018-01-02 10:26:15 +00:00
E.Z. Hart 9a43eb33a5
Reinstate test for 33578 2017-12-29 14:29:51 -07:00
E.Z. Hart b916c16da0
Rewrite 32898 test so async method doesn't loop forever 2017-12-29 14:16:15 -07:00
E.Z. Hart 9b4f808447
Add manual review category 2017-12-29 13:37:05 -07:00
E.Z. Hart 32c19d522a
Make 41619 test work in Android with the Linker 2017-12-29 13:30:53 -07:00
E.Z. Hart 647c2198fa
Fix broken cell image test 2017-12-29 11:23:05 -07:00
E.Z. Hart 245389cbbd
Remove unused URLs for invalid images 2017-12-28 16:57:45 -07:00