From 2fe2df3a55369abf2f46f64231b36dc1cf280f47 Mon Sep 17 00:00:00 2001 From: Zandario Date: Mon, 6 Nov 2023 05:37:34 -0600 Subject: [PATCH 1/3] Add .editorconfig --- .editorconfig | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e681f7b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,61 @@ +# Based on: https://github.com/RehanSaeed/EditorConfig +# See http://EditorConfig.org for more information about .editorconfig files. + +########################################## +# Common Settings +########################################## + +# This file is the top-most EditorConfig file +root = true + +# All Files +[*] +charset = utf-8-bom +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true + +########################################## +# File Extension Settings +########################################## + +# Visual Studio Solution Files +[*.sln] +indent_style = tab + +# Visual Studio XML Project Files +[*.{csproj,vbproj,vcxproj.filters,proj,projitems,shproj}] +indent_size = 2 + +# XML Configuration Files +[*.{xml,config,props,targets,nuspec,resx,ruleset,vsixmanifest,vsct}] +indent_size = 2 + +# JSON Files +[*.{json,json5,webmanifest}] +indent_size = 2 + +# YAML Files +[*.{yml,yaml}] +indent_size = 2 + +# Markdown Files +[*.{md,mdx}] +trim_trailing_whitespace = false + +# Web Files +[*.{htm,html,js,jsm,ts,tsx,cjs,cts,ctsx,mjs,mts,mtsx,css,sass,scss,less,pcss,svg,vue}] +indent_size = 2 + +# Batch Files +[*.{cmd,bat}] +end_of_line = crlf + +# Bash Files +[*.sh] +end_of_line = lf + +# Makefiles +[Makefile] +indent_style = tab From f4f6a46be00006f323d95d90d4dd74a2cfdae1da Mon Sep 17 00:00:00 2001 From: Zandario Date: Mon, 6 Nov 2023 05:38:27 -0600 Subject: [PATCH 2/3] Chore: Fix line endings and add UTF-8 BOM --- .editorconfig | 2 +- .github/workflows/build..yml | 4 ++-- .github/workflows/release.yml | 2 +- .gitignore | 4 ++-- Compressonator.NET.csproj | 2 +- LICENSE | 2 +- Properties/launchSettings.json | 4 ++-- README.md | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.editorconfig b/.editorconfig index e681f7b..4232d80 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# Based on: https://github.com/RehanSaeed/EditorConfig +# Based on: https://github.com/RehanSaeed/EditorConfig # See http://EditorConfig.org for more information about .editorconfig files. ########################################## diff --git a/.github/workflows/build..yml b/.github/workflows/build..yml index 0ccb698..3c427fd 100644 --- a/.github/workflows/build..yml +++ b/.github/workflows/build..yml @@ -1,4 +1,4 @@ -name: Build Library +name: Build Library on: push: @@ -20,4 +20,4 @@ jobs: - name: Install dependencies run: dotnet restore - name: Build - run: dotnet build --configuration Release --no-restore \ No newline at end of file + run: dotnet build --configuration Release --no-restore diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52400af..d875882 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Publish Library +name: Publish Library # When a release is published on: diff --git a/.gitignore b/.gitignore index 5e85eb4..8be542c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -## Ignore Visual Studio temporary files, build results, and +## 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 @@ -351,4 +351,4 @@ MigrationBackup/ # Compressonator binaries CMP_*.dll -Compressonator*.dll \ No newline at end of file +Compressonator*.dll diff --git a/Compressonator.NET.csproj b/Compressonator.NET.csproj index 7efa7cd..c7bbfc2 100644 --- a/Compressonator.NET.csproj +++ b/Compressonator.NET.csproj @@ -1,4 +1,4 @@ - + Yellow Dog Man Studios diff --git a/LICENSE b/LICENSE index 03dd9c1..765b579 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -MIT License +MIT License Copyright (c) 2021 Neos VR diff --git a/Properties/launchSettings.json b/Properties/launchSettings.json index 3cb0ede..d949a4d 100644 --- a/Properties/launchSettings.json +++ b/Properties/launchSettings.json @@ -1,7 +1,7 @@ -{ +{ "profiles": { "Compressonator.NET": { "commandName": "Project" } } -} \ No newline at end of file +} diff --git a/README.md b/README.md index e1a1b76..0ff5345 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Compressonator.NET +# Compressonator.NET .NET wrapper for the Compressonator library/framework by AMD, using P/Invoke You can get the Compressonator binaries here: https://github.com/GPUOpen-Tools/compressonator From 2166cee14f1ad21a790d5715f80f67dc027a0f89 Mon Sep 17 00:00:00 2001 From: Zandario Date: Mon, 6 Nov 2023 05:39:42 -0600 Subject: [PATCH 3/3] Add .git-blame-ignore-revs file for line ending --- .git-blame-ignore-revs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..878a141 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,4 @@ +## Line ending conversions + +# Adjusted line endings and converted the repo +f4f6a46be00006f323d95d90d4dd74a2cfdae1da