platform/upstream/xamarin-forms.git
7 years ago[Windows] Fix Device Style inheritance (#324)
Neil McAlister [Fri, 30 Sep 2016 18:47:41 +0000 (21:47 +0300)]
[Windows] Fix Device Style inheritance (#324)

* Make Device Styles get Style Setters from ancestor styles

* Fix parentheses to match style

7 years agoAdd .bak extension to .gitignore (#388)
Paul DiPietro [Tue, 27 Sep 2016 22:15:53 +0000 (17:15 -0500)]
Add .bak extension to .gitignore (#388)

7 years ago[Win] Will arrange native children of custom renderers (opt-in) (#322)
Samantha Houts [Tue, 27 Sep 2016 18:12:49 +0000 (11:12 -0700)]
[Win] Will arrange native children of custom renderers (opt-in) (#322)

* Add repro for 42602

* [Win] Add option to arrange native children

* [Win] Don't allocate arrangedChildren unless required

7 years ago[Xaml] more primitive types (#385)
Stephane Delcroix [Tue, 27 Sep 2016 18:10:39 +0000 (20:10 +0200)]
[Xaml] more primitive types (#385)

* [Xaml] more builtin conversion, and more type primitives

* [XamlC] more builtin conversion, more type primitives

7 years agoReuse Handler when invoking on main thread (#383)
E.Z. Hart [Tue, 27 Sep 2016 18:05:41 +0000 (12:05 -0600)]
Reuse Handler when invoking on main thread (#383)

7 years agoDon't unsubscribe/resubscribe the listener to the same INPC (#384)
E.Z. Hart [Tue, 27 Sep 2016 18:02:12 +0000 (12:02 -0600)]
Don't unsubscribe/resubscribe the listener to the same INPC (#384)

7 years agoFix potential NRE accessing current application via Page.RealParent (#330)
E.Z. Hart [Tue, 27 Sep 2016 13:50:02 +0000 (07:50 -0600)]
Fix potential NRE accessing current application via Page.RealParent (#330)

* Fix potential NRE accessing current application via Page.RealParent

* Update Native Bindings Gallery to use MessagingCenter

7 years ago[UWP/WinRT] ListView UI virtualization works without explicit height on Cell/Row...
Samantha Houts [Tue, 27 Sep 2016 13:43:17 +0000 (06:43 -0700)]
[UWP/WinRT] ListView UI virtualization works without explicit height on Cell/Row (#367)

* Add repro for 41271

* [UWP/WinRT] ListView virtualization works without explicit height on Cell/Row

* Adjust repro to clear ItemsSource OnDisappearing.

* Update docs

7 years agoClean up listeners and tag on ButtonRenderer during disposal (#360)
E.Z. Hart [Tue, 27 Sep 2016 10:51:22 +0000 (04:51 -0600)]
Clean up listeners and tag on ButtonRenderer during disposal (#360)

Clean up OnFocusChangeListener on ViewRenderer during disposal
Prevent memory leak of PageContainer/FragmentContainer when animating fragment transitions
Call Destroy() on Map during disposal

Rebasing

7 years ago[Xaml] allow compatible arguments for x:Factory (#382)
Stephane Delcroix [Mon, 26 Sep 2016 20:40:04 +0000 (22:40 +0200)]
[Xaml] allow compatible arguments for x:Factory (#382)

7 years ago[C] specify type and default value for native bindings (#376)
Stephane Delcroix [Mon, 26 Sep 2016 20:32:19 +0000 (22:32 +0200)]
[C] specify type and default value for native bindings (#376)

7 years ago[XamlC] Compiled converters (#358)
Stephane Delcroix [Mon, 26 Sep 2016 20:29:47 +0000 (22:29 +0200)]
[XamlC] Compiled converters (#358)

7 years agodo not compile winrt stuffs on mac
Stephane Delcroix [Fri, 23 Sep 2016 15:25:46 +0000 (17:25 +0200)]
do not compile winrt stuffs on mac

7 years agofix docs
Stephane Delcroix [Fri, 23 Sep 2016 14:24:49 +0000 (16:24 +0200)]
fix docs

7 years ago[Xaml] fix build
Stephane Delcroix [Fri, 23 Sep 2016 14:00:49 +0000 (16:00 +0200)]
[Xaml] fix build

7 years ago[Controls] Link only SDK so we don't brake the sample (#372)
Rui Marinho [Fri, 23 Sep 2016 13:47:48 +0000 (14:47 +0100)]
[Controls] Link only SDK so we don't brake the sample (#372)

7 years ago[Xaml] Xaml native views and bindings for WP8.1 (#363)
Stephane Delcroix [Fri, 23 Sep 2016 07:02:50 +0000 (09:02 +0200)]
[Xaml] Xaml native views and bindings for WP8.1 (#363)

7 years ago[XamlC] Implement IValueProvider.PropertyType (#345)
Stephane Delcroix [Fri, 23 Sep 2016 07:01:22 +0000 (09:01 +0200)]
[XamlC] Implement IValueProvider.PropertyType (#345)

7 years ago[XamlC] supports enum and consts in x:Static (#369)
Stephane Delcroix [Fri, 23 Sep 2016 06:56:29 +0000 (08:56 +0200)]
[XamlC] supports enum and consts in x:Static (#369)

7 years agoImplement dispose pattern correctly to support derived classes (#364)
E.Z. Hart [Wed, 21 Sep 2016 22:04:36 +0000 (16:04 -0600)]
Implement dispose pattern correctly to support derived classes (#364)

7 years ago[Controls] Update Insights and UITest packages and fix warnings (#361)
Rui Marinho [Sun, 18 Sep 2016 18:24:44 +0000 (19:24 +0100)]
[Controls] Update Insights and UITest packages and fix warnings (#361)

* [Controls] Update Insights and UITest packages

* Update Xamarin.Forms.Platform.Android (Forwarders).csproj

7 years agoAndroid BeginInvokeOnMainThread() should not possibly block. (#343)
Atsushi Eno [Fri, 16 Sep 2016 21:05:29 +0000 (06:05 +0900)]
Android BeginInvokeOnMainThread() should not possibly block. (#343)

Android.App.Activity.RunOnUiThread() does not always run the argument
Runnable asynchronously; actually it is run synchronously if current
thread is the UI thread [*1][*2]

Use Handler.Post() instead. (It is also used in Android.App.SyncContext[*3])

[*1] https://developer.android.com/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable)
[*2] http://stackoverflow.com/questions/33039600/android-runonuithread-not-async
[*3] https://github.com/xamarin/xamarin-android/blob/5777337/src/Mono.Android/Android.App/SyncContext.cs#L15

7 years agoFormat MapRenderer according to project code style (#362)
E.Z. Hart [Fri, 16 Sep 2016 18:55:38 +0000 (12:55 -0600)]
Format MapRenderer according to project code style (#362)

* Format MapRenderer according to project code style

* Using var instead of explicit type for Markers

7 years ago[Android] Fix failing UITests (#356)
Rui Marinho [Thu, 15 Sep 2016 17:33:39 +0000 (18:33 +0100)]
[Android] Fix failing UITests (#356)

7 years agodo not disable warning (#357)
Stephane Delcroix [Thu, 15 Sep 2016 12:45:50 +0000 (14:45 +0200)]
do not disable warning (#357)

7 years agoRemove iOS classic from CI system (#353) beta-2.3.3-pre2
Rui Marinho [Wed, 14 Sep 2016 21:56:17 +0000 (22:56 +0100)]
Remove iOS classic from CI system (#353)

* [CI] Remove classic from build

* [Build] Remove classic forwarder

* [Nuget] Remove classic from Pages azure

* [Build] Remove classic csproj

* [IOS] Remove _UNIFIED_

7 years agoRevert "Revert "[Android] Fix warnings (#346)""
Rui Marinho [Tue, 13 Sep 2016 21:52:47 +0000 (22:52 +0100)]
Revert "Revert "[Android] Fix warnings (#346)""

This reverts commit 6fa569cfda33d6875896788bba274a313a24fac2.

7 years agoUpdate docs
Jason Smith [Tue, 13 Sep 2016 16:57:19 +0000 (09:57 -0700)]
Update docs

7 years agoRevert "[Android] Fix warnings (#346)"
Rui Marinho [Tue, 13 Sep 2016 12:18:03 +0000 (13:18 +0100)]
Revert "[Android] Fix warnings (#346)"

This reverts commit 960f02d0e7549088d15b74bd11628eb987c77a74.

7 years ago[Android] Fix warnings (#346)
Rui Marinho [Tue, 13 Sep 2016 11:51:57 +0000 (12:51 +0100)]
[Android] Fix warnings (#346)

7 years ago[iOS] ViewCells with Accessories will be properly laid out again (#338)
Samantha Houts [Tue, 13 Sep 2016 11:39:36 +0000 (04:39 -0700)]
[iOS] ViewCells with Accessories will be properly laid out again (#338)

* Add repro for 43161

* [iOS] Don't adjust ViewCell Bounds when there is an Accessory

* [iOS] Fix spacing

7 years ago[A] Fix regression on NavAnimationInProgress (#341)
Paul DiPietro [Tue, 13 Sep 2016 11:39:02 +0000 (06:39 -0500)]
[A] Fix regression on NavAnimationInProgress (#341)

7 years ago[iOS] - Revert setting the frame for ViewCell to try to hide the gap between cells...
Rui Marinho [Tue, 13 Sep 2016 11:38:16 +0000 (12:38 +0100)]
[iOS] - Revert setting the frame for ViewCell to try to hide the gap between cells when using a ContextActionCell (#351)

7 years agoRevert "[C] Prevent enabling a Button via setting a Command (#308)"
Rui Marinho [Tue, 13 Sep 2016 11:34:22 +0000 (12:34 +0100)]
Revert "[C] Prevent enabling a Button via setting a Command (#308)"

This reverts commit 368a375f13fc2e4b5ff00dbbdd7a2d6bb53988eb.

7 years agoAndroid AppCompat: Don't do NavigationPage menu updates for disposed page (#331)
Jani Lirkki [Mon, 12 Sep 2016 11:53:44 +0000 (14:53 +0300)]
Android AppCompat: Don't do NavigationPage menu updates for disposed page (#331)

7 years agoAfter Label.FormattedText property changed need invoke UpdateText method (#335)
Mikhail [Mon, 12 Sep 2016 11:52:31 +0000 (14:52 +0300)]
After Label.FormattedText property changed  need invoke UpdateText method (#335)

7 years ago[C] Prevent enabling a Button via setting a Command (#308)
Paul DiPietro [Mon, 12 Sep 2016 11:51:19 +0000 (06:51 -0500)]
[C] Prevent enabling a Button via setting a Command (#308)

7 years ago[iOS] Adjust Started/Ended hooks in pickers for iOS 10 (#339)
Paul DiPietro [Thu, 8 Sep 2016 22:00:57 +0000 (17:00 -0500)]
[iOS] Adjust Started/Ended hooks in pickers for iOS 10 (#339)

7 years ago[XamlC] throw exception on missing property (#336)
Stephane Delcroix [Thu, 8 Sep 2016 19:01:09 +0000 (21:01 +0200)]
[XamlC] throw exception on missing property (#336)

* Added unit test for 43450

* fix test

* [XamlC] instrument the compiler so we can test it

* [XamlC] throw on missing property

7 years ago[XamlC] replace the runtime type check by compiletime (#334)
Stephane Delcroix [Thu, 8 Sep 2016 18:51:01 +0000 (20:51 +0200)]
[XamlC] replace the runtime type check by compiletime (#334)

7 years ago[Xaml] support native views and native bindings (#266)
Stephane Delcroix [Thu, 8 Sep 2016 18:45:43 +0000 (20:45 +0200)]
[Xaml] support native views and native bindings (#266)

Allows including Native views directly in xaml.
Support for ios, android, UWP

7 years agoNative Bindings (#278)
Stephane Delcroix [Thu, 8 Sep 2016 18:39:05 +0000 (20:39 +0200)]
Native Bindings (#278)

* [C, I, A, W] Support Native Bindings

* fix tabs

7 years agoFix incorrect background property name on Win 8.1 phone and tablet styles (#329)
E.Z. Hart [Wed, 31 Aug 2016 19:57:35 +0000 (13:57 -0600)]
Fix incorrect background property name on Win 8.1 phone and tablet styles (#329)

7 years agoFix docs
Jason Smith [Wed, 31 Aug 2016 05:01:42 +0000 (22:01 -0700)]
Fix docs

7 years ago[Win] Fix FontAttributes unexpectedly changing a label's size (#325)
Paul DiPietro [Tue, 30 Aug 2016 18:47:09 +0000 (13:47 -0500)]
[Win] Fix FontAttributes unexpectedly changing a label's size (#325)

7 years ago[A] Check UserVisibleHint to prevent non-active tabs from firing SendAppearing in...
Paul DiPietro [Tue, 30 Aug 2016 18:34:37 +0000 (13:34 -0500)]
[A] Check UserVisibleHint to prevent non-active tabs from firing SendAppearing in OnResume (#328)

7 years agoKeyboardExtensions is now public (#326)
adrianknight89 [Tue, 30 Aug 2016 18:31:41 +0000 (13:31 -0500)]
KeyboardExtensions is now public (#326)

7 years ago[A] PanGestureRecognizer will consistently send Completed event (#313)
Samantha Houts [Tue, 30 Aug 2016 18:14:13 +0000 (11:14 -0700)]
[A] PanGestureRecognizer will consistently send Completed event (#313)

* Adjust gallery page for reproduction

* [A] Forward OnTouchEvent to Listener...

...and end scrolling on Up.

7 years agoUse character truncation in Windows (#321)
E.Z. Hart [Tue, 30 Aug 2016 18:12:27 +0000 (12:12 -0600)]
Use character truncation in Windows (#321)

Change layout order ViewCells on Windows to correct label length layout issues
Add extra layout pass on ViewCell load to make cells without margins visible

7 years agoFix for ListView BindingContext for Header/Footer (#312)
Jonathan Peppers [Tue, 30 Aug 2016 17:59:32 +0000 (12:59 -0500)]
Fix for ListView BindingContext for Header/Footer (#312)

* ListView - unit test showing BindingContext issue

Apparently the BC doesn't pass to Header and Footer

* ListView - support for passing BC to header and footer

* ListView - test checking BindingContext is set

Checking that it works to set the BindingContext first and the
Header/Footer after

7 years agoFix memory leak caused by BaseCellView and RendererHolder (#311)
E.Z. Hart [Tue, 30 Aug 2016 17:57:55 +0000 (11:57 -0600)]
Fix memory leak caused by BaseCellView and RendererHolder (#311)

7 years agoUpdate Makefile to support linux env (#309)
Kangho [Tue, 30 Aug 2016 17:55:00 +0000 (02:55 +0900)]
Update Makefile to support linux env (#309)

7 years agoPlatform Specifics (#301)
Samantha Houts [Tue, 30 Aug 2016 17:46:14 +0000 (10:46 -0700)]
Platform Specifics (#301)

* Playing around with how the platform specifics interfaces etc. might work

* Sample implementation of iOS navigation translucency

* Very slightly reduced code

* Better vendor stuff

* Drop single-implemenation interfaces

* Generics on NavigationPage

* On-demand vendor stuff

* Remove functionally duplicate classes and make ControlGallery work again

* Namespace all the things. XAML test.

* Can use Effect to attach platform specific

* Attach Effect on PropertyChanging for XAML support!

* Rename IConfigPlatform interfaces for readability

* Some renaming to match the documents

* Split class files

* Clear out test-only code

* Re-namespace

* Added On method to rendered Elements

* Allow for removal of platform suffix, convenience methods on specific platforms

* Creating a gallery page for specifics

* Add rudimentary Platform Specifics gallery; make CollapseStyle work on UWP;
Add CollapsedPaneWidth specific property

* Toolbar now working with both collapse styles

* MDP now displaying Content title; toolbar routing around title

* Add a gallery for the iOS NavigationPage stuff

* Add Navigation Page as detail page to verify it works with new Toolbar options

* Make titlebar/toolbar background colors consistent

* ToolbarPlacement now working on NavigationPage

* Toolbar Placement working for tabbed and nav pages

* Fix bug where phone doesn't get default toolbar placement on start

* [Core] Add PS WindowSoftInputModeAdjust

[Core] Make Application extendable

* Toolbar placement now working on Nav, Tabbed, and Master pages on desktop/phone

Remove unnecessary style indirection

Fix build errors

* [A] Add PlatformConfigurationExtensions

* SetSoftInputMode test page

* [A] SetSoftInputMode

Known issue: Status bar color does not work in AdjustResize mode

* [Core] Add PS Blur

* [iOS] Configure renderer for blur

* Add test page

* Move to blur VisualElement for broader support

* Move test pages to gallery

* Update docs

* Use lazy initializer for PlatformConfigurationRegistry

7 years agoThrow InvalidOperationException if AppLinkEntry.Thumbnail source is invalid (#299)
Jimmy Garrido [Tue, 30 Aug 2016 17:45:05 +0000 (10:45 -0700)]
Throw InvalidOperationException if AppLinkEntry.Thumbnail source is invalid (#299)

7 years agoAllow Custom Android MapRenderers to override the default MapView options (#285)
Marcus Lum [Tue, 30 Aug 2016 17:37:07 +0000 (13:37 -0400)]
Allow Custom Android MapRenderers to override the default MapView options (#285)

* Allow Custom Android MapRenderers to override the default MapView options

* Larger effort to use CreateNativeControl () everywhere instead of just in the Android AppCompat renderers.

7 years agoFix crash when ItemsSource is set to null (#320)
Jimmy Garrido [Thu, 25 Aug 2016 18:05:18 +0000 (11:05 -0700)]
Fix crash when ItemsSource is set to null (#320)

7 years agoFixed SinInOut description. (#319)
Mike Norman [Thu, 25 Aug 2016 16:11:01 +0000 (11:11 -0500)]
Fixed SinInOut description. (#319)

7 years agoFix regression by adding null check in Windows ListView selection (#314)
Paul DiPietro [Thu, 25 Aug 2016 00:55:15 +0000 (19:55 -0500)]
Fix regression by adding null check in Windows ListView selection (#314)

7 years ago[Android] Fix for NullReferenceException when using the wrong activit… (#286) beta-2.3.2-pre2
Oddbjørn Bakke [Wed, 17 Aug 2016 09:26:27 +0000 (11:26 +0200)]
[Android] Fix for NullReferenceException when using the wrong activit… (#286)

* [Android] Fix for NullReferenceException when using the wrong activity type.

On using FormsApplicationActivity or FormsAppCompatActivity as base Activity in a SplashScreen.
A NullReferenceException will be thrown in the KeyboardManager.
Added InvalidOperationException with "Forms.Init()" message instead, if the Forms.Context is null.

* Fixed indentation

7 years ago[WinRT] Remove preemptive setting of null upon action sheet closure (#305)
Paul DiPietro [Tue, 16 Aug 2016 19:13:12 +0000 (14:13 -0500)]
[WinRT] Remove preemptive setting of null upon action sheet closure (#305)

7 years ago[Xaml] Clone node tree on DT, allow markup to be evaluated multiple times (#295)
Stephane Delcroix [Tue, 16 Aug 2016 18:33:44 +0000 (20:33 +0200)]
[Xaml] Clone node tree on DT, allow markup to be evaluated multiple times (#295)

7 years ago[Windows] Correct enter/esc keypress behaviors for MessageDialog (#292)
Paul DiPietro [Tue, 16 Aug 2016 18:33:11 +0000 (13:33 -0500)]
[Windows] Correct enter/esc keypress behaviors for MessageDialog (#292)

7 years ago[iOS] Change when we updated the XF INavigationPageController after popping a page...
Rui Marinho [Tue, 16 Aug 2016 18:31:53 +0000 (19:31 +0100)]
[iOS] Change when we updated the XF INavigationPageController after popping a page natively, Cleanup UITest references (#291)

7 years agoFix for BindingExpression memory leak (#279)
Jonathan Peppers [Tue, 16 Aug 2016 18:19:21 +0000 (13:19 -0500)]
Fix for BindingExpression memory leak (#279)

* Unit test proving a memory leak with Binding

What we were seeing in our app was that Binding objects stay around when
bound to long-lived ViewModels, even when the View is long gone

* BindingExpression - INotifyPropertyChanged should use WeakReference

I had to make a WeakPropertyChangedProxy class for this, I could not
think of a way to get around creating a new object for this

7 years agoFix Entry/SearchBar color issues (#306)
E.Z. Hart [Tue, 16 Aug 2016 18:10:32 +0000 (12:10 -0600)]
Fix Entry/SearchBar color issues (#306)

* Fix disappearing Entry text on UWP Anniversary Edition
Fix background color reversion bug in UWP Phone
Move SearchBar styling on UWP to its own file
Make foreground/background color changes on UWP SearchBar/Entry consistent
Fix SearchBar color toggle bug on WP8

* Temporarily moving SDK target to previous version

* Fix build error on OSX

7 years agoInvalidate measure of Label when FormattedText changes (#303)
Akihiko Odaki [Tue, 16 Aug 2016 18:05:42 +0000 (03:05 +0900)]
Invalidate measure of Label when FormattedText changes (#303)

7 years ago[A] Pre-AppCompat ListView Indicator ... (#281)
Samantha Houts [Tue, 16 Aug 2016 17:59:36 +0000 (10:59 -0700)]
[A] Pre-AppCompat ListView Indicator ... (#281)

...will keep spinning on tab change.

7 years ago[iOS] Fixed bug that made pull-to-refresh indicator always visible after 2+ pulls...
Samantha Houts [Tue, 16 Aug 2016 17:56:37 +0000 (10:56 -0700)]
[iOS] Fixed bug that made pull-to-refresh indicator always visible after 2+ pulls (#307)

* Add repro for Bugzilla 43214

* [iOS] Undo change to ListViewRenderer

was attempting to prevent multiple unnecessary calls to SendRefreshing,
but this caused unintended problems.

7 years ago[Xaml] Simplify listnodes with single elements (#304)
Stephane Delcroix [Mon, 15 Aug 2016 20:18:26 +0000 (22:18 +0200)]
[Xaml] Simplify listnodes with single elements (#304)

7 years agoRefix mc ignorable (#302)
Stephane Delcroix [Mon, 15 Aug 2016 20:07:35 +0000 (22:07 +0200)]
Refix mc ignorable (#302)

* Revert "Fix mc ignorable (#298)"

This reverts commit 31c2be29d5982338ae178d1b0f107e23e7749782.

* [Xaml] fix mc:Ignorable

7 years ago[Xaml] x:Static in x:Arguments (#288)
Stephane Delcroix [Mon, 15 Aug 2016 20:06:11 +0000 (22:06 +0200)]
[Xaml] x:Static in x:Arguments (#288)

* [Xaml] Support x:Static as x:Arguments

* [XamlC] allow x:Static in x:Arguments

* fix typo, remove commented code

7 years agoAdded note about line endings to Page.xml. (#300)
Mike Norman [Fri, 12 Aug 2016 19:39:02 +0000 (14:39 -0500)]
Added note about line endings to Page.xml. (#300)

7 years agoFix mc ignorable (#298)
Stephane Delcroix [Fri, 12 Aug 2016 03:33:22 +0000 (05:33 +0200)]
Fix mc ignorable (#298)

* [Xaml] when ignoring nodes, ignore children as well

* [XamlC] ignore on xamlc too

7 years agoAdd Orange color to Color (#290)
Kangho [Thu, 11 Aug 2016 09:39:32 +0000 (18:39 +0900)]
Add Orange color to Color (#290)

* Add Orange color to Color

7 years ago[Win] Set BindingContext for default cell (#289)
Samantha Houts [Thu, 11 Aug 2016 09:31:45 +0000 (02:31 -0700)]
[Win] Set BindingContext for default cell (#289)

* Revise 41205 test case to use binding

* [Win] Set BindingContext for default cell

* [Win] SetInheritedBindingContext for Cell

7 years agoUnit tests for the PCL WeakEventManager (#280)
E.Z. Hart [Wed, 10 Aug 2016 11:51:33 +0000 (05:51 -0600)]
Unit tests for the PCL WeakEventManager (#280)

7 years agoAdd the key in the message on throwing a KeyNotFoundException (#282)
Rogier van der Hee [Tue, 9 Aug 2016 10:37:35 +0000 (12:37 +0200)]
Add the key in the message on throwing a KeyNotFoundException (#282)

* Add the key in the message on throwing a KeyNotFoundException for trying to access an invalid key in the ResourceDictionary. This helps a lot in tracking down what resource is actually missing.

* Fix test build, use C# 6 string interpolation

7 years ago[Android] Close the correct mode if it wasn't disposed (#283)
Rui Marinho [Tue, 9 Aug 2016 10:16:51 +0000 (11:16 +0100)]
[Android] Close the correct mode if it wasn't disposed (#283)

7 years agoEnable WebView to render local HTML files on WinRT platforms (#277)
E.Z. Hart [Wed, 3 Aug 2016 21:22:14 +0000 (15:22 -0600)]
Enable WebView to render local HTML files on WinRT platforms (#277)

* Enable WebView to render local HTML files on WinRT platforms

* Add test to demonstrate that the solution works even if
<head> isn't in the HTML string

7 years agoidentifer => identifier in ExportEffectAttribute.xml (#276)
Mike Norman [Wed, 3 Aug 2016 17:33:44 +0000 (12:33 -0500)]
identifer => identifier in ExportEffectAttribute.xml (#276)

7 years agoFixed https://github.com/xamarin/documentation/issues/1508 (#275)
Mike Norman [Wed, 3 Aug 2016 17:14:59 +0000 (12:14 -0500)]
Fixed https://github.com/xamarin/documentation/issues/1508 (#275)

7 years agoFix bugzilla41209 (#216)
Rui Marinho [Wed, 3 Aug 2016 09:07:50 +0000 (10:07 +0100)]
Fix bugzilla41209 (#216)

* [Android] Add custom FormsSeekbar to handle invalid pressed states send by other views

* [Controls] Fix sample , error only occurs with transparent background

7 years ago[Android] Fix ListView contextual actions not closing in AppCompat's NavigationPage...
Paul DiPietro [Wed, 3 Aug 2016 08:50:31 +0000 (03:50 -0500)]
[Android] Fix ListView contextual actions not closing in AppCompat's NavigationPage/TabbedPage (#272)

* [Android] Fix ListView contextual actions not closing upon navigation in AppCompat

The Platform type in the ListViewAdapter was being treated as the
non-AppCompat type, and the NavAnimationInProgress value was not
being set as necessary in the NavigationPageRenderer.

* [Android] Add fix for TabbedPage swipes not closing contextual actions

Similar fix where swiping to another tab with the context menu open would
not close it. Relies on the prior commit.

7 years ago[UWP/8.1] ListView respects keyboard selection (#182)
Paul DiPietro [Wed, 3 Aug 2016 00:28:36 +0000 (19:28 -0500)]
[UWP/8.1] ListView respects keyboard selection (#182)

The ListViewRenderer's OnControlSelectionChanged would fire when using
the keyboard to change the selection of a ListView, but the Element's
SelectedItem value was not being set due to it normally being tracked
via tap/click.

7 years ago[A, iOS] ListView Pull-To-Refresh indicator animates when navigating back to it ...
Samantha Houts [Tue, 2 Aug 2016 21:48:25 +0000 (14:48 -0700)]
[A, iOS] ListView Pull-To-Refresh indicator animates when navigating back to it (#274)

* Add repro for 33561

* [A] ListView refreshing on created shows indicator

* [iOS] Refresh indicator restarts when appeared

* Remove superfluous get

7 years agoAdd missing compiler directives to fix build error
E.Z. Hart [Tue, 2 Aug 2016 21:39:31 +0000 (15:39 -0600)]
Add missing compiler directives to fix build error

7 years ago[Android] By using the SetSingleLine(true), the developers are no (#234)
Depechie [Tue, 2 Aug 2016 20:59:56 +0000 (22:59 +0200)]
[Android] By using the SetSingleLine(true), the developers are no (#234)

longer able to use the SetMaxLines() in their own Custom Renderers
later on. So we force a single line by using the SetMaxLines(1) in the
base LabelRenderer and SetSingleLine(false)

7 years agoDispose of child renderers in FrameRenderer (#265)
E.Z. Hart [Tue, 2 Aug 2016 20:57:08 +0000 (14:57 -0600)]
Dispose of child renderers in FrameRenderer (#265)

* Dispose of child renderers in FrameRenderer

* Add missing null check

7 years agoChange SourceChanged event on ImageSource to weak event to allow Images (#268)
E.Z. Hart [Tue, 2 Aug 2016 20:54:57 +0000 (14:54 -0600)]
Change SourceChanged event on ImageSource to weak event to allow Images (#268)

referencing application-wide StaticResource ImageSources to be GCed

7 years ago[Android] Color.Accent is hardcoded (#270)
Michael Rumpler [Tue, 2 Aug 2016 20:54:40 +0000 (22:54 +0200)]
[Android] Color.Accent is hardcoded (#270)

7 years agoXaml convert on add (#273)
Stephane Delcroix [Tue, 2 Aug 2016 20:24:50 +0000 (22:24 +0200)]
Xaml convert on add (#273)

* [Xaml] add test for conversion on Set and Add

* [Xaml] Fix conversion on Add()

* [XamlC] use op_implicit before Add()

7 years ago[Android] Add null check to prevent crashes when long clicking a text entry in ListVi...
Paul DiPietro [Tue, 2 Aug 2016 16:15:35 +0000 (11:15 -0500)]
[Android] Add null check to prevent crashes when long clicking a text entry in ListView header/footer (#271)

When a text entry control (Entry, Editor, SearchBar, etc.) was being used in the header or
footer of a ListView on Android, a long click/press would cause a crash. This was occurring
in the HandleContextMode method because it expected to be a cell. Adding a null check and
breaking out of the method if the value from GetCellForPosition is null prevents this crash
from occurring.

7 years ago[Android] Fix focus/unfocus behavior on both Picker renderers (#264)
Paul DiPietro [Tue, 26 Jul 2016 17:01:01 +0000 (12:01 -0500)]
[Android] Fix focus/unfocus behavior on both Picker renderers (#264)

On AppCompat, focus and unfocus would not trigger when using the
Picker. On pre-Lollipop, unfocus would not trigger, but only when
tapping outside of the dialog.

7 years ago[XamlC] fix a bug in the debugging code introduced last week (#267)
Stephane Delcroix [Mon, 25 Jul 2016 19:40:34 +0000 (21:40 +0200)]
[XamlC] fix a bug in the debugging code introduced last week (#267)

8 years ago[XamlC] Fix the getter of getters (#263)
Stephane Delcroix [Thu, 21 Jul 2016 18:59:40 +0000 (20:59 +0200)]
[XamlC] Fix the getter of getters (#263)

8 years ago[8.1/UWP] ListView allows selection with enter key (#241)
Paul DiPietro [Tue, 19 Jul 2016 03:05:08 +0000 (22:05 -0500)]
[8.1/UWP] ListView allows selection with enter key (#241)

8 years agoAdd workaround for bugzilla 37792 (#181)
Vincent Costel [Tue, 19 Jul 2016 00:09:20 +0000 (20:09 -0400)]
Add workaround for bugzilla 37792 (#181)

8 years agoAndroid Custom Font support (#236)
Roy [Mon, 18 Jul 2016 23:38:05 +0000 (01:38 +0200)]
Android Custom Font support (#236)

* Implemented basic Support for Android Custom fonts

* Fixed Tabs

* Removed Private

* Changed behaviour to use UWP FontFamily style names

* Fixed Bug

8 years ago[Win] Setting TabbedPage.BarTextColor works (#244)
Samantha Houts [Mon, 18 Jul 2016 23:33:41 +0000 (16:33 -0700)]
[Win] Setting TabbedPage.BarTextColor works (#244)

[Win] TabbedPage BarBG takes precedence

8 years agoPrevent FormsAppCompatActivity from loading fragments we don't use on restart (#246)
E.Z. Hart [Mon, 18 Jul 2016 23:30:41 +0000 (17:30 -0600)]
Prevent FormsAppCompatActivity from loading fragments we don't use on restart (#246)

* Prevent FormsAppCompatActivity from loading fragments we don't use on restart

* Adding issues lost in merge