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

1047 Коммитов

Автор SHA1 Сообщение Дата
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
E.Z. Hart 14a740dd5e Make Entry completed behavior on UWP/WinRT match Android/iOS (#747)
* Make Entry completed behavior on UWP/WinRT match Android/iOS

* Accessibility test
2017-03-20 19:09:41 +00:00
adrianknight89 ea4673c8cb [iOS] Use UIButtonType.System for Button and utilize UIButton.Appearance (#554)
* Change button style and use UIButton appearance

* added sample code

* change references

* setting other properties

* add comment

* refactor proxy setter

* made control states array static

* remove category declaration

* changes

* add sample code

* changes

* Fix identation

* Update ButtonRenderer.cs
2017-03-20 15:53:54 +00:00
Paul DiPietro 04d034057c [WinRT/UWP] Open Picker dropdown when calling Focus (#762) 2017-03-20 08:48:28 -07:00
Ethan Dennis 5ca7259959 UWP MapRenderer NRE and Location fixes (#811)
* Issues:
1. If UWP MapRenderer is navigated away from, before the user location
is found, an uncaught NRE will be thrown.
2. UWP MapRenderer updates are not enforced to be on UI thread
3. Order of operations in MapRenderer would cause user location to never
be shown.

Fixes:
1. Added null checks in UpdateUserIsShowing and LoadUserPosition
methods.
2. Called map position updates on UI thread.
3. Changed order of operations in OnElementChanged to allow for user
geocoordinates to be shown.

* Fixed code formatting issues

* Fix formatting

* Deterministic null checks

* Updated null checks
2017-03-20 08:40:04 -07:00
wplong11 f98e1525c1 [Core] Fix internal children clear logic (#820)
* Fix InternalChildren clear logic

* Improve InternalChildren clear logic

* Add test code to verify InternalChildren clear logic

* Add missing test cases

* Improve time complexity of clear logic

* Fix the test case where InvalidOperationException occurs.

* Correct the name casing of the test case

* Modify a wrong test code
2017-03-20 12:06:20 +00:00
kingces95 ce06819328 Adopt iOS status bar visibility defaults (#822) 2017-03-18 18:55:40 +00:00
kingces95 9a6f771262 null check effects before clearing (#821) 2017-03-17 22:57:11 +00:00
Mike Norman a41f9d3556 Remaining XAML API summaries. (#813)
* Remaining XAML API summaries.

* update docs
2017-03-16 21:59:29 +00:00
Daniel Williamson e36a02497a Set the transitioning delegate. (#819) 2017-03-16 21:58:42 +00:00
Stephane Delcroix 467c1befa1 Resource loading (#815)
* Resource Loader

* Replace XamlLoader API by ResourceLoader for the Previewer

* instruct generated IL to use the resourceLoader

* [docs] update docs

* oops

* [docs] fix docs
2017-03-16 12:09:22 -07:00
kingces95 eb8b4d1945 Add internal XF.Registrar.RegisterAll b/c previewer needs it (#816) 2017-03-16 16:19:35 +00:00
Mike Norman 6c8b45d5b6 Internal-only boilerplate for Xaml.Internals docs. (#817) 2017-03-16 16:19:01 +00:00
Stephane Delcroix c9589b6065 [test] passing test for 53318 (#818) 2017-03-15 11:35:44 +01:00