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

165 Коммитов

Автор SHA1 Сообщение Дата
Samantha Houts 50698fb46d Revert "Update docs"
This reverts commit af7afe6a96.
2018-01-29 19:28:04 -08:00
Samantha Houts af7afe6a96 Update docs 2018-01-29 19:26:27 -08:00
Stephane Delcroix 1328eca7be [Xaml] open the api for loading xaml from string (#1394)
* [Xaml] open the api for loading xaml from string

* [docs] fix docs

* [docs] fix docs
2017-12-13 09:54:55 -08:00
kingces95 9ebd062f84 Fix 59896; Add empty listView group twice (#1275) 2017-11-28 12:29:30 +00:00
Rui Marinho c93585c6e3 Merge branch '2.4.0' into 15-5 2017-11-08 20:16:02 +00:00
kingces95 9284aa1039 Allocate prototypical view for RetainElement (#1226) 2017-11-03 12:18:07 -07:00
Rui Marinho 26491b3e49 Merge branch '2.4.0' into 15-5 2017-11-02 22:47:12 +00:00
Rui Marinho 958373ac61 [Core] Hide SetSafeAreaInsets (#1249) 2017-11-02 22:41:28 +00:00
Rui Marinho 042699447a [iOS] Fixes for iOS11 (#1238)
* [iOS] Add SafeArea support

* [iOS] Only apply SafeArea on iOS11 or newer

* [iOS] Handle SafeAreaInsets on ViewCell and GroupCell

* [iOS] Set page padding from safe area

* [Controls] Use SafeArea PS

* [iOS] Add platform specific for LargeTiles

* [iOS] Add LargeTitleDisplayMode platform specific for ios11

* [iOS] Fix page size when large title collapses

* [iOS] Add platform specific to expose SafeAreaInsets from iOS11

* [Controls] Large titles iOS specific gallery page

* [iOS] Remove comment code on PS example

* [Controls] Add gallery sample for Safe Area PS

* [iOS] Inside a TabbedPage safe area bottom is handle by UITabViewController

* [Core,iOS]If we are not using safearea set the padding to the default

* [iOS] Revert SafeAreas on navpage

* [iOS] Fix safe area inset for ViewCell

* [iOS] Handle ViewCell margin correctly on iOS11

* [Core,iOS] Rename to UsingSafeArea, use BPKey instead for SafeAreaInsets

* [Core,iOS] Rename to UsingLargeTitles

* [iOS,Core] Rename to PrefersLargeTitles
2017-11-02 11:07:49 -07:00
Samantha Houts a327f471a1 [UWP] Fix ListView selection issues **Behavior change** (#1157)
* Update 44886 repro

* Add 59718 repro

* [UWP] Don't fire a click when SelectedItem changes programmatically

* Update repro for 59718

* [Core] Add Win ListView Selection mode specific

* [Win] Use ListView SelectionMode specific

* Fix test case

* [Win] ListView sets value once when clicked

* Update docs

* Fix specific methods

* Update docs again
2017-10-25 12:16:50 -07:00
Stephane Delcroix f32a6750cf
[*] Expose the Flags to the Core (#1181)
* [*] Expose the Flags to the Core

* docs

* [C] Hide Device.Flags
2017-10-19 11:51:34 +02:00
Stephane Delcroix 72fd2eef5f
[*] Expose the Flags to the Core (#1181)
* [*] Expose the Flags to the Core

* docs

* [C] Hide Device.Flags
2017-10-18 17:16:12 +02:00
E.Z. Hart 3aaed1b325 [All] Page embedding (#1124)
* Fix broken SetTextAppearance call when targeting below API 23

* Enable embedding XF apps in Android

* VS didn't save the project file

* Allow retrieving rendered XF VisualElements for use in UWP apps

* Prevent XF from slaughtering the menu bar in embedded scenarios

* ?

* Post-rebase fixups

* Create embedding test project for Android

* Create iOS test bed project

* Attempting to get functional embedded project

* Android and iOS functional testbed projects

* Basic embedding app on UWP

* First pass at handling navigation to Forms page from UWP

* Fleshed out example, added parameter checks, sealed wrapper class

* Create test page and load it from UWP

* Make DisplayAlert/DisplayActionSheet independent of Platform instance on UWP

* Set up test page for alerts/actionsheets on Android

* Move DisplayAlert/ActionSheet code to a helper class so embedded Forms can use it

* VS didn't save my changes

* Add test page for alerts and action sheets

* Get FrameworkElement from renderer

* Page -> ContentPage

* Can now display the webview embedded page

* Example working on iOS

* Repro of crash

* Remove the IStartActivityForResult dependency from FormsWebChromeClient

* Created repro

* Remove need for Forms.Context to create renderers

* Remove Forms.Context dependencies in ScrollViewRenderer

* Remove Forms.Context dependencies in FrameRenderer

* Remove Forms.Context dependencies

* Remove Context/Forms.Context dependencies in Drawable subclasses

* Remove some more Forms.Context dependencies

* CellAdapter no longer dependent on Forms.Context

* Obsolete ToAndroid using Forms.Context

* Remove Forms.Context dependencies in ResourceManager

* Remove need for Forms.Context for SupportsProgress

* Remove Forms.Context dependency for setting titlebar visibility

* Remove Forms.Context dependencies in GetAccentColor

* Some comments about caching

* Remove Forms.Context dependencies for AndroidPlatformServices and ResourceProvider

* Remove Forms.Context dependencies in Maps

* Disabled warnings for Forms.Context in CustomRenderers

* Filter logs so we don't get those annoying "parked" messages

* Filter alerts/actionsheets/activityindicator by context

* Clean up constructor debugging messages

* Remove old TODOs

* Set up test page for Device.Openuri

* Make AndroidDeviceInfo more resilient to multiple activity scenarios

* Use parameter instead of member

* Add missing parameterless constructors for embedded fragment wrappers

* Fix multiple popup subscriptions for embedded context

* Remove UpdateGlobalContext and Page Context attached property

* Obsolete static reference to Context

* Warnings as errors in embedded test bed projects

* Comment cleanup

* Clean up unused code

* Obsolete old constructor for DefaultRenderer

* Make sure embedded fragment wrappers handle disposing the platform

* Revert to old DependencyService registration for ResourceProvider;
use ApplicationContext for ResourceProvider;
Comments for everything happing in Forms.SetupInit

* Remove old TODO

* Make PopupManager take the correct type instead of casting a bunch

* Update docs

* Add missing nuspec entry for FormsEmbeddedPageWrapper

* Post-rebase cleanup

* Update docs

* Disable XF target validation so package restore works

* Restore InputTransparent handling lost in rebase

* Restore parameter lost during rebase

* Finalize the list of subscriptions to avoid 'modified collection' errors

* Avoid double-fetching Context

* Fix "with you package" typo
2017-10-09 10:51:55 -07:00
Marko B. Ludolph 0abfd7e504 [MacOS] Navigation Transition Style (#1168) 2017-10-03 14:46:41 +01:00
dgeller-OUHSC afa0fb7e55 [Core, Android] Fix to address the elusive 'Sharing violation on path PropertyStore.forms.tmp' (#1075)
* use a semaphor for actual saving piece
make reading serialized propertystore readonly to help with collisions.

* change over to async Task and await OnStateChanged() method to try and mitigate what might be the race condition causing the ' Sharing violation on path PropertyStore.forms.tmp' error

* update Semaphore name

* remove private specifier per the style guide

* Update docs and add warning suppression for broken mono warning

* ... and adding the warning suppression to Release mode, as well.

* -add try...finally block so we can guarantee that the semaphore is released if there's an exception while saving the properties.
-remove the legacy code that the semaphore replaces

* Update docs

* Attempting to fix docs

* Trying again to get docs to pass
2017-10-03 11:23:32 +01:00
Rui Marinho 9f24a41c2d [Core,MacOS]Desktop support (#1126)
* [Controls] Improve sample for MacOS control gallery, add a storyboard for the menu

* [Core] Add QuitApp to platform services

* [Core] Add ClickedGestureREcognizer

* [MacOS] Implement ClickGestureRecognizer

* [Core] Add MainMenu

* [MacOS] Implement Main top menu

* [Controls] Add desktop support test page

* [MacOS] Update menu items if they change

* [MacOS] Refactor to make it build for iOS

* [Core] Add Menu attached property to Element

* [MacOS] Implement MacOS context menu

* [Core] Fix type of ADP

* [Core] Add Accelerators to MenuItem

* [ControlGallery] Add example for Accelerator MenuItems

* [Core,iOS] Update ClickedEventArgs to ButtonMask enum  

* [Docs] Update docs

* [Core]Fix build error

* [WP8] Implement QuitApp

* [WP8] Log warning instead of throw

* [Tests]  Add unit tests for menu and menuitem

* [Docs]Update docs

* Update build submodule

* [Core,MacOS,Docs] Use Attached Property for MainMenu

* [Core] Update ButtonsMask, reduce calls to GetValue getting parameter

* [All] Use Accelerator class

* [Core] Add tests for accelerator

* [All] Move QuitApp to QuitApplication

* [Core, Tests] Add more tests for Accelerator

* [Core]Parse win modifier also

* [UnitTests] Fix TestCaseSource

* [MacOS,Core] Fix typo on Modifiers

* [MacOS] Fix typo

* [WinRT] Fix build

* [Docs] Update docs
2017-10-02 18:19:26 +01:00
Frank A. Krueger e8660383b0 [All] Use IReflectableType when accessing the Registrar (#1006)
* [Core] Add GetHandlerForObject and GetHandlerTypeForObject to Registrar

These new methods first try to use IReflectableType in order to support
dynamic objects. If that fails, GetType is used.

* [Platforms] Switch to query the Registrar using GetHandlerForObject

This enables dynamic objects to be used as renderers and other
points of extensibility.

* Take into account dynamic type info when comparing cell renderers

* Fix null renderer object type

* Update Registrar`1.xml

* Update Registrar`1.xml
2017-09-28 16:35:28 +02:00
E.Z. Hart 210df5f775 [Android] Add platform specific for Elevation (#1158)
* Simple Elevation implementation for BoxView

* More generic version

* Simplify the code a bit

* Add IElementConfiguration<T> to the descendants of Layout<View>

* Add Elevation support to everything on Android; update UI tests;

* Update docs
2017-09-26 11:14:41 +01:00
Adam Pedley 2b7913adda Merged Dictionaries 2017-09-22 13:27:47 +02:00
kingces95 f7d8cff6ae Add iOS prototypical cell cache for LV RowHeight calcs (#1143) 2017-09-16 15:13:02 +01:00
kingces95 d4480b2e48 Add iOS prototypical cell cache for LV RowHeight calcs (#1143) 2017-09-16 15:10:04 +01: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 2013ec0179
Revert "fix docs"
This reverts commit 677f9381e7.
2017-09-12 16:04:40 +01:00
Stephane Delcroix 677f9381e7
fix docs 2017-09-12 11:13:18 +02:00
E.Z. Hart da962fc371 Update docs 2017-07-25 17:08:10 -04:00
Mike Norman b12f0b3bb7 Improved the API doc for Image.IsOpaque (#1025)
* Improved the API doc for Image.IsOpaque

* update docs
2017-07-24 16:31:47 -04:00
Kangho 171fa0faec Remove InternalsVisibleTo from Maps (#1019) 2017-07-24 16:23:14 -04:00
Mike Norman 2b333daafd Docs param push 2 (#1018)
* More parameter descriptions in parameter-complete push.

* More paremeter descriptions.

* Remainder of parameter docs for Xamarin.Forms namespace

* Straggler paramter complete file.

* Marked all internal parameters as internal in docs.

* Parameter summary complete

* Update Docs
2017-06-27 08:12:32 -05:00
Mike Norman 4847e4b26a Parameter complete push for docs. (#1009)
* Parameter complete push for docs.

* update docs
2017-06-23 13:12:45 -05: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
Mike Norman c0a55911ac Parameter complete drive and change to Trigger.xml (#992)
* Parameter complete drive and change to Trigger.xml

* update docs
2017-06-16 14:14:27 -05:00
Mike Norman 347ec70afc Fixed some broken links, added/updated examples in trigger-related docs (#989)
* Fixed some broken links and added/updated examples in trigger-related docs

* Update docs
2017-06-14 10:54:23 -05:00
Mike Norman c94331368f Updated some more code examples related to triggers and conditions. (#986)
* Updated some more code examples related to triggers and conditions.

* Touchup docs
2017-06-13 10:51:44 -05:00
Mike Norman 0d3611ccce Bashing doc bugs. (#966)
* Bashing doc bugs.

* Typo fix "developers" => "developers"

* update docs
2017-06-06 11:05:24 -05:00
Mike Norman f9c1989d01 Updated example code in API docs for first few types in core. (#955)
* Updated example code in API docs for first few types in core, alphabetically.
2017-06-01 12:21:50 -05:00
Mike Norman e46b30b7f9 Added missing/corrected malformed remarks sections in Aspect.xml (#954)
* Added missing/corrected malformed remarks sections in Aspect.xml
2017-06-01 09:46:28 -05:00
E.Z. Hart b3f6d80a1b Remove VisualElement finalizer (#918)
* [Controls] Add repo for bugzilla 55365

* Remove finalizer from VisualElement

* Remove unused using directive

* Removing test for 44074

* Update docs
2017-05-16 10:27:41 -07: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 c1fbfae03c [Core] Accessibility works with XamlC (#911)
* Add unit tests for a11y XAML parsing

* [Core] Add Get/Set methods for XamlC

* Update docs

* Fix rogue blank line
2017-05-10 08:50:20 +02:00
Mike Norman d6adff2e41 Docs mop up (#908)
* Marked as internal those types that have EditorBrowsableState.Never

* Small Device and FileImageSource doc changes & marked I*Controller topics internal

* Mopped up few remaining missing summaries.

* Run mdoc after build
2017-05-09 10:51:19 -05:00
Chris King ba06e2b20d TargetIdiom docs touchup 2017-05-08 09:50:28 +02:00
Mike Norman fdf4f28825 Marked a bunch of API docs internal based on EditorBrowsableState (#900) 2017-05-04 11:03:39 +01:00
Stephane Delcroix 8af6f3eb5c [Xaml] move ValueConverterProvider to Core (#890)
* [Xaml] move ValueConverterProvider to Core

* [docs] fix docs
2017-04-28 12:11:38 -07: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
Stephane Delcroix 9b49e3f1c1 [Xaml] OnPlatform.Default value (#873)
* [Xaml] OnPlatform.Default value

* docs
2017-04-25 11:06:29 -07:00
jcmanke dfda41b0bd Map renderer extensibility (#844)
* Added extensibility features to Maps

Android MapRenderer:
- Moved map initialization to protected virtual method OnMapReady, called by explicit implementation of IOnMapReady
-  Added protected virtual method CreateMarker for customization of pins

iOS MapRenderer:
- Added protected virtual method CreateAnnotation for customization of pins

Pin:
- Unsealed the Pin class
- Made Label a bindable property

* [Docs] Update docs
2017-04-11 23:52:04 +01:00
Mike Norman b832b67875 Marking exposed plumbing internal only in the docs. (#863)
* Marking exposed plumbing internal only in the docs.

* Update docs
2017-04-11 23:51:14 +01:00
kingces95 093a4efa2d Implicit impl of controller ifaces (#807)
* Simplify ICtrl callsites

* Rebase fix
2017-04-11 19:02:06 +01:00
Anders Rasmussen 0e73a2d16c Spell correction of FromattedString (#864) 2017-04-11 10:03:07 +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