platform/upstream/xamarin-forms.git
7 years agoFix TabbedPageRenderer's toolbar height
Kangho Hur [Mon, 26 Dec 2016 00:17:33 +0000 (09:17 +0900)]
Fix TabbedPageRenderer's toolbar height

- Applying the ElmSharp.Toolbar bug patch . We don't need to calculate the ratio of toolbar height anymore.

Change-Id: Ib286297e3123e1cf344a01f06b8472341ca12598

7 years agoHomogenous mode should be set to false if grouping is enabled
Pawel Andruszkiewicz [Wed, 21 Dec 2016 07:28:05 +0000 (08:28 +0100)]
Homogenous mode should be set to false if grouping is enabled

Change-Id: I01327d4c0be6847445c4711d5c4cb6f60f3ba6a9
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoUnregister ScrollRequestHandler when the renderer is being destroyed
JongHeon Choi [Tue, 20 Dec 2016 08:16:41 +0000 (17:16 +0900)]
Unregister ScrollRequestHandler when the renderer is being destroyed

Change-Id: Iae05a147f16932b27bb08ac3d3bdf016040af5c6

7 years agoChange Text HorizontalTextAlignment of TitleBar to Center
Seungkeun Lee [Wed, 21 Dec 2016 04:53:55 +0000 (13:53 +0900)]
Change Text HorizontalTextAlignment of TitleBar to Center

 - Left alignmented text was side effect of Span
 - In Tizen, it was originally center alignment

Change-Id: I6daebf987d614731bfa35ec1f0cc52398550c140

7 years agoRefactoring EntryCell SwitchCell renderer with Reusable feature
Seungkeun Lee [Mon, 19 Dec 2016 06:08:48 +0000 (15:08 +0900)]
Refactoring EntryCell SwitchCell renderer with Reusable feature

 - Use Xamarin.Forms element to make Cell contents
 - Replace OnCellPropertyChanged code with binding feature
 - Implement Reusable cell feature

 - It need updated ElmSharp, beta-002 on nuget.org will be not working
 - Reusable feature of ElmSharp was submited with submit/tizen/20161214.052838 tag

Change-Id: I6d26259cae0da59c1476f5c5698d803ee3c5519f

7 years agoRemove horizontalPadding for Label to measure its width correctly
Kangho Hur [Mon, 19 Dec 2016 05:10:29 +0000 (14:10 +0900)]
Remove horizontalPadding for Label to measure its width correctly

Change-Id: I6b09e9dbb1996eef4751b13973145df72602fb2e

7 years agoFix TextCell text color bug
Seungkeun Lee [Mon, 19 Dec 2016 00:18:31 +0000 (09:18 +0900)]
Fix TextCell text color bug

 - Remove predefined default color in CellRenderers
 - handle Color.Default in Span

Change-Id: I901f93c4b9d929b9d3e646ae29a5a3fb81237152

7 years agoAdd Tizen backend renderer
Kangho Hur [Fri, 16 Dec 2016 02:00:07 +0000 (11:00 +0900)]
Add Tizen backend renderer

- Xamarin.Forms.Platform.Tizen has been added
- Xamarin.Forms.Maps.Tizen has been added
- RPM build spec has been added

Change-Id: I0021e0f040d97345affc87512ee0f6ce437f4e6d

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)

