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

1016 Коммитов

Автор SHA1 Сообщение Дата
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
Roger Hardiman 791b84f2f1 [MacOS] Fix bugzilla58779 (#1109)
* Add test for B58779 - DisplayActionSheet bug on MacOS

When there are a large number of items in the list (eg 15) the list goes off the bottom of the Mac desktop

* Add test for B58799 to project

* Fix for B58799

If the list of buttons has a height > 400 then put the list in a NSScrollView

* Fix whitespace for Bugzilla 58779

* Add vertical scrollbar

* Set height of scrollview to 60% of the screen height
2017-09-01 16:27:13 +01:00
Rui Marinho 1676417323 [iOS] Make sure to include query path on generated url (#1119) 2017-09-01 16:26:03 +01:00
Rui Marinho 20cc236f06 [Android] Fix NRE when page is being disposed (#1118)
* [ControlGallery] Add test case for bugzilla 59097

* [Android] Fix NRE
2017-09-01 16:22:28 +01:00
Jonathan Peppers ac80d35bf3 [android] fix binding warnings from FormsViewGroup (#1117)
Building Xamarin.Forms gives warnings such as:
```
BINDINGSGENERATOR (0, 0)
BINDINGSGENERATOR(0,0): Warning BG8800: Unknown parameter type
System.Xml.XmlReader in method CreateFromXml in managed type
Android.Content.Res.ColorStateList.
BINDINGSGENERATOR (0, 0)
BINDINGSGENERATOR(0,0): Warning BG8800: Unknown parameter type
System.Xml.XmlReader in method CreateFromXml in managed type
Android.Content.Res.ColorStateList.
BINDINGSGENERATOR (0, 0)
BINDINGSGENERATOR(0,0): Warning BG8800: Unknown parameter type
System.Xml.XmlReader in method ParseBundleExtras in managed type
Android.Content.Res.Resources.
BINDINGSGENERATOR (0, 0)
BINDINGSGENERATOR(0,0): Warning BG8800: Unknown parameter type
System.Xml.XmlReader in method CreateFromXml in managed type
Android.Graphics.Drawables.Drawable.
```

For now you can just add a reference to System.Xml to fix this.
2017-08-30 16:43:52 +01:00
Mikayla Hutchinson dd662f4041 [Internal] Fix loading props file on older MSBuild versions (#1112)
* Fix loading props file on older MSBuild versions

* Fix applying metadata to default items

* Fix build error caused be errant '

* Fix ' issue better this time

* One more missing '
2017-08-29 12:30:36 +01:00
Paul DiPietro 5f5924fed0 [Android] Use 24-hour time format on TimePicker text if enabled (#1082) 2017-08-29 11:32:50 +01:00
E.Z. Hart 5beaf7630e [Android] Restore and obsolete EditorEditText and EntryEditText controls (#1114)
* Restore and obsolete EditorEditText and EntryEditText controls

* Don't need to use the obsolete classes in the renderers

* Update obsolete messages
2017-08-23 16:06:45 -06:00
Rui Marinho 20bf3640b2 [Android] Fix bugzilla58868 (#1106)
* [Android] Only set elevation in Lolipop or newer

* Update submodule
2017-08-23 22:40:19 +01:00
Paul DiPietro 31efc05d31 [UWP] Adjust setting of Slider's BackgroundColor (#1113) 2017-08-23 22:36:40 +01:00
E.Z. Hart 5c05e3af83 Fix NRE when removing multiple pages in NavigationPageRenderer (#1108)
* Update 53179 test to remove 2 pages; fix for NRE when removing two pages with Android Support 25+

* Add missing step to UI test
2017-08-22 14:55:49 +01:00
Rui Marinho 78426257f4 [UITest] Add preserve (#1105) 2017-08-17 18:30:24 +01:00
Jimmy Garrido f2901b0372 Set time before unfocusing (#1051) 2017-08-17 17:11:41 +01:00
Samantha Houts f0d407a726 [UWP] ListView ItemSelected event will fire only once on selection changed (#1005)
* Add repro for 44886

* [UWP] Fire ListItemClicked when Selection changes

This will automatically set the value on the renderer and prevent the double event from firing.

* Clean up repro

* Update test case for delection scenario

* [Core] Allow ListView item deselection

* [UWP] Send events when item is deselected, too

* Test works better when you DO something.
2017-08-17 16:59:13 +01:00
Rui Marinho cc48d3c7f9 [UITest] Fix FastRenderer test for iOS (#1102)
* [UITest] Fix FastRenderer test for iOS

* [UITests] Update uitest packages and make test only run on android

* [UITests] Update more UITests packages
2017-08-17 10:57:58 +01:00
Mikayla Hutchinson b6c1b60fa6 Automatically add XAML items to Sdk-style projects (#1101)
By default, Compile/EmbeddedResource/None items are added to Sdk-style
projects by wildcard. Use the same logic to add XAML files and fix
up the item metadata.
2017-08-15 19:21:42 +01:00
Samantha Houts 2747cdc7a6 [Android] Eagerly dispose children of ListViews to prevent ObjectDisposed exception (#1063)
* Add repro for 57910

* [Android] Dispose cells explicitly

* [Android] Add default constructors to prevent crash on dispose

* [Android] Don't try to dispose headers and footers
2017-08-15 19:18:57 +01:00
Marko B. Ludolph 71f08bf48a [macOS] ModalPage Resize Fix (#1058)
* [macOS] ModalPage Resize Fix

* Added _renderer and _renderer.View null check.
2017-08-15 18:06:07 +01:00
Samantha Houts 6b9730ee2b [iOS] Prevent ListView HasUnevenRows crash when template w/container Element is swapped (#1095)
* Add repro for 58645

* [iOS] Check for null before clearing element renderer

* [iOS] Remove unnecessary code

renderer.SetElement(null); == descendant.ClearValue(Platform.RendererProperty);

* [iOS] Clarify comment, use preferred method of clearing renderer from Element

* How about we make the test work?

Sounds like a good idea to me.
2017-08-15 16:50:59 +01:00
Rui Marinho 565973a42f [Android] Fix missing shadow on Button fast renderer (#1034)
* [Android] Fix missing shadow on Button fast renderer

* [Android] Fix z index on Loplipop

* [Android] Make sure we don't hit NRE when updating background

* [Android] Fix possible NRE on BackgroundTracker

* [Android] Remove elevation fix

* [Android] Set elevation in Android Views if needed

* [Android] Add UITest for button on fast renderes

* [Controls] New test for elevation with fast renderer button
2017-08-15 16:39:02 +01:00
Marko B. Ludolph af404c5529 [macOS] Implements/Fixes Vertical Text Alignment in the Label Renderer (#1046) 2017-08-15 11:14:02 +01:00
Rui Marinho d85d93c461 Update provision versions (#1099)
* Update provision version

* Update vs4mac version on provision
2017-08-15 10:44:35 +01:00
Rui Marinho 4eb64b900c [MacOS]Remove extra lib that's not needed for Maps (#1100)
* [MacOS]Remove extra lib that's not needed for Maps

* [Nuget] Update nuspec
2017-08-15 10:44:02 +01:00
E.Z. Hart 8771b4fa31 Avoid exception when removing a page from navigation during Appearing handler (#1094)
* Theoretical repro

* Repro

* Remove unnecessary forced execution of pending transactions

* Update issue data
2017-08-15 01:17:21 +01:00
Marko B. Ludolph 8723ed1b52 macOS: Fix for "Cannot register two managed types ('NSToolbarItemGroup')" (#1097) 2017-08-14 20:16:36 +01:00
E.Z. Hart 9adeedceb9
Add check to avoid running AppCompat-specific tests on pre-AppCompat
Fix race conditions in tests running agaist FormsApplicationActivity
2017-08-10 16:42:41 -06:00
Marko B. Ludolph 44c6ccdd6b [macOS] Autolayout Engine Exception Fix (#1048) 2017-08-10 23:23:46 +01:00
David Ortinau f37851c5ed added styling instructions for Visual Studio for Mac (#1078) 2017-08-10 23:20:37 +01:00
E.Z. Hart 0ff50e2418 Add support for backcompat hint flags (#1074)
* Add support for backcompat hint flags

* Making fast renderers internal and sealed while experimental
2017-08-10 19:08:18 +01:00
E.Z. Hart 1aab6ff489 Repro 58406; apply effects to fast renderers on Android (#1077) 2017-08-10 10:35:27 -07:00
Rui Marinho ec10a37ff1 Use Xamarin.Forms.Build (#1092)
* Use Xamarin.Forms.Build

* Automatic
2017-08-10 09:50:25 +01:00
E.Z. Hart 31e17cc1e1
Fix ToolBarItemTests for pre-AppCompat 2017-08-08 16:34:32 -06:00
E.Z. Hart 4c15803807
Make platform query for toolbar work with AppCompat/pre-AppCompat 2017-08-08 09:48:02 -06:00
Rui Marinho c13edf4f7c [iOS] Clear state so we allow the SelectedItem to be set (#1073) 2017-08-07 19:34:55 +01:00
Rui Marinho 2d726831ce [iOS] Fix regression introduced on #520 (#1072) 2017-08-02 00:48:27 +01:00
Rui Marinho d346f4b1f4 [Android] Update Android warnings to ignore for now (#1076) 2017-08-01 22:23:47 +01:00
E.Z. Hart 0050a3083b Add missing compiler directive 2017-07-26 14:13:43 -04:00
E.Z. Hart f70f7d5bd2
Temporarily ignore intermittently failing test 2017-07-26 09:16:29 -04:00
E.Z. Hart da962fc371 Update docs 2017-07-25 17:08:10 -04:00
Rui Marinho 6be1e9ab43 [Mac] Fix ProgressBar (#1068) 2017-07-25 12:30:27 -04:00
Marko B. Ludolph 9c82ed129f [MacOS] Image Aspect Fix (#1041)
* MacOS Image Aspect Fix

* FormsNSImageView internal

* Fixed: Renderers/ImageRenderer.cs(9,15,9,28): error CS0060: Inconsistent accessibility: base class 'ViewRenderer<Image, FormsNSImageView>' is less accessible than class 'ImageRenderer'

* FormsNSImage internal fix
2017-07-25 09:39:44 -04:00
Marko B. Ludolph f3f3424544 [MacOS] Tabbed Page Top Offset Fix (#1042)
* Tabbed Page Top Offset Fix

* Fixed Tabs
2017-07-24 17:17:16 -04:00
Marko B. Ludolph 839cc9f5c5 [macOS] BoxView Color Fix (#1055) 2017-07-24 17:16:10 -04:00
Marko B. Ludolph f0b1efbb91 [macOS] Set tab order (e.g. for entries) on a Page (#1060)
* [macOS] Add tab order (e.g. for entries) on a Page

* Return NativeView if no subviews are available
2017-07-24 17:13:21 -04:00
Marko B. Ludolph 578a1d1821 [macOS] Page.Alert return value fix (#1062)
* [macOS] Page.Alert return value fix

* Use the views window
2017-07-24 17:12:09 -04:00
David Ortinau e828fa6fa5 when closing the Picker by tapping outside or hitting done, verify the source selection index matches the UI control. When it is in spin, the animation completes offscreen and the next time it opens you see the wrong row selected. (#1054) 2017-07-24 17:00:20 -04:00