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

268 Коммитов

Автор SHA1 Сообщение Дата
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
adrianknight89 fb76107f4f dispose tap gesture (#601) 2016-12-04 14:44:40 +01: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
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
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
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 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
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
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
Paul DiPietro 420ceb37d0 [iOS] Adjust Started/Ended hooks in pickers for iOS 10 (#339) 2016-09-08 15:00:57 -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
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
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
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
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
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 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 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
Rui Marinho feac1ba3ed [iOS] Fix issue with WebView dispose and resizing (#128) 2016-04-24 09:38:40 -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
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
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