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

49 Коммитов

Автор SHA1 Сообщение Дата
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
BradChase2011 87f0bfa2e1 Fixed a redundant check that caused a massive slowdown on UWP. (#788)
* Fixed a redundant check that caused a massive slowdown on UWP.

* Fixed formatting.

* Fixed formatting.

* UWP_UI_Speed_Fix Last time on tabbing, lets hope so!
2017-03-09 18:39:27 +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
Stephane Delcroix 8bc7ba3faa [C] ITextElement and TextElement (#789) 2017-03-06 10:35:17 +01:00
Chris King 217a59e587 update IEditorController callsites 2017-02-21 10:24:12 +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
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
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
E.Z. Hart c468302e9d Move XF.ConcurrentDictionary to WP8 project (#685) 2017-01-23 12:41:39 -07: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
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 1f3d5ecd26 fix weakreferences (#558) 2016-11-24 20:34:46 +01:00
Stephane Delcroix acc6efb3d7 [W] Support 0 as valid BorderWidth (#537) 2016-11-16 13:05:28 -08:00
Stephane Delcroix e5af21fdc3 [C] Use a Binding for ItemsSource object selection 2016-11-16 12:03:13 -08:00
Andrei N 4554e822e3 Added CornerRadius property To Frame control 2016-11-15 11:56:03 -08: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
E.Z. Hart 74cb5c4a97 Implement dispose pattern correctly to support derived classes (#364) 2016-09-21 23:04:36 +01:00
adrianknight89 f1f0a77e15 KeyboardExtensions is now public (#326) 2016-08-30 11:31:41 -07:00
E.Z. Hart 1b7250167f Use character truncation in Windows (#321)
Change layout order ViewCells on Windows to correct label length layout issues
Add extra layout pass on ViewCell load to make cells without margins visible
2016-08-30 11:12:27 -07:00
E.Z. Hart 30c0dcb949 Fix Entry/SearchBar color issues (#306)
* Fix disappearing Entry text on UWP Anniversary Edition
Fix background color reversion bug in UWP Phone
Move SearchBar styling on UWP to its own file
Make foreground/background color changes on UWP SearchBar/Entry consistent
Fix SearchBar color toggle bug on WP8

* Temporarily moving SDK target to previous version

* Fix build error on OSX
2016-08-16 11:10:32 -07: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
E.Z. Hart d5be2f0144 Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
E.Z. Hart 4146d617a0 Remove hard-coded image sizes for button images (#202) 2016-06-08 16:47:00 +01:00
Daniel Hindrikes 4cbe7e61e5 ixed bug with app resume for windows phone silverlight. Bug 41076 in bugzilla (#184) 2016-05-23 10:49:15 -07: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 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 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
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 a67a1daad0 Suppress translation if scale is zero (#82) 2016-04-13 17:16:04 +01:00
E.Z. Hart 0a20bdaa3c Fix warnings 0219 and 0618 in WP8 Platform (#63)
* Fix warnings 0219 and 0618 in WP8 Platform
Remove suppression of warnings 0219 and 0618 in WP8 Platform

* Remove pragma for 0618 and use Platform.GetRenderer

* All warnings as errors in Release configuration
2016-04-11 18:22:14 -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
E.Z. Hart e9eaacff4a Merge pull request #60 from xamarin/warnings-WP8-4014
Turn off suppression of warning CS4014
Port TaskExtensions from WinRT projects to WP8
Update implementation of OpenUriAction to use TaskExtensions
2016-04-07 12:20:07 -06:00
E.Z. Hart ae4444baef Un-suppress CS0067 in Platform.WP8; (#57)
Fix warning 0067 "An event was declared but never used in the class in which it was declared." Added event invocation method to TextCellRenderer's CanExecuteChanged event to fix warning.
2016-04-07 09:51:08 -07:00
E.Z. Hart ab0cd64ba5 Merge pull request #55 from xamarin/warnings-WP8-0114
Remove 0114 supression from Platform.WP8; fix warnings
2016-04-06 18:58:23 -07:00
kingces95 b7251aa6f9 Warnings as Errors in product projects 2016-04-06 10:32:29 -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
kingces95 f40cf99d1a Merge pull request #23 from xamarin/fix-bugzilla25234
[WP8] CustomMessageBox dismissal no longer causes black SystemTray
2016-03-29 12:39:45 -07:00
Paul DiPietro 2f3ed4b027 [WP8] CustomMessageBox dismissal no longer causes black SystemTray
The CustomMessageBox was having an interaction with WP8 where its
dismissal was changing the SystemTray's background color to black. It
appears that the SystemTray's background color was never set, despite
its appearing white prior to the use of a CustomMessageBox.
2016-03-28 00:57:30 -04:00
Chris King b3365b7f7d Reformat using statements 2016-03-25 13:53:19 -07:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00