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

389 Коммитов

Автор SHA1 Сообщение Дата
kingces95 d4480b2e48 Add iOS prototypical cell cache for LV RowHeight calcs (#1143) 2017-09-16 15:10:04 +01:00
Samantha Houts c1095f45a9 [iOS] Can activate ContextActions on ListViews reliably again (#1144)
* Add ContextActions test category

* Add repro for 58875

* [iOS] Null check for the Delegate; clear the static WeakRef on dispose
2017-09-15 18:52:50 -07:00
Samantha Houts b47068a21e [iOS] Can activate ContextActions on ListViews reliably again (#1144)
* Add ContextActions test category

* Add repro for 58875

* [iOS] Null check for the Delegate; clear the static WeakRef on dispose
2017-09-15 18:52:24 -07:00
Rui Marinho 2dd8294349 [iOS] Make sure to include query path on generated url (#1119) 2017-09-14 17:55:12 -07:00
Stephane Delcroix 8ee62e827e [C, iOS, Android] LayoutCompression (#1136)
* [C, iOS, Android] LayoutCompression

* fix docs

* minor fixups
2017-09-13 11:18:59 +02:00
Rui Marinho 1676417323 [iOS] Make sure to include query path on generated url (#1119) 2017-09-01 16:26:03 +01:00
Samantha Houts 6b9730ee2b [iOS] Prevent ListView HasUnevenRows crash when template w/container Element is swapped (#1095)
* Add repro for 58645

* [iOS] Check for null before clearing element renderer

* [iOS] Remove unnecessary code

renderer.SetElement(null); == descendant.ClearValue(Platform.RendererProperty);

* [iOS] Clarify comment, use preferred method of clearing renderer from Element

* How about we make the test work?

Sounds like a good idea to me.
2017-08-15 16:50:59 +01:00
Marko B. Ludolph af404c5529 [macOS] Implements/Fixes Vertical Text Alignment in the Label Renderer (#1046) 2017-08-15 11:14:02 +01:00
Marko B. Ludolph 44c6ccdd6b [macOS] Autolayout Engine Exception Fix (#1048) 2017-08-10 23:23:46 +01:00
E.Z. Hart 0ff50e2418 Add support for backcompat hint flags (#1074)
* Add support for backcompat hint flags

* Making fast renderers internal and sealed while experimental
2017-08-10 19:08:18 +01:00
Rui Marinho c13edf4f7c [iOS] Clear state so we allow the SelectedItem to be set (#1073) 2017-08-07 19:34:55 +01:00
Rui Marinho 2d726831ce [iOS] Fix regression introduced on #520 (#1072) 2017-08-02 00:48:27 +01:00
David Ortinau e828fa6fa5 when closing the Picker by tapping outside or hitting done, verify the source selection index matches the UI control. When it is in spin, the animation completes offscreen and the next time it opens you see the wrong row selected. (#1054) 2017-07-24 17:00:20 -04:00
E.Z. Hart 7303d60ab6 Disallow scrolling in ScrollView when IsEnabled set to False (#1049)
* Repro and fix for iOS

* Automated tests

* Fix for Android

* Update issue number

* Alternate version of test which I hope will work on iOS 8

* trying yet another variation of the test which will hopefully work on iOS 8
2017-07-24 16:57:31 -04:00
Samantha Houts a9f6acb870 [iOS] ListView with UnevenRows and Cell Heights will no longer be slow to load (#994)
* Add repro for 56896

* [iOS] Cached defined row heights for estimation

* [iOS] Null check source
2017-06-23 11:37:00 +01:00
adrianknight89 6e7b2ee3c0 [iOS] Issue warning to console when MasterDetailPage is pushed onto NavigationPage (#1000)
* add warning

* change to Trace
2017-06-22 19:36:28 +01:00
Stephane Delcroix f6bdb76b0a [iOS] decoupling UpdateText() on LabelRenderer (#950)
* [iOS] decoupling UpdateText() on LabelRenderer

* [iOS] do not update font and color on formattedstrings
2017-06-22 10:49:41 +01:00
Samantha Houts 67bc2d5488 [iOS/Android] Fixes "jumping" when navigation to a page with a NavigationBar from a page without one (#962)
* Add repro

* [iOS] Set IgnoreContainerArea when no Nav Bar

* [Android] Layout bar and page at the same time

* Add custom renderer to turn off transitions

* Fix test case number

* Remove superfluous category set

* Fix test automation, add TabbedPage
2017-06-22 10:25:35 +01:00
E.Z. Hart c6f547b298 Allow multiple tap gestures to fire simultaneously on iOS (#964)
* Allow multiple tap gestures to fire simultaneously on iOS

* Verify that the tap came from the same UIView
2017-06-21 12:13:06 +01:00
Stephane Delcroix b7b0bf559a [iOS] workaround a weird iOS behavior. (#987) 2017-06-21 02:00:58 +01:00
David Ortinau 723cb80c6b [iOS] Proxy UITableViewCell SelectionStyle when wrapped (#1002)
* making sure the UITableViewCell SelectionStyle proxies up when wrapped in ContextActionCell and with recycling mode

* corrected coding style, tabs instead of spaces. Removed stub for UITest.
2017-06-20 14:12:17 -04:00
Samantha Houts ec75b998fa [iOS] Picker no longer allows arbitrary text to be typed with keyboard (#996)
* Add repro

* [iOS] Reset text on editing

* Add instructions, fix test case number
2017-06-20 19:11:40 +01:00
E.Z. Hart 99074753a0 Align Layout transparency behavior between Android, iOS, Windows (#935)
* Setting up repros

* Tests for all combos of opacity, background color, and InputTransparent

* Make InputTransparent work correctly for Layouts on Windows

* Prevent low opacity from making Layouts implicitly input transparent

* Real target values in TransparentOverlayTests

* Allow layouts with transparent backgrounds to be clickable

* Fix gesture bubbling behavior for layouts

* Fix spacing

* Remove dead code and usings

* Fix spacing

* Add missing using directive

* Adjust transparent overlay test to work with iOS quirks

* Fix spacing

* Fix bugs caused by not filtering ACTION_CANCEL in MotionEventHelper

* Attempting to fix the tests on iOS (where UI tests can't see the buttons)

* Remove extra lines

* Another attempt to get tests working on iOS

* Another attempt to get iOS UI tests working for transparent overlays
2017-06-20 16:40:07 +01:00
E.Z. Hart f7c943dc77 [iOS] Allow Forms gestures on custom renderers for controls which already have gestures (#990)
* Repro 57114 with UI test; fix for 57114 on iOS

* Repro/UI test for Windows

* Add helpful comment for posterity

* Remove stray TODO

* Only do ShouldReceiveTouch on mobile

* Explicitly require wrapped UIView to have gesture recognizers
2017-06-20 16:38:58 +01:00
kingces95 6f5d6ce8da Provide better exception for bad INotifyCollectionChanged index bounds (#948) 2017-06-14 16:14:08 -07:00
Rui Marinho ec5492cd0d [iOS,Android] Fix gap when setting Separator None and recycle element and on Android when using grouping (#949)
* [Controls] Add repo for bugzilla 39802

* [iOS] Make ContextCell hide the gap when we aren't using a separator

* [Controls] Update test

* [iOS] Only fix height if separator is hidden.

* [iOS] Only fix if it's a ListiView

* [Android] Fix separator showing when using Grouping

* Update Bugzilla39802.cs
2017-06-14 15:58:03 -07:00
Jimmy Garrido 88693cc316 Fix possible crash on iOS when using ContextActions (#973) 2017-06-13 20:11:10 +01:00
E.Z. Hart 3a0072029f Prevent double dimiss of modal view controller when webview opens image picker (#951) 2017-06-12 11:49:58 +01:00
kadiryazgan 0834d2d13f make OnShouldReturn protected (#906)
* make OnShouldReturn protected

There are situations where we don't want to dismiss the keyboard when return key is pressed.
Making OnShouldReturn protected will let custom renderers to disable ResignFirstResponder behaviour.

* added virtual keyword to OnShouldReturn
2017-05-26 12:41:51 +01:00
Rui Marinho 8f7b1f7f17 [iOS] Handle user popping pages out of order (#934)
* [iOS] Handle when user can call pop a page that was already disposed/removed

* [Controls] Fix bug number
2017-05-24 10:29:09 -07:00
Stephane Delcroix 9a443a8508 Fix animations with GLViews (#931)
* null guard _displayLink (bz42755)

* change NSRunLoop mode (fix bz41413)
2017-05-23 19:04:25 +01:00
Samantha Houts 4e83b8ee0f [All] Rename Accessibility -> AutomationProperties (#912)
* [All] Renamed Accessibility -> AutomationProperties

* Update docs

* Restore doc summaries

* Revert unintended csproj changes
2017-05-10 18:20:57 +01:00
Samantha Houts 20bfa5b503 [iOS] Null Element before disposing trial renderers in uneven ListViews (#894)
* Add repro for 55745

* [iOS] Null Element before disposing trial renderers
2017-05-02 16:18:05 -07:00
Matthias 6ee219ca1d Add check for instance of UITableView (#885) 2017-04-27 10:42:12 -04:00
E.Z. Hart cdc4055128 Better error handling for image loading errors on iOS/Android (#849)
* First run at removing async void image update methods

Consistent error logging and IsLoading on Android,iOS,UWP

Move error logging into image handlers for better messages

Add demo of custom ImageRenderer error handling

Update docs

Make the test smaller so the results don't get pushed offscreen

Fix namespace error

* Update error handling for fast image renderer

* Update 37625 test to use image we control

* Add java disposed check to avoid ObjectDisposedException in async operations

* Add disposed checks to legacy renderer; null check element before SetIsLoading

* Check disposed on GetDesiredSize for fast renderer
Use local disposed member where possible for disposed check

* Check for disposal after async handlers in iOS

* Add disposal checks after async methods in Windows

* Reset linker settings on project; reduce redundant casts in ImageViewExtensions
2017-04-25 19:16:25 +01:00
Samantha Houts 17c7d8ed5c [iOS] Prevent NRE in ListView OnItemSelected (#883)
* Add repro

* [iOS] Prevent NRE in ListView

* [Android] Prevent NRE in ListView

Not observed, but adding defensive check just in case
2017-04-25 11:14:16 -07:00
kingces95 093a4efa2d Implicit impl of controller ifaces (#807)
* Simplify ICtrl callsites

* Rebase fix
2017-04-11 19:02:06 +01:00
Samantha Houts 5f2796e160 [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
2017-04-07 09:47:33 +02:00
kingces95 45a6a80b4c Fix 52962; Cont refresh even when pullToRefresh is disabled (#810) 2017-04-06 22:47:12 +01:00
adrianknight89 6966dd6cc7 [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
2017-04-06 19:25:47 +01:00
Jimmy Garrido b42611cdeb Hide alert window before setting result (#848) 2017-03-31 01:04:29 +01:00
Samantha Houts 1eae24b051 [iOS] Prevent NRE when page is switched on Appearing (#840) 2017-03-27 11:31:04 +01:00
adrianknight89 27de335bf1 [iOS] Platform specifics to control ScrollView content touch delay (#563)
* can delay content touches optionally

* revert bug fix

* add back _tapGesture

* remove extra declaration
2017-03-24 12:07:59 -07:00
Samantha Houts eea0bdcc6e [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
2017-03-24 11:02:59 +00:00
Samantha Houts c65a9a8c57 [iOS/Win] Label will not unnecessarily expand (#827)
* Add repro for 53362

* [iOS] Label will not unnecessarily expand

* [Win] Label will not unnecessarily expand
2017-03-22 10:43:17 +00:00
James Clancey 4e9d99fea4 iOS renderers now properly look up the ImageSourceHandler for FileImageSource (#826) 2017-03-21 15:02:39 +00:00
adrianknight89 ea4673c8cb [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
2017-03-20 15:53:54 +00:00
kingces95 ce06819328 Adopt iOS status bar visibility defaults (#822) 2017-03-18 18:55:40 +00:00
Daniel Williamson e36a02497a Set the transitioning delegate. (#819) 2017-03-16 21:58:42 +00:00
Vitaly Knyazev cf213891c9 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
2017-03-14 09:22:21 -07:00
Samantha Houts e7f5a4188d [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
2017-03-14 10:30:22 +00:00
kingces95 e6d5186c8a 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
2017-03-07 14:56:24 -05:00
E.Z. Hart bc53ebe2bf Using IUIActionSheetDelegate (#800) 2017-03-06 09:39:27 +01:00
Joris Vergeer 38c0b34e91 Fix for nullreferenceexception when a TabbedPage is rendered without a set CurrentPage (#669) 2017-03-03 12:25:49 +00:00
Jimmy Garrido 97b28b1c20 Throw exception when ViewCell View is null (#752) 2017-03-03 12:20:20 +00:00
Chris King 217a59e587 update IEditorController callsites 2017-02-21 10:24:12 +00:00
Samantha Houts 8c457a0e14 [iOS] Label should not return infinite width 2017-02-21 10:17:18 +00:00
Rui Marinho 67e044e437 [MacOS] Fix build 2017-02-20 15:56:53 +00:00
Chad Kimes 7edc1013b1 [iOS] Fix extra tab icon appearing in iOS for TabbedPage (#448)
commit 1ba6ff67a745a0e802f67b7a4f36db4f8385466e
Merge: e3f1937 a1d4b64
Author: Stephane Delcroix <stephane@delcroix.org>
Date:   Thu Jan 26 10:11:08 2017 +0100

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

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

    [iOS] Fix extra tab icon appearing in iOS 10

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

    [iOS] Add static check method for iOS 10
2017-02-17 10:45:36 +00:00
adrianknight89 1d8e098e2a [iOS] MasterDetailPage master icon should be changeable from any page on the stack (#608)
* master detail page master icon could be changed from any page on the stack

* change icon names

* added titles
2017-02-15 11:39:02 +00:00
adrianknight89 340a705c5e [iOS] Dispose pickers properly and automate GC checks (#632)
* dispose datepicker

* add dispose to other pickers

* add ui test

* add dispose to picker model

* change class name
2017-02-15 11:38:22 +00:00
adrianknight89 56e3629c82 [iOS] Fix NavigationPage memory leak when back button title is set (#523)
* fix memory leak

* fix parent

* added comment
2017-02-09 16:03:41 +00:00
Stephane Delcroix faa6eae8e7
Revert "[*] ScaleX and ScaleY"
This reverts commit fc7d556848.
2017-02-06 15:18:16 +01:00
Stephane Delcroix fc7d556848
[*] ScaleX and ScaleY 2017-02-06 15:16:54 +01:00
adrianknight89 28237b7b27 [iOS/Android] Handle item selection highlight when ListView cell is tapped erratically (#520)
* Fix multi tap selection highlight

* added sample code

* add ios fix
2017-02-06 11:59:11 +00:00
Softlion (Benjamin Mayrargue) c29403ac31 TabbedRenderer / load icons from custom sources (from embbedded svg for example) (#574)
* Enable ios tab bar icons to be set by a custom renderer (using xamsvg for example)

* Fix space => tabs

* space => tabs / newline

* space / newlines
2017-02-06 11:53:44 +00:00
Ice Jovanoski c84bb83676 [iOS] Expose row animation properties in ListViewRenderer (#733) 2017-02-03 08:45:55 +01:00
adrianknight89 0dff517c22 [iOS] Dispose Entry and Editor properly and automate GC checks (#628)
* fix entry leak

* change code style

* reduce indentation

* fix editorrenderer

* add uitest

* revert editorrenderer changes

* Fix Editor
2017-02-03 08:18:22 +01:00
Kangho 9a6c9a0896 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
2017-02-02 18:23:31 +00:00
Rui Marinho 72699e34b2 [iOS,macOS] Use NS constructor from string to parse correctly the string (#734) 2017-02-01 23:21:19 +00:00
Samantha Houts ae59382c90 [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
2017-01-31 11:49:15 -08:00
Paul DiPietro 6296c4478f [iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth (#696)
* [iOS] Remove "Enabled" usage on AdjustsFontSizeToFitWidth

* Update docs
2017-01-30 23:50:49 +00:00
Rui Marinho 52fc04724f 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
2017-01-26 15:33:15 +00:00
adrianknight89 6b2a69d930 [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
2017-01-26 14:24:31 +00:00
E.Z. Hart 2c56d6211d 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()
2017-01-23 12:42:38 -07:00
Stephane Delcroix 5f9e5e56bb [iOS] redraw Frame on CornerRadius changed (#697) 2017-01-21 12:51:20 +00:00
Jimmy Garrido c9b384ce18 [iOS] Fix NRE when re-adding header/footer (#702) 2017-01-21 00:36:59 +00:00
Stephane Delcroix b6cb64e493 [C] new OnPlatform mechanism (#658)
* [C] Obsolete TargetPlatform

* [Xaml] support and test the new syntax

* blind fix windows platforms
2017-01-12 12:05:41 -08:00
Samantha Houts 3af99cbbe1 [iOS] Labels with WordWrap or CharacterWrap will Expand (#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
2017-01-12 11:48:30 -08:00
fengrui e7a7a57e4b fix bug-39359 (#599)
UriImageSource does cache failed HTTP responses
2017-01-12 19:48:19 +00:00
Sandro Cavazzoni f81e41b11b [iOS] Fix child view position when the Navigation Bar is translucent (#659) 2017-01-12 19:38:24 +00:00
adrianknight89 f78b328759 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
2017-01-10 16:07:01 -08:00
adrianknight89 a0417309b8 [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
2017-01-09 10:53:15 +00:00
adrianknight89 24d8dab897 [iOS] Platform specifics for controlling Picker SelectedIndex change behavior (#540)
* picker selected index could change when picker view is dismissed

* use enum
2017-01-04 13:11:09 +00:00
E.Z. Hart 58909e205a Allow subscriber to be collected if MessagingCenter is the only reference to it (#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
2017-01-03 12:02:10 +00:00
adrianknight89 cc0eb5ba43 [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
2017-01-03 11:30:35 +00:00
adrianknight89 ffab6dd82e [iOS] Change keyboard type while keyboard is visible (#443)
* Change keyboard while changing text

* add sample code
2016-12-30 15:14:13 -07:00
adrianknight89 4ea528643e fix nre when changing content in datepickerselected (#494) 2016-12-28 16:15:45 -07:00
adrianknight89 0c87fcff41 [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
2016-12-22 10:46:57 -08:00
E.Z. Hart 2a9c6f75cf
Removing now non-existent IsiOS8OrNewer check 2016-12-14 14:11:39 -07:00
Jason Smith 9535315986 Deprecate versions of iOS older than 8 (#630) 2016-12-14 20:38:46 +00:00
E.Z. Hart 5ad5752f3c Disable using EstimatedRowHeight for uneven rows with known heights (#454) 2016-12-13 13:33:49 -08:00
Jason Smith 899e2bd591 Revert "Deprecate iOS 8 and earlier (#626)"
This reverts commit c4b1c88f50.
2016-12-09 10:17:27 -08:00
Paul DiPietro c4b1c88f50 Deprecate iOS 8 and earlier (#626) 2016-12-09 11:29:04 +00:00
E.Z. Hart 8ac7667b9c Fix for 45743 which works with iOS 8 (#616)
* Explicitly set window bounds when presenting alert

* Remove unused methods
2016-12-07 23:11:14 +00:00
adrianknight89 fb76107f4f dispose tap gesture (#601) 2016-12-04 14:44:40 +01:00
E.Z. Hart 281090c466 Restore old Alert/ActionSheet method for iOS 8 (#595)
* Rename action sheet overload

* Restoring iOS8-compatible alert/actionsheet handling
2016-12-02 23:52:31 +00:00
Rui Marinho ccef9cbaa4 [iOS] Avoid using DrawRect on base VisualElementRenderer (#570)
* [Controls] Add retro for Bugzilla 48158

* [iOS] Avoid using DrawRect as this will make some properties not being applied to the layer

* [iOS] Make sure BoxRenderer calls base LayoutSubviews

* [iOS] Better fix for adding the Blur effect and avoid override draw’s

* [Controls] Remove extra nunit category
2016-11-30 12:09:57 -08:00
E.Z. Hart 5642dd58cd Fix broken alerts for iPad (#549)
* Fix broken alerts for iPad

* Remove unnecessary parameter and add null check

* Dropping test limit to 10 so we can get iOS passing
2016-11-22 17:01:20 +00:00
Rui Marinho fc66448bbd [iOS] Revert changes in popping navigation (#547)
* [iOS] Revert changes in popping navigation

* [iOS] Remove unified if
2016-11-18 12:32:48 -08:00
E.Z. Hart 54e1e4a56c Have PresentAlert hide new window when alert is dismissed (#543) 2016-11-18 11:47:52 -08:00
Paul DiPietro b2e2a8ff2a Platform specifics naming adjustments (#526) 2016-11-18 13:38:30 +01:00
E.Z. Hart 122f0e3e60 Run multiple UI tests without restarting ControlGallery (#539)
* Allow UI tests to bypass "manual" navigation to isses pages

* Add missing Preserve attribute

* Make Issue198 test work with direct navigation

* Remove empty UI tests

* Fix error handling for iOS

* Use navigation which works for subsequent TestNavigationPages on iOS

* Fix race condition in 39530 test
Remove master page nesting when doing direct nav for UI tests

* Set up and run a single instance of Control Gallery for UI tests

* Force NavigateToIssue to wait for main page appearing to deal with iOS timing

* Move remaining UI tests into Issues namespace

* Change the connection check URL so it'll work on iOS

* Make Appearing Gallery tests work without restarting app

* Prevent ContextActions tests from stepping on each other

* Make context menu test more robust

* Move ButtonExtensions back to Controls namespace

* Have test 774 dismiss the action sheet before ending

* Update UITest package to 2.0.0 stable

* Make 2948 restore orientation when it's done

* Null check on PageController before calling SendDisappearing

* Adding a wait for the root page in the core tests

* Add consecutive tests reset to prevent memory slog on older iOS devices
2016-11-16 13:07:30 -08:00
Stephane Delcroix acc6efb3d7 [W] Support 0 as valid BorderWidth (#537) 2016-11-16 13:05:28 -08:00
Paul DiPietro 281bfa2b0a [iOS] Update Editor text from autocorrect when losing focus (#535) 2016-11-16 12:59:21 -08:00
adrianknight89 eb243bcea4 Set TabBarItem properly (#530) 2016-11-16 12:55:15 -08:00
Samantha Houts 20adf7ec74 [iOS] Add Platform Specific option to not adjust the status bar text color based on the luminosity of the NavigationBar text color (#517)
* Add reproduction for 37431

* [Core] Add iOS PS StatusBarTextColorMode

* [iOS] Implement StatusBarTextColorMode on NavPage

* Add reproduction for 44777

* Add instructions to 44777 repro

* Update docs
2016-11-16 12:14:00 -08:00
Stephane Delcroix e5af21fdc3 [C] Use a Binding for ItemsSource object selection 2016-11-16 12:03:13 -08:00
E.Z. Hart bc7755ca56 Use static method syntax to prevent mono compiler error (#538) 2016-11-16 10:14:17 -07:00
Paul DiPietro 98235e0eea [iOS] Add Platform Specific features for PrefersStatusBarHidden/UIStatusBarAnimation (#463)
* [iOS] Add Platform Specific features for PrefersStatusBarHidden/UIStatusBarAnimation

* Update docs
2016-11-16 11:02:54 +01:00
Jimmy Garrido 46104e9ce1 [iOS] Fix AccessoryView covered by section index list (#493)
* [iOS] Fix AccessoryView below section index list

* Add UITest
2016-11-16 09:21:55 +01:00
adrianknight89 0ccae8a3af [iOS] Text should not overflow Entry if it can't fit inside the bounds (#400)
* Entry subviews should clip to parent bounds

* Adding sample code

* Adding sample code

* Adding sample code

* remove sample

* remove sample

* add back the sample code

* add back missing include

* use spaces instead of tabs
2016-11-15 15:17:29 -07:00
Andrei N 4554e822e3 Added CornerRadius property To Frame control 2016-11-15 11:56:03 -08:00
Paul DiPietro 7f9f2530ca [iOS] Use separate UIWindow for UIAlertController (#481)
* [iOS] Use separate UIWindow for UIAlertController

* Add similar behavior for DisplayActionSheet; consolidate behavior into PresentAlert method
2016-11-15 11:36:49 -08:00
Paul DiPietro a0fb20a075 [iOS] Add check for UIGestureRecognizerState.Cancelled when closing context action (#442) 2016-10-26 18:11:58 +01:00
Paul DiPietro 8d03598812 [iOS] Add Platform Specific feature for setting AdjustsFontSizeToFitWidth on Entry (#429)
* [iOS] Add Platform Specific feature for setting AdjustsFontSizeToFitWidth on Entry

* Update docs
2016-10-20 15:17:00 -05:00
adrianknight89 6f00e078ec [iOS] Entry should correctly update Text when typing aid is used (#401)
* Entry should be able to detect typing aid changes correctly

* Added comment
2016-10-20 12:31:33 -07:00
E.Z. Hart 50ac8e06da Fix MasterDetailPage/NavigationPage leaks on iPad (#426)
* Remove Master page property changed handler to eliminate leak

* Fix memory leaks with MasterDetailPage and NavigationPage on iOS
2016-10-12 11:46:18 +01:00
adrianknight89 9a5dab9424 [iOS] Tapping on ListView with two fingers should not crash (#379)
* Tapping on ListView with two fingers should not crash

* Revert "Tapping on ListView with two fingers should not crash"

This reverts commit 0b0752f3cfdbb1c29678d75bd18c5a00e564d77b.

* code without refactoring

* moving up selector check
2016-10-11 14:39:18 -07:00
adrianknight89 9f167ffd1b Clear cached CultureInfo and TimeZoneInfo on app resume (#423) 2016-10-11 22:29:41 +01:00
Stephane Delcroix ec81d3f32a Merge branch 'adrianknight89-ios-scrolltoposition' 2016-10-11 20:34:18 +02:00
adrianknight89 47b61aab59 Fixed bug 43993 by removing call to base ViewWillAppear (#333)
* Fixed bug 43993 by removing call to base ViewWillAppear

* Removed commented code and reduced nesting
2016-10-04 17:31:15 +01:00
Stephane Delcroix d34dcf2cbc Merge branch 'ios-scrolltoposition' of https://github.com/adrianknight89/Xamarin.Forms into adrianknight89-ios-scrolltoposition 2016-10-04 09:34:35 +02:00
adrianknight89 5372d216df Tab children should be cast to Page (#398) 2016-10-03 12:09:28 +01:00
Rui Marinho fa2f01680d [iOS] Keep our native property listener around the same time we keep our proxy, check if we are KVO compliant before adding observer (#403) 2016-09-30 11:48:22 -07:00
E.Z. Hart 53e1d99a75 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
2016-09-27 14:50:02 +01:00
Adrian Knight e9606cd6e2 using internal Clamp method 2016-09-23 05:05:08 -05:00
Adrian Knight a708ad9593 iOS ScrollView should not scroll out of place on scrolling to element 2016-09-23 00:32:32 -05:00
Rui Marinho eb79ff842e 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_
2016-09-14 22:56:17 +01:00
Samantha Houts d8f939ff6e [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
2016-09-13 12:39:36 +01:00
Rui Marinho e49be51ad5 [iOS] - Revert setting the frame for ViewCell to try to hide the gap between cells when using a ContextActionCell (#351) 2016-09-13 12:38:16 +01:00
Paul DiPietro 420ceb37d0 [iOS] Adjust Started/Ended hooks in pickers for iOS 10 (#339) 2016-09-08 15:00:57 -07:00
Stephane Delcroix 3b7d798fdd [Xaml] support native views and native bindings (#266)
Allows including Native views directly in xaml.
Support for ios, android, UWP
2016-09-08 11:45:43 -07:00
Stephane Delcroix 85426c5d94 Native Bindings (#278)
* [C, I, A, W] Support Native Bindings

* fix tabs
2016-09-08 11:39:05 -07:00
Samantha Houts 5e553f6195 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
2016-08-30 10:46:14 -07:00
Jimmy Garrido f551654b1c Throw InvalidOperationException if AppLinkEntry.Thumbnail source is invalid (#299) 2016-08-30 10:45:05 -07:00
Rui Marinho 52dc625bce [iOS] Change when we updated the XF INavigationPageController after popping a page natively, Cleanup UITest references (#291) 2016-08-16 11:31:53 -07:00
Samantha Houts 33303a09df [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.
2016-08-16 10:56:37 -07:00
Samantha Houts d5ad18b3e9 [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
2016-08-02 22:48:25 +01:00
ytn3rd d1885b4465 ixed issues where you could not force rotation with a NavigationPage on iOS. (#254) 2016-07-18 16:25:47 -07:00
Praga Siva 5268d609fa Fix for NullReferenceException when ItemSource has item removed and a… (#258)
* fix for NullReferenceException when ItemSource has item removed and another inserted on iOS

* Update ViewCellRenderer.cs

Fix spacing issue
2016-07-18 16:18:15 -07:00
Samantha Houts eb84f968f2 [All] Crash fixes for ListViews (#243)
* [Controls] Add repro for 42277

* [Android] No crash if GroupHeaderTemplate=null

* [Android] Fix DataTemplateSelector crash

* [Core] Expose ListProxy on TIL

* [iOS] Fix DataTemplateSelector crash

* [Win] Fix DataTemplateSelector crash

* [Docs] Update docs

* [Core] Implement ListProxy explicitly

Allows ListProxy property to stay internal.

* [Controls] Revert unnecessary change to shproj
2016-07-01 21:51:38 +01:00
Rui Marinho 128796e6d0 [iOS] Fix regression 2.3.1-pre1 UnevenRows (#242)
* [Controls] Add test case for 39486

* [iOS] Fix math refactor error on calculating height
2016-06-30 09:06:59 -07:00
Samantha Houts 0772a5278b [iOS] Default BarTextColor/BarBackgroundColor will no longer override values set in custom renderers (#233)
* [Controls] Improve TabbedPage test case

iOS should default to the color used in a custom renderer instead of to
the global default color.

* [iOS] TabbedPage Bar*Color default is better

Will use the color set by a custom renderer, if any, instead of always
pulling from global appearance.
2016-06-28 11:25:45 +01:00
Rui Marinho dae4dfa94c Fix 39802 (#217)
* [iOS] When using ContextActionsCell make sure we don't show the ContentCell separator

* [Android] Don't write separator view if not needed
2016-06-17 17:29:43 +01:00
Samantha Houts 925fc0aa58 Prep Cell & friends for removal of InternalsVisibleTo (#142)
* Prep Cell & friends for removal of InternalsVisibleTo

Includes:
- Cell
- EntryCell
- ListView
- MenuItem
- TableView
- ViewCell
- Toolbar

Moved extensions to Internal & removed TPH

* Update docs

* [Controls] Ignore Issue2411 on iOS <9

* [Controls] Formatting for Issue2411
2016-06-17 11:10:18 +01:00
Rui Marinho 87f1418d2f [iOS] Call UpdateLeftBarButtonItem when page is removed (#209) 2016-06-16 17:20:12 +01:00
E.Z. Hart d5be2f0144 Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
Rui Marinho 349336dbf1 Fix margins on ViewCell (#189)
* [iOS] Set the frame of a cell NativeView using the calculated positions and size

* [UWP] Make wrapper of a ViewCell respect margins
2016-05-26 12:05:14 -07:00
Shawn Castrianni ae8bf9d41c Protect against null Control (#171) 2016-05-24 11:48:09 -07:00
Maximo Piva 616e16a685 Forward Orientation Methods in PlatformRenderer and ModalWrapper (#147)
* PlatformRenderer and ModalWrapper are Wrappers around the real UIViewController, rotation and orientations methods are not correctly forwarded in IOS. Per example, you cannot programatically lock the rotation of the IOS screen. This changes will fix that.

* Changed spaces to tabs, as requested.
2016-05-12 11:22:11 +01:00
Shawn Castrianni 7ae7dbaa96 Fix Bug 39486 (#153) 2016-05-11 11:07:23 +01:00
E.Z. Hart a8acdcc117 Add IMasterDetailPageController and update renderers (#146) 2016-05-04 15:22:34 +01:00
E.Z. Hart 5b9094241b Prep StreamImageSource for removal of InternalsVisibleTo 2016-05-04 14:08:54 +01:00
E.Z. Hart a2148444ba Add INavigationPageController (#149) 2016-05-04 13:18:40 +01:00
E.Z. Hart 5f8f47ff7c Prep VisualElement (and descendants) for removal of InternalsVisibleTo (#141) 2016-05-02 15:19:12 -07:00
E.Z. Hart d11bc09e75 Prep Image for removal of InternalsVisibleTo (#140) 2016-05-02 14:56:03 -06:00
E.Z. Hart 93f22aaf28 Prep SearchBar for removal of InternalsVisibleTo (#137) 2016-05-02 14:55:43 -06:00
E.Z. Hart 2d9288eee6 Prep Entry for removal of InternalsVisibleTo (#139)
* Prep Entry control for removal of InternalsVisibleTo

* Update docs
2016-04-27 07:55:09 -04:00
Jason Smith 409e105284 Carousel clean (#135)
CarouselView moving to preview repo
2016-04-26 15:35:52 -04:00
E.Z. Hart 9ae4ea3c82 Prepare Preserve attribute usage for removal of InternalsVisibleTo (#121)
* Move PreserveAttribute to Internals to prep for removal of InternalsVisibleTo

* Update docs
2016-04-26 11:20:55 -04:00
E.Z. Hart 843bc4727a Make core Ticker abstract and public (#116)
* Make core Ticker abstract and public
Make the core Ticker abstract and public so it can be inherited by platform
implementations; remove now-unused parts of original Ticker; add CreateTicker
to IPlatformServices; remove unused CreateTimer methods from IPlatformServices

* Add docs for Ticker

* Remove unnecessary Ticker.Default set

* Move Ticker into Internals

* Update Ticker docs

* Remove old Ticker docs

* Remove commented code
2016-04-25 15:57:44 -04:00
E.Z. Hart 07df05ced2 Remove ToolBar from Core; Remove ToolBar renderers and unit tests (#124) 2016-04-25 12:52:48 -04:00
E.Z. Hart 6c0c11960b Prep WebView and renderers for removal of InternalsVisibleTo (#120)
* Create custom event args class for script eval requests
Make IWebViewRenderer public

* Add IWebViewRenderer docs

* Add EvalRequested docs

* Move EvalRequested to Internals
IWebViewRenderer -> IWebViewDelegate

* Add docs
2016-04-25 12:26:40 -04:00
Jason Smith 5907152c50 Evolve feature branch (#117)
* Initial import of evolve features

* [Android] Add Xamarin.Forms.Platform.Android.AppLinks project

* [iOS] Fix issues with c# 6 features on iOS AppLinks

* Added naive stanza to update-docs-windows.bat to produce Pages docs. Not tested. (#69)

* Update packages

* Add AppLinks android nuspec and fix linker issues

* Fix build

* Fix nusepc

* Fix nuspec

* Update android support nugets to 23.2.1

* Update Xamarin.UITest

* Add CardView

* [iOS] Fix app link for CoreSpotlight

* [Android] Update AppLinks android support libs

* Add Newtonsoft.Json dependency to nuspec

* Fix NRE when setting ControlTemplate to null

* Move to ModernHttpClient for download

* Try fix build

* Preserve android app links

* Fix margin issue

* General coding and simple fixes
2016-04-24 12:25:26 -04:00
Rui Marinho feac1ba3ed [iOS] Fix issue with WebView dispose and resizing (#128) 2016-04-24 09:38:40 -04:00
E.Z. Hart 462d132f6f Allow renderers to specify whether native controls should be eagerly disposed (#129) 2016-04-24 02:13:27 -04:00
E.Z. Hart a98f3fb2aa Add TextColor Property to Picker, TimePicker, DatePicker (#84)
* Add TextColor property to TimePicker
Add TextColor page to TimePicker gallery
Add TimePicker color toggling to color toggle test page
Split color toggle tests up among tabs

* Implement TimePicker.TextColor in iOS

* Implement TimePicker.TextColor for WinRT tablet

* Add IsEnabled=false tests to DefaultColorToggleTest Button and TimePicker
Consolidate ColorStates array
Fix IsEnabled changing color bug on iOS

* Implement TimePicker.TextColor for WP8

* Add TextColor property to DatePicker
Add DatePicker section to DefaultColorToggleTest
Impement DatePicker.TextColor for WP8

* Implement DatePicker.TextColor for WinRT/UWP/Windows Phone 8.1

* Implement DatePicker.TextColor for iOS

* Add TextColor to DatePicker Gallery Page

* Implement DatePicker.TextColor for Android

* Add Picker Gallery page for TextColor
Implement Picker.TextColor on Android
Consolidate TextColor management for Button, Picker, DatePicker, TimePicker
Implement

* Add untracked TextColorSwitcher
Implement Picker.TextColor in iOS

* Implement Picker.TextColor in WinRT/UWP/Windows Phone 8.1
Remove Pioker Loaded handlers in Dispose

* Implement Picker.TextColor in WP8

* Removed unused field
Update ignored warnings

* Update docs

* Use nameof() for BindableProperties

* Cleanup

* Fix custom renderer crashes for classes using TextColorSwitcher

* Correct property name references

* Fix typo and 'if' formatting

* Add missing else
2016-04-19 00:01:58 -07:00
kingces95 d51b17aece Whitespace fixes (#110) 2016-04-18 23:57:22 -07:00
kingces95 0d57b35f21 CarouselView Fixes (#101)
* Fix CarouselView.Item

* CarouselView formatting

* Move ItemsView.Count to IItemsViewController

* Remove dead code: CarouselView.IndexOf

* CarouselView re-layout subviews on resize.

* Add ItemTemplate to resources.xaml on UWP

* Docs
2016-04-18 11:39:23 -07:00
Samantha Houts 75f1124002 BarBackgroundColor and BarTextColor on TabbedPage (#96)
* [Core] Add properties to TabbedPage

* [Controls] Add properties to test page

* [iOS] Added BarBackgroundColor & BarTextColor to TabbedPage

* [A] Added BarBackgroundColor & BarTextColor to TabbedPage

* [UWP] Added BarBackgroundColor & BarTextColor to TabbedPage

* [WinRT] Format file

* [WinRT] Added BarBackgroundColor & BarTextColor to TabbedPage

* [Docs] Updated docs
2016-04-18 09:46:51 -07:00
Jason Smith 0b10ab0c13 Fix bugzilla39987 (#100)
* [Controls] Add repo for bugzilla 39987

* Fix repo

* Resolve issue with blank first tab in iOS 9.3
2016-04-17 12:33:52 -07:00
Rui Marinho 2223efdd4f [iOS] Restore VisualElementTracker on WebViewRenderer (#99) 2016-04-16 14:39:22 -07:00
Jason Smith e7f30c34d5 Page renderer effects (#85)
* [I]PageRenderer Effect support

* [I]Add Effect supprt for NavigationPage

* [I]Enable Effects on remaining pages
2016-04-13 16:38:38 -07:00
Samantha Houts 90d8976cfd [iOS] Resolve Warning 0108 (#64)
[iOS] Resolve warning 0114

`Selected` is overridable, but current behavior is to hide it, so we're
going to add the `new` keyword.

[iOS] Resolve warning 0618

[iOS] Resolve warning 0414, 0649, 0169

[iOS] Resolve warning 0105

Update dispose to override base dispose (#67)

Add an optional extended description…
2016-04-11 18:05:28 -07:00
Jason Smith df24270915 Resharper warnings are slightly different for some reason than WError, resolve these (#66) 2016-04-11 17:33:34 -07:00
Paul DiPietro b2ad3e53a8 Enable CS0618 warnings as errors (#72)
CS0618 occurs when using an obsolete property or method.

https://msdn.microsoft.com/en-us/library/x5ye6x1e.aspx
2016-04-11 09:50:28 -07:00
kingces95 870f9c98ff [A, iOS] CarouselView Bug Fixes (#49)
* CarouselView programatic scrolling fixes; swipe back fixes

* Make iOS CarouselView events consistant with Android

* bump swipe distance; add Screenshot on Exception

* Formatting. No logical change.

* Comment out [Test] on UITest and fix TestCloud failures later.
2016-04-07 22:55:19 +01:00
Paul DiPietro e3191821ba [iOS] ViewCellRenderer did not set RealCellProperty
In the iOS ViewCellRenderer, GetRealCell in ViewCellPropertyChanged was returning null and passing it to UpdateIsEnabled. SetRealCell was never being called in ViewCellRenderer and the RealCellProperty was never being set.
2016-04-06 22:53:52 -07:00
kingces95 b7251aa6f9 Warnings as Errors in product projects 2016-04-06 10:32:29 -07:00
kingces95 fae68e21b9 Reformat methods to original order 2016-04-05 16:34:42 -07:00
Jason Smith a6964ab96f Merge pull request #20 from xamarin/fix-bugzilla21177
[iOS] PageRenderer no longer swallows touches
2016-04-04 15:22:30 -07:00
E.Z. Hart 17e2a4b94d Add options for specifying layout of button text/image content
Also make the layout and layout defaults consistent across platforms
2016-03-30 16:22:35 -06:00
Samantha Houts 1688728737 [iOS] PageRenderer no longer swallows touches
Will allow users to create custom renderers that have touch events.
2016-03-30 12:01:54 -07:00
E.Z. Hart 41ae551eb8 Make spacing in lock statement consistent with code style 2016-03-29 13:41:41 -06:00
Samantha Houts 7fdd7ed0c2 Merge pull request #19 from xamarin/reformatUsings
Reformat using statements
2016-03-28 10:58:13 -07:00
Chris King b3365b7f7d Reformat using statements 2016-03-25 13:53:19 -07:00
Chris King 735b130893 Add using statement to dispose stream 2016-03-24 12:41:07 -07:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00