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

810 Коммитов

Автор SHA1 Сообщение Дата
E.Z. Hart aa18111265 Verify FragmentContainer created when queueing fragment transaction (Android) (#865)
* Add check for disposed MasterDetailContainer when queueing fragment transaction

* Fix various ObjectDisposedExceptions when setting main page

* Add check for legacy renderers when querying control properties
2017-04-13 16:11:50 +01:00
E.Z. Hart a0affaafbd Update ListProxyTest.WeakToWeak so it works in Release mode (#866)
* Update ListProxyTest.WeakToWeak so it works in Release mode

* Disable CS0414 for test
2017-04-13 15:40:05 +01:00
Rui Marinho 811b9bc567
[Test]Ignore Weak reference test, failing only on release 2017-04-12 19:04:55 +01:00
Rui Marinho 93060b3d60
[UITest]Fix release build 2017-04-12 17:16:54 +01:00
Rob Lyndon b9a94f4b87 Resource Manager fix for F# File Resources (Bugzilla 53515) (#825)
* Resource Manager fix for F# File Resources (Bugzilla 53515)

* Changed spaces to tabs and changed the argument name in the ResourceManager.GetId() function.

* Improved the type checking in GetId().
2017-04-12 11:57:13 +01:00
jcmanke dfda41b0bd Map renderer extensibility (#844)
* Added extensibility features to Maps

Android MapRenderer:
- Moved map initialization to protected virtual method OnMapReady, called by explicit implementation of IOnMapReady
-  Added protected virtual method CreateMarker for customization of pins

iOS MapRenderer:
- Added protected virtual method CreateAnnotation for customization of pins

Pin:
- Unsealed the Pin class
- Made Label a bindable property

* [Docs] Update docs
2017-04-11 23:52:04 +01:00
Mike Norman b832b67875 Marking exposed plumbing internal only in the docs. (#863)
* Marking exposed plumbing internal only in the docs.

* Update docs
2017-04-11 23:51:14 +01:00
Stephane Delcroix d3cc1b5651 [C] Lookup in RD also lookup in merged RDs (#861) 2017-04-11 11:09:06 -07:00
kingces95 093a4efa2d Implicit impl of controller ifaces (#807)
* Simplify ICtrl callsites

* Rebase fix
2017-04-11 19:02:06 +01:00
Jimmy Garrido 7458ca3733 Clean up NavigationBar code in Platform (#753) 2017-04-11 10:48:41 +01:00
Anders Rasmussen 0e73a2d16c Spell correction of FromattedString (#864) 2017-04-11 10:03:07 +01:00
kingces95 0f57733a38 Do not emit implict_op if from/to are same type (#862) 2017-04-10 08:48:54 +02:00
Stephane Delcroix 5ea000a76d [Xaml] Set the TargetProperty on ServiceProvider (#847) 2017-04-07 09:48:17 +02:00
Samantha Houts 5f2796e160 [Internal] Normalize Obsolete attributes (#860)
* [All] Normalize Obsolete attributes.

Make sure we include the version in which the member was deprecated and
consistent instructions for working around the deprecation, if
applicable.

* Update docs
2017-04-07 09:47:33 +02:00
kingces95 45a6a80b4c Fix 52962; Cont refresh even when pullToRefresh is disabled (#810) 2017-04-06 22:47:12 +01:00
Stephane Delcroix 1a7aea41ff More Xaml generic support (#857)
* [XamlG] allow x:Name on nested generic types

* [Xaml*] fail on undeclared xmlns

* [XamlC] allow x:Arguments on generic ctors
2017-04-06 14:37:59 -07:00
Stephane Delcroix ab0fabac61 [Xaml[C]] supports 'using:' xmlns declarations (#851) 2017-04-06 22:22:50 +01:00
Stephane Delcroix 0ee636003b Fix 54334 (#855)
* [C] unset the FromStyle flag on manual setting

* [C] Do not reset overriden values to default

* complete the fix
2017-04-06 14:13:49 -07:00
App Bureauet eb3db860e4 OnResume assumed that _application had been set (#859)
When OnResume is called it should not expect the _application to be set already.
I have an app where I use one activity for showing a splash screen and then it starts an intent to show the main activity containing the application.
This used to work before 2.3.4.224.
2017-04-06 22:11:05 +01:00
E.Z. Hart 9c57db04e4 Fix NRE when RecycleElement is on and list is scrolled quickly (#856) 2017-04-06 11:55:51 -07:00
adrianknight89 6966dd6cc7 [iOS] ActivityIndicator should not disappear when used in a ViewCell (#495)
* preserve activity indicator state

* changed to using listviewrenderer

* remove whitespace

* moved message to constructor

* add sample code

* remove message sending

* changes

* remove curly braces
2017-04-06 19:25:47 +01:00
James Clancey 3d9d1d3d22 Added Section indexes when FastScrolled is enabled (#850)
* Added Section indexes when FastScrolled is enabled

* Moved the GroupListAdapater to its own file

* Renamed Setup to ValidateSectionData
2017-04-06 18:54:00 +01:00
Rui Marinho 425fafb057 Android fastrenderers (#845)
* Obsolete IVisualElementRenderer.ViewGroup in favor of .View

* Fix NRE

* Changing TContainer in PlatformEffect to View

* Fix "View" type

* new VisualElementRenderer

* First attempt at a fast(er) button renderer

* Fast Label Renderer

* Let's try that again. Behold: Label Fast Renderer

* Move FrameRenderer into Fast Renderers

* Fix Disposable on VisualElementRenderer

* Simplify touch and click handlers

* Drop empty if clause

* [Android] Add initial Image fast renderer

* Split accessibility out to a separate helper class; fix tapgesture bug with label

* [Android] Small fixes to VisualElementRenderer

* Move accessiblity stuff to a separate class (which needs a good name)

* Prevent query from looking to parent for fast renderers

* [Android] ImageRenderer refactoring

* Fix elevation/z-index bugs with Button (e.g., 40173)

* Move SetLabeledBy to Accessibilitizer

* Un-break automation IDs for Labels

* Move gesture handling to its own class

* Split gesture and effect management into separate classes

* Remove unneeded packager from LabelRenderer

* LabelRenderer inherits from FormsTextView

* Batch updates to View

* Fix isOnParentRenderer check for non-Android platforms

* [Controls] Update Xamarin.Forms.ControlGallery.iOS.csproj

* [Android,IOS] Small fixes to rebase and use of Internals

* [Android] Ignroe warning for now

* Fast renderers now passing InputTransparent and IsEnabled tests

* Fast and legacy renderers now pass the Enabled and InputTransparent tests

* Change PlatformEffect back, default container to null

* Fix mangled using directives
2017-04-06 14:19:52 +01:00
Stephane Delcroix 829a4bda76
[Xaml] updating the unittests project to cecil .10-b5 too 2017-04-05 13:41:02 +02:00
Mike Norman cbb5b8bc06 Early april doc bugs (#854)
* Fixed: https://github.com/xamarin/documentation/issues/2071

Pulled dated and exuberant examples.

* Fixed: https://github.com/xamarin/documentation/issues/2002

Also added content for Load method in HtmlWebViewSource.xml

* Fixed: https://github.com/xamarin/documentation/issues/1959

* Fixed: https://github.com/xamarin/documentation/issues/1866
2017-04-03 15:31:40 -04:00
Jimmy Garrido b42611cdeb Hide alert window before setting result (#848) 2017-03-31 01:04:29 +01:00
Stephane Delcroix 2d9eab4be8
[XamlC] update cecil to 0.10.0-beta5 2017-03-30 13:31:27 +02:00
E.Z. Hart e55efa2a8e Align iOS, Android, Windows handling of tap gesture event bubbling (#842)
* Add test for gesture bubbling behavior on all controls;
Make Windows behavior consistent with other platforms;

* Fix the stepper test

* Make Frame on Android handle tap event bubbling like the other platforms

* Formatting changes and query syntax instead of SelectMany
2017-03-29 09:52:45 +01:00
Paul DiPietro 90582e9777 [WinRT/UWP] Enable selection in password entry (#677)
* [WinRT/UWP] Enable selection in password entry

* Remove unnecessary if
2017-03-27 18:26:56 +01:00
Rui Marinho e3d213cbe7 [Docs] Fix docs Scrollview IOS Specific (#843) 2017-03-27 15:52:23 +01:00
kingces95 ff7a3bcde0 Fix 53427; Change default UAP styling for a label (#837) 2017-03-27 11:32:18 +01:00
Samantha Houts 1eae24b051 [iOS] Prevent NRE when page is switched on Appearing (#840) 2017-03-27 11:31:04 +01:00
Rui Marinho 9dcce94937 [Android]Refactor to use a extension method to get the drawable (#841)
* [Android]Refactor to use a extension method to get the drawable

* [Android] Use local variable on check
2017-03-24 22:11:20 +00:00
BradChase2011 349969f432 Bz53803 Android app crashes during initialization due to invalid cast of toolbar TextView. (#835) 2017-03-24 20:12:45 +00:00
adrianknight89 27de335bf1 [iOS] Platform specifics to control ScrollView content touch delay (#563)
* can delay content touches optionally

* revert bug fix

* add back _tapGesture

* remove extra declaration
2017-03-24 12:07:59 -07:00
Shane Neuville 377d24fd05 Setup a ConditionalWeakTable in ListProxy to hold weak references so that a ListView will work when connected to a Weak Source (#802) 2017-03-24 11:58:28 -07:00
Rui Marinho 63af840804 [Android] Still look for the normal drawable on resources (#839)
* [Android] Still look for the normal drawable on resources

* [Android]Fix code style
2017-03-24 17:54:12 +00:00
Samantha Houts eea0bdcc6e [iOS] Don't skip row height estimation for grouped lists (#838)
* Nest bugzilla 51536 classes for less pollution

* Add repro for 53834

* [iOS] Don't skip row height estimation for grouped lists
2017-03-24 11:02:59 +00:00
Samantha Houts 79ecf97d92 [Android] ScrollView can now consume Effects (#836)
* Add repro

* [Android] Make ScrollView an IEffectControlProvider
2017-03-23 17:12:41 -06:00
E.Z. Hart f27f5a3650 UI tests for InputTransparent and fixes for Android/Windows (#808)
* Set up automated UI tests for InputTransparent

* Pull in Adrian's UI tests from PR 483

* Fix bugs with box/label/image gestures passing through when not transparent

* Fix disabling of layouts on Windows; fix 44096 test for iOS/Windows;

* Automate the 53445 test
2017-03-23 17:18:38 +00:00
Rui Marinho 2be80a55a5 [UITests]Add Xamarin.Forms.Core.UITests.Shared (#711)
* [UITests]Add Xamarin.Forms.Core.UITests.Shared

* fix

* [UITests]Use shared UITest project on macOS

* [UITests] Add correct platform queries

* [Controls] Add missing Preserve
2017-03-23 11:03:48 +00:00
Rui Marinho 16fcac8cf5 [Android] Fix NRE on Picker (#834) 2017-03-22 19:38:19 +00:00
Stephane Delcroix ebc978b696 [XamlC] accept assignment of Object from unboxed value types in SetValue (#832) 2017-03-22 16:53:24 +00:00
Stephane Delcroix 8cc913794d [C] Make sure all children are parented (#831)
* unit test

* [C] make sure all children are properly parented
2017-03-22 09:09:41 -07:00
Samantha Houts c65a9a8c57 [iOS/Win] Label will not unnecessarily expand (#827)
* Add repro for 53362

* [iOS] Label will not unnecessarily expand

* [Win] Label will not unnecessarily expand
2017-03-22 10:43:17 +00:00
E.Z. Hart 7538350f6d Add gesture disposed check to FrameRenderer (#829) 2017-03-22 10:40:15 +00:00
Stephane Delcroix ada46c3bc0 [C] fix NIE in Span (#828) 2017-03-21 09:39:01 -07:00
James Clancey 4e9d99fea4 iOS renderers now properly look up the ImageSourceHandler for FileImageSource (#826) 2017-03-21 15:02:39 +00:00
Stephane Delcroix 1bb7796951
[C] fix BP DeclaringType in TextElement[C 2017-03-21 12:44:58 +01:00
Jason Smith 8725484ab0 Convert Android maps to GetMapAsync call (#824)
* [A] Move map renderer to calling GetMapAsync

* [A] Make sure Map initializes correctly with Async map fetching
2017-03-21 11:38:36 +01:00