maui/.gitignore

385 строки
6.4 KiB
Plaintext
Исходник Обычный вид История

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
.nuspec/
.buildtasks/
2021-08-26 01:51:03 +03:00
templatesTest/
# User-specific files
*.rsuser
2016-03-22 23:02:25 +03:00
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
2016-03-22 23:02:25 +03:00
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
tools/**
!tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
.DS_Store
[android] reduce JNI calls by moving logic into Java (#3372) Xamarin.Forms had `FormsViewGroup.java`, which is still used for .NET MAUI's renderer compatiblity. The idea, is you could call a single method that sets many values. This would cross from C# into Java once, instead of several times: public void sendBatchUpdate ( float pivotX, float pivotY, int visibility, boolean enabled, float opacity, float rotation, float rotationX, float rotationY, float scaleX, float scaleY, float translationX, float translationY){ setPivotX (pivotX); setPivotY (pivotY); if (getVisibility () != visibility) setVisibility (visibility); if (isEnabled () != enabled) setEnabled (enabled); setAlpha (opacity); setRotation (rotation); setRotationX (rotationX); setRotationY (rotationY); setScaleX (scaleX); setScaleY (scaleY); setTranslationX (translationX); setTranslationY (translationY); } One of the drawbacks here was having to subclass `FormsViewGroup`, as this could have easily been a `static` method for flexibility. I wrote a benchmark for this idea, and still appears to help dramatically in .NET 6: https://github.com/jonathanpeppers/android-pipe To keep this idea going, let's create `maui.aar` and `ViewHelper.java`: * `set()` sets many values at once. * `requestLayoutIfNeeded()` checks `isInLayout()` and calls `requestLayout()`. * `removeFromParent()` does various checks and calls `removeView()`. * `setPivotXIfNeeded()` (or Y) compares the existing value before setting it. ~~ Results ~~ Running the `Benchmarks.Droid.csproj` on a Pixel 5: > ./bin/dotnet/dotnet build src/Core/tests/Benchmarks.Droid/Benchmarks.Droid.csproj -t:Benchmark -c Release | Method | Mean | Error | StdDev | Gen 0 | Allocated | |-------------------- |-----------:|---------:|---------:|-------:|----------:| | --Border | 323.2 µs | 0.82 µs | 0.68 µs | 0.9766 | 5 KB | | ++Border | 242.3 µs | 1.34 µs | 1.25 µs | 0.9766 | 5 KB | | --ContentView | 354.6 µs | 2.61 µs | 2.31 µs | 1.4648 | 6 KB | | ++ContentView | 258.3 µs | 0.49 µs | 0.43 µs | 1.4648 | 6 KB | | --ActivityIndicator | 486.1 µs | 1.41 µs | 1.18 µs | 0.9766 | 5 KB | | ++ActivityIndicator | 380.3 µs | 1.40 µs | 1.31 µs | 0.9766 | 5 KB | | --Label | 630.8 µs | 3.02 µs | 2.83 µs | 0.9766 | 5 KB | | ++Label | 648.8 µs | 6.14 µs | 5.74 µs | 0.9766 | 5 KB | | --Entry | 2,169.2 µs | 18.02 µs | 16.85 µs | - | 12 KB | | ++Entry | 1,998.2 µs | 17.01 µs | 15.07 µs | - | 12 KB | -- is *before*, with `git checkout head~1 src\Core\src` on this branch. ++ is using the code changes on this branch as-is. Attaching each of these handlers to native controls is about 30% improved. Running the `Maui.Controls.Sample.SingleProject` app: .\bin\dotnet\dotnet build .\src\Controls\samples\Controls.Sample.SingleProject\Maui.Controls.Sample.SingleProject.csproj -c Release -t:Install -f net6.0-android The average of 10 runs on a Pixel 5: Before: Displayed +1s821ms Displayed +1s770ms Displayed +1s840ms Displayed +1s766ms Displayed +1s795ms Displayed +1s775ms Displayed +1s763ms Displayed +1s764ms Displayed +1s767ms Displayed +1s762ms Average(ms): 1782.3 Std Err(ms): 8.7 Std Dev(ms): 27.5118156434649 After: Displayed +1s768ms Displayed +1s770ms Displayed +1s764ms Displayed +1s747ms Displayed +1s757ms Displayed +1s778ms Displayed +1s751ms Displayed +1s784ms Displayed +1s770ms Displayed +1s769ms Average(ms): 1765.8 Std Err(ms): 3.62644607172244 Std Dev(ms): 11.4678293984132 I think this improves startup by ~17ms for this app. Apps with more views + handlers on startup will have a larger improvement. Co-authored-by: E.Z. Hart <hartez@gmail.com>
2021-12-14 19:28:36 +03:00
# Android Studio
.gradle/
.idea/
local.properties
# Directory Build overrides for local setups
Directory.Build.Override.props
# Only the "snapshots" directory should be added to Git, not the "snapshots-diff" directory
snapshots-diff/
Try build arcade net9 (#25085) * try * try again * Try more build * Fix snupkg * try publish * fix depends * fix * Fix signing * Fix condition * try without this * Try install workloads * add catalyst * Try install .dotnet * Skip install .net * Nowarn * Set java home * try sign * sign dll * dix * more variables * try other * fix * Remove pool changes * Fix path * dotnet * remvoe restore * Again * Try bump arcade * TreatWarningsAsErrors * will this work * Try -warnAsError 0 * again * extra nowarn * Fix variable * Fix _BuildOfficalId * Fix signing * Update arcade * Don t push this * Dont update build number * Add back cake script * Add nuget.config again * Clean signing * try these feeds * less premissions * Try this * Try fix the bin folder * Fix nuget config * Use DotNetTempDirectory for the script * Fix device tests * Add missing variable * We need this * Try this * try this * Add public pipeline * Fix cake * Fix tool * Fix device * try workloads * try fix test * fix sign * more quick * needs t build * Fix windows script * Try workloads * fix location * fix * Try with this * try fix paths * try this again * try use the latest tooling * Revert "try use the latest tooling" This reverts commit 1b337f8b735b03b4403950feff480ba85e891b49. * Update variables.yml * Update DotnetInternal.cs * More fixes * Update build-test-pack.yml * Update latest arcade * Add missing feeds * Remove package source mapping * Update windows.cake * Update windows.cake * Update global.json * Try _SkipUpdateBuildNumber * again * Update variables.yml * Again * Include this * Update vsmanproj * Nove to arcade ne9 * Update rtm * Dont build workloads * Update rtm * Update NuGet.config * Update global.json * Update Versions.props * Update pack.yml * Try rtm ios * try windows again * Fix folder for dotnet location * Update windows.cake
2024-10-15 14:51:43 +03:00
#install of dotnet version
[release/9.0.1xx-rc2] Update rc2 internal (#25013) * Update rc2 versions * Update variables.yml * Updateprivate build * Make it coherant * Update NuGet.config * update * Update DotNet.csproj * Update versions * Update arcade * Update provision.yml * Update provision.yml * Update provision.yml * Update provision.yml * Update provision.yml * Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24461.1+azdo.10203443 Microsoft.Android.Sdk.Windows From Version 35.0.0-rc.2.101 -> To Version 35.0.0-rc.2.107 * Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24461.1+azdo.10204821 Microsoft.Android.Sdk.Windows From Version 35.0.0-rc.2.107 -> To Version 35.0.0-rc.2.109 * Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24463.1+azdo.10221673 Microsoft.Android.Sdk.Windows From Version 35.0.0-rc.2.109 -> To Version 35.0.0-rc.2.111 * Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24469.1+azdo.10247408 Microsoft.Android.Sdk.Windows From Version 35.0.0-rc.2.111 -> To Version 35.0.0-rc.2.115 * Update dependencies from https://github.com/dotnet/android build 9.0.0-rc.2.24474.1+azdo.10268209 Microsoft.Android.Sdk.Windows From Version 35.0.0-rc.2.115 -> To Version 35.0.0-rc.2.117 * Update dependencies from https://github.com/dotnet/android build main-e885d694c51db9733305ba331519dd01df6076a4-1 Microsoft.Android.Sdk.Windows From Version 35.0.0-rc.2.117 -> To Version 35.0.0-rc.2.130 * Try pin windows sdk projection WindowsSdkPackageVersion * Windows appsdk version workaround * Provision less * Update androdi version * Update iOS * update versions * Update Versions.props * Update NuGet.config * Update Directory.Build.props * Fix iOS warning * Ignore CA1422 too * Bump to xcode 16 * Bump xcode * Update NewTaskSceneDelegate.cs * Update ui-tests.yml --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-10-01 02:23:36 +03:00
/.dotnet
Try build arcade net9 (#25085) * try * try again * Try more build * Fix snupkg * try publish * fix depends * fix * Fix signing * Fix condition * try without this * Try install workloads * add catalyst * Try install .dotnet * Skip install .net * Nowarn * Set java home * try sign * sign dll * dix * more variables * try other * fix * Remove pool changes * Fix path * dotnet * remvoe restore * Again * Try bump arcade * TreatWarningsAsErrors * will this work * Try -warnAsError 0 * again * extra nowarn * Fix variable * Fix _BuildOfficalId * Fix signing * Update arcade * Don t push this * Dont update build number * Add back cake script * Add nuget.config again * Clean signing * try these feeds * less premissions * Try this * Try fix the bin folder * Fix nuget config * Use DotNetTempDirectory for the script * Fix device tests * Add missing variable * We need this * Try this * try this * Add public pipeline * Fix cake * Fix tool * Fix device * try workloads * try fix test * fix sign * more quick * needs t build * Fix windows script * Try workloads * fix location * fix * Try with this * try fix paths * try this again * try use the latest tooling * Revert "try use the latest tooling" This reverts commit 1b337f8b735b03b4403950feff480ba85e891b49. * Update variables.yml * Update DotnetInternal.cs * More fixes * Update build-test-pack.yml * Update latest arcade * Add missing feeds * Remove package source mapping * Update windows.cake * Update windows.cake * Update global.json * Try _SkipUpdateBuildNumber * again * Update variables.yml * Again * Include this * Update vsmanproj * Nove to arcade ne9 * Update rtm * Dont build workloads * Update rtm * Update NuGet.config * Update global.json * Update Versions.props * Update pack.yml * Try rtm ios * try windows again * Fix folder for dotnet location * Update windows.cake
2024-10-15 14:51:43 +03:00
.dotnet
temp
.packages