Skip to content

Commit f13de12

Browse files
committed
Merge branch 'release/1.21.2'
2 parents 5fc8111 + ca50c4b commit f13de12

File tree

338 files changed

+12455
-3868
lines changed

Some content is hidden

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

338 files changed

+12455
-3868
lines changed

.editorconfig

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ csharp_new_line_between_query_expression_clauses=true
4343
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_prefer_simple_default_expression
4444
csharp_prefer_simple_default_expression=false:error
4545

46+
# IDE0063: Use simple 'using' statement
47+
csharp_prefer_simple_using_statement = false
48+
4649
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_preserve_single_line_blocks
4750
csharp_preserve_single_line_blocks=true
4851

@@ -131,10 +134,10 @@ csharp_style_expression_bodied_indexers=true:error
131134
csharp_style_expression_bodied_methods=true
132135

133136
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_style_expression_bodied_operators
134-
csharp_style_expression_bodied_operators=true:error
137+
csharp_style_expression_bodied_operators=false:suggestion
135138

136139
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_style_expression_bodied_properties
137-
csharp_style_expression_bodied_properties=true:error
140+
csharp_style_expression_bodied_properties=when_on_single_line:suggestion
138141

139142
# http://kent-boogaart.com/blog/editorconfig-reference-for-c-developers#csharp_style_inlined_variable_declaration
140143
csharp_style_inlined_variable_declaration=true:error
@@ -257,4 +260,4 @@ dotnet_naming_symbols.constant_fields.required_modifiers=const
257260
dotnet_naming_style.pascal_case_style.capitalization=pascal_case
258261

259262
# ReSharper inspection severities
260-
resharper_arrange_this_qualifier_highlighting=hint
263+
resharper_arrange_this_qualifier_highlighting=hint

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ variables:
22
PUBLIC_REPO_URL: [email protected]:ProtonVPN/win-app.git
33

44
stages:
5+
- bot # comes from translations/generator job
56
- build
67
- test
78
- sign
89
- build-installer
910
- ui-test
1011
- installation-test
1112
- mirror
12-
- bot # comes from translations/generator job
1313

1414
sign:
1515
stage: sign

Setup/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ ProtonVPN-SetupFiles/*
22
ProtonVPN-cache/*
33
ProtonVPN.back.aip
44
ProtonVPNTap-cache/*
5-
ProtonVPNTap-SetupFiles/*
5+
ProtonVPNTap-SetupFiles/*
6+
ProtonVPNTun-cache/*
7+
ProtonVPNTun-SetupFiles/*

Setup/Images/BannerBitmap.bmp

29.1 KB
Binary file not shown.

Setup/Images/DialogBitmap.bmp

152 KB
Binary file not shown.

Setup/ProtonVPN.aip

Lines changed: 33 additions & 4 deletions
Large diffs are not rendered by default.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright (c) 2021 Proton Technologies AG
3+
*
4+
* This file is part of ProtonVPN.
5+
*
6+
* ProtonVPN is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* ProtonVPN is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with ProtonVPN. If not, see <https://www.gnu.org/licenses/>.
18+
*/
19+
namespace $rootnamespace$
20+
{
21+
public class $safeitemrootname$
22+
{
23+
}
24+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright (c) 2021 Proton Technologies AG
3+
*
4+
* This file is part of ProtonVPN.
5+
*
6+
* ProtonVPN is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* ProtonVPN is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with ProtonVPN. If not, see <https://www.gnu.org/licenses/>.
18+
*/
19+
namespace $rootnamespace$
20+
{
21+
public interface $safeitemrootname$
22+
{
23+
}
24+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright (c) 2021 Proton Technologies AG
3+
*
4+
* This file is part of ProtonVPN.
5+
*
6+
* ProtonVPN is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* ProtonVPN is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with ProtonVPN. If not, see <https://www.gnu.org/licenses/>.
18+
*/
19+
namespace $rootnamespace$
20+
{
21+
public class $safeitemrootname$
22+
{
23+
}
24+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
In the current folder (VisualStudioItemTemplates) you should have a CSharp folder.
2+
3+
That folder should be copied to the inside of the folder:
4+
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ItemTemplates
5+
6+
It should substitute 3 files.
7+
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ItemTemplates\CSharp\Code\1033\Class\Class.cs
8+
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ItemTemplates\CSharp\Code\1033\Interface\Interface.cs
9+
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\ItemTemplates\CSharp\Code\1033\WebClass\Class.cs
10+
11+
Now Visual Studio has proper default files.

0 commit comments

Comments
 (0)