From 17562179465e7ee1ed0b87134ef95ad92795ad6b Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Fri, 5 Apr 2024 12:25:25 -0500 Subject: [PATCH] Add `.gitattributes`, unify eol/encoding --- .editorconfig | 4 + .gitattributes | 6 + .gitignore | 940 +++++++++--------- Godot.sln | 187 ++-- eng/common/tasks/Tasks.csproj | 2 +- samples/Summator/Extension/Summator.csproj | 2 +- src/Godot.Bindings/Godot.Bindings.csproj | 2 +- .../Godot.BindingsGenerator.ApiDump.csproj | 2 +- .../Godot.BindingsGenerator.Reflection.csproj | 2 +- .../Godot.BindingsGenerator.csproj | 4 +- src/Godot/Godot.csproj | 2 +- .../Godot.Bindings.Tests.csproj | 2 +- .../Godot.BindingsGenerator.Tests.csproj | 22 +- .../CSharpSourceGeneratorVerifier.cs | 4 +- .../Godot.SourceGenerators.Tests.csproj | 2 +- 15 files changed, 597 insertions(+), 586 deletions(-) create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig index f8f6e0c..5c92a4d 100644 --- a/.editorconfig +++ b/.editorconfig @@ -19,6 +19,10 @@ indent_size = 2 indent_style = space indent_size = 4 +[*.{sln,csproj}] +end_of_line = crlf +charset = utf-8-bom + [*.sln] indent_style = tab diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..978f0cd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Normalize EOL for all files that Git considers text files +* text=auto eol=lf + +# Except files specific to Visual Studio +*.sln eol=crlf +*.csproj eol=crlf diff --git a/.gitignore b/.gitignore index 3a253a9..cfbc64f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,470 +1,470 @@ -syntax: glob - -### VisualStudio ### - -# Tool Runtime Dir -.dotnet -.packages - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -artifacts/ -.idea/ -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -bld/ -[Bb]in/ -[Oo]bj/ -MSBuild_Logs/ -msbuild.log -msbuild.err -msbuild.wrn -*.binlog -.deps/ -.dirstamp -.libs/ -*.lo -*.o - -# Visual Studio -.vs/ - -# 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 -project.lock.json -project.fragment.lock.json -artifacts/ - -# 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 -*.tlog -*.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 -*.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 - -# 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 6 auto-generated project file (contains which files were open etc.) -*.vbp - -# Visual Studio 6 workspace and project file (working project files containing files to include in project) -*.dsw -*.dsp - -# Visual Studio 6 technical files -*.ncb -*.aps - -# 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/ - -# Visual Studio History (VSHistory) files -.vshistory/ - -# 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 - -# VS Code files for those working on multiple tools -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -# Local History for Visual Studio Code -.history/ - -# Windows Installer files from build outputs -*.cab -*.msi -*.msix -*.msm -*.msp - -# JetBrains Rider -*.sln.iml - -## -## Visual studio for Mac -## - - -# globs -Makefile.in -*.userprefs -*.usertasks -config.make -config.status -aclocal.m4 -install-sh -autom4te.cache/ -*.tar.gz -tarballs/ -test-results/ - -# Mac bundle stuff -*.dmg -*.app - -# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore -# General -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns -.com.apple.timemachine.donotpresent - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore -# Windows thumbnail cache files -Thumbs.db -ehthumbs.db -ehthumbs_vista.db - -# Dump file -*.stackdump - -# Folder config file -[Dd]esktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msix -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# Generated code -Generated \ No newline at end of file +syntax: glob + +### VisualStudio ### + +# Tool Runtime Dir +.dotnet +.packages + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +artifacts/ +.idea/ +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +bld/ +[Bb]in/ +[Oo]bj/ +MSBuild_Logs/ +msbuild.log +msbuild.err +msbuild.wrn +*.binlog +.deps/ +.dirstamp +.libs/ +*.lo +*.o + +# Visual Studio +.vs/ + +# 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 +project.lock.json +project.fragment.lock.json +artifacts/ + +# 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 +*.tlog +*.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 +*.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 + +# 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 6 auto-generated project file (contains which files were open etc.) +*.vbp + +# Visual Studio 6 workspace and project file (working project files containing files to include in project) +*.dsw +*.dsp + +# Visual Studio 6 technical files +*.ncb +*.aps + +# 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/ + +# Visual Studio History (VSHistory) files +.vshistory/ + +# 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 + +# VS Code files for those working on multiple tools +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +# Windows Installer files from build outputs +*.cab +*.msi +*.msix +*.msm +*.msp + +# JetBrains Rider +*.sln.iml + +## +## Visual studio for Mac +## + + +# globs +Makefile.in +*.userprefs +*.usertasks +config.make +config.status +aclocal.m4 +install-sh +autom4te.cache/ +*.tar.gz +tarballs/ +test-results/ + +# Mac bundle stuff +*.dmg +*.app + +# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore +# Windows thumbnail cache files +Thumbs.db +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# Generated code +Generated diff --git a/Godot.sln b/Godot.sln index 4c07aac..409ecf8 100644 --- a/Godot.sln +++ b/Godot.sln @@ -1,93 +1,94 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{9C93C9B0-F173-456D-AD30-751731192FF0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{409FDDB1-07E1-40F7-AB83-2CDF7837AD4C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{A364F5DC-F0C9-483E-BDE8-CB15530BDD4B}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot", "src\Godot\Godot.csproj", "{462F04E7-4159-4CAD-A046-9B6ED2D27417}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator", "src\Godot.BindingsGenerator\Godot.BindingsGenerator.csproj", "{ED353C18-C744-441A-8E76-C6A6375A1AF1}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator.ApiDump", "src\Godot.BindingsGenerator.ApiDump\Godot.BindingsGenerator.ApiDump.csproj", "{BE17DC5E-E913-4135-A992-99600D4036C8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator.Reflection", "src\Godot.BindingsGenerator.Reflection\Godot.BindingsGenerator.Reflection.csproj", "{5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.Bindings", "src\Godot.Bindings\Godot.Bindings.csproj", "{3916AEB4-BE8A-413C-8369-440ADA87E119}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.SourceGenerators", "src\Godot.SourceGenerators\Godot.SourceGenerators.csproj", "{E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator.Tests", "tests\Godot.BindingsGenerator.Tests\Godot.BindingsGenerator.Tests.csproj", "{565D82E3-9327-4065-BE7D-533D84EB6036}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.Bindings.Tests", "tests\Godot.Bindings.Tests\Godot.Bindings.Tests.csproj", "{9E69D61E-3392-4432-BADA-B7B15CF86017}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.SourceGenerators.Tests", "tests\Godot.SourceGenerators.Tests\Godot.SourceGenerators.Tests.csproj", "{B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Summator", "samples\Summator\Extension\Summator.csproj", "{05512C29-BA94-4657-B92A-A31707F5AD20}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Debug|Any CPU.Build.0 = Debug|Any CPU - {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Release|Any CPU.ActiveCfg = Release|Any CPU - {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Release|Any CPU.Build.0 = Release|Any CPU - {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Release|Any CPU.Build.0 = Release|Any CPU - {BE17DC5E-E913-4135-A992-99600D4036C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE17DC5E-E913-4135-A992-99600D4036C8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE17DC5E-E913-4135-A992-99600D4036C8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE17DC5E-E913-4135-A992-99600D4036C8}.Release|Any CPU.Build.0 = Release|Any CPU - {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Release|Any CPU.Build.0 = Release|Any CPU - {3916AEB4-BE8A-413C-8369-440ADA87E119}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3916AEB4-BE8A-413C-8369-440ADA87E119}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3916AEB4-BE8A-413C-8369-440ADA87E119}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3916AEB4-BE8A-413C-8369-440ADA87E119}.Release|Any CPU.Build.0 = Release|Any CPU - {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Release|Any CPU.Build.0 = Release|Any CPU - {565D82E3-9327-4065-BE7D-533D84EB6036}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {565D82E3-9327-4065-BE7D-533D84EB6036}.Debug|Any CPU.Build.0 = Debug|Any CPU - {565D82E3-9327-4065-BE7D-533D84EB6036}.Release|Any CPU.ActiveCfg = Release|Any CPU - {565D82E3-9327-4065-BE7D-533D84EB6036}.Release|Any CPU.Build.0 = Release|Any CPU - {9E69D61E-3392-4432-BADA-B7B15CF86017}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9E69D61E-3392-4432-BADA-B7B15CF86017}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9E69D61E-3392-4432-BADA-B7B15CF86017}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9E69D61E-3392-4432-BADA-B7B15CF86017}.Release|Any CPU.Build.0 = Release|Any CPU - {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Release|Any CPU.Build.0 = Release|Any CPU - {05512C29-BA94-4657-B92A-A31707F5AD20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {05512C29-BA94-4657-B92A-A31707F5AD20}.Debug|Any CPU.Build.0 = Debug|Any CPU - {05512C29-BA94-4657-B92A-A31707F5AD20}.Release|Any CPU.ActiveCfg = Release|Any CPU - {05512C29-BA94-4657-B92A-A31707F5AD20}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {462F04E7-4159-4CAD-A046-9B6ED2D27417} = {9C93C9B0-F173-456D-AD30-751731192FF0} - {ED353C18-C744-441A-8E76-C6A6375A1AF1} = {9C93C9B0-F173-456D-AD30-751731192FF0} - {BE17DC5E-E913-4135-A992-99600D4036C8} = {9C93C9B0-F173-456D-AD30-751731192FF0} - {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2} = {9C93C9B0-F173-456D-AD30-751731192FF0} - {3916AEB4-BE8A-413C-8369-440ADA87E119} = {9C93C9B0-F173-456D-AD30-751731192FF0} - {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81} = {9C93C9B0-F173-456D-AD30-751731192FF0} - {565D82E3-9327-4065-BE7D-533D84EB6036} = {409FDDB1-07E1-40F7-AB83-2CDF7837AD4C} - {9E69D61E-3392-4432-BADA-B7B15CF86017} = {409FDDB1-07E1-40F7-AB83-2CDF7837AD4C} - {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0} = {409FDDB1-07E1-40F7-AB83-2CDF7837AD4C} - {05512C29-BA94-4657-B92A-A31707F5AD20} = {A364F5DC-F0C9-483E-BDE8-CB15530BDD4B} - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{9C93C9B0-F173-456D-AD30-751731192FF0}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{409FDDB1-07E1-40F7-AB83-2CDF7837AD4C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{A364F5DC-F0C9-483E-BDE8-CB15530BDD4B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot", "src\Godot\Godot.csproj", "{462F04E7-4159-4CAD-A046-9B6ED2D27417}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator", "src\Godot.BindingsGenerator\Godot.BindingsGenerator.csproj", "{ED353C18-C744-441A-8E76-C6A6375A1AF1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator.ApiDump", "src\Godot.BindingsGenerator.ApiDump\Godot.BindingsGenerator.ApiDump.csproj", "{BE17DC5E-E913-4135-A992-99600D4036C8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator.Reflection", "src\Godot.BindingsGenerator.Reflection\Godot.BindingsGenerator.Reflection.csproj", "{5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.Bindings", "src\Godot.Bindings\Godot.Bindings.csproj", "{3916AEB4-BE8A-413C-8369-440ADA87E119}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.SourceGenerators", "src\Godot.SourceGenerators\Godot.SourceGenerators.csproj", "{E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.BindingsGenerator.Tests", "tests\Godot.BindingsGenerator.Tests\Godot.BindingsGenerator.Tests.csproj", "{565D82E3-9327-4065-BE7D-533D84EB6036}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.Bindings.Tests", "tests\Godot.Bindings.Tests\Godot.Bindings.Tests.csproj", "{9E69D61E-3392-4432-BADA-B7B15CF86017}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Godot.SourceGenerators.Tests", "tests\Godot.SourceGenerators.Tests\Godot.SourceGenerators.Tests.csproj", "{B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Summator", "samples\Summator\Extension\Summator.csproj", "{05512C29-BA94-4657-B92A-A31707F5AD20}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Debug|Any CPU.Build.0 = Debug|Any CPU + {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Release|Any CPU.ActiveCfg = Release|Any CPU + {462F04E7-4159-4CAD-A046-9B6ED2D27417}.Release|Any CPU.Build.0 = Release|Any CPU + {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ED353C18-C744-441A-8E76-C6A6375A1AF1}.Release|Any CPU.Build.0 = Release|Any CPU + {BE17DC5E-E913-4135-A992-99600D4036C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BE17DC5E-E913-4135-A992-99600D4036C8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BE17DC5E-E913-4135-A992-99600D4036C8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BE17DC5E-E913-4135-A992-99600D4036C8}.Release|Any CPU.Build.0 = Release|Any CPU + {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2}.Release|Any CPU.Build.0 = Release|Any CPU + {3916AEB4-BE8A-413C-8369-440ADA87E119}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3916AEB4-BE8A-413C-8369-440ADA87E119}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3916AEB4-BE8A-413C-8369-440ADA87E119}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3916AEB4-BE8A-413C-8369-440ADA87E119}.Release|Any CPU.Build.0 = Release|Any CPU + {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81}.Release|Any CPU.Build.0 = Release|Any CPU + {565D82E3-9327-4065-BE7D-533D84EB6036}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {565D82E3-9327-4065-BE7D-533D84EB6036}.Debug|Any CPU.Build.0 = Debug|Any CPU + {565D82E3-9327-4065-BE7D-533D84EB6036}.Release|Any CPU.ActiveCfg = Release|Any CPU + {565D82E3-9327-4065-BE7D-533D84EB6036}.Release|Any CPU.Build.0 = Release|Any CPU + {9E69D61E-3392-4432-BADA-B7B15CF86017}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9E69D61E-3392-4432-BADA-B7B15CF86017}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9E69D61E-3392-4432-BADA-B7B15CF86017}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9E69D61E-3392-4432-BADA-B7B15CF86017}.Release|Any CPU.Build.0 = Release|Any CPU + {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0}.Release|Any CPU.Build.0 = Release|Any CPU + {05512C29-BA94-4657-B92A-A31707F5AD20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {05512C29-BA94-4657-B92A-A31707F5AD20}.Debug|Any CPU.Build.0 = Debug|Any CPU + {05512C29-BA94-4657-B92A-A31707F5AD20}.Release|Any CPU.ActiveCfg = Release|Any CPU + {05512C29-BA94-4657-B92A-A31707F5AD20}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {462F04E7-4159-4CAD-A046-9B6ED2D27417} = {9C93C9B0-F173-456D-AD30-751731192FF0} + {ED353C18-C744-441A-8E76-C6A6375A1AF1} = {9C93C9B0-F173-456D-AD30-751731192FF0} + {BE17DC5E-E913-4135-A992-99600D4036C8} = {9C93C9B0-F173-456D-AD30-751731192FF0} + {5500C1BD-81B2-4CD9-A530-67AE8FCDC6A2} = {9C93C9B0-F173-456D-AD30-751731192FF0} + {3916AEB4-BE8A-413C-8369-440ADA87E119} = {9C93C9B0-F173-456D-AD30-751731192FF0} + {E90FA2F5-90B5-4A70-AB9D-18ED4CD08E81} = {9C93C9B0-F173-456D-AD30-751731192FF0} + {565D82E3-9327-4065-BE7D-533D84EB6036} = {409FDDB1-07E1-40F7-AB83-2CDF7837AD4C} + {9E69D61E-3392-4432-BADA-B7B15CF86017} = {409FDDB1-07E1-40F7-AB83-2CDF7837AD4C} + {B63C79A4-5FBA-4E7B-A2E5-69868CCC2DE0} = {409FDDB1-07E1-40F7-AB83-2CDF7837AD4C} + {05512C29-BA94-4657-B92A-A31707F5AD20} = {A364F5DC-F0C9-483E-BDE8-CB15530BDD4B} + EndGlobalSection +EndGlobal diff --git a/eng/common/tasks/Tasks.csproj b/eng/common/tasks/Tasks.csproj index 64d3902..3df79da 100644 --- a/eng/common/tasks/Tasks.csproj +++ b/eng/common/tasks/Tasks.csproj @@ -1,4 +1,4 @@ - + net8.0 diff --git a/samples/Summator/Extension/Summator.csproj b/samples/Summator/Extension/Summator.csproj index 8845982..a910c09 100644 --- a/samples/Summator/Extension/Summator.csproj +++ b/samples/Summator/Extension/Summator.csproj @@ -1,4 +1,4 @@ - + net8.0 diff --git a/src/Godot.Bindings/Godot.Bindings.csproj b/src/Godot.Bindings/Godot.Bindings.csproj index d4671ff..bfd8f52 100644 --- a/src/Godot.Bindings/Godot.Bindings.csproj +++ b/src/Godot.Bindings/Godot.Bindings.csproj @@ -1,4 +1,4 @@ - + net8.0 diff --git a/src/Godot.BindingsGenerator.ApiDump/Godot.BindingsGenerator.ApiDump.csproj b/src/Godot.BindingsGenerator.ApiDump/Godot.BindingsGenerator.ApiDump.csproj index 5e26945..5d3ef3a 100644 --- a/src/Godot.BindingsGenerator.ApiDump/Godot.BindingsGenerator.ApiDump.csproj +++ b/src/Godot.BindingsGenerator.ApiDump/Godot.BindingsGenerator.ApiDump.csproj @@ -1,4 +1,4 @@ - + net8.0 diff --git a/src/Godot.BindingsGenerator.Reflection/Godot.BindingsGenerator.Reflection.csproj b/src/Godot.BindingsGenerator.Reflection/Godot.BindingsGenerator.Reflection.csproj index 5e26945..5d3ef3a 100644 --- a/src/Godot.BindingsGenerator.Reflection/Godot.BindingsGenerator.Reflection.csproj +++ b/src/Godot.BindingsGenerator.Reflection/Godot.BindingsGenerator.Reflection.csproj @@ -1,4 +1,4 @@ - + net8.0 diff --git a/src/Godot.BindingsGenerator/Godot.BindingsGenerator.csproj b/src/Godot.BindingsGenerator/Godot.BindingsGenerator.csproj index d673cf3..331444f 100644 --- a/src/Godot.BindingsGenerator/Godot.BindingsGenerator.csproj +++ b/src/Godot.BindingsGenerator/Godot.BindingsGenerator.csproj @@ -1,4 +1,4 @@ - + Exe @@ -18,7 +18,7 @@ false - + diff --git a/src/Godot/Godot.csproj b/src/Godot/Godot.csproj index 949c1ab..6e55fb0 100644 --- a/src/Godot/Godot.csproj +++ b/src/Godot/Godot.csproj @@ -1,4 +1,4 @@ - + net8.0 diff --git a/tests/Godot.Bindings.Tests/Godot.Bindings.Tests.csproj b/tests/Godot.Bindings.Tests/Godot.Bindings.Tests.csproj index 33fb866..849cdbf 100644 --- a/tests/Godot.Bindings.Tests/Godot.Bindings.Tests.csproj +++ b/tests/Godot.Bindings.Tests/Godot.Bindings.Tests.csproj @@ -1,4 +1,4 @@ - + net8.0 diff --git a/tests/Godot.BindingsGenerator.Tests/Godot.BindingsGenerator.Tests.csproj b/tests/Godot.BindingsGenerator.Tests/Godot.BindingsGenerator.Tests.csproj index d8b231f..436b67b 100644 --- a/tests/Godot.BindingsGenerator.Tests/Godot.BindingsGenerator.Tests.csproj +++ b/tests/Godot.BindingsGenerator.Tests/Godot.BindingsGenerator.Tests.csproj @@ -1,11 +1,11 @@ - - - - net8.0 - - - - - - - + + + + net8.0 + + + + + + + diff --git a/tests/Godot.SourceGenerators.Tests/CSharpSourceGeneratorVerifier.cs b/tests/Godot.SourceGenerators.Tests/CSharpSourceGeneratorVerifier.cs index eef176b..9952657 100644 --- a/tests/Godot.SourceGenerators.Tests/CSharpSourceGeneratorVerifier.cs +++ b/tests/Godot.SourceGenerators.Tests/CSharpSourceGeneratorVerifier.cs @@ -60,12 +60,12 @@ public static Test MakeVerifier(IEnumerable<(string FileName, string ContentFile verifier.TestState.Sources.AddRange(sources.Select(source => ( source.FileName, - SourceText.From(File.ReadAllText(Path.Combine(Constants.SourceFolderPath, source.ContentFileName)), Encoding.UTF8) + SourceText.From(File.ReadAllText(Path.Combine(Constants.SourceFolderPath, source.ContentFileName)).ReplaceLineEndings(), Encoding.UTF8) ))); verifier.TestState.GeneratedSources.AddRange(generatedSources.Select(generatedSource => ( FullGeneratedSourceName(generatedSource.FileName), - SourceText.From(File.ReadAllText(Path.Combine(Constants.GeneratedSourceFolderPath, generatedSource.ContentFileName)), Encoding.UTF8) + SourceText.From(File.ReadAllText(Path.Combine(Constants.GeneratedSourceFolderPath, generatedSource.ContentFileName)).ReplaceLineEndings(), Encoding.UTF8) ))); return verifier; diff --git a/tests/Godot.SourceGenerators.Tests/Godot.SourceGenerators.Tests.csproj b/tests/Godot.SourceGenerators.Tests/Godot.SourceGenerators.Tests.csproj index 1a32dcb..2aecb7b 100644 --- a/tests/Godot.SourceGenerators.Tests/Godot.SourceGenerators.Tests.csproj +++ b/tests/Godot.SourceGenerators.Tests/Godot.SourceGenerators.Tests.csproj @@ -1,4 +1,4 @@ - + net8.0