7 years ago[All] Basic Accessibility Support (#713)
Samantha Houts [Tue, 31 Jan 2017 19:49:15 +0000 (11:49 -0800)]
[All] Basic Accessibility Support (#713)

* [Core] Add accessibility properties

* [Controls] Add accessibility gallery

* [iOS] Implement accessibility properties

* [Android] Implement accessibilty properties

* [Win] Implement accessibility properties

* [Win] Select ListView item on selected for a11y

* Update docs

* TODO: macOS accessibility

* [iOS] Fix failing UI Tests

7 years agoMake MessagingCenter testable (#723)
E.Z. Hart [Tue, 31 Jan 2017 13:10:28 +0000 (06:10 -0700)]
Make MessagingCenter testable (#723)

* Make MessagingCenter testable

* Eagerly create MessagingCenter instancef

* More succinct version

7 years ago[WinRT/UWP] Fix Slider binding value incorrectly (#729)
Paul DiPietro [Tue, 31 Jan 2017 12:57:43 +0000 (06:57 -0600)]
[WinRT/UWP] Fix Slider binding value incorrectly (#729)

7 years ago[Nuget] Fix nuspec for macOS (#732)
Rui Marinho [Tue, 31 Jan 2017 12:03:23 +0000 (12:03 +0000)]
[Nuget] Fix nuspec for macOS (#732)

7 years ago[MacOS] Fixes to ToolbarItems (#728)
Rui Marinho [Mon, 30 Jan 2017 12:29:27 +0000 (12:29 +0000)]
[MacOS] Fixes to ToolbarItems (#728)

* [MacOS] Support toolbar item property changes

* [UITest,MacOS] Support query by button hardcoded

* [UITests] Add and fix more toolbar tests

7 years agoMake WinRT/UWP platform classes more maintainable (#652)
E.Z. Hart [Sat, 28 Jan 2017 00:14:21 +0000 (17:14 -0700)]
Make WinRT/UWP platform classes more maintainable (#652)

* Split Platform.cs into partial classes

* Split the NavigationPageRenderer into partial classes for easier maintenance

* Simplify GetCommandBarAsync, remove unneeded comments

* Correct broken GetCommandBarAsync method

* Fix OSX build

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 agoMoving verify-nuspecs.ps1
E.Z. Hart [Fri, 27 Jan 2017 15:48:40 +0000 (08:48 -0700)]
Moving verify-nuspecs.ps1

7 years agoAdd MacOS gallery and UITest (#721)
Rui Marinho [Fri, 27 Jan 2017 12:52:38 +0000 (12:52 +0000)]
Add MacOS gallery and UITest (#721)

* [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] dix formatting

* [MacOS] Fix build

* [MacOS] Fix bug on TabbedPageRenderer no title

* [MacOS,UITest] Update packages

* [MacOS ,UITest] Add delay when tapping something, and focus with double click

* [MacOS,UITest] Ignore UITest, not possible to test with current version

* [MacOS,UITest] Ignore test that uses Frame, UITest doesn’t return it

* [MacOS] Fix bug when no title on toolbar items

* [MacOS] Remove FormsNSView

* [MacOS] Cleanup on dispose on MDP renderer

* [MacOS] Different way to test leak of MDP, need to look at this again after

* [MacOS] Update current page when source changes

* [MacOS] More cleanup

* [MacOS,UITest] Implement ClearText

* [MacOS,UITest] ClearText doesn’t work for now on MacOS uitest

* [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,UITest] Don’t try to scroll for the element

* [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

* [Controls] Add missing image

* [MacOS] Clear renderers before setting them MDP

* [MacOS] Update tabbedPage ContainerArea

* [Controls] Add Custom renderers tests

* [MacOS] Fix ListViewRenderer

* [MacOS,UITest] Refactoring, implement index

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

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

* [MacOS, UITest] Fix bug on Back because of refactoring

* [MacOS,UITest] Ignore UITest because we’d-not have ScrollDownTo yet

* [MacOS] Support Focus on EntryRenderer

* [MacOS,UITest] Ignore more a couple of tests that we can’t test on UITest Desktop

* [MacOS,UITest] MacOSApp looks for StaticText fields too

* [MacOS, UITest] Fix EnterText for marked Entry

* [MacOS] Fix index bug on TablevIewDataSource

* [MacOS] Fix SelectedItem TableViewDataSource

* [Nuget] Add Mac to Maps nuspec

* [Nuget]Fix path

* [Controls] Add basic FormsGallery sample

* [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

* [UItest] Ignore this part of the test we can’t click on NSViews yet

* [MacOS] Rename to IsOnViewCell

* fix docs

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

* [MacOS] Add ContextActions

* [Controls] Remove FormsGalery for now

* [Docs] Update docs

* [MacOS] Implement ContextActions

* [MacOS,UITests] Enable and support UITests of ContextActions

7 years ago[MacOS] Context actions (#727)
Rui Marinho [Fri, 27 Jan 2017 11:46:40 +0000 (11:46 +0000)]
[MacOS] Context actions (#727)

* [MacOS] Add ContextActions

* [MacOS] Implement ContextActions

7 years agoUse a prototype TextBlock to resolve theme resources on Windows (#703)
E.Z. Hart [Thu, 26 Jan 2017 18:51:28 +0000 (11:51 -0700)]
Use a prototype TextBlock to resolve theme resources on Windows (#703)

* Use a prototype TextBlock to resolve theme resources on Windows

* Move textblock declaration to beginning of class

* Don't retain prototype TextBlock in memory

7 years ago[Android] Keyboard should not change layout while dismissing on Entry and Editor...
adrianknight89 [Thu, 26 Jan 2017 17:24:37 +0000 (11:24 -0600)]
[Android] Keyboard should not change layout while dismissing on Entry and Editor (#663)

* handle keyboard on entry

* add sample code

* editor changes

* change text

* better fix

* changes

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[iOS/Critical] Fix ListView memory leaks (#524)
adrianknight89 [Thu, 26 Jan 2017 14:24:31 +0000 (08:24 -0600)]
[iOS/Critical] Fix ListView memory leaks (#524)

* fix memory leaks

added sample code

changed page name

Changed page title

add screen instructions

fix copy paste error

change subview dispose logic

Fix context action memory leak

add sample code

change custom page names

Revert "change custom page names"

This reverts commit 7aaab2625d9526080ca5c51c02e909f09ee3f610.

changed class names

changes

UI test for 32206

update ui test

fix whitespace

UITests done

* run UI tests on iOS only

* fix code style

* dispose prototype

* fix child renderer issue

* add null check

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] support CDATA (#698)
Stephane Delcroix [Thu, 26 Jan 2017 08:25:22 +0000 (09:25 +0100)]
[Xaml] support CDATA (#698)

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[XamlC] allow xml-elements as Setter/Trigger Values (#684)
Stephane Delcroix [Wed, 25 Jan 2017 14:09:54 +0000 (15:09 +0100)]
[XamlC] allow xml-elements as Setter/Trigger Values (#684)

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 agoAdd default parameter value of zero to INavigationPageController.Peek() (#708)
E.Z. Hart [Mon, 23 Jan 2017 22:55:03 +0000 (15:55 -0700)]
Add default parameter value of zero to INavigationPageController.Peek() (#708)

7 years agoReduce overhead of pushing existing navigation stack (#672)
E.Z. Hart [Mon, 23 Jan 2017 19:42:38 +0000 (12:42 -0700)]
Reduce overhead of pushing existing navigation stack  (#672)

* Make StackCopy less awkward

* Clean up comment

* Update docs

* Update docs

* Replace SecondToLast with an arbitrarily deep Peek method

* Update docs

* Handle negative depths in Peek()

7 years agoMove XF.ConcurrentDictionary to WP8 project (#685)
E.Z. Hart [Mon, 23 Jan 2017 19:41:39 +0000 (12:41 -0700)]
Move XF.ConcurrentDictionary to WP8 project (#685)

7 years ago[A]Fix potential crash when calling ClearFocus in SearchBarRenderer (#700)
Jason Smith [Sat, 21 Jan 2017 12:52:26 +0000 (04:52 -0800)]
[A]Fix potential crash when calling ClearFocus in SearchBarRenderer (#700)

7 years ago[iOS] Fix NRE when re-adding header/footer (#702)
Jimmy Garrido [Sat, 21 Jan 2017 00:36:59 +0000 (16:36 -0800)]
[iOS] Fix NRE when re-adding header/footer (#702)

7 years ago[XamlC] compile ListStringTypeConverter (#660)
Stephane Delcroix [Wed, 18 Jan 2017 12:04:13 +0000 (13:04 +0100)]
[XamlC] compile ListStringTypeConverter (#660)

* [XamlC] compile ListStringTypeConverter

* remove debug statements

7 years agoPool and reuse MKMapView instances on iOS 9 as well as iOS 10 (#680)
E.Z. Hart [Mon, 16 Jan 2017 19:36:49 +0000 (12:36 -0700)]
Pool and reuse MKMapView instances on iOS 9 as well as iOS 10 (#680)

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 agoFix build
Rui Marinho [Wed, 22 Mar 2017 17:18:57 +0000 (17:18 +0000)]
Fix build

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 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 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 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 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 agoAdd check for disposed gesture detector on VisualElementRenderer
E.Z. Hart [Sun, 22 Jan 2017 18:37:13 +0000 (11:37 -0700)]
Add check for disposed gesture detector on VisualElementRenderer

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 agoFix build beta-2.3.4-pre5
Rui Marinho [Tue, 14 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Fix build

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 agoFix build beta-2.3.4-pre4
Rui Marinho [Fri, 10 Mar 2017 15:05:46 +0000 (15:05 +0000)]
Fix build

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[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[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 agoFix build beta-2.3.4-pre3
Rui Marinho [Thu, 9 Mar 2017 19:19:44 +0000 (19:19 +0000)]
Fix build

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 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 agoFix build
Rui Marinho [Wed, 8 Mar 2017 20:06:40 +0000 (20:06 +0000)]
Fix build

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 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[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[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. (#772)

* Add repro for 51505

* [Android] Don't dispose of EffectControlProvider

* Oops

7 years agoBackport #793 (#796)
Stephane Delcroix [Thu, 2 Mar 2017 22:36:25 +0000 (23:36 +0100)]
Backport #793  (#796)

* [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

* remove files committed by accident

7 years agoXamlc ppdb backport (#792)
Stephane Delcroix [Wed, 1 Mar 2017 18:45:03 +0000 (19:45 +0100)]
Xamlc ppdb backport (#792)

* [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

* [XamlC] support portable pdb (#726)

* [XamlC] update to cecil 0.10.0-b4 to better symbol detection (#791)

7 years agoFix crash in UWP design mode (#735) beta-2.3.4-pre2
Jason Smith [Tue, 31 Jan 2017 18:24:19 +0000 (13:24 -0500)]
Fix crash in UWP design mode (#735)

7 years ago[iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth (#696)
Paul DiPietro [Mon, 30 Jan 2017 23:50:49 +0000 (17:50 -0600)]
[iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth (#696)

* [iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth

* Update docs

7 years ago[iOS] redraw Frame on CornerRadius changed (#697)
Stephane Delcroix [Sat, 21 Jan 2017 12:51:20 +0000 (13:51 +0100)]
[iOS] redraw Frame on CornerRadius changed (#697)

7 years agoFix overeager subscription cleanup (#712)
E.Z. Hart [Tue, 24 Jan 2017 22:25:44 +0000 (15:25 -0700)]
Fix overeager subscription cleanup (#712)

7 years ago.nuspec updates and fixes for X.A.Support 23 -> 25 (#679)
kingces95 [Wed, 18 Jan 2017 18:57:12 +0000 (10:57 -0800)]
.nuspec updates and fixes for X.A.Support 23 -> 25 (#679)

7 years ago[XamlC] use TypeRefComparer to compare TypeRef from different assemblies (#710)
Stephane Delcroix [Wed, 25 Jan 2017 16:03:30 +0000 (17:03 +0100)]
[XamlC] use TypeRefComparer to compare TypeRef from different assemblies (#710)

7 years ago[XamlC] allow xml-elements as Setter/Trigger Values (#684)
Stephane Delcroix [Wed, 25 Jan 2017 14:09:54 +0000 (15:09 +0100)]
[XamlC] allow xml-elements as Setter/Trigger Values (#684)

7 years agoFix NullReferenceException in VisualElement finalize. (#701)
Kevin Petit [Thu, 19 Jan 2017 09:12:51 +0000 (10:12 +0100)]
Fix NullReferenceException in VisualElement finalize. (#701)

7 years agoFix test failures in Release mode beta-2.3.4-pre1.1
E.Z. Hart [Thu, 12 Jan 2017 23:33:21 +0000 (16:33 -0700)]
Fix test failures in Release mode

7 years agoUpdate copyright dates
Jason Smith [Thu, 12 Jan 2017 21:46:52 +0000 (13:46 -0800)]
Update copyright dates

7 years agoFix out-of-memory crashes on iOS when creating maps (#467)
E.Z. Hart [Thu, 12 Jan 2017 21:43:57 +0000 (14:43 -0700)]
Fix out-of-memory crashes on iOS when creating maps (#467)

* Pool map views on iOS 10 to avoid memory issues
Clean up disposal implementation for map renderer, delegate

* Enable 39489 test on iOS

* Add missing XF Maps references

* Add missing maps reference to Windows 8.1 project

* Actually enable the test for iOS

* Fix placement of Isolate override

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

* Reverting fixes to ViewRenderer Dispose; have to fix that in a separate PR

7 years ago[C] new OnPlatform mechanism (#658)
Stephane Delcroix [Thu, 12 Jan 2017 20:05:41 +0000 (21:05 +0100)]
[C] new OnPlatform mechanism (#658)

* [C] Obsolete TargetPlatform

* [Xaml] support and test the new syntax

* blind fix windows platforms

7 years ago[iOS] Labels with WordWrap or CharacterWrap will Expand (#529)
Samantha Houts [Thu, 12 Jan 2017 19:48:30 +0000 (11:48 -0800)]
[iOS] Labels with WordWrap or CharacterWrap will Expand (#529)

* Add reproduction for 28650

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

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

* Test two small labels next to each other in horizontal layout

7 years agofix bug-39359 (#599)
fengrui [Thu, 12 Jan 2017 19:48:19 +0000 (03:48 +0800)]
fix bug-39359 (#599)

UriImageSource does cache failed HTTP responses

7 years ago[iOS] Fix child view position when the Navigation Bar is translucent (#659)
Sandro Cavazzoni [Thu, 12 Jan 2017 19:38:24 +0000 (20:38 +0100)]
[iOS] Fix child view position when the Navigation Bar is translucent (#659)

7 years agoImprove registry startup and lookup performance (#674)
E.Z. Hart [Thu, 12 Jan 2017 19:22:00 +0000 (12:22 -0700)]
Improve registry startup and lookup performance (#674)

* Optimize search for Effect resolution name
Avoid multiple collection of assemblies during startup
Cache handler lookups

* Handle s_initialized check inside of Initialize method

7 years ago[Android] NavigationPageRenderer should not create a Fragment unnecessarily (#627)
adrianknight89 [Thu, 12 Jan 2017 11:51:40 +0000 (05:51 -0600)]
[Android] NavigationPageRenderer should not create a Fragment unnecessarily (#627)

* Do not create fragments unnecessarily

* use existing list

* remove local variable

* Revert "remove local variable"

This reverts commit 266e2c3657733c390931df79d4729206b456dfcd.

* remove local variable

* change order of returns

7 years agoDon't set up the properties task until it's requested (#671)
E.Z. Hart [Thu, 12 Jan 2017 11:50:37 +0000 (04:50 -0700)]
Don't set up the properties task until it's requested (#671)

7 years agoDon't create FontExtensions Regex unless/until necessary (#676)
E.Z. Hart [Wed, 11 Jan 2017 18:33:04 +0000 (11:33 -0700)]
Don't create FontExtensions Regex unless/until necessary (#676)

* Lazy load Regex for loading fonts from assets

* Allow Regex class to handle Regex initialization and caching

7 years agoEnable 24-hr formatting for Android TimePicker (#654)
Philipp Sumi [Wed, 11 Jan 2017 12:06:18 +0000 (13:06 +0100)]
Enable 24-hr formatting for Android TimePicker (#654)

Enable 24-hr time formatting depending on Android system settings instead of the hard coded 12-hour setting.

7 years agoiOS and Android timers should be runnable from any thread and execute… (#374)
adrianknight89 [Wed, 11 Jan 2017 00:07:01 +0000 (18:07 -0600)]
iOS and Android timers should be runnable from any thread and execute… (#374)

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

* removing unused Timer class declarations with minor refactoring efforts

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

* removing bak file

* switch to v7

* add test code

7 years agoUpdate 45926 test to account for NavigationPage ref to popped page
E.Z. Hart [Tue, 10 Jan 2017 21:25:14 +0000 (14:25 -0700)]
Update 45926 test to account for NavigationPage ref to popped page

7 years ago[iOS] Register effects for ScrollView and WebView (#641)
adrianknight89 [Mon, 9 Jan 2017 10:53:15 +0000 (04:53 -0600)]
[iOS] Register effects for ScrollView and WebView (#641)

* fix effects

* move effect utilities to core

* use core class

* move to internals namespace

* remove IEffectControlProvider from IVisualElementRenderer

7 years ago[UITest] Update to UITest 2.0.5 (#665)
Rui Marinho [Thu, 5 Jan 2017 11:43:58 +0000 (11:43 +0000)]
[UITest] Update to UITest 2.0.5 (#665)

7 years ago[iOS] Ignore intermittent failing test on XTC (#666)
Rui Marinho [Wed, 4 Jan 2017 13:15:40 +0000 (13:15 +0000)]
[iOS] Ignore intermittent failing test on XTC (#666)