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

37 Коммитов

Автор SHA1 Сообщение Дата
James Clancey 667eb0391b
Added .DS_Store to the gitignore (#512) 2021-03-15 15:29:51 -06:00
Matthew Leibowitz 17c5f977d5
Improves Samples (#447) 2021-03-09 04:44:52 +02:00
Jonathan Dick 6aaa984d78
Make .NET 6 Packable (#13881)
* Add some common nupkg properties to everything

* Remove project property refactored into directory build props

* Remove properties now in common dir build props

* Add net6 version of project

* More net6

* Only target netstandard2.0 now

net4* is no longer needed as there's no more vs2017 support

* Clean up strong naming a bit

* Update dependencies

* Package all the things for build tasks in the -t:Pack

* Add more net6 project versions

* Clean up whitespace

* Needed moar NET6

* Name fixes

* Added meta project for packaging and package script

* Remove assembly copyright (now duplicates)

* Add resizetizer, add params to package script

* Disable strong naming for now

We need to re-evaluate how we do this a bit, we should probably use the `al` tool to do it now, and I believe the StrongNamer package may not work anymore, but we can do the same thing in a custom target at a later date.

* Fix path to tasks assembly

* don't build ios on android specific project

* Finish rename of toolbox file

* - add cake

* - fix cake extras

* fix the copy for the IDE

* Try packing on CI

* versions baby!

* build release

* this should od it

* this

* oops

* Move to an empty folder

* Use new symbol formats

* no symbols for build tasks and the head

* symbol all the things

* Compiler error with commented out code XD

* oopsies

* only build transitive

* Try this

* log everything

* This might work

* REPORTS

* previews

* needed

* versions

* duh

* Update build.cake

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-02 12:36:17 -05:00
Shane Neuville 06d9d33d52
Wire up Controls.Layouts and Content Page (#13878)
* Wire up Controls.Layouts and Content Page

* - cleanup code

* - cleanup code

* - fix up page renderer

* - add better testing scenario

* - fix tests

* Update MainPage.cs

* Update MauiAppCompatActivity.cs

* - net6 attributes

* - Remove NS from sample

* - give non net6 projects unique assembly names

* - fix accent color

* - fix arrange call

* - PR comments

* - remove cast

* - add system color back
2021-03-01 14:42:59 -06:00
Matthew Leibowitz ff9847da65
Prevent the locking of build tasks (#13894)
* Instead of locking the build output directly, lock the copy and don't fail the entire build
2021-02-28 21:50:41 +02:00
Jonathan Dick ac201994f2
Rename all of the things... All of them. (#13847)
* Rename all the things!

* Fix sln on cake

* targets

* Rename all the things!

* Fix sln on cake

* Add this back so the build works

* Added .nuspec\* back

* Remove Core from XamlC

* Update Build.Tasks

* Fix ErrorMessages

* Try fix build

* Update gitignore

* Update Microsoft.Maui-net6.sln

* Fix controlgallery reference

* Fix Maui reference on iOS sample

* Fix ControLGallery sln

* Fix xaml unit tests

* Fix Maps references

* Fix ControlGallery

* Don't build gallery

* Compile 462 for new

* Dont build UAP

* AndroidUseIntermediateDesignerFile

* Fix UAP

* Don't build control gallery for now

Co-authored-by: Rui Marinho <me@ruimarinho.net>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-02-24 23:50:31 +00:00
Shane Neuville 61ce3a6cd3
Remove DevopsNuget.config (#13814)
* Remove DevopsNuget.config

* - keep nuget reference

* - no more cake for you xamarin

* - remove

* - remove adb

* - config

* - test

* - try mme

* - nuget

* - remove config
2021-02-22 18:02:09 +00:00
Javier Suárez d84de5ee16
[Core] Switch Handlers (#12196)
* SwitchHandlers

* Added more SwitchHandler tests

* Fixed build error

* - enabled handler on CG

* Delete launchSettings.json

* Rename SwitchExtensions..cs to SwitchExtensions.cs

* Update Xamarin.Platform.Handlers.csproj

* GitHub adds this newline like a boss

* No newline!!

* - fix merge errors

* - Fix code that renderers view to bitmap

- Convert to using SwitchCompat

* - fix slider naming

* - run all the tests

* Fix compiler error

* - Remove Toggled

* -  extract color state list

* - track ColorStateList

* - organize

* - cleanup

* Delete launchSettings.json

* - more updates

* - fix

* - Simplify down to track color

* - fix defaults

* - fix up iOS track

* Update SwitchExtensions.cs

* - remove non default extensions for now

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-02-21 14:11:10 -06:00
Shane Neuville b3e85de342
.NET MAUI Platform Unit Tests (#13549)
* MAUI Platform Unit Tests

* - cleanup code

* - fix ios thumb color test

* - cleanup code

* - change TypedNativeView back to protected for now
2021-01-27 11:16:11 -06:00
Shane Neuville 94d32a626d
Project Reorganize Path Fixes (#12307)
* Fix props paths

* - fix devops nuget

* - devops nuget

* Update AssemblyInfoTests.cs

* - move devops org file

* - fix path

* - fix tools path

* - fix naming

* - fix unit tests reference

* - fix xaml unit test paths
2020-09-30 13:00:04 -05:00
Shane Neuville 7da91d7ef8
Project restructure (#12238) 2020-09-30 11:31:20 -05:00
Shane Neuville daa0589999
Set environment variables for UWP test results (#11724)
* Set environment variables and ignore context

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Github5623.xaml.cs

* - print vars

* - POW POW POWERSHELL

* - remove print

* - fix invoke call

* - set variables via msbuild

* - delete file if present

* - set all at once and output result

* - messages

* - builid system

* - vars

* - print all the things
2020-08-11 11:17:44 +01:00
shane c4f756968e Merge branch '4.6.0' into 4.7.0
# Conflicts:
#	.gitignore
#	Xamarin.Forms.ControlGallery.iOS/Xamarin.Forms.ControlGallery.iOS.csproj
#	build/steps/build-osx.yml
2020-06-29 20:03:42 -05:00
Shane Neuville d4a223455a
Run iOS tests from the command line via cake (#11223)
* copy dsym files and build android

* Automated tests

* - run tests on correct simulator

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - copy files

* - files

* = sf

* - deploy

* - deploy test

* - deploy test

* - deploy test

* - deploy test

* - deploy test

* - cleanup

* - cleanup
2020-06-29 16:10:28 +01:00
Rui Marinho 8704935693
[Build] Pull Xamarin.Forms.Pages to it's own solution (#10097)
* [Build] Remove Pages from sln

* [Build]Xamarin.Forms.Pages.sln

* Update Xamarin.Forms.Pages.sln

* [Build] Move Xamarin:Forms.Pages

* [Build]updaet pipeline

* Update azure-pipelines.yml

* [Build] Use msbuild task

* [Buil] Add build.tasks

* Update build-windows.yml

* [Build]Remove tizen gallery

* [Build] Add includePages
2020-04-03 16:18:52 -07:00
Shane Neuville 8774f8b198
Androidx bump to stable release packages (#9594)
* Android x stable bump

* - add support to maps nuget

* - related androidx packages

* Update .nuspec/Xamarin.Forms.AppLinks.nuspec
2020-02-18 15:26:41 -07:00
Shane Neuville 5f4f4dd06c
The great Androidx IF Def'ing of 2019 (#8898)
* AndroidX API updates

* - merge fixes

* - 2017 fixes

* - extra lines added to cs proj files

* - menu element fix

* - androidx bump

* - cleanup

* - remove extra using

* - missed one

* - fix material version

* - one more TapOverflowMenuButton
2020-01-10 13:35:41 -07:00
Shane Neuville 775573fe1e
set XF Verions File to be hidden (#8128) 2019-10-21 13:03:27 -06:00
Rui Marinho 22e91b7744 [Build]Share git version (#6935) 2019-10-07 14:28:04 +02:00
Guido Neele 1407f09603 [Android] Context actions menu is now updated when changing cells. (#6460) fixes #1455 fixes #4041
* Bugfix of issue 1455. Force SupportActionMode Menu to recreate when it's active and another cell is clicked.

* Added UITest

* Added an assert which checks if the new menu items have been updated.

* Correct project file

* Added a platform specific BindableProperty for the ViewCell to use ContextActions in LegacyMode.

* Update Xamarin.Forms.Core/PlatformConfiguration/AndroidSpecific/ViewCell.cs

Co-Authored-By: Gerald Versluis <github@geraldversluis.nl>

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1455.xaml.cs

Co-Authored-By: Gerald Versluis <github@geraldversluis.nl>

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems

Co-Authored-By: Gerald Versluis <github@geraldversluis.nl>
2019-08-22 12:23:55 +01:00
humhei 3ac5b51c35 [UWP] CollectionView SelectionMode (#6629) fixes #3172 fixes #6489 fixes #5844 fixes #5625
* UWP CollectionView SelectionMode

* Null check

* SelectItems get property

* ItemTemplatePair type check

* Avoid mutually trigger OnSelectionChange

* Extended -> Multiple + Avoid creating new SelectedItems
2019-06-26 16:37:08 +01:00
Rui Marinho 9bc0fc6b0a
[Build] Update builds, remove submodule, update AssemblyInfo with GitInfo (#6068)
* [Build] Remove submodule

* [Build] Use GitInfo to set Assembly metadata

* [Build] Remove extra prop

* [Build] Update version

* [Build] Update versions to be consistent with existing Build.Tasks

* [Build] Update build number

* [Build] make sure build tasks gets info

* [Build] Add assembly info unit test

* [Test] Refactor test for gitinfo on vsts
2019-05-22 01:06:59 +01:00
Shane Neuville b4b5f43ea8 Cake build script (#5074)
* cake

* cake

* android fix

* fix clean

* version fix

* android deploy updates

* move to cake tools

* add clean bin obj back in

* git versioning

* fix vs mac target

* vs mac fixes

* remove default config on sh

* add UAP pdbs
2019-02-12 13:05:51 +00:00
Shane Neuville b7662923db remove nupkgs (#4633)
* remove nupkgs

* add nupkg to gitignore

* add pdb to gitignore
2018-12-04 14:27:07 -08:00
Alexander Houben 36a33676ef *.swp: remove temporary vim file(s) (#3377)
* Remove temporary vim file, add *.swp to .gitignore

* Remove all *.swp instances found
2018-07-23 16:31:16 +02: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
kingces95 f4f4906304 Fix IndexOutOfRangeException for iOS ListView (#1463)
* Rename create-nuget.bat

* fix bz59412; maybe 1333
2018-01-02 10:58:21 +00:00
E.Z. Hart f00907ea16 Add more UWP automated testing capabilities (#1252)
* Implement Clear(marked) method

* For Windows tests where we need to query a value we can't get, mark inconclusive

* Fix queries for multi-line "marked" values

* Force frames with text in them to be "tappable"

* Actually rerun queries during retry

* Update images for package deployment

* Allow the tests to restart the Control Gallery if it crashes

* UWP tests can now activate context menus

* Make double-tap (really double click) work for UWP desktop

* Get some basic scroll up/down functions working

* ScrollTo functions

* Modify ListViewRenderer automation peer to prevent freezing on ListViews

* Allow automation to find tabs

* Temporarily ignore some of the tests which don't do much

* Make ListViews with string/value type lists work

* Add note about 29257/60478

* Use toggle button for test 30353 for UWP

* Handle getting screen bounds consistently

* Make test for G2414 use ActivateContextMenu extension method

* Simplify UI test for 31330 and make it runnable on Windows

* Add notes on failing tests

* Add query for MoreButton on G2809 test

* Ignore ActivityIndicator IsRunning test for UWP

* Use ScrollDownTo instead of ScrollForElement method on Windows

* CellsGalleryTestCellList now working on UWP

* Cells tests working on UWP

* Re-add Tap to ScrollAndTap

* Get rid of custom automation peer stuff and just fix the tests

* Viewport caching and multi-monitor support for scroll

* Modified scroll values to hopefully get this running correctly on high density screen

* Clear messages so Appearing tests don't freeze up automation on UWP

* Make test for 32230 compatible with UWP

* Make test 32615 compatible with UWP

* Use ActivateContextMenu to simplify 34561 test

* Add notes for 34912 failure

* Make 36171 test compatible with UWP tests

Add directions for running the tests locally

* PR cleanup
2017-11-10 10:52:25 +00:00
kingces95 54cddbc614 Allocate prototypical view for RetainElement (#1226) 2017-11-03 19:16:17 +00: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
E.Z. Hart e7aaae9857 Add gradle bootstrapping scripts to ignore 2017-05-05 11:37:28 +02:00
E.Z. Hart df2ea58288 Add .gradle to .gitignore 2017-05-05 11:37:28 +02:00
E.Z. Hart 23823fb357 Attempting to get command-line buildable FormsViewGroup 2017-05-05 11:37:28 +02:00
Paul DiPietro bd195ffe10 Add .bak extension to .gitignore (#388) 2016-09-27 23:15:53 +01:00
Samantha Houts 8fd53765e6 Ignore TabsStudio file 2016-04-25 16:09:52 -07:00
E.Z. Hart 1dcf5fef35 Move initialization of configuration files (if needed) to a pre-build task
Remove unneeded init scripts
2016-03-24 10:48:21 -06:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00