Skip to content

Commit 6ffb05a

Browse files
committed
Miscellaneous clean-up for upcoming changes
- Remove BOM from new files. - Remove redundant xml tags and attributes. - Update Git ignores and attributes. - Ensure to preserve encoding of `UTF-16LE` files. - Update Toolkit Icons and use `Icon.png` name instead. - Rename solution, scripts and NuGet config files. - Remove leftover files from previous refactors. - Format Notifications package ReadMe. - Remove redundant code from project files. - Update Comments and fix mistakes.
1 parent 77b009d commit 6ffb05a

File tree

58 files changed

+262
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+262
-306
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ indent_size = 2
4141
indent_size = 2
4242
insert_final_newline = true
4343

44+
# Special files
45+
[*.UTF-16LE.*]
46+
charset = utf-16le
47+
4448
# C# files
4549
[*.cs]
4650

.gitattributes

Lines changed: 51 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,53 @@
1-
###############################################################################
2-
# Set default behavior to automatically normalize line endings.
3-
###############################################################################
1+
# Set default file-type attributes
2+
3+
# All file types
44
* text=auto
55

6-
###############################################################################
7-
# Set default behavior for command prompt diff.
8-
#
9-
# This is need for earlier builds of msysgit that does not have it on by
10-
# default for csharp files.
11-
# Note: This is only used by command line
12-
###############################################################################
13-
#*.cs diff=csharp
14-
15-
###############################################################################
16-
# Set the merge driver for project and solution files
17-
#
18-
# Merging from the command prompt will add diff markers to the files if there
19-
# are conflicts (Merging from VS is not affected by the settings below, in VS
20-
# the diff markers are never inserted). Diff markers may cause the following
21-
# file extensions to fail to load in VS. An alternative would be to treat
22-
# these files as binary and thus will always conflict and require user
23-
# intervention with every merge. To do so, just uncomment the entries below
24-
###############################################################################
25-
#*.sln merge=binary
26-
#*.csproj merge=binary
27-
#*.vbproj merge=binary
28-
#*.vcxproj merge=binary
29-
#*.vcproj merge=binary
30-
#*.dbproj merge=binary
31-
#*.fsproj merge=binary
32-
#*.lsproj merge=binary
33-
#*.wixproj merge=binary
34-
#*.modelproj merge=binary
35-
#*.sqlproj merge=binary
36-
#*.wwaproj merge=binary
37-
38-
###############################################################################
39-
# behavior for image files
40-
#
41-
# image files are treated as binary by default.
42-
###############################################################################
43-
#*.jpg binary
44-
#*.png binary
45-
#*.gif binary
46-
47-
###############################################################################
48-
# diff behavior for common document formats
49-
#
50-
# Convert binary document formats to text before diffing them. This feature
51-
# is only available from the command line. Turn it on by uncommenting the
52-
# entries below.
53-
###############################################################################
54-
#*.doc diff=astextplain
55-
#*.DOC diff=astextplain
56-
#*.docx diff=astextplain
57-
#*.DOCX diff=astextplain
58-
#*.dot diff=astextplain
59-
#*.DOT diff=astextplain
60-
#*.pdf diff=astextplain
61-
#*.PDF diff=astextplain
62-
#*.rtf diff=astextplain
63-
#*.RTF diff=astextplain
6+
# Markups
7+
*.md text=auto diff=markdown
8+
*.mdx text=auto diff=markdown
9+
10+
# Solutions
11+
*.sln text=auto eol=crlf
12+
*.slnx text=auto
13+
14+
# Projects
15+
*.*proj text=auto
16+
*.tasks text=auto
17+
*.props text=auto
18+
*.targets text=auto
19+
20+
# Sources
21+
*.cs text=auto diff=csharp
22+
*.csx text=auto diff=csharp
23+
*.resx text=auto
24+
25+
# Scripts
26+
*.in text eol=lf
27+
*.sh text eol=lf
28+
*.bat text eol=crlf
29+
*.cmd text eol=crlf
30+
31+
# Images
32+
*.png binary
33+
*.jpg binary
34+
*.gif binary
35+
36+
# Keys
37+
*.snk binary
38+
*.pfx binary
39+
*.cer binary
40+
41+
# Others
42+
43+
# Preserve Line endings in diff and patch files
44+
*.diff -text
45+
*.patch -text
46+
47+
# Exclude git meta files from exporting
48+
.gitattributes export-ignore
49+
.gitignore export-ignore
50+
.gitkeep export-ignore
51+
52+
# Ours
53+
*.UTF-16LE.* encoding=utf-16le

0 commit comments

Comments
 (0)