platform/upstream/xamarin-forms.git
7 years ago[XamlC] skip static .cctor while looking for default .ctor (#718)
Stephane Delcroix [Fri, 27 Jan 2017 23:32:45 +0000 (00:32 +0100)]
[XamlC] skip static .cctor while looking for default .ctor (#718)

7 years agoMacOS (#650)
Rui Marinho [Thu, 26 Jan 2017 15:33:15 +0000 (15:33 +0000)]
MacOS (#650)

* [MacOS] Add SwitchRenderer

* [MacOS] Add TimePickerRenderer

* [MacOS] Cleanup TimePcikerRender

* [MacOS] Add WebViewRenderer

* [MacOS] Add Javascript evaluate to webview

* [MacOS] Fix build error on WebViewRenderer

* [MacOS] Add Base and TextCell renderers

* [MacOS] Start on ListViewRenderer

* [MacOS] Cleanup

* [MacOS] Vertical center text on default NSTextField

* [MacOS] Center NSTextField vertically

* [MacOS] Add ImageCellRenderer

* [MacOS] Add SwitchCellRenderer

* [MacOS] Add SwitchCellRenderer

* [iOS] Allow to set background color on other CellRenderers

* [MacOS] Fix selection mode on ListView

* [MacOS] Set background on Entry of entry cell

* [MacOS] Fix casting bug on CellRenderer

* [MacOS] Other fix on CellRenderer background

* [MacOS] Add ViewCellRenderer

* [MacOS] Fixes and cleanup on cells

* [MacOS] Add NSScrollView so NSTableView can scroll

* [MacOS] Add HeaderView to ListView

* [MacOS] Cleanup

* [Controls] Add Header support to ListView

* [MacOS] NSView reuse on NSTableView

* [MacOS] Some fix on layour order

* [MacOS] Add CarouselPageRenderer

* [MacOS] Implement EventTracker on PageRenderer

* [MacOS] Cleanup CarouselPageRenderer

* [MacOS] Add MasterDetailPage renderer

* [MacOS] MDP renderer don't allow drag of splitter

* [MacOS] Add TabbedPage renderer

* [MacOS] Initial sketch of NavigationPageRenderer

* [MacOS] Send disappearing of CurrentPage on Dispose on NavigationPageRenderer

* [MacOS] Add Gallery page for Mac

* [MacOS] Add MacOSExpressionSearch

* [MacOS] Fix ColorExtension

* [MacOS] Fix MDP renderer layout

* [MacOS] Implement native selection on ListViewRenderer

* [MacOS] Deselect a item on NSTableView

* [MacOS] Remove previous SplitViewItems

* [MacOS] Fix navigationpage height

* [MacOS] Add toolbar for NavigationPageRenderer

* [MacOS] Don't remove selection for now (crashing)

* [MacOS] Refactor page and back button title on NavigationPageRenderer

* [MacOS] Fix bug when native navigate back

* [MacOS] Hide layer when transition

* [MacOS] ListviewRenderer fix BbackgroundColor

* [MacOS] Fix background on ScrollViewRenderer

* [MacOS] Fix header measure on ListViewRenderer

* [MacOS] Add Mac twitter demo

* [Controls] Spaces for easy reading

* [MacOS] More xaml cleanup

* [Core] Add Mac as aTargetPlatform

* [MacOS] Add alerts and actionsheets

* [MacOS] Add GestureRecognizers

* [MacOS] Fix Layout issues when adding children, enable transformations

* [MacOS] Fix title on tab item, move to tabbed navigation based on segmented control

* [MacOS] Hide toolbar when not needed, this allows to work with tabbed page, cleanup

* [MacOS] Add NativeBindings and NativeViewWrapper

* [MacOS] Fix AssemblyInfo

* [MacOS] FIX NRE on SetBackgroundColor BoxView

* [MacOS] Fix NavigationPageRenderer

* [MacOS] Fix build

* [MacOS] Also update page when it resizes

* [MacOS] Add LayoutRenderer for handle items position when the bounds change.

* [MacOS] Refactor/Cleanup

* [MacOS] Add toolbar items support to NavigationPage

* [MacOS] Resize images for TabViewITems

* [MacOS] Fix TabbedPage resize issues , allow users to override some features when creating TVI

* [MacOS] Fix hide/show Navigation toolbar

* [MacOS] Redo CarouselPageRenderer with NSPageController

* [MacOS] Add support for Modal pages

* [MacOS] Refactor navigation from platform

* [Nuget] Add nuget for MacOS

* [Nuget]Fix nuspec

* [Nuget] Add variables for CI

* [Controls] Remove MainMenu from MacOS

* [MacOS] Add TableView renderer (no headers yet)

* [MacOS] Refactoring, marking extensions as internal

* [MacOS] Add group headers for TableViewRenderer

* [MacOS] Workaround for updates on listview collection

* [MacOS] Handle updates of rows in the ListViewRenderer properly

* [MacOS] Fix navigation animation

* Fix navigation header issues with modal pages

* [MacOS] Fix MDP issues with resizing

* [MacOS] Fix general dispose

* [MacOS] Add a ViewControllerWrapper for NSSplitView

* [MacOS] MDP renderer fix animation

* [MacOS] Fix ListView selection bug

* [MacOS] Fix rendering MDP Layout inside wrappers

* [MacOS] Re write the MainToolbar handler

* [MacOS] Don't use Sierra new extensions so we can run in stable channel

* [MacOS] Another way to hide the toolbar (smarter i think)

* [MacOS] Fix MDP bug and remove debug color

* [Controls] Add HanselForms sample

* [MacOS] Fix NRE WebviewRenderer

* [MacOS] Fix uneven rows on ListView renderer

* [MacOS] Fix NRE on load (can+t find the reason this happens)

* [MacOS] Fix uneven rows

* [MacOS] Fix header sizing on ListViewRenderer

* [Controls] More stuff on HanselForms

* [MacOS] Remove warning from ListViewRenderer

* [MacOS] Fix PageRenderer bug double init

* [MacOS] Don't calculate height if RowHeight is provided

* [Controls] More Hanselforms stuff

* [MacOS] Once again a new implementation for the NavigationBar, this time using a custom view to support BackgroundColor

* [MacOS] Fix build

* [MacOS] Refactoring AwesomeBar related controls

* Fix build

* [MacOS] NavigationBar update background and t test colors

* [MacOS] Fix when we remove navigation so it works when the NavigationRenderer wasn't removed from the parent controller like in a TabbedPage

* [MacOS] Add support for ListView  grouping

* [MacOS] Fix image extension method.

* [MacOS] Add base Maps project

* [MacOS] Export MapRenderer

* [MacOS] Add pin click and geocoderbacked for Maps

* [MacOS] Add extra binding project for API not in stable.

* [MacOS] Add MacOS Maps lib

* [MacOS]Fix build on alpha

* [MacOS] Remove MacOS Maps extra binding

* [UITest] Basic macOS setup

* [UITest] Add MacOSApp wrapper implementation

* [MacOS] Set AutomationID

* [UITests] Add ActionSheetUITests to MacOS UITest

* [MacOS] Fix bug on Picker

* [UITests] Link basic uitest basefixture and related files

* [MacOS] Fix pickers reuse

* [UItests] Fix MacOS app path

* [UITest] Ignore UItest for appearing on macOS for now

* [UITest] Update macOS for 2.0.3

* [UITest] Refactor EnterText MacOS app

* [UITest]Fix ViewQuery on MacOS

* [UITest]Fix IsEnabled UItest on macOS

* [UITest] Implement Enter, mark some tests inconclusive fix others

* [MacOS] Implement Entry Completed event

* [UITests] Fix UITest for IsVisible, ignore ToolbarItem test for now

* [UITests] Fix ISVisible again add extra category

* [Controls] Cleanup macOS gallery

* [MacOS] Fix Assembly info

* [Docs] Fix docs

* Fix build

* [Nuget] Fix nuspec

* [Controls] Link files on MacOS

* [Core] Update Forms stack before firing a event saying page was removed, possible breaking change

* [MacOS] Implement RemovePage on NavigationPAgeRenderer

* [UItest] Ignore some , implement back on MacOS UITest app

* [MacOS] Add default back button name (needs to be translated)

* [MacOS] Fix dispose

* [UITest] Make 29257 work on MacOS

* [MacOS] Rename stuff

* [MacOS] More renaming and cleanup

* [MacOS] Share implementations for iOS

* [MacOS] Reuse more IOS extensions

* [MacOS] Reuse FontExtensions

* [MacOS] Share NativeViewWrapper related stuff

* [MAcOS] Share event args and ExportRenderer

* [MacOS] Share platform effect

* [MacOS] Fix build

* [Docs]Fixing docs

* [MacOS] Fix ViewCell reuse

* [Core] Support ListView CachingStrategy on MacOS

* [MacOS] Fix issues with TextCell and ImageCell (we can’t set null to a NSControl value)

* [MacOS] Fix MDP child sizing bug
[UITest] Query marked by id and text

* [MacOS] Comment test related with context actions

* [MacOS] Implement missing stuff on ticker

* [MacOS] Make sure VisualElemenTracker calls the ticker update

* [UITests]Ignore context actions and not possible to test

* [MacOS] Fix Grouping bug on Listview

* [MacOS] Fix selection on Listview when using grouping

* [MacOS] Update navbar when page is popped

* [MacOS] Cleanup NavigationBar

* [Controls] More info on exceptions

* [MacOS] Fix bug animation pop modal

* [MacOS] Bring back BackgroundColor of NavigationBar

* [MacOS] Fix UITest animation delay

* [MacOS] Treat warnings as errors

* [MacOS] Center title on toolbar

* [Core] Add Platform configuration specific for MacOS

* [MacOS] Implement TabbedPage platform specific to handle TabItems on NavigationPage bar

* [MacOS] Fix warning

* [MacOS] Fix bug on SearchBar color

* [MacOS]Fix build

* [MacOS] remove extra dll from maps

* [Docs] Update docs

* [MacOS]Cleanup and refactoring

* Revert "[MacOS] remove extra dll from maps"

This reverts commit 73b948937001fea3f28449a963d0b94943e07aa0.

* [MacOS] Fix wrong refactoring

* [MacOS] Remove gallery and uitest project

* [MacOS] dix formatting

* [MacOS] Remove extra stuff

* Merge branch 'master' into macOS-gallery

* [MacOS] Fix rebase

* [MacOS] Fix TargetPlatform

* fix docs

* [MacOS] Fix bug on TabbedPageRenderer no title

* [MacOS] Remove FormsNSView

* [MacOS] Cleanup on dispose on MDP renderer

* [MacOS] Update current page when source changes

* [MacOS] More cleanup

* [MacOS] Make sure we show the previous page when popping a Modal

* [MacOS] Fix issue with sizing the Header and visibility, remove for now header renderer reuse

* [MacOS] Clean CustomNSTableView

* [MacOS] Share LabelRenderer with iOS

* [MacOS] Share ResourcesProvider with iOS

* [MAcoS] Share VisualElementPackager with iOS

* [MacOS] Share ViewRenderer with iOS

* [MacOS] Merge with VisualElementTracker from iOS

* [MacOS] Merge with EventTracker from iOS

* [MacOS] Merge with VisualElementRenderer of iOS

* [MacOS] Make sure we always have a layer

* [MacOS] Fix Tracker merge with iOS version

* [MacOS] Fix bug with tabbed page on modal without navigation

* [Core] Rever change on core

* [MacOS] Clear renderers before setting them MDP

* [MacOS] Update tabbedPage ContainerArea

* [MacOS] Fix ListViewRenderer

* [MacOS] Make sure we don’t pass null to TextField string value

* [MacOS] Support for multiple clicks in same selected item on NSTableView

* [MacOS] Support Focus on EntryRenderer

* [MacOS] Fix index bug on TablevIewDataSource

* [MacOS] Fix SelectedItem TableViewDataSource

* [Nuget] Add Mac to Maps nuspec

* [Nuget]Fix path

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer (#705)

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer

* Coding Style

* Coding Style

* [MacOS] Fix previous merge with master

* [MacOS] Possible simple fix for click on views overlapping

* [MacOS] Rename to IsOnViewCell

* [MacOS] Cleanup, Address feedback from Samantha’s review

7 years ago[X] passing test for 43733
Stephane Delcroix [Thu, 26 Jan 2017 14:01:53 +0000 (15:01 +0100)]
[X] passing test for 43733

7 years ago[Xaml] passing test for bz42531
Stephane Delcroix [Wed, 25 Jan 2017 14:45:02 +0000 (15:45 +0100)]
[Xaml] passing test for bz42531

7 years ago[Xaml[C]] Do not instantiate DataTemplate Content at parsing time (#683)
Stephane Delcroix [Wed, 25 Jan 2017 13:47:27 +0000 (14:47 +0100)]
[Xaml[C]] Do not instantiate DataTemplate Content at parsing time (#683)

* [Xaml] rename VisitChildrenFirst

* [Xaml] rework SkipChildren in XamlNode

* [Xaml] fix 45179

* fix

7 years agoFix build
Rui Marinho [Wed, 22 Mar 2017 17:18:57 +0000 (17:18 +0000)]
Fix build

7 years agoFix build
Rui Marinho [Tue, 14 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Fix build

7 years agoFix build
Rui Marinho [Fri, 10 Mar 2017 15:05:46 +0000 (15:05 +0000)]
Fix build

7 years agoFix build
Rui Marinho [Thu, 9 Mar 2017 19:19:44 +0000 (19:19 +0000)]
Fix build

7 years agoUpdate ListProxyTest.WeakToWeak so it works in Release mode (#866)
E.Z. Hart [Thu, 13 Apr 2017 14:40:05 +0000 (08:40 -0600)]
Update ListProxyTest.WeakToWeak so it works in Release mode (#866)

* Update ListProxyTest.WeakToWeak so it works in Release mode

* Disable CS0414 for test

7 years ago[Test]Ignore Weak reference test, failing only on release
Rui Marinho [Wed, 12 Apr 2017 18:04:55 +0000 (19:04 +0100)]
[Test]Ignore Weak reference test, failing only on release

7 years ago[UITest]Fix release build
Rui Marinho [Wed, 12 Apr 2017 16:10:18 +0000 (17:10 +0100)]
[UITest]Fix release build

7 years agoResource Manager fix for F# File Resources (Bugzilla 53515) (#825)
Rob Lyndon [Wed, 12 Apr 2017 10:57:13 +0000 (11:57 +0100)]
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().

7 years agoMap renderer extensibility (#844)
jcmanke [Tue, 11 Apr 2017 22:52:04 +0000 (17:52 -0500)]
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

7 years agoMarking exposed plumbing internal only in the docs. (#863)
Mike Norman [Tue, 11 Apr 2017 22:51:14 +0000 (17:51 -0500)]
Marking exposed plumbing internal only in the docs. (#863)

* Marking exposed plumbing internal only in the docs.

* Update docs

7 years ago[C] Lookup in RD also lookup in merged RDs (#861)
Stephane Delcroix [Tue, 11 Apr 2017 18:09:06 +0000 (20:09 +0200)]
[C] Lookup in RD also lookup in merged RDs (#861)

7 years agoImplicit impl of controller ifaces (#807)
kingces95 [Tue, 11 Apr 2017 18:02:06 +0000 (14:02 -0400)]
Implicit impl of controller ifaces (#807)

* Simplify ICtrl callsites

* Rebase fix

7 years agoClean up NavigationBar code in Platform (#753)
Jimmy Garrido [Tue, 11 Apr 2017 09:48:41 +0000 (02:48 -0700)]
Clean up NavigationBar code in Platform (#753)

7 years agoSpell correction of FromattedString (#864)
Anders Rasmussen [Tue, 11 Apr 2017 09:03:07 +0000 (11:03 +0200)]
Spell correction of FromattedString (#864)

7 years agoDo not emit implict_op if from/to are same type (#862)
kingces95 [Mon, 10 Apr 2017 06:48:54 +0000 (02:48 -0400)]
Do not emit implict_op if from/to are same type (#862)

7 years ago[Xaml] Set the TargetProperty on ServiceProvider (#847)
Stephane Delcroix [Fri, 7 Apr 2017 07:48:17 +0000 (09:48 +0200)]
[Xaml] Set the TargetProperty on ServiceProvider (#847)

7 years ago[Internal] Normalize Obsolete attributes (#860)
Samantha Houts [Fri, 7 Apr 2017 07:47:33 +0000 (00:47 -0700)]
[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

7 years agoFix 52962; Cont refresh even when pullToRefresh is disabled (#810)
kingces95 [Thu, 6 Apr 2017 21:47:12 +0000 (17:47 -0400)]
Fix 52962; Cont refresh even when pullToRefresh is disabled (#810)

7 years agoMore Xaml generic support (#857)
Stephane Delcroix [Thu, 6 Apr 2017 21:37:59 +0000 (23:37 +0200)]
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

7 years ago[Xaml[C]] supports 'using:' xmlns declarations (#851)
Stephane Delcroix [Thu, 6 Apr 2017 21:22:50 +0000 (23:22 +0200)]
[Xaml[C]] supports 'using:' xmlns declarations (#851)

7 years agoFix 54334 (#855)
Stephane Delcroix [Thu, 6 Apr 2017 21:13:49 +0000 (23:13 +0200)]
Fix 54334 (#855)

* [C] unset the FromStyle flag on manual setting

* [C] Do not reset overriden values to default

* complete the fix

7 years agoOnResume assumed that _application had been set (#859)
App Bureauet [Thu, 6 Apr 2017 21:11:05 +0000 (23:11 +0200)]
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.

7 years agoFix NRE when RecycleElement is on and list is scrolled quickly (#856)
E.Z. Hart [Thu, 6 Apr 2017 18:55:51 +0000 (12:55 -0600)]
Fix NRE when RecycleElement is on and list is scrolled quickly (#856)

7 years ago[iOS] ActivityIndicator should not disappear when used in a ViewCell (#495)
adrianknight89 [Thu, 6 Apr 2017 18:25:47 +0000 (13:25 -0500)]
[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

7 years agoAdded Section indexes when FastScrolled is enabled (#850)
James Clancey [Thu, 6 Apr 2017 17:54:00 +0000 (09:54 -0800)]
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

7 years agoAndroid fastrenderers (#845)
Rui Marinho [Thu, 6 Apr 2017 13:19:52 +0000 (14:19 +0100)]
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

7 years ago[Xaml] updating the unittests project to cecil .10-b5 too
Stephane Delcroix [Wed, 5 Apr 2017 11:41:02 +0000 (13:41 +0200)]
[Xaml] updating the unittests project to cecil .10-b5 too

7 years agoEarly april doc bugs (#854)
Mike Norman [Mon, 3 Apr 2017 19:31:40 +0000 (14:31 -0500)]
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

7 years agoHide alert window before setting result (#848)
Jimmy Garrido [Fri, 31 Mar 2017 00:04:29 +0000 (17:04 -0700)]
Hide alert window before setting result (#848)

7 years ago[XamlC] update cecil to 0.10.0-beta5
Stephane Delcroix [Thu, 30 Mar 2017 11:31:27 +0000 (13:31 +0200)]
[XamlC] update cecil to 0.10.0-beta5

7 years agoAlign iOS, Android, Windows handling of tap gesture event bubbling (#842)
E.Z. Hart [Wed, 29 Mar 2017 08:52:45 +0000 (02:52 -0600)]
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

7 years ago[WinRT/UWP] Enable selection in password entry (#677)
Paul DiPietro [Mon, 27 Mar 2017 17:26:56 +0000 (12:26 -0500)]
[WinRT/UWP] Enable selection in password entry (#677)

* [WinRT/UWP] Enable selection in password entry

* Remove unnecessary if

7 years ago[Docs] Fix docs Scrollview IOS Specific (#843)
Rui Marinho [Mon, 27 Mar 2017 14:52:23 +0000 (15:52 +0100)]
[Docs] Fix docs Scrollview IOS Specific (#843)

7 years agoFix 53427; Change default UAP styling for a label (#837)
kingces95 [Mon, 27 Mar 2017 10:32:18 +0000 (03:32 -0700)]
Fix 53427; Change default UAP styling for a label (#837)

7 years ago[iOS] Prevent NRE when page is switched on Appearing (#840)
Samantha Houts [Mon, 27 Mar 2017 10:31:04 +0000 (03:31 -0700)]
[iOS] Prevent NRE when page is switched on Appearing (#840)

7 years ago[Android]Refactor to use a extension method to get the drawable (#841)
Rui Marinho [Fri, 24 Mar 2017 22:11:20 +0000 (22:11 +0000)]
[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

7 years agoBz53803 Android app crashes during initialization due to invalid cast of toolbar...
BradChase2011 [Fri, 24 Mar 2017 20:12:45 +0000 (16:12 -0400)]
Bz53803 Android app crashes during initialization due to invalid cast of toolbar TextView. (#835)

7 years ago[iOS] Platform specifics to control ScrollView content touch delay (#563)
adrianknight89 [Fri, 24 Mar 2017 19:07:59 +0000 (14:07 -0500)]
[iOS] Platform specifics to control ScrollView content touch delay (#563)

* can delay content touches optionally

* revert bug fix

* add back _tapGesture

* remove extra declaration

7 years agoSetup a ConditionalWeakTable in ListProxy to hold weak references so that a ListView...
Shane Neuville [Fri, 24 Mar 2017 18:58:28 +0000 (12:58 -0600)]
Setup a ConditionalWeakTable in ListProxy to hold weak references so that a ListView will work when connected to a Weak Source (#802)

7 years ago[Android] Still look for the normal drawable on resources (#839)
Rui Marinho [Fri, 24 Mar 2017 17:54:12 +0000 (17:54 +0000)]
[Android] Still look for the normal drawable on resources (#839)

* [Android] Still look for the normal drawable on resources

* [Android]Fix code style

7 years ago[iOS] Don't skip row height estimation for grouped lists (#838)
Samantha Houts [Fri, 24 Mar 2017 11:02:59 +0000 (04:02 -0700)]
[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

7 years ago[Android] ScrollView can now consume Effects (#836)
Samantha Houts [Thu, 23 Mar 2017 23:12:41 +0000 (16:12 -0700)]
[Android] ScrollView can now consume Effects (#836)

* Add repro

* [Android] Make ScrollView an IEffectControlProvider

7 years agoUI tests for InputTransparent and fixes for Android/Windows (#808)
E.Z. Hart [Thu, 23 Mar 2017 17:18:38 +0000 (11:18 -0600)]
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

7 years ago[UITests]Add Xamarin.Forms.Core.UITests.Shared (#711)
Rui Marinho [Thu, 23 Mar 2017 11:03:48 +0000 (11:03 +0000)]
[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

7 years ago[Android] Fix NRE on Picker (#834)
Rui Marinho [Wed, 22 Mar 2017 19:38:19 +0000 (19:38 +0000)]
[Android] Fix NRE on Picker (#834)

7 years ago[XamlC] accept assignment of Object from unboxed value types in SetValue (#832)
Stephane Delcroix [Wed, 22 Mar 2017 16:53:24 +0000 (17:53 +0100)]
[XamlC] accept assignment of Object from unboxed value types in SetValue (#832)

7 years ago[C] Make sure all children are parented (#831)
Stephane Delcroix [Wed, 22 Mar 2017 16:09:41 +0000 (17:09 +0100)]
[C] Make sure all children are parented (#831)

* unit test

* [C] make sure all children are properly parented

7 years ago[iOS/Win] Label will not unnecessarily expand (#827)
Samantha Houts [Wed, 22 Mar 2017 10:43:17 +0000 (03:43 -0700)]
[iOS/Win] Label will not unnecessarily expand (#827)

* Add repro for 53362

* [iOS] Label will not unnecessarily expand

* [Win] Label will not unnecessarily expand

7 years agoAdd gesture disposed check to FrameRenderer (#829)
E.Z. Hart [Wed, 22 Mar 2017 10:40:15 +0000 (04:40 -0600)]
Add gesture disposed check to FrameRenderer (#829)

7 years ago[C] fix NIE in Span (#828)
Stephane Delcroix [Tue, 21 Mar 2017 16:39:01 +0000 (17:39 +0100)]
[C] fix NIE in Span (#828)

7 years agoiOS renderers now properly look up the ImageSourceHandler for FileImageSource (#826)
James Clancey [Tue, 21 Mar 2017 15:02:39 +0000 (07:02 -0800)]
iOS renderers now properly look up the ImageSourceHandler for FileImageSource (#826)

7 years ago[C] fix BP DeclaringType in TextElement[C
Stephane Delcroix [Tue, 21 Mar 2017 11:44:31 +0000 (12:44 +0100)]
[C] fix BP DeclaringType in TextElement[C

7 years agoConvert Android maps to GetMapAsync call (#824)
Jason Smith [Tue, 21 Mar 2017 10:38:36 +0000 (03:38 -0700)]
Convert Android maps to GetMapAsync call (#824)

* [A] Move map renderer to calling GetMapAsync

* [A] Make sure Map initializes correctly with Async map fetching

7 years agoMake Entry completed behavior on UWP/WinRT match Android/iOS (#747)
E.Z. Hart [Mon, 20 Mar 2017 19:09:41 +0000 (13:09 -0600)]
Make Entry completed behavior on UWP/WinRT match Android/iOS (#747)

* Make Entry completed behavior on UWP/WinRT match Android/iOS

* Accessibility test

7 years ago[iOS] Use UIButtonType.System for Button and utilize UIButton.Appearance (#554)
adrianknight89 [Mon, 20 Mar 2017 15:53:54 +0000 (10:53 -0500)]
[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

7 years ago[WinRT/UWP] Open Picker dropdown when calling Focus (#762)
Paul DiPietro [Mon, 20 Mar 2017 15:48:28 +0000 (10:48 -0500)]
[WinRT/UWP] Open Picker dropdown when calling Focus (#762)

7 years agoUWP MapRenderer NRE and Location fixes (#811)
Ethan Dennis [Mon, 20 Mar 2017 15:40:04 +0000 (10:40 -0500)]
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

7 years ago[Core] Fix internal children clear logic (#820)
wplong11 [Mon, 20 Mar 2017 12:06:20 +0000 (21:06 +0900)]
[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

7 years agoAdopt iOS status bar visibility defaults (#822)
kingces95 [Sat, 18 Mar 2017 18:55:40 +0000 (11:55 -0700)]
Adopt iOS status bar visibility defaults (#822)

7 years agonull check effects before clearing (#821)
kingces95 [Fri, 17 Mar 2017 22:57:11 +0000 (15:57 -0700)]
null check effects before clearing (#821)

7 years agoRemaining XAML API summaries. (#813)
Mike Norman [Thu, 16 Mar 2017 21:59:29 +0000 (16:59 -0500)]
Remaining XAML API summaries. (#813)

* Remaining XAML API summaries.

* update docs

7 years agoSet the transitioning delegate. (#819)
Daniel Williamson [Thu, 16 Mar 2017 21:58:42 +0000 (08:58 +1100)]
Set the transitioning delegate. (#819)

7 years agoResource loading (#815)
Stephane Delcroix [Thu, 16 Mar 2017 19:09:22 +0000 (20:09 +0100)]
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

7 years agoAdd internal XF.Registrar.RegisterAll b/c previewer needs it (#816)
kingces95 [Thu, 16 Mar 2017 16:19:35 +0000 (09:19 -0700)]
Add internal XF.Registrar.RegisterAll b/c previewer needs it (#816)

7 years agoInternal-only boilerplate for Xaml.Internals docs. (#817)
Mike Norman [Thu, 16 Mar 2017 16:19:01 +0000 (11:19 -0500)]
Internal-only boilerplate for Xaml.Internals docs. (#817)

7 years ago[test] passing test for 53318 (#818)
Stephane Delcroix [Wed, 15 Mar 2017 10:35:44 +0000 (11:35 +0100)]
[test] passing test for 53318 (#818)

7 years agoBug 53224; Disable Cell if Command IsEnabled false (#812)
kingces95 [Wed, 15 Mar 2017 10:07:48 +0000 (03:07 -0700)]
Bug 53224; Disable Cell if Command IsEnabled false (#812)

7 years agoBug 51536, initial iOS cell layout is incorrect when cell has context actions … ...
Vitaly Knyazev [Tue, 14 Mar 2017 16:22:21 +0000 (16:22 +0000)]
Bug 51536, initial iOS cell layout is incorrect when cell has context actions … (#787)

* Bug 51536, initial height is incorrect when cell has context actions or ListView is in recycle mode

* Improved fix for iOS uneven height cell layout

* Fixed indentation and added test case for issue 44525

* Fixed indentation for test case

* Added 1px room, this will fix Bugzilla31330 test, renamed test case to 51536

* Updated shared project file

7 years agoUpdate create-nuget.bat
Chris King [Tue, 14 Mar 2017 14:33:20 +0000 (07:33 -0700)]
Update create-nuget.bat

7 years agoFix MasterDetailPage event cycle (#754)
adrianknight89 [Tue, 14 Mar 2017 11:57:32 +0000 (06:57 -0500)]
Fix MasterDetailPage event cycle (#754)

sample code

add tag

change message

changes

changes 2

changes 3

changes 4

7 years ago[WinRT/UWP] Fix Opacity behavior with ProgressBar (#695)
Paul DiPietro [Tue, 14 Mar 2017 11:00:10 +0000 (06:00 -0500)]
[WinRT/UWP] Fix Opacity behavior with ProgressBar (#695)

* [WinRT/UWP] Fix Opacity behavior with ProgressBar

* Update .nuspec

* Further update .nuspec

* Adjust .csproj line to fix Mac build

7 years ago[Win] Labels will now wrap when inside horizontally infinite layouts (#639)
Samantha Houts [Tue, 14 Mar 2017 10:51:28 +0000 (03:51 -0700)]
[Win] Labels will now wrap when inside horizontally infinite layouts (#639)

* Add repro for 42559

* [Win] Override GetDesiredSize for LabelRenderer

* [Win] Invalidate size on font/align change

7 years ago[iOS] ViewCells will respond to ForceUpdateSize in RecycleElement mode (#809)
Samantha Houts [Tue, 14 Mar 2017 10:30:22 +0000 (03:30 -0700)]
[iOS] ViewCells will respond to ForceUpdateSize in RecycleElement mode (#809)

* Add reproduction for 44525

* Clean up gallery page

* [iOS] Get index path from Cell in RecycleElement

* Fix obsolete code

7 years agoadd helper bat file
Chris King [Fri, 10 Mar 2017 19:38:28 +0000 (11:38 -0800)]
add helper bat file

7 years ago[C] move the Font proxying into FontElement (#799)
Stephane Delcroix [Thu, 9 Mar 2017 19:18:17 +0000 (20:18 +0100)]
[C] move the Font proxying into FontElement (#799)

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)