platform/upstream/xamarin-forms.git
7 years agoFixed a redundant check that caused a massive slowdown on UWP. (#788)
BradChase2011 [Thu, 9 Mar 2017 18:39:27 +0000 (13:39 -0500)]
Fixed a redundant check that caused a massive slowdown on UWP. (#788)

* Fixed a redundant check that caused a massive slowdown on UWP.

* Fixed formatting.

* Fixed formatting.

* UWP_UI_Speed_Fix Last time on tabbing, lets hope so!

7 years agoAdd [EditorBrowsable(EditorBrowsableState.Never)] to public classes/interfaces in...
kingces95 [Thu, 9 Mar 2017 18:38:06 +0000 (13:38 -0500)]
Add [EditorBrowsable(EditorBrowsableState.Never)] to public classes/interfaces in XF.Internals (#806)

7 years agoPlatformConfiguration parameters and summaries. (Docs) (#805)
Mike Norman [Wed, 8 Mar 2017 19:40:38 +0000 (13:40 -0600)]
PlatformConfiguration parameters and summaries. (Docs) (#805)

* PlatformConfiguration parameters and summaries.

* Update index.xml

7 years agoVSTS support (#803)
Rui Marinho [Wed, 8 Mar 2017 11:30:34 +0000 (11:30 +0000)]
VSTS support (#803)

* Fix certs

* Try fix build reference

* Update to nuget 3.5

* Remove BingMapsSDK

* Revert git ignore change

7 years ago[Android] Small performance fixes to ListViewRenderer, PlatformSpecific IsFastScrollE...
Rui Marinho [Wed, 8 Mar 2017 11:30:08 +0000 (11:30 +0000)]
[Android] Small performance fixes to ListViewRenderer, PlatformSpecific IsFastScrollEnabled  (#797)

* [Android] Enable fast scroll by default

* [Android] Cache count for Listview

* [Android] Add IsFastScrollEnabled AndroidSpecific and sample

* [Android] Use count cache on GetCellsFromPosition

* [Android] Fix default for platform specific IsFastScrollEnabled

* [Docs]Fix docs

* [Android] Don't used cached listCount when getting cell

7 years ago[Android] Add null checks to ActivityIndicator (#804)
Samantha Houts [Wed, 8 Mar 2017 10:21:15 +0000 (02:21 -0800)]
[Android] Add null checks to ActivityIndicator (#804)

7 years agoRemove InternalsVisibleTo from Core to XF.Platforms.* (#782)
kingces95 [Tue, 7 Mar 2017 19:56:24 +0000 (14:56 -0500)]
Remove InternalsVisibleTo from Core to XF.Platforms.* (#782)

* Remove InternalsVisibleTo from Core to XF.Platforms.*

* Changes per Jason's code review

* Move LockableObservableListWrapper to internals namespace

* Changes per Stephane's code review

* update docs

* Touch code to get CI to run tests

* Rebase; Update documentation

7 years agoFixed issue where errant "." were appearing on droid controls due to hints. (#801)
BradChase2011 [Tue, 7 Mar 2017 15:25:05 +0000 (10:25 -0500)]
Fixed issue where errant "." were appearing on droid controls due to hints. (#801)

7 years agoUWP MapRenderer fixes. (#724)
indydawgy [Tue, 7 Mar 2017 10:40:47 +0000 (02:40 -0800)]
UWP MapRenderer fixes. (#724)

* Issues:
1. The MapRenderer calls TrySetViewBoundsAsync before the map is ready for it. This causes the map to hardly ever initialize to the correct position.
2. The visible region calculation gets the zoom wrong.
3. Map can cause a crash if you rotate/zoom a lot when setting the visible region.

Fixes:
1. Call MoveToRegion using MapControl's RunIdleAsync to have it move after the map starts rendering
2. lat/long delta should be:
var latitudeDelta = Math.Abs(nw.Position.Latitude - se.Position.Latitude);
var longitudeDelta = Math.Abs(nw.Position.Longitude - se.Position.Longitude);
rather than calculated from the center
3. Move the visible region set into the try/catch block.

* Made spaces into tabs to conform to previous standard.

7 years ago[UWP] Set SearchBar's AutoMaximizeSuggestionArea to false (#646)
Paul DiPietro [Tue, 7 Mar 2017 10:38:39 +0000 (04:38 -0600)]
[UWP] Set SearchBar's AutoMaximizeSuggestionArea to false (#646)

7 years ago[UWP] Adjust AutoSuggestBox's TextBoxStyle style name to prevent possible crash ...
Paul DiPietro [Tue, 7 Mar 2017 09:56:54 +0000 (03:56 -0600)]
[UWP] Adjust AutoSuggestBox's TextBoxStyle style name to prevent possible crash (#774)

7 years ago[UWP] Add width check for Detail on MDP to prevent potential crash (#775)
Paul DiPietro [Tue, 7 Mar 2017 05:45:21 +0000 (23:45 -0600)]
[UWP] Add width check for Detail on MDP to prevent potential crash (#775)

7 years ago[UWP] Improve toolbar consistency on MasterDetailPage (#744)
Jimmy Garrido [Mon, 6 Mar 2017 22:19:36 +0000 (14:19 -0800)]
[UWP] Improve toolbar consistency on MasterDetailPage (#744)

* Improve toolbar consistency on MasterDetailPage

* Properly indent xaml page

7 years ago[C] ITextElement and TextElement (#789)
Stephane Delcroix [Mon, 6 Mar 2017 09:35:17 +0000 (10:35 +0100)]
[C] ITextElement and TextElement (#789)

7 years agoUsing IUIActionSheetDelegate (#800)
E.Z. Hart [Mon, 6 Mar 2017 08:39:27 +0000 (01:39 -0700)]
Using IUIActionSheetDelegate (#800)

7 years ago[Nuget] Remvoe fix dependency on MonoDroid70 (#798)
Rui Marinho [Fri, 3 Mar 2017 19:20:32 +0000 (19:20 +0000)]
[Nuget] Remvoe fix dependency on MonoDroid70 (#798)

7 years ago[WinRT/UWP] Do not allow IsPresented use in Split mode on desktop (#707)
Paul DiPietro [Fri, 3 Mar 2017 12:51:28 +0000 (06:51 -0600)]
[WinRT/UWP] Do not allow IsPresented use in Split mode on desktop (#707)

7 years ago[Android] Don't crash if Control is accessed in Effect OnDetached when Page is Dispos...
Samantha Houts [Fri, 3 Mar 2017 12:41:04 +0000 (04:41 -0800)]
[Android] Don't crash if Control is accessed in Effect OnDetached when Page is Disposed. (#773)

* Add repro for 51505

* [Android] Don't dispose of EffectControlProvider

* Oops

7 years ago[WinRT/UWP] Make TextBox better respect background color changes via behaviors (...
Paul DiPietro [Fri, 3 Mar 2017 12:31:46 +0000 (06:31 -0600)]
[WinRT/UWP] Make TextBox better respect background color changes via behaviors (#749)

7 years agoFix for nullreferenceexception when a TabbedPage is rendered without a set CurrentPag...
Joris Vergeer [Fri, 3 Mar 2017 12:25:49 +0000 (13:25 +0100)]
Fix for nullreferenceexception when a TabbedPage is rendered without a set CurrentPage (#669)

7 years ago[Android] Fix NavigationPage.BarTextColorProperty on API 21+ with FormsApplicationAct...
Jimmy Garrido [Fri, 3 Mar 2017 12:24:43 +0000 (04:24 -0800)]
[Android] Fix NavigationPage.BarTextColorProperty on API 21+ with FormsApplicationActivity (#631)

7 years agoThrow exception when ViewCell View is null (#752)
Jimmy Garrido [Fri, 3 Mar 2017 12:20:20 +0000 (04:20 -0800)]
Throw exception when ViewCell View is null (#752)

7 years ago[C] move the Font proxying into FontElement
Stephane Delcroix [Fri, 3 Mar 2017 11:39:30 +0000 (12:39 +0100)]
[C] move the Font proxying into FontElement

7 years agoFix for Android Visibility/Opacity crash (#785)
E.Z. Hart [Fri, 3 Mar 2017 11:28:44 +0000 (04:28 -0700)]
Fix for Android Visibility/Opacity crash  (#785)

* Repro

* Fix for UI test

* Cache the Alpha value and queue up restoration after the visibility is changed

* Fix issue with negative height/width in UpdateLayout

* Clean up usings

7 years ago[Core] Share BP across IFontElement implementors (#783)
Stephane Delcroix [Fri, 3 Mar 2017 08:16:04 +0000 (09:16 +0100)]
[Core] Share BP across IFontElement implementors (#783)

* [Core] Share BP accross IFontElement implementors

* make sure the converter is used

7 years agoremove files committed by accident
Stephane Delcroix [Thu, 2 Mar 2017 22:31:24 +0000 (23:31 +0100)]
remove files committed by accident

7 years ago[Xaml] Fallback to App.Current for DynResources (Previewer) (#793)
Stephane Delcroix [Thu, 2 Mar 2017 22:28:37 +0000 (23:28 +0100)]
[Xaml] Fallback to App.Current for DynResources (Previewer) (#793)

* [Xaml] Fallback to App.Current for DynResources (Previewer)

* [C] avoid NRE and ensure setting the style

7 years ago[Docs] Fix formatting (#795)
Rui Marinho [Wed, 1 Mar 2017 22:37:41 +0000 (22:37 +0000)]
[Docs] Fix formatting (#795)

7 years ago[C] support more color format in ColorTypeConverter (#784)
Stephane Delcroix [Wed, 1 Mar 2017 18:45:26 +0000 (19:45 +0100)]
[C] support more color format in ColorTypeConverter (#784)

* [C] support more color format in ColorTypeConverter

* [C] Parse numbers in InvariantCulture

* more tests

7 years agoRemaining API docs for XF.Core (#794)
Mike Norman [Wed, 1 Mar 2017 17:22:43 +0000 (11:22 -0600)]
Remaining API docs for XF.Core (#794)

7 years ago[XamlC] update to cecil 0.10.0-b4 to better symbol detection (#791)
Stephane Delcroix [Wed, 1 Mar 2017 14:25:30 +0000 (15:25 +0100)]
[XamlC] update to cecil 0.10.0-b4 to better symbol detection (#791)

7 years ago[Controls] Remove dependency on Components (#790)
Rui Marinho [Tue, 28 Feb 2017 12:17:38 +0000 (12:17 +0000)]
[Controls] Remove dependency on Components (#790)

7 years ago[docs] fix Pages docs
Stephane Delcroix [Tue, 28 Feb 2017 10:17:43 +0000 (11:17 +0100)]
[docs] fix Pages docs

7 years ago[docs] build Pages doc in make docs
Stephane Delcroix [Tue, 28 Feb 2017 10:16:40 +0000 (11:16 +0100)]
[docs] build Pages doc in make docs

7 years ago[Xaml] no longer require a ServiceProvider for Trigger and PropertyCo… (#771)
Stephane Delcroix [Mon, 27 Feb 2017 08:33:23 +0000 (09:33 +0100)]
[Xaml] no longer require a ServiceProvider for Trigger and PropertyCo… (#771)

* [Xaml] no longer require a ServiceProvider for Trigger and PropertyCondition

* fix

7 years ago[Xaml] decorate markup and value providers to speed up inflating (#770)
Stephane Delcroix [Fri, 24 Feb 2017 08:10:11 +0000 (09:10 +0100)]
[Xaml] decorate markup and value providers to speed up inflating (#770)

* [Xaml] decorate markup and value providers to speed up inflating

* update docs

* fix docs

7 years ago[Controls] Fix build of test case
Rui Marinho [Tue, 21 Feb 2017 10:59:38 +0000 (10:59 +0000)]
[Controls] Fix build of test case

7 years agoAdd Preserve attribute
Paul DiPietro [Fri, 10 Feb 2017 22:57:50 +0000 (16:57 -0600)]
Add Preserve attribute

7 years ago[C] Update SelectedItem prior to event invoke
Paul DiPietro [Wed, 1 Feb 2017 16:52:40 +0000 (10:52 -0600)]
[C] Update SelectedItem prior to event invoke

7 years ago[UWP] connect the actual ObservableCollection to the ComboBox.ItemsSource
Stephane Delcroix [Fri, 27 Jan 2017 09:16:51 +0000 (10:16 +0100)]
[UWP] connect the actual ObservableCollection to the ComboBox.ItemsSource

7 years ago[Docs] Update internals (#780)
Rui Marinho [Wed, 22 Feb 2017 14:39:01 +0000 (14:39 +0000)]
[Docs] Update internals (#780)

7 years ago[IVT] Add IVT for testing FlexLayout
Rui Marinho [Wed, 22 Feb 2017 13:10:47 +0000 (13:10 +0000)]
[IVT] Add IVT for testing FlexLayout

7 years agoremove redundant declaration
Adrian Knight [Mon, 20 Feb 2017 18:10:47 +0000 (12:10 -0600)]
remove redundant declaration

7 years agoadd support for view cells
Adrian Knight [Sun, 27 Nov 2016 20:17:24 +0000 (14:17 -0600)]
add support for view cells

7 years agocenter stacklayout
Adrian Knight [Sat, 26 Nov 2016 18:26:17 +0000 (12:26 -0600)]
center stacklayout

7 years agoadded sample code
Adrian Knight [Sat, 26 Nov 2016 18:16:10 +0000 (12:16 -0600)]
added sample code

7 years agoadded sample files
Adrian Knight [Sat, 26 Nov 2016 18:02:45 +0000 (12:02 -0600)]
added sample files

7 years agoimage supports vectors
Adrian Knight [Sat, 26 Nov 2016 17:56:10 +0000 (11:56 -0600)]
image supports vectors

7 years agoupdate IEditorController callsites
Chris King [Fri, 17 Feb 2017 20:04:50 +0000 (12:04 -0800)]
update IEditorController callsites

7 years agoUpdate docs
Chris King [Wed, 15 Feb 2017 21:23:58 +0000 (13:23 -0800)]
Update docs

7 years agoIEditorController
Chris King [Tue, 14 Feb 2017 22:05:47 +0000 (14:05 -0800)]
IEditorController

7 years ago[iOS] Label should not return infinite width
Samantha Houts [Sat, 18 Feb 2017 00:41:35 +0000 (16:41 -0800)]
[iOS] Label should not return infinite width

7 years agoAdd repro for 52533
Samantha Houts [Sat, 18 Feb 2017 00:11:04 +0000 (16:11 -0800)]
Add repro for 52533

7 years ago[Docs] Update
Rui Marinho [Mon, 20 Feb 2017 16:58:37 +0000 (16:58 +0000)]
[Docs] Update

7 years ago[MacOS] Fix build
Rui Marinho [Sat, 18 Feb 2017 00:53:20 +0000 (00:53 +0000)]
[MacOS] Fix build

7 years agoAdd missing virtual keywords
E.Z. Hart [Wed, 1 Feb 2017 21:29:19 +0000 (14:29 -0700)]
Add missing virtual keywords

7 years agoAdd localized listener for Android numeric input
E.Z. Hart [Wed, 25 Jan 2017 18:54:54 +0000 (11:54 -0700)]
Add localized listener for Android numeric input

7 years agofix uitest build
Stephane Delcroix [Thu, 26 Jan 2017 14:09:35 +0000 (15:09 +0100)]
fix uitest build

7 years ago[i] Add Test for 45284
Stephane Delcroix [Thu, 26 Jan 2017 09:51:36 +0000 (10:51 +0100)]
[i] Add Test for 45284

7 years ago[iOS] Fix extra tab icon appearing in iOS for TabbedPage (#448)
Chad Kimes [Thu, 26 Jan 2017 09:13:27 +0000 (10:13 +0100)]
[iOS] Fix extra tab icon appearing in iOS for TabbedPage (#448)

commit 1ba6ff67a745a0e802f67b7a4f36db4f8385466e
Merge: e3f1937 a1d4b64
Author: Stephane Delcroix <stephane@delcroix.org>
Date:   Thu Jan 26 10:11:08 2017 +0100

    Merge branch 'master' of git://github.com/ckimes89/Xamarin.Forms into ckimes89-master

commit a1d4b6485c51c0800e16d476ba8749bd1a0a6b28
Author: Chad Kimes <chad.kimes@iticentral.com>
Date:   Tue Oct 11 13:42:28 2016 -0400

    [iOS] Fix extra tab icon appearing in iOS 10

commit 07cd17df33aa9eb61e2507ca04ecf30d3416e16b
Author: Chad Kimes <chad.kimes@iticentral.com>
Date:   Tue Oct 11 13:38:30 2016 -0400

    [iOS] Add static check method for iOS 10

7 years ago[A] Do not throw error for first param in ScrollTo (#742)
Paul DiPietro [Fri, 17 Feb 2017 10:44:14 +0000 (04:44 -0600)]
[A] Do not throw error for first param in ScrollTo (#742)

7 years agoSplit Windows RuntimePlatform into UWP and WinRT (#748)
E.Z. Hart [Fri, 17 Feb 2017 10:43:26 +0000 (03:43 -0700)]
Split Windows RuntimePlatform into UWP and WinRT (#748)

* Split RuntimePlatform Windows into UWP and WinRT

* Update docs

* Backward compatible targetPlatform=Windows for native XAML views on WinRT/UWP

7 years ago[WinRT/UWP] Insert missing SendScrollFinished call (#751)
Paul DiPietro [Fri, 17 Feb 2017 10:42:33 +0000 (04:42 -0600)]
[WinRT/UWP] Insert missing SendScrollFinished call (#751)

7 years agoFixed Title not updating on parent page (#743)
Jimmy Garrido [Fri, 17 Feb 2017 10:40:40 +0000 (02:40 -0800)]
Fixed Title not updating on parent page (#743)

7 years ago[XamlC] compile NullExtension markup (#750)
Stephane Delcroix [Fri, 17 Feb 2017 08:57:31 +0000 (09:57 +0100)]
[XamlC] compile NullExtension markup (#750)

7 years agoRobust doc change detection (#772)
kingces95 [Thu, 16 Feb 2017 20:01:58 +0000 (15:01 -0500)]
Robust doc change detection (#772)

* Robust doc change detection

* Update docs

* Update all docs before checking for differences

7 years ago[Controls] Fix test number
Samantha Houts [Thu, 16 Feb 2017 18:57:29 +0000 (10:57 -0800)]
[Controls] Fix test number

7 years agoCheckout docs using unix line endings (#769)
kingces95 [Wed, 15 Feb 2017 11:52:27 +0000 (03:52 -0800)]
Checkout docs using unix line endings (#769)

7 years ago[iOS] MasterDetailPage master icon should be changeable from any page on the stack...
adrianknight89 [Wed, 15 Feb 2017 11:39:02 +0000 (05:39 -0600)]
[iOS] MasterDetailPage master icon should be changeable from any page on the stack (#608)

* master detail page master icon could be changed from any page on the stack

* change icon names

* added titles

7 years ago[iOS] Dispose pickers properly and automate GC checks (#632)
adrianknight89 [Wed, 15 Feb 2017 11:38:22 +0000 (05:38 -0600)]
[iOS] Dispose pickers properly and automate GC checks (#632)

* dispose datepicker

* add dispose to other pickers

* add ui test

* add dispose to picker model

* change class name

7 years ago[Controls] Fix accessibility gallery (#763)
Samantha Houts [Wed, 15 Feb 2017 07:52:35 +0000 (23:52 -0800)]
[Controls] Fix accessibility gallery (#763)

7 years agoForce git to checkout docs using unix line endings (#766)
kingces95 [Wed, 15 Feb 2017 07:43:58 +0000 (23:43 -0800)]
Force git to checkout docs using unix line endings (#766)

* Checkout docs using unix line endings

* Only exit script when running update-docs-windows.bat

* Add docs that build system did not detect were missing

7 years agoMarked Xamarin.Forms.Internal classes internal. (#765)
Mike Norman [Tue, 14 Feb 2017 23:32:08 +0000 (17:32 -0600)]
Marked Xamarin.Forms.Internal classes internal. (#765)

7 years ago[Android] Double tapping on context action should not crash (#609)
adrianknight89 [Mon, 13 Feb 2017 13:47:59 +0000 (07:47 -0600)]
[Android] Double tapping on context action should not crash (#609)

* fix double tap nre

* added sample code

* new fix

* added comment

* better fix

* edit position of change

* changes

7 years ago[XamlC] complete the Setter/Trigger fix (#737)
Stephane Delcroix [Mon, 13 Feb 2017 11:19:05 +0000 (12:19 +0100)]
[XamlC] complete the Setter/Trigger fix (#737)

7 years ago[XamlC] compiled TypeExtension (#739)
Stephane Delcroix [Mon, 13 Feb 2017 08:08:21 +0000 (09:08 +0100)]
[XamlC] compiled TypeExtension (#739)

7 years agoPlatform-specifics API docs. (#759)
Mike Norman [Mon, 13 Feb 2017 00:17:06 +0000 (18:17 -0600)]
Platform-specifics API docs. (#759)

7 years agoXaml empty service provider (#736)
Stephane Delcroix [Fri, 10 Feb 2017 10:07:00 +0000 (11:07 +0100)]
Xaml empty service provider (#736)

* [Xaml] AcceptEmptyServiceProvider

* [XamlC] AcceptEmptyServiceProvider

* docs

7 years ago[README] Add Xamarin.Forms banner (#757)
Vincent Dondain [Thu, 9 Feb 2017 22:02:30 +0000 (17:02 -0500)]
[README] Add Xamarin.Forms banner (#757)

This banner is similar to what we're using at open.xamarin.com
and to the installer's new splash screen images.

Xamarin.iOS is already using its banner.

7 years ago[iOS] Fix NavigationPage memory leak when back button title is set (#523)
adrianknight89 [Thu, 9 Feb 2017 16:03:41 +0000 (10:03 -0600)]
[iOS] Fix NavigationPage memory leak when back button title is set (#523)

* fix memory leak

* fix parent

* added comment

7 years agoRevert "[*] ScaleX and ScaleY"
Stephane Delcroix [Mon, 6 Feb 2017 14:18:16 +0000 (15:18 +0100)]
Revert "[*] ScaleX and ScaleY"

This reverts commit fc7d556848e731902d096953c9b4fb28a2466e6b.

7 years ago[*] ScaleX and ScaleY
Stephane Delcroix [Mon, 6 Feb 2017 14:16:54 +0000 (15:16 +0100)]
[*] ScaleX and ScaleY

7 years ago[iOS/Android] Handle item selection highlight when ListView cell is tapped erraticall...
adrianknight89 [Mon, 6 Feb 2017 11:59:11 +0000 (05:59 -0600)]
[iOS/Android] Handle item selection highlight when ListView cell is tapped erratically (#520)

* Fix multi tap selection highlight

* added sample code

* add ios fix

7 years agoTabbedRenderer / load icons from custom sources (from embbedded svg for example)...
Softlion (Benjamin Mayrargue) [Mon, 6 Feb 2017 11:53:44 +0000 (12:53 +0100)]
TabbedRenderer / load icons from custom sources (from embbedded svg for example) (#574)

* Enable ios tab bar icons to be set by a custom renderer (using xamsvg for example)

* Fix space => tabs

* space => tabs / newline

* space / newlines

7 years ago[XamlC] support portable pdb (#726)
Stephane Delcroix [Mon, 6 Feb 2017 08:33:18 +0000 (09:33 +0100)]
[XamlC] support portable pdb (#726)

7 years agoFix disappearing ListView text when changing color settings on Windows (#731)
E.Z. Hart [Fri, 3 Feb 2017 18:13:53 +0000 (11:13 -0700)]
Fix disappearing ListView text when changing color settings on Windows (#731)

* repro

* Checkpoint

* Checkpoint

* Remove now-unnecessary hacks for Time- and DatePicker

7 years ago[macOS] Adds Scrollbars to ListViews and ScrollViews (#740)
Marko Ludolph [Fri, 3 Feb 2017 16:25:34 +0000 (17:25 +0100)]
[macOS] Adds Scrollbars to ListViews and ScrollViews (#740)

7 years ago[iOS] Expose row animation properties in ListViewRenderer (#733)
Ice Jovanoski [Fri, 3 Feb 2017 07:45:55 +0000 (08:45 +0100)]
[iOS] Expose row animation properties in ListViewRenderer (#733)

7 years ago[iOS] Dispose Entry and Editor properly and automate GC checks (#628)
adrianknight89 [Fri, 3 Feb 2017 07:18:22 +0000 (01:18 -0600)]
[iOS] Dispose Entry and Editor properly and automate GC checks (#628)

* fix entry leak

* change code style

* reduce indentation

* fix editorrenderer

* add uitest

* revert editorrenderer changes

* Fix Editor

7 years agoAdd TV to TargetIdiom (#738)
Kangho [Thu, 2 Feb 2017 19:25:40 +0000 (04:25 +0900)]
Add TV to TargetIdiom (#738)

7 years agoUpdate RelativeLayout to make it respond to constraint changes (#425)
Philippe Leybaert [Thu, 2 Feb 2017 18:55:55 +0000 (12:55 -0600)]
Update RelativeLayout to make it respond to constraint changes (#425)

* Update RelativeLayout to make it respond to constraint changes

Constraints of a RelativeLayout are bindable properties but the layout
does not update when the constraints are updated.

This change will invalidate the layout whenever  XConstraint,
YConstraint, WidthConstraint or HeightConstraint is changed (either in
code or through a change in the bound property)

* Specified changed handler as named property

* Adding attached property accessors for layout properties

Since the constraint attached properties can now be updated at runtime,
setters are required for those properties. Also, when adding a child
view at runtime using the Add() method with x/y/w/h constraints,
generating the bounds constraints is deferred to the layout phase.

* Unit tests for runtime constraints updates in RelativeLayout

* Rename unit test method

Rename LayoutChangesAtRuntim() to LayoutIsUpdatedWhenConstraintsChange()

* Wrap RelativeLayout update setters in BatchBegin/Commit

* Update documentation of RelativeLayout

Added SetXConstraint(), SetYConstraint(), SetWidthConstraint() and
SetHeightConstraint()

7 years agoAdd pressed and released events to Button (#446)
Kangho [Thu, 2 Feb 2017 18:23:31 +0000 (03:23 +0900)]
Add pressed and released events to Button (#446)

* Add pressed and released events to Button

* Update ButtonRenderer.cs

* Apply safely casting to android button renderer

* Use safety casting for Android buttin renderer

* [Windows] Fix modal pages being laid out below soft buttons (#395)

* Add sample HanselForms and TwitterDemo to ControlGallery (#651)

* [Controls] Add Hanselforms sample

* Remove extra twitter sample

* [Controls]Add TwitterDemo sample

* [Controls] Fix build

* Slider should show user-set value on initial load (#378)

* [UWP] Use toolbar foreground color on primary items (#640)

* Avoid duplicating code in OmPlatform (#591)

* [iOS] Entry should not pass a newline to the next responder (#397)

* UITextField should not return so that the next field does not get passed a newline

* Added code sample

* [XamlC] import members on x:Static and factories (#642)

* [Xaml] support short Properties for PropertyCondition (#645)

* Xamlc compile data triggers (#648)

* [Xaml] DataTrigger and PropertyCondition no longer use a ServiceProvider

* [XamlC] avoid generating ServiceProvider for unused ProvideValue

* fix tests

* Fix comment typo

* [UWP] Fix TextBox style for foreground focus color (#618)

* Adding image to use for CellsGalleryImageUrlCellList UI test

* Update ImageCellListPage to use an image we control;
Update CellsGalleryImageUrlCellList test to wait longer than 1s for images
to load if necessary

* fix nre when changing content in datepickerselected (#494)

* Make CellsGalleryImageUrlCellList test finish early if possible

* [iOS] Change keyboard type while keyboard is visible (#443)

* Change keyboard while changing text

* add sample code

* [Android] Fix NavigationPage dispose crash when it parents a MasterDetailPage (#577)

* fix navigation page dispose crash

* changes after review

* [XamlC] detect duplicate x:Name at compile time (#655)

* [XamlC] detect duplicate x:Name at compile time

* invoking methods with the right arguments produces better results

* Make UWP toolbar display rules consistent with other platforms (#638)

* Allow subscriber to be collected if MessagingCenter is the only reference to it (#617)

* 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

* [iOS] Prevent multiple ListView cells from being swiped simultaneously (#578)

* 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

* [WinRT/UWP] Apply BackgroundColor to Stepper buttons (#581)

* [WinRT/UWP] Apply BackgroundColor to Stepper buttons

* Add explanatory text; use nameof

* Move explanatory text to a label

* Return group instead of internal class (#461)

* [iOS/Android] Move Map camera to correct region on layout change (#548)

* Move to region on layout change

* remove visibility check

* [iOS] Platform specifics for controlling Picker SelectedIndex change behavior (#540)

* picker selected index could change when picker view is dismissed

* use enum

* [iOS] Ignore intermittent failing test on XTC (#666)

* [UITest] Update to UITest 2.0.5 (#665)

* Rebase the current branch onto upstream latest

7 years ago[Core] Added RootPage to NavigationPage (#464)
adrianknight89 [Thu, 2 Feb 2017 15:35:23 +0000 (09:35 -0600)]
[Core] Added RootPage to NavigationPage (#464)

* d

* removed whitespace

* Using ArgumentNullException

* changes

7 years ago[Xaml] do not set properties with private setters (#717)
Stephane Delcroix [Thu, 2 Feb 2017 14:28:59 +0000 (15:28 +0100)]
[Xaml] do not set properties with private setters (#717)

7 years ago[Xaml[C]] check for compatible types on op_implicit (#715)
Stephane Delcroix [Thu, 2 Feb 2017 14:19:03 +0000 (15:19 +0100)]
[Xaml[C]] check for compatible types on op_implicit (#715)

* [Xaml[C]] check for compatible types on op_implicit

* fix merge issue

7 years ago[Xaml[C]] throw meaningful exception while trying to set the content … (#714)
Stephane Delcroix [Thu, 2 Feb 2017 10:14:35 +0000 (11:14 +0100)]
[Xaml[C]] throw meaningful exception while trying to set the content … (#714)

* [Xaml[C]] throw meaningful exception while trying to set the content of a property without ContentPropertyAttribute

* fix test

7 years ago[XamlC] Produce correct mdb files (#699)
Stephane Delcroix [Thu, 2 Feb 2017 09:57:50 +0000 (10:57 +0100)]
[XamlC] Produce correct mdb files (#699)

* [XamlC] change MockCompile (internal) API

* [XamlC] fix debugging in unit test project

* f

* [XamlC] update cecil to 0.10.0-beta1-v2

* beta2

* avoid method duplication

* [XamlC] force loading MdbReader and Writer

* [XamlC] force use the writer in the other task too

* [XamlC] fix test and test code generator

* try building this

* [XamlC] Ensure InitializeComponent is correctly routed

* fix

7 years ago[iOS,macOS] Use NS constructor from string to parse correctly the string (#734)
Rui Marinho [Wed, 1 Feb 2017 23:21:19 +0000 (23:21 +0000)]
[iOS,macOS] Use NS constructor from string to parse correctly the string (#734)

7 years ago[C] throw meaningful exception on duplicate RD key (#716)
Stephane Delcroix [Wed, 1 Feb 2017 20:17:15 +0000 (21:17 +0100)]
[C] throw meaningful exception on duplicate RD key (#716)

7 years ago[Xaml[C]] cast to BindingBase before SetBinding() (#709)
Stephane Delcroix [Wed, 1 Feb 2017 16:03:53 +0000 (17:03 +0100)]
[Xaml[C]] cast to BindingBase before SetBinding() (#709)