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

63 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho 0a84286656
Merge branch '4.4.0' into 4.5.0 2020-03-09 14:39:32 +00:00
Shane Neuville 59a8d4d7ea
Don't apply changes to Controls if they don't have layout params (#9629) fixes #8801
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
2020-03-09 12:03:36 +00:00
Shane Neuville cfcf8169e8
TPV Initial Project Setup (#9418)
* TPV Initial Setup

* Update Xamarin.Forms.ControlGallery.WindowsUniversal/Xamarin.Forms.ControlGallery.WindowsUniversal.csproj

* - project fixes

* - partial

* code cleanup

* - nuspec updates

* - uitest fixes for mac

* - project fixes

* netcore app tests

* - tests

* mac fixes

* - yaml search filter

* - yaml

* - yaml

* - pane priority fixes

* - tall and wide mode config tests

* - add files back in

* - spacing fixes
2020-02-04 09:35:39 -08:00
Shane Neuville e77be55716
remove sandbox (#6993) 2019-07-28 21:12:22 -06:00
Samantha Houts 70f8363929 Merge branch '4.0.0' into 4.1.0 2019-06-05 21:15:41 -07:00
Shane Neuville 58f3665914
Cherry pick Tizen project changes to 4.0.0 and modify SLN changes VS makes (#6396)
* [Tizen] Add TFM identifier and version explictly for vs2019 16.1 (#6304)

* sln changes that vs wants to apply
2019-06-04 17:48:29 -06:00
Shane Neuville 5b284b4d76
Checkbox (#6232)
* Add CheckBox class and Renderer

* Add CheckBoxCell class

* Add Control Gallery for CheckBox and CheckBoxCell.
Add stubs only for Android for now.

* Update to fast renderer for Android, Implement Checked and Unchecked Colors!

* Initial UWP implementation, no colors yet.

* Add iOS implementation for checkbox. It's not pretty, but it is a start!

* Updates from Frank

* Code cleanup with frank

* Finalize iOS checkbox!!! it is a circle!

* Fix WPF build and Add a checkbox!!!

* Cell Renderers and macOS

* UWP switchcell

* Update CheckBox Cell on ios/android with colors

* Remove all instances of CheckBoxCell per demand

* Added UITests and UnitTests

* Changed colors to TintColor which makes sense. Added a IsChecked visual state property and a sample!

* checkbox cleanup, tint color fixes, and material

* uwp fix when changing TintBrush

* add checkbox to visual controls page

* formatting fix

* formatting fix

* formatting fix

* convert to tabs

* formatting

* checkbox tabs

* roll back formatting changes to WPFResources

* android renderer overrides

* uwp fix and sizing fix ios

* mask checkbox

* use a single image for ios inatead of always drawing new ones

* wpf fix

* rename to color and add css interfaces

* missing wpf file

* designer hack

* fix wpf for ios builds

* assembly info

* fix default tint color and infinite crash

* [iOS] fixes change checked state from control
simplification
added to dynamic galery

* [iOS material] fix crash when dispose

* [UWP, WPF] fix vertical alignment

* [Android] fixes does not change size when the reduction HeightRequest

* Update Xamarin.Forms.Material.iOS/MaterialCheckboxRenderer.cs

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>

* [Android] TabStop support

* alphabetize gallery, fix color update when disabled, unsubscribe from event in dispose

* cleanup assembly info

* fix assembly attributes

* remove assembly info

* pr comments

* couple of more dispose fixes

* One Last Dispose

* fix api 19 call to ClipToOutline
2019-05-30 10:32:28 -06:00
Rui Marinho 38711f35d0
Merge branch '3.6.0' into 4.0.0 2019-05-22 16:23:05 +01:00
Rui Marinho 9918c8fd8a
[Build] Update yaml builds (#6230)
* [Build] Update build yaml

* [MacOS]Fix warning

* [Build] Enable binlog

* [Build] Run tests after build, update nuget version

* [Build] Don't build PagesGallery and Embedding
2019-05-22 02:16:26 +01:00
Kangho Hur eaeffc4e54 [Material] [Tizen] Adds Xamarin.Forms.Material.Tizen for Visual (#5453)
* [Tizen] Adds Xamarin.Forms.Material.Tizen for Visual

* Update Tizen.NET.MaterialComponent for applying color scheme

* Don't build XF.Material.Tzien on iPhone and iPhoneSimulator

* Fix MCanvas build issue

* Update build-windows.yml for XF.Material.Tizen
2019-04-25 12:01:54 -07:00
Shane Neuville 308c6cbddb remove maps.design (#5583) 2019-03-18 10:27:22 +01:00
Shane Neuville 21c7567e02 [Android] remove android specific target (#5442)
* [Android] get rid of specific android targets

* change to AndroidApplication

* remove before/after targets

* MonoAndroid
2019-03-04 15:43:22 -08:00
Shane Neuville a9af592006
[Android] move android renderers to separate nuget (#5405)
* [Android] move renderers to separate nuget

* additional android dependency

* rebase with material changes

* add android to material check

* simplify assembly info

* - add context to Init for future cases
2019-02-27 18:04:52 -07:00
Shane Neuville ca3ae3032a [Android] Include default proguard file so user doesn't have to create rules for XF (#5143)
* [2709] Add default proguard config file

* add proguard.cfg file to nuspec
2019-02-21 10:22:39 -10:00
Shane Neuville de1a5bae64 Setup sandbox app inside our project (#5264)
* [Visual] Material Pickers and setup sandbox app

* Fixed the ambiguous types for UWP
2019-02-18 11:30:08 +00:00
Shane Neuville c809a441a9
Material Entry v1 (#5056)
* Fixing entry style positioning to match ios/android

* centralize colors more

* [Android] underline alpha

* fix underline colors

* font and height tweaks

* Core Gallery updates

* add materials target to SLN

* implement suggestions
2019-01-30 14:44:34 -07:00
Shane Neuville 5f98d5cf5d
[iOS] Move Material iOS components to a separate nuget (#5026)
* [ios] extract ios material out to its own project

* [core] fix platform messaging

* add material to other test projects

* update MaterialComponents on all test projects

* remove material from platform

* yml updates

* nuspec

* add iOS description

* language

* add dummy file so package installs into netstandard/android

* Add Target Framework checks
2019-01-28 16:53:22 -07:00
Rui Marinho 2fdbcfdde7
[Build] Don't build Tizen and Design projects on iPhone of iPhoneSimulator (#4646)
* [Build] Don't build Tizen and Design projects on iPhone of iPhoneSimulator

* [Build] Update build
2018-12-07 11:31:41 +00:00
Shane Neuville 94e6621f72 [Enhancement] Add Visual progress behind feature flag (#4449) fixes #4435
* Visual

* add progress bar and fix ui tint color

* Progress Bar Updates

* ios padding fixes

* padding fix and button image positioning fixes

* added button themes

* disable tint and open up material android button

* change image to bank

* add overrides for Material Frame Renderer

* remove commented out code

* change back to Full linker

* applying comment fixes

* change comparison
2018-11-23 17:40:15 +00:00
Stephane Delcroix 5dc8935e52
[Tasks] multitarget the build tasks (#3895)
- fixes #2690
- closes #2706
2018-10-11 09:00:33 -04:00
Rui Marinho ffa53d3113 Merge branch '3.2.0' 2018-06-29 02:56:02 +01:00
Stephane Delcroix c79c77dbdf [build] Version and strongname the Build.Tasks (#3118) 2018-06-28 12:04:16 +01:00
Andrey Kvochko 901f0e007d [Tizen] Implement forwarders to Xamarin.Forms.Platform.Tizen (#2661)
* Implement forwarders to Xamarin.Forms.Platform.Tizen

* Do not generate dependency file
2018-06-26 17:45:43 +01:00
Shane Neuville 5a36e0aac6 Give XFCorePostProcessor a different GUID than Xamarin.Forms.Xaml.Design (#3041) 2018-06-14 19:49:53 +01:00
Stephane Delcroix a2d82b5de0
[build] post-build fix of the assembly (#2880)
- fixes #2835
2018-06-01 10:03:46 +02:00
Stephane Delcroix 68ce60cfea remove reference to APIDocs.shproj 2018-03-26 11:03:13 +02:00
Rui Marinho 1233e055d7
[Nuspec] Add .Design dll.s back (#1884) 2018-02-15 11:08:16 +00:00
Rui Marinho ff40c5b4e1
Add netstandard1.0 support (#1649)
* [Core] Add pcl Xamarin.Forms.Core

* [Core] Add Platform PCL

* [Core] Add Xamarin.Forms.Core PCL

* [Core] Use multi target

*  [Nuget,Core] Add pcl back, multi target netstandard1.0 and netstandard2.0

* [Core] Fix ImageSource for non PCL

* Fix uap

* [UWP] Fix references

* Cleaned up the solution file to remove unused platforms (#1770)

* Try don't build Appx

* [Core]Use netstandard1_0 compile directive

* Don't build UWP and WPF on macOS (#1774)

* [Xaml] Fix compile constant

* [Core] Fix Tuple usage

* [Build] Update provisioning 15.5 sr5

* [Core] Use default compile directive for netstandard1.0

* [Nuget] Add uwp dependency to nuspec

* [Nuspec] Fix speling

* [Core] Add support to FlexLayout on netstandard 1.0

* Try fix test

* cleanup

* [Core] Fix netstandard1.0 usage

* [Core] Remove tuple usage FlexLayout, cleanup
2018-02-08 18:18:56 +00:00
Stephane Delcroix 825886eef4 [C] FlexLayout, with managed engine (#1759)
* [C] FlexLayout, with managed engine

* [C] add type converter and attributes for CSS

* [C] fix flex-order

* [C] fix typo and margin in Flex

* [Flex] relative value for Basis, padding on the layout

* fix docs

* [Flex] fix NRE on empty layout

* [flex] fix layout measuring
2018-02-06 10:54:33 +00:00
Kangho 3490f61c65 Support Page embedding to Tizen backend (#1506) 2018-01-08 19:19:19 +00:00
Javier Suárez Ruiz fa85b658c9 [GTK] Platform and Maps NuGet nuspecs (#1453)
* Added GTK Platform and Maps nuspecs

* Added new GTK nuspecs to the solution

* Changes from PR feedback: Renamed Xamarin.Forms.Platform.GTK.nuspec to Xamarin.Forms.GTK.nuspec and discarded changes in the main sln

* Changed Xamarin.Forms.GTK nuspec identifier

* Updated nuspec (copyright year and Platform id)
2018-01-02 16:29:01 +00:00
Mohamed CHOUCHANE da439af0d4 [WPF] Platform and Maps nuget package (#1445)
* Change OpenTK version to latest stable

* Add Platform and Maps nuspec

* Restore sln
2017-12-21 19:40:07 +00:00
Kangho 2f46d795fa Add Xamarin.Forms.ControlGallery.Tizen project (#1389) 2017-12-13 14:31:19 +00:00
WonYoung Choi 27ea629c41 Move XF.Build.Tasks to nestandard2.0 (#1370)
Remove net47 project of XF.Build.Tasks. Xamarin.Forms.nupkg provides
Xamarin.Forms.Build.Tasks.dll and dependencies built with netstandard2.0 only.
2017-12-13 14:29:57 +00:00
Kangho d56a6cd980 [Tizen] Add PageGallery.Tizen project (#1371) 2017-12-11 12:45:28 +00:00
Javier Suárez Ruiz 6ae9aad1b7 [GTK] Added Maps project (#1349)
* Added Xamarin.Forms.Maps.GTK project

* Updated GTK Control Gallery sample adding maps reference.

* Added pending GMap libraries
2017-12-09 00:34:51 +00:00
WonYoung Choi 9383a907c4 [XamlC] Add netstandard2.0 to Xamarin.Forms.Build.Tasks (#1284)
* Add netstandard2.0 to XF.Build.Tasks

* Separate XF.Build.Taks for netstandard 2.0

* Change comparison variable to determine XBuild
2017-12-07 13:58:16 +01:00
Mohamed CHOUCHANE 4f3d347b3e Add Xamarin.Forms.ControlGallery.WPF (#1337) 2017-12-07 00:34:37 +00:00
Mohamed CHOUCHANE 4d92383d19 [WPF] Maps project for WPF backend (#1335)
* Add Xamarin.Forms.Maps.WPF

* Remove french comment in AssemblyInfo.cs

* Remove private keyword
2017-12-06 23:34:59 +00:00
Mohamed CHOUCHANE 1bbd9dfa52 [WPF] Xamarin Forms WPF Backend - Platform Project (#1334)
* Add WPF Platform, WPF const in Device and Update Docs

* Add Settings.Designer.cs

* Remove two lines : build on iPhone configuration

* Remove lines for ios build
2017-12-06 21:15:13 +00:00
Javier Suárez Ruiz 874677f9b9 Added Gtk Backend Core Gallery project (#1293)
* Added Gtk backend Core Gallery Sample

* Updated GTK projects to use Net Framework 4.7 and change the gtk-sharp dependencies path
2017-12-05 12:10:42 +00:00
Kangho be52bc6b12 Add Tizen backend (#1310) 2017-12-04 14:30:43 +00:00
Rui Marinho b74d545fc1
[All] Move to netstandard2.0 **Breaking change** (#1306)
* Move to netstandard 2.0

* Fix docs

* Small fixes
2017-11-29 17:37:06 +00:00
Rui Marinho 5a60f17e47
[Win] Remove Windows 8.1 platforms **Breaking change** (#1267)
* [Platforms]Remove WP8.0 and WinRT

* Update submodule

* [UWP] Fix maps UWP

* [UWP] Remove more stuff from old windows platforms

* [Docs] Update docs
2017-11-27 15:14:01 +00:00
Jason Smith fe8c4c915a Fix merge 2017-11-08 11:16:01 -08:00
Stephane Delcroix c0e89187bb [Test] Make sure we always test with different Cultures (#1219)
also get rid of the 'Turkey' build configuration
2017-10-24 10:41:33 +02:00
Javier Suárez Ruiz 0978126d18 Implemented new IPlatformServices methods 2017-10-19 12:50:29 +02:00
Javier Suárez Ruiz 6327e76242 Merge with master branch 2017-10-19 12:50:05 +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
Javier Suárez Ruiz 8e41144700 Xamarin.Forms.Platform.GTK 2017-09-28 13:52:27 +02:00