[misc] add .editorconfig

* Also update getopt project file to remove missing file
This commit is contained in:
Pete Batard 2017-03-14 18:43:29 +01:00
parent 5f679edf4d
commit ee67019129
10 changed files with 24 additions and 17 deletions

10
src/.editorconfig Normal file
View File

@ -0,0 +1,10 @@
# indicate this is the root of the project
root = true
[*]
trim_trailing_whitespace = true
insert_final_newline = true
# Of course the following is broken in VS2017 release.
# Hopefully will be fixed with next update:
# https://developercommunity.visualstudio.com/content/problem/22922/editorconfig-support-interprets-charset-utf-8-as-u.html
#charset = utf-8

View File

@ -153,9 +153,6 @@
<ItemGroup>
<ClInclude Include="..\getopt.h" />
</ItemGroup>
<ItemGroup>
<None Include="ClassDiagram.cd" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View File

@ -23,7 +23,4 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="ClassDiagram.cd" />
</ItemGroup>
</Project>

2
src/getopt/.editorconfig Normal file
View File

@ -0,0 +1,2 @@
[*]
tab_width = 8

View File

@ -139,9 +139,6 @@
<ItemGroup>
<ClInclude Include="..\getopt.h" />
</ItemGroup>
<ItemGroup>
<None Include="ClassDiagram.cd" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View File

@ -23,7 +23,4 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="ClassDiagram.cd" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
[*]
tab_width = 8

2
src/ms-sys/.editorconfig Normal file
View File

@ -0,0 +1,2 @@
[*]
tab_width = 8

View File

@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 242, 376
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 2.13.1072"
CAPTION "Rufus 2.13.1073"
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
@ -334,8 +334,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,13,1072,0
PRODUCTVERSION 2,13,1072,0
FILEVERSION 2,13,1073,0
PRODUCTVERSION 2,13,1073,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -352,13 +352,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "2.13.1072"
VALUE "FileVersion", "2.13.1073"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2017 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "2.13.1072"
VALUE "ProductVersion", "2.13.1073"
END
END
BLOCK "VarFileInfo"

View File

@ -0,0 +1,3 @@
[*]
indent_size = 4
tab_width = 8