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

194 Коммитов

Автор SHA1 Сообщение Дата
E.Z. Hart 3f9dca4758 [UWP] Remove Platform casts (#3442)
* Move back button handling directly to platform

* Make UWP platform statically accessible, cache instance on NavigationPageRenderer
2018-08-01 09:07:28 +02:00
Pavel Yakovlev 2b5fad067d [UWP] Fixes setting SelectedItem inside ItemSelected event (#2984)
* [UWP] Fixes #1469 setting SelectedItem inside ItemSelected event

* test improvement
2018-07-30 21:42:33 -06:00
Martin Zikmund 6031bbfb69 [UWP] Fix CornerRadius rendering on Frame (#3239) fixes #2838
* Updated Frame renderer on UWP to handle CornerRadius properly

* Test page for issue 2838

* Fixed typo and removed UITEST directive

* Label was cut off, fixed
2018-07-30 17:54:24 +01:00
Stephane Delcroix 2535c2098c Merge branch '3.2.0' 2018-07-30 10:39:42 +02:00
Stephane Delcroix 2b74434ba0 Merge branch '3.1.0' into 3.2.0 2018-07-30 10:39:09 +02:00
E.Z. Hart dfd7251101
[UWP] Add missing IToolBarForegroundBinder interface on TabbedPageRenderer (#3363)
* Implement missing IToolBarForegroundBinder interface on TabbedPageRenderer

* Make the tool bar foreground/background colors apply to new tabs
2018-07-26 13:51:40 -06:00
E.Z. Hart 3a067272a9 Rejoin Platform and NavigationPageRenderer partial classes (#3362) 2018-07-26 11:27:57 +02:00
Pavel Yakovlev 24be4ea745 [UWP] Fixes password Entry Copy/Paste/Insert/Remove behavior (#3166) 2018-07-25 18:06:32 -07:00
Shane Neuville 72ad5cac3d Remove math on scroll view container for RTL (#3299)
* fixes #3000 remove math on scroll view container for RTL
- setup RTL scrollviews to all start scrolled all the way to the right

* * formatting and renaming fixes

* - don't move scroll if not set to RTL
2018-07-23 11:11:01 -07:00
Samantha Houts ab677420e3 Merge branch '3.2.0' 2018-07-23 10:34:19 -07:00
Samantha Houts e365181f5c Merge branch '3.1.0' into 3.2.0 2018-07-23 10:33:44 -07:00
Alan Grgic 97d2f30f6b [Enhancement] Allow underline and strikethrough text decorations on labels and spans (#2221)
* Fixes #1632

* Allow underline and strikethrought text decorations on labels and spans

* revert some files

* pr feedback adjustments

* remove docs

* rename interface

* reorder enum

* clean up whitespace

* adjust tizen renderer

* add gallery demo for setting both underline and strike

* allow multiple values of enum to be set in xaml/css

* use normal null check

* use nameof

* include paragraph style

* tab alignment

* rebase from upstream

* pass control to update method on UWP

* correct text decorations type converter

* reset run text instead of label text on UWP when spans are used

* add tests for text decoration converter
2018-07-20 17:57:11 -06:00
E.Z. Hart 9ee71c610f Fix weird PageControl style problem in UWP (#3298)
-fixes #3297
2018-07-20 11:08:49 -06:00
Samantha Houts f390b64630 Merge branch '3.2.0' 2018-07-13 10:07:33 -07:00
Samantha Houts 5577429836 Merge branch '3.1.0' into 3.2.0 2018-07-13 10:06:31 -07:00
Shane Neuville 67ad122811
[UWP] store alert to local variable for thread safety (#3268)
- fixes #3250
2018-07-11 12:48:19 -06:00
Rui Marinho ffa53d3113 Merge branch '3.2.0' 2018-06-29 02:56:02 +01:00
Rui Marinho 57994e7d8d Merge branch '3.1.0' 2018-06-28 17:07:59 +01:00
E.Z. Hart 794ae16ccb Clean up "backButton" stuff in PageControl (#3076) 2018-06-28 12:37:10 +01:00
Stephane Delcroix c79c77dbdf [build] Version and strongname the Build.Tasks (#3118) 2018-06-28 12:04:16 +01:00
Shane Neuville 2d015f21cf [UWP] Remove use of TLI for Cells (#3060) fixes #2617 , fixes #3053 , fixes #2832
- fixes #2617
- fixes #3053
- fixes #2832
2018-06-27 17:48:59 +01:00
Matthew Richardson e09e4af4d0 Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 2018-06-27 11:30:27 +01:00
Rui Marinho 9fe5372c1d Merge branch '3.1.0' 2018-06-26 15:10:42 +01:00
Samantha Houts 4d5a1f5482 TitleView (#2586)
* Stop crashing when I accidentally click on the Perf gallery

* [Core] Add TitleView to NavigationPage

- also add unit tests
- fixes #1716

* [Android] Add ClearRenderer static method to Platform

* [Android] Use Platform.ClearRenderer

it's a straight extract from this class

* [Android] Implement TitleView and TitleIcon on AppCompat backend

using lessons (and some duplicated code) from ListView header/footer views.

* [iOS] Implement TitleView

* [UWP] Implement TitleIcon and TitleView

* [Core] Add NavigationPage.BarHeight

* [Android] Use BarHeight

* NavigationBarGallery updates

* [Core] Add iOS HideNavigationBarSeparator Platform Specific

* [iOS] Implement HideNavigationBarSeparator Platform Specific

* sample search page

* Convert BarHeight to Android platform specific

* Reset BarHeight when leaving the gallery

* Add a sample TitleView xaml page

* VisualElement >> View

* Fix comment

* Improved SearchTitle sample page

* [Core] Set TitleView Parent on Changing instead of Changed

Changing is too late for the iOS layout

* [iOS] Fix layouts in iOS10

* [iOS] Stop content clipping

* Expanded test page

* [iOS] Fix HideNavigationBarSeparator for iOS<11

* [iOS] Layout TitleView with margins

* More tweaks to test page

* [UWP] Fix OnDetailPropertyChanged if/else

* [UWP] Comment empty setters

* Convert commented code to more useful comment.

* Adjust performance test async call
2018-06-25 13:00:03 +01:00
E.Z. Hart 781165fabd Allow PageControl to find its template if a NavigationPage is the app root; fixes #1483 (#3074) 2018-06-20 22:17:40 +01:00
Rui Marinho a8ec456ac0
Merge branch '3.1.0' 2018-06-16 01:00:51 +01:00
Rui Marinho a5bae7c47d Merge branch '3.0.0' to 3.1.0 2018-06-15 19:00:48 +01:00
Shane Neuville 19f6d75004 [UWP] Fixed code to only call ReloadData once, set CVS to null, and add correct items to internal source (#3023) fixes #3008 fixes #3009 fixes #3018 fixes #3019 fixes #2996
*  fixes #3008 and #3009

* fixed code to only call reload data once
* if itemsource is set to null then just null out CVS otherwise it'll cause a COM Exception
* added ListView Categories to some tests to more easily run targeted tests against UWP
* fixed a couple UWP tests that weren't passing

* * fixes #3018
* fixes #3019
* fixes #2996
* The wrong object was being added to the internal collection

* * add test case for listview initailized as null
2018-06-15 12:34:47 +01:00
Rui Marinho 3654454b28 Merge branch '3.1.0' 2018-06-08 14:20:12 -07:00
Rui Marinho e0bc1f7a5d Merge branch '3.0.0' into 3.1.0 2018-06-08 14:19:42 -07:00
Jason Smith 1775058b22 Fix 3d rotation on UWP (#2992) fixes #2841 , fixes #2514 2018-06-08 14:18:48 -07:00
Rui Marinho a6bbcfdd2c Merge branch '3.1.0' 2018-06-08 09:43:31 -07:00
Rui Marinho 090d316d16 Merge branch '3.0.0' into 3.1.0 2018-06-08 00:06:13 -07:00
Philippe Leybaert fbbbb1cca1 [UWP] Fix issue where if ItemsSouce is initially null, listview would never render (#2976) 2018-06-08 00:04:40 -07:00
Rui Marinho 5dfe751da8
Merge branch '3.0.0' into 3.1.0 2018-06-07 16:58:21 -07:00
Shane Neuville d085b290d9 [UWP] Ignore setting the Z Index on initial load (#2949) fixes #2943 fixes #2653
* When elements are first added to the visual tree don't set the Z-Index
2018-06-07 10:37:12 -07:00
Rui Marinho 1a29b0142a Merge branch '3.1.0' 2018-06-04 16:16:30 -07:00
Rui Marinho a31c51ca01 Merge branch '3.0.0' into 3.1.0 2018-06-04 16:14:31 -07:00
E.Z. Hart 6be203ab2e Check ItemsSource for null in ListViewRenderer; fixes #2929 (#2934) 2018-06-04 16:10:15 -07:00
Samantha Houts 1a70c1325b [UWP,iOS] Enable screen readers to read non-interactive elements (#2876) fixes #1946
* [iOS] Default IsAccessibilityElement to true

* Update a11y gallery for new expectations

* [UWP] Don't override OnCreateAutomationPeer on LabelRenderer

This was added in #1067 to enable automated UI tests, but it has drastic effects on the Narrator and will need to be revisited.

fixes #1946
2018-06-03 19:19:46 -07:00
Sean Davies 67f87df3d4 SwipeGestureRecognizer (#2727)
* SwipeGesture

* Fix Build Error

* Remove unused var

* Update Xamarin.Forms.Controls.csproj

* Update Xamarin.Forms.ControlGallery.Android.csproj

* Update Xamarin.Forms.Maps.Android.csproj

* Update Xamarin.Forms.Core.UnitTests.csproj

* Update Xamarin.Forms.Platform.Android.AppLinks.csproj

* Update Xamarin.Forms.ControlGallery.Android.csproj

* Update Xamarin.Forms.Controls.csproj

* Update Xamarin.Forms.ControlGallery.Android.csproj

* Update GestureManager.cs
2018-05-28 11:49:05 +01:00
Rui Marinho 49db5bd71d Merge branch '3.1.0' 2018-05-24 15:08:49 +01:00
Rui Marinho 29b998c1be Merge branch '3.0.0' into 3.1.0 2018-05-24 15:08:21 +01:00
Pavel Yakovlev 8f3d7af41b [UWP] Fixed sync of ListView items with ListViewProxy (#2512) Fixes #2485 2018-05-24 14:44:36 +01:00
Samantha Houts 14af670f5a Merge branch '3.1.0' 2018-05-23 11:27:58 -07:00
Samantha Houts a6a3b25ade Merge branch '3.0.0' into 3.1.0 2018-05-23 11:26:13 -07:00
Henric Müller cd6b01832c Controlling Caret position on iOS,Android,UWP and color on iOS (#2539) Fixes #1667
* [iOS,Android] Support for controlling caret position in Entry

Refs #1667 Adding support for getting and setting
caret position on a text Entry on iOS and Android.

* [UWP] Support for controlling caret position in Entry

Refs #1667 Adding support for getting and setting
caret position on a text Entry on UWP.

* [iOS] Support for setting cursor color

Refs #1667 Updating iOS `UITextField.TintColor` when setting cursor
color on `Entry`.

Adding `IsSet` checks for cursor properties before making changes
to underlying control.

* Adding null checks and UITest

* Making CursorColor iOS specific and adding UITests

Refs #1667

* Fix for BeginningOfDocument being null if not first responder

Moving call to `BecomeFirstResponder` to an earlier stage, before
we call `BeginningOfDocument` since it may be null if called
before text view has focus.
2018-05-23 18:07:39 +01:00
Shane Neuville b02a31090e fixes #2653 on uwp set the Z Index when children aren't added to the end of the stack (#2762) 2018-05-23 16:47:38 +02:00
Shane Neuville 63aa7f4538 fixes #2681 moved UpdateLayout call in ListViewRenderer into BeginInvokeOnMainThread otherwise UWP was creating a duplicate Cell and causing a deadlock in some cases (#2773) 2018-05-23 16:43:16 +02:00
Rui Marinho c22b8b9e0f
Merge branch '3.1.0' 2018-05-15 16:16:52 +01:00