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

1061 Коммитов

Автор SHA1 Сообщение Дата
E.Z. Hart 80e487aa69
Updating build submodule 2017-09-26 17:16:12 -06:00
Rui Marinho c34cfefea2
Revert "[Nuget]Fix condition to import DefaultItems.targes (#1146)"
This reverts commit 009245626b.
2017-09-26 19:42:43 +01:00
E.Z. Hart 210df5f775 [Android] Add platform specific for Elevation (#1158)
* Simple Elevation implementation for BoxView

* More generic version

* Simplify the code a bit

* Add IElementConfiguration<T> to the descendants of Layout<View>

* Add Elevation support to everything on Android; update UI tests;

* Update docs
2017-09-26 11:14:41 +01:00
Rui Marinho 07b9bde257
[UITests] Fix android UITest package reference 2017-09-25 15:52:19 +01:00
Stephane Delcroix a7d12e620c [Xaml/XamlC] better RD inflation (#1148)
* [Xaml] Fix and simplifies FillRDVisitor, other minor refactorings

* [XamlC] Fix RD inflating
2017-09-25 08:52:03 +02:00
Stephane Delcroix 712e7f7ba9 [Xaml] test for MergedRD, and XamlC support 2017-09-22 13:27:47 +02:00
Stephane Delcroix 7d90f145b7 [C] MergedRD: new tests and minor fixes 2017-09-22 13:27:47 +02:00
Adam Pedley 2b7913adda Merged Dictionaries 2017-09-22 13:27:47 +02:00
Rui Marinho ec638b8604 [UITests] Update uitest dev packages ios11 (#1145)
* [UITests] Update uitest dev packages ios11

* [UITest] Update UITest 2.1.2

* Update Xamarin.Forms.ControlGallery.iOS.csproj
2017-09-21 23:55:41 +01:00
Rui Marinho a9dcb894a8
[Android]Ignore warning 2017-09-21 19:46:28 +01:00
Stephane Delcroix ce4e0239fa [C] Use ReferenceEquals to compare BindingContext (#1150) 2017-09-21 10:45:49 -07:00
E.Z. Hart 4458d78dd6 Prevent Flags/IsInitialized check from crashing Android app on restart (#1151)
* Prevent Android app crashes on configuration restarts when flags are set

* Update UI test

* Fix typos

* Don't prevent FastRenderers flag from being set
2017-09-21 10:42:43 -07:00
Matthias 01ff68cfd5 Fix Bug 59580 - CanExecuteChanged raises a NullReferenceException on Android (#1147) 2017-09-21 12:05:01 +01:00
Rui Marinho f596464873 [Build]Update to stable channel XCode9 support 2017-09-19 23:51:41 +01:00
E.Z. Hart 3896c1a7bf [Internal] Stopgap support for running UI Tests on UWP Desktop (#1067)
* First stab at getting UWP app tests running

* Implement a couple more methods (we can get all the way through the first test now)

* Add reset button to UWP Control Gallery; implement WaitForElement

* First pass at WaitForNoElement

* Make layouts available for automation queries; implement Tap(marked)

* Implement some of the keyboard methods

* Checkpoint

* Checkpoint

* More refactoring

* Forgot to save project file

* Put infrastructure for property queries in place

* Fix query parsing bug, add condition for text: query

* Implement Back(); add automation peers to Page and Label

* Implement TapCoordinates

* Fix dismiss button and make test text correct

* Fix incorrect AppRect conversion; add offsets to TapCoordinates

* Better reset

* Fill in missing 'DismissKeyboard' implementation

* Make layout renderers take up space even if they have no children

* Add ability to find TextBoxes by text contents

* DoubleTap
2017-09-19 22:18:24 +01:00
kingces95 d0da0c8bfa Use bitwise ops on caching strategy in ListViewAdapter.cs (#1149) 2017-09-19 18:47:12 +01:00
Rui Marinho 4cfdbabb58 [Nuget]Fix condition to import DefaultItems.targes (#1146) 2017-09-19 15:06:31 +01:00
Samantha Houts da0fc3c894 Fix UI test for 58875 on Android 2017-09-18 10:08:01 -07:00
kingces95 d4480b2e48 Add iOS prototypical cell cache for LV RowHeight calcs (#1143) 2017-09-16 15:10:04 +01:00
Samantha Houts b47068a21e [iOS] Can activate ContextActions on ListViews reliably again (#1144)
* Add ContextActions test category

* Add repro for 58875

* [iOS] Null check for the Delegate; clear the static WeakRef on dispose
2017-09-15 18:52:24 -07:00
Rui Marinho d933e9f10f [Android] Hide actionbar when MDP with NavigationPage with hidden NavigationBar (#1120)
* [ControlGallery] Add repo and test for Bugzilla27731

* [Android] Hide ActionBar if MDP with NavigationPage that hides the NavigationBar
2017-09-15 18:51:19 -07:00
E.Z. Hart 6542427e65 [Android] Restore pinch gestures and fix listview item selection (#1135)
* Repro

* Fail test if tap command is executed more than once.

* Update error message

* Handle context actions and taps without breaking selection

* Fix 58833 test

* Prevent InnerGestureListener from swallowing clicks and preventing selection

* Repro for 57515

* Add gestures category to appropriate tests

* Test notes

* Restore the tap gesture handling

* Better test name

* Simplify InnerGestureListener constructor; handle OnDown only if listening

* OnInterceptTouchEvent for IsEnabled handling

* Fix incorrect class filter in TapGestureHandler

* Restore MotionEventHelper

* Add IsEnabled check on OnTouchEvent

* Reinstate pinch gestures

* Checkpoint (trying to figure out how to handle button elevation)

* Rip out elevation ordering in DefaultRenderer

* Working version of pinch-to-zoom test

* Clean up lazy initializers, remove unnecessary members

* One fewer Java.Lang.Object

* Fix issue number; clean up notes and issue number changes

* Remove conditional

* Restore correct issue number

* Automate all the options for 58833 test

* Remove unnecessary automation ID

* Formatting cleanup; reinstate gesture detector dispose checks

* Updating Xamarin UI test version to avoid iOS crashes; update test to open iOS context actions

* Attempting to get 58833 test running on all iOS versions
2017-09-15 19:49:19 +01:00
Rui Marinho 0b1d5d9202
Update submodule 2017-09-15 17:26:38 +01:00
E.Z. Hart fc6d571e8a Fix failing UI tests for Android FormsApplicationActivity (#1141)
* Fix broken test for 57910 when using FormsApplicationActivity

* Fix NRE when removing a page during OnAppearing using FormsApplicationActivity

* Update 45926 test to work correctly with FormsApplicationActivity

* Update 32830 test so it doesn't crash on FormsApplicationActivity

* Longer wait before refreshing appearing messages (to work with FormsApplicationActivity)

* Fix input transparency issue with old FrameRenderer

* Remove extraneous using directive

* Just ignore test 32830 on FormsApplicationActivity

* [Controls] Add missing directive
2017-09-15 15:37:09 +01:00
Rui Marinho 0314360850 [UITests] Update packages, fix failing test (#1140)
* [Nuget] Update UITest packages

* [UITest] Fix failing tests by scrolling to results first

* [PagesGallery] Remove iOS7 storyboard

* Revert "[UITest] Fix failing tests by scrolling to results first"

This reverts commit 54eba70cf04d155998c1436e1320e02984864bca.

* [Controls] Move results labels on 51773 to the top
2017-09-14 22:26:02 +01:00
Stephane Delcroix c60367fe34
[iOS] launch image for iPhoneX 2017-09-14 10:32:48 +02:00
Rui Marinho 1d9c96c767 [Build] Move to XCode 9 support 2017-09-14 00:01:05 +01:00
Rui Marinho e50aad1fec [Android] Make sure to clean the element reference (#1139)
* [Android] Make sure to clean the element reference

* Update VisualElementPackager.cs
2017-09-13 19:35:52 +01:00
Stephane Delcroix 8ee62e827e [C, iOS, Android] LayoutCompression (#1136)
* [C, iOS, Android] LayoutCompression

* fix docs

* minor fixups
2017-09-13 11:18:59 +02:00
Stephane Delcroix 81d2ea7b34
[A] don't fail on android API obsoleted in alpha 2017-09-13 09:57:23 +02:00
Rui Marinho 2013ec0179
Revert "fix docs"
This reverts commit 677f9381e7.
2017-09-12 16:04:40 +01:00
Jon Goldberger d1d6767e57 Fixes Bug 58987 (#1121) 2017-09-12 15:10:13 +01:00
Softlion (Benjamin Mayrargue) e2b443c92d Enables custom images (especially SVG) through the new IImageSourceHandler to work with tab bar icons on Android (like it does on iOS). And also on cell adapters and navigation page menu. (#1130) 2017-09-12 15:09:38 +01:00
Jimmy Garrido 6ae407e9a4 [UWP] Prevent crash when using DateTime.MinValue (#1056) 2017-09-12 13:16:25 +01:00
Paul DiPietro f8176353f2 Revert PR #762 (#1134) 2017-09-12 13:15:22 +01:00
Jimmy Garrido 3fba8ff70d [Windows] Fix custom fonts not working in NavigationPage (#730)
* Fix custom fonts not working in NavigationPage

* Update nuspec

* Update PageControl.cs

fix indentation

* Add manual test
2017-09-12 13:03:27 +01:00
Paul DiPietro 290ff3f60a [UWP] Use ItemClick to re-enable use of enter key for selection on ListView (#1133) 2017-09-12 12:54:22 +01:00
Jimmy Garrido dafc1ffea2 Add null check to prevent NRE when content changes (#1132) 2017-09-12 12:50:51 +01:00
Stephane Delcroix 677f9381e7
fix docs 2017-09-12 11:13:18 +02:00
Rui Marinho 15fbdc80f0 [Tests] Fix UITests that are failing on API 19 android (#1129)
* [Tests] use back for picker tests on Android

* [Tests] See if waiting fixes issues with failing uitest
2017-09-08 11:26:52 +01:00
Stephane Delcroix c1bab7c9e2
disable targets validation for Pages 2017-09-07 11:42:38 +02:00
Stephane Delcroix b70253d897
disable targets validation for Pages 2017-09-07 11:32:52 +02:00
Stephane Delcroix cc2129395b Better XF .targets errors reporting (#1125)
* [XamlC] Better XF .targets errors reporting

 - throw build errors if multiple xf .targets are imported, or if the
  .targets doesn't match the Tasks.dll ABI. That validation is skipped
  when building in CI, as the build task is not yet present at
  validation time.
 - reuse the main .targets for UnitTest builds, avoid duplication
 - parameterize the .targets

* define defaults before import
2017-09-07 09:06:03 +02:00
E.Z. Hart 8cb9050ddf Allow duplicate issue numbers per tracker (#1127) 2017-09-06 17:36:28 +01:00
E.Z. Hart 41f907302d
Add test for RelativeLayout 2017-09-05 17:17:32 -06:00
E.Z. Hart 49b4757d75
Add RelativeLayout to 44096 tests 2017-09-05 16:23:28 -06:00
E.Z. Hart 5947d25aad
Split up test 2017-09-05 16:18:05 -06:00
Stephane Delcroix 110a135590
[XamlC] passing test for 58922 2017-09-04 11:59:53 +02:00
Mikayla Hutchinson 2801aa5551 Fix default items (#1123)
There were some issues in the MSBuild evaluation order
that caused the default items files to never get used.
2017-09-04 09:57:11 +02:00
Stephane Delcroix ab3ab84931
Add newly add files to .sln 2017-09-04 09:44:07 +02:00