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

611 Коммитов

Автор SHA1 Сообщение Дата
Jason Smith 0282aae399 [A]Fix potential crash when calling ClearFocus in SearchBarRenderer () 2017-01-21 12:52:26 +00:00
Stephane Delcroix 5f9e5e56bb [iOS] redraw Frame on CornerRadius changed () 2017-01-21 12:51:20 +00:00
Jimmy Garrido c9b384ce18 [iOS] Fix NRE when re-adding header/footer () 2017-01-21 00:36:59 +00:00
Kevin Petit a11e4c638b Fix NullReferenceException in VisualElement finalize. () 2017-01-19 10:12:51 +01:00
kingces95 fb024a6e62 .nuspec updates and fixes for X.A.Support 23 -> 25 () 2017-01-18 10:57:12 -08:00
Stephane Delcroix 3701720f0d [XamlC] compile ListStringTypeConverter ()
* [XamlC] compile ListStringTypeConverter

* remove debug statements
2017-01-18 13:04:13 +01:00
E.Z. Hart 5fec30f288 Pool and reuse MKMapView instances on iOS 9 as well as iOS 10 () 2017-01-16 19:36:49 +00:00
E.Z. Hart ec8bcd443a
Fix test failures in Release mode 2017-01-12 16:33:21 -07:00
Jason Smith a7effc7a9d Update copyright dates 2017-01-12 13:46:52 -08:00
E.Z. Hart ba7b66b83a Fix out-of-memory crashes on iOS when creating maps ()
* Pool map views on iOS 10 to avoid memory issues
Clean up disposal implementation for map renderer, delegate

* Enable 39489 test on iOS

* Add missing XF Maps references

* Add missing maps reference to Windows 8.1 project

* Actually enable the test for iOS

* Fix placement of Isolate override

* Don't create a new control for ImageRenderer if NewElement is null

* Reverting fixes to ViewRenderer Dispose; have to fix that in a separate PR
2017-01-12 13:43:57 -08:00
Stephane Delcroix b6cb64e493 [C] new OnPlatform mechanism ()
* [C] Obsolete TargetPlatform

* [Xaml] support and test the new syntax

* blind fix windows platforms
2017-01-12 12:05:41 -08:00
Samantha Houts 3af99cbbe1 [iOS] Labels with WordWrap or CharacterWrap will Expand ()
* Add reproduction for 28650

* [iOS] Expand the label to fill width if wrapping

Also, simplify the `if` statement, since `LineBreakMode` is not a flags
enum and the only excluded member was `None`.

* Test two small labels next to each other in horizontal layout
2017-01-12 11:48:30 -08:00
fengrui e7a7a57e4b fix bug-39359 ()
UriImageSource does cache failed HTTP responses
2017-01-12 19:48:19 +00:00
Sandro Cavazzoni f81e41b11b [iOS] Fix child view position when the Navigation Bar is translucent () 2017-01-12 19:38:24 +00:00
E.Z. Hart 1616413215 Improve registry startup and lookup performance ()
* Optimize search for Effect resolution name
Avoid multiple collection of assemblies during startup
Cache handler lookups

* Handle s_initialized check inside of Initialize method
2017-01-12 19:22:00 +00:00
adrianknight89 20ed60fa9e [Android] NavigationPageRenderer should not create a Fragment unnecessarily ()
* Do not create fragments unnecessarily

* use existing list

* remove local variable

* Revert "remove local variable"

This reverts commit 266e2c3657733c390931df79d4729206b456dfcd.

* remove local variable

* change order of returns
2017-01-12 11:51:40 +00:00
E.Z. Hart 32df5c0ae5 Don't set up the properties task until it's requested () 2017-01-12 11:50:37 +00:00
E.Z. Hart 1d58aaec70 Don't create FontExtensions Regex unless/until necessary ()
* Lazy load Regex for loading fonts from assets

* Allow Regex class to handle Regex initialization and caching
2017-01-11 10:33:04 -08:00
Philipp Sumi 11b982e5d5 Enable 24-hr formatting for Android TimePicker ()
Enable 24-hr time formatting depending on Android system settings instead of the hard coded 12-hour setting.
2017-01-11 12:06:18 +00:00
adrianknight89 f78b328759 iOS and Android timers should be runnable from any thread and execute… ()
* iOS and Android timers should be runnable from any thread and executed on the main thread

* removing unused Timer class declarations with minor refactoring efforts

* iOS and Android timers should be runnable from any thread and executed on the main thread

* removing bak file

* switch to v7

* add test code
2017-01-10 16:07:01 -08:00
E.Z. Hart dcea6b4853
Update 45926 test to account for NavigationPage ref to popped page 2017-01-10 14:25:14 -07:00
adrianknight89 a0417309b8 [iOS] Register effects for ScrollView and WebView ()
* fix effects

* move effect utilities to core

* use core class

* move to internals namespace

* remove IEffectControlProvider from IVisualElementRenderer
2017-01-09 10:53:15 +00:00
Rui Marinho c8d54e69ce [UITest] Update to UITest 2.0.5 () 2017-01-05 11:43:58 +00:00
Rui Marinho 137e7480d8 [iOS] Ignore intermittent failing test on XTC () 2017-01-04 13:15:40 +00:00
adrianknight89 24d8dab897 [iOS] Platform specifics for controlling Picker SelectedIndex change behavior ()
* picker selected index could change when picker view is dismissed

* use enum
2017-01-04 13:11:09 +00:00
E.Z. Hart 58909e205a Allow subscriber to be collected if MessagingCenter is the only reference to it ()
* Repro

* Make messaging center callbacks weak references

* Preserve attribute

* Fix test method name

* Watch for collection of actual delegate target instead of wrapper delegate

* Preserve the original platform instance when changing main page

* Better tests for lambda situations

* Update tests, make callback target a weakreference if it's the subscriber

* Ensure old Platform MessagingCenter subs are gone before creating new Platform
2017-01-03 12:02:10 +00:00
adrianknight89 f003cfd388 [iOS/Android] Move Map camera to correct region on layout change ()
* Move to region on layout change

* remove visibility check
2017-01-03 11:35:54 +00:00
adrianknight89 17cdd40d1d Return group instead of internal class () 2017-01-03 11:34:27 +00:00
Paul DiPietro 6fc18e058b [WinRT/UWP] Apply BackgroundColor to Stepper buttons ()
* [WinRT/UWP] Apply BackgroundColor to Stepper buttons

* Add explanatory text; use nameof

* Move explanatory text to a label
2017-01-03 11:31:48 +00:00
adrianknight89 cc0eb5ba43 [iOS] Prevent multiple ListView cells from being swiped simultaneously ()
* disable multiple cell swipe

* add sample code

* refactored

* convert to weakreference

* remove null setting

* change weakreference setting place

* remove if

* revert isopen changes

* add instructions
2017-01-03 11:30:35 +00:00
E.Z. Hart 8c5fd09694 Make UWP toolbar display rules consistent with other platforms () 2017-01-03 11:25:24 +00:00
adrianknight89 ee608ba466 [Android] Fix NavigationPage dispose crash when it parents a MasterDetailPage ()
* fix navigation page dispose crash

* changes after review
2016-12-30 15:19:31 -07:00
adrianknight89 ffab6dd82e [iOS] Change keyboard type while keyboard is visible ()
* Change keyboard while changing text

* add sample code
2016-12-30 15:14:13 -07:00
Stephane Delcroix 32dab1d3c7 [XamlC] detect duplicate x:Name at compile time ()
* [XamlC] detect duplicate x:Name at compile time

* invoking methods with the right arguments produces better results
2016-12-30 09:58:48 -07:00
E.Z. Hart efc1e93f81
Make CellsGalleryImageUrlCellList test finish early if possible 2016-12-29 09:18:35 -07:00
Samantha Houts 6785f4d980
Fix comment typo 2016-12-28 16:09:13 -08:00
E.Z. Hart cf496381ce
Update ImageCellListPage to use an image we control;
Update CellsGalleryImageUrlCellList test to wait longer than 1s for images
to load if necessary
2016-12-28 16:42:17 -07:00
E.Z. Hart 31397e59cc
Adding image to use for CellsGalleryImageUrlCellList UI test 2016-12-28 16:33:24 -07:00
adrianknight89 4ea528643e fix nre when changing content in datepickerselected () 2016-12-28 16:15:45 -07:00
Paul DiPietro c1d83aacba [UWP] Fix TextBox style for foreground focus color () 2016-12-27 11:58:48 -07:00
Stephane Delcroix c34016dc84 Xamlc compile data triggers ()
* [Xaml] DataTrigger and PropertyCondition no longer use a ServiceProvider

* [XamlC] avoid generating ServiceProvider for unused ProvideValue

* fix tests
2016-12-23 10:21:30 +01:00
Stephane Delcroix b96df000db [Xaml] support short Properties for PropertyCondition () 2016-12-23 08:50:19 +01:00
Stephane Delcroix 2c91b0facd [XamlC] import members on x:Static and factories () 2016-12-23 08:50:02 +01:00
adrianknight89 0c87fcff41 [iOS] Entry should not pass a newline to the next responder ()
* UITextField should not return so that the next field does not get passed a newline

* Added code sample
2016-12-22 10:46:57 -08:00
Stephane Delcroix 9d2290b2ac Avoid duplicating code in OmPlatform () 2016-12-22 09:34:30 +01:00
Paul DiPietro df67dff982 [UWP] Use toolbar foreground color on primary items () 2016-12-19 12:45:15 +00:00
adrianknight89 e0165abbcd Slider should show user-set value on initial load () 2016-12-19 12:42:16 +00:00
Jimmy Garrido 6c8abfdc14 [Windows] Fix modal pages being laid out below soft buttons () 2016-12-17 01:08:03 +00:00
Rui Marinho 3216ce4ccd Add sample HanselForms and TwitterDemo to ControlGallery ()
* [Controls] Add Hanselforms sample

* Remove extra twitter sample

* [Controls]Add TwitterDemo sample

* [Controls] Fix build
2016-12-16 18:05:28 +00:00
Paul DiPietro db4486db8f [WinRT] Use a queue to prevent multiple MessageDialogs from causing a crash ()
* [WinRT] Use a queue to prevent multiple MessageDialogs from causing a crash

* Make change to use Device.IsInvokeRequired
2016-12-16 15:58:47 +00:00