Commit graph

9544 commits

Author SHA1 Message Date
Sebastian Göls
7019445b84
Clean up #if hell a bit more (#2450)
* Clean up #if hell a bit more

* Add missing null checks
2021-11-10 20:36:17 +01:00
Łukasz Domeradzki
0850a261cb
Add osx-arm64 ASF variant (#2451) 2021-11-10 20:36:09 +01:00
Archi
ae3a60759a
Set EnableCompressionInSingleFile
The tradeoff is worth it for size in our case, people that don't want the startup time hit should be using generic package anyway
2021-11-10 20:01:10 +01:00
Archi
566be6e8c4
Use --self-contained and --no-self-contained as recommended by .NET 6.0 docs 2021-11-10 19:39:04 +01:00
Archi
9aaf8d8215
Refuse to run as root
hooray
2021-11-10 19:18:00 +01:00
Archi
0964cdac96
Minimize define hell
Skipping a 20 KB stub in OS-specific non-windows builds and omitting a few very fast if checks isn't worth the code quality degradation that involves all of the ifdef options.

ifdefs should be reserved for stuff that either doesn't compile whatsoever in some specific configurations (NETFRAMEWORK), or is required to make logical decisions based on the compiler input (e.g. DEBUG for detecting debugging builds or ASF_VARIANT_* for hardcoding the platform identifier to use for auto-updates)

In all other situations, we should use OperatingSystem if condition, even if it's equal to hitting them on the platforms that are unlikely to hit them.

And I say unlikely, because nothing stops me from downloading a win-x64 build and running it like a generic one on windows, what you gonna do?
2021-11-10 19:03:05 +01:00
Łukasz Domeradzki
e62234892a
Fix SIGINT/SIGTERM no longer working in .NET 6.0 (#2449)
* Try to use new signals

* Fix for netf and windows

* Misc
2021-11-10 18:40:12 +01:00
Renovate Bot
55e3c064eb
Update ASF-ui commit hash to 9eb53d6 2021-11-10 13:08:49 +00:00
Renovate Bot
32575e69ec
Update ASF-ui commit hash to 7c9fb1a 2021-11-10 03:07:06 +00:00
ArchiBot
5cdeccc2ba
Automatic translations update 2021-11-10 02:08:24 +00:00
Renovate Bot
695ffb4b1c
Update ASF-ui commit hash to dca7c00 2021-11-09 23:07:32 +00:00
Archi
0977b359c2
Bump 2021-11-09 22:57:57 +01:00
Archi
c7443bef69
Update TrimmerRoots.xml 2021-11-09 22:49:17 +01:00
Archi
e238026121
Closes #2448 2021-11-09 22:43:13 +01:00
Archi
36d51e80d7
Bump 2021-11-09 22:15:35 +01:00
Archi
a4b5c9a6cc
Bring back System.Collections.Immutable in trimmer roots
Still needed, sigh
2021-11-09 22:04:43 +01:00
Archi
b305af6f7f
Bump 2021-11-09 21:34:20 +01:00
Archi
9a42a08624
Update TrimmerRoots for .NET 6.0
This is required to support custom plugins, I'm not sure if immutable collections are still needed, we'll find out after first alpha release
2021-11-09 21:10:42 +01:00
Archi
3eeafa9029
Bump 2021-11-09 19:03:49 +01:00
Sebastian Göls
fb4eb0b03a
Use Madness via global usings (#2447)
* Use Madness via global usings

* Apply feedback

* Disable false positive null warning
2021-11-09 16:33:09 +01:00
Renovate Bot
41bfd8ad2b
Update dependency JustArchiNET.Madness to v2.0.0-alpha2 2021-11-09 02:54:17 +00:00
ArchiBot
4a88549b76
Automatic translations update 2021-11-09 02:08:48 +00:00
Archi
f5b548f83b
WebBrowser: use HTTP/3 2021-11-09 00:03:38 +01:00
Archi
35ca44ee01
Remove System.IO.FileSystem.AccessControl dependency
It's included in .NET 6.0 now
2021-11-08 23:45:19 +01:00
renovate[bot]
4929d35f11
Update dotnet monorepo to v6 (#2445)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 23:41:13 +01:00
Łukasz Domeradzki
0eee21360d
.NET 6.0 (#2388)
* Bump non-source files to net6.0

* Correct .NET 6.0 warnings

* Correct CI

* Correct linking errors

Not much I can do about them ATM

* Remove TrimmerRoots

At least runtime is no longer needed for our STD plugin, not sure about the dictionary

* Correct cc.sh

* Revert "Remove TrimmerRoots"

This reverts commit 11f603d3d6.

* First round of cat & mice game

* Update Directory.Build.props

* Update Startup.cs

* Update Startup.cs

* Update Startup.cs

* Fix new warnings

* Update SDK

* Address netf error

* Update Directory.Packages.props
2021-11-08 23:41:02 +01:00
Renovate Bot
fd93f0cd03
Update dotnet monorepo to v3.1.21 2021-11-08 02:43:43 +00:00
ArchiBot
7e715e3478
Automatic translations update 2021-11-08 02:09:03 +00:00
Renovate Bot
417440340a
Update wiki commit hash to 2e38a42 2021-11-07 16:32:30 +00:00
Renovate Bot
e9898a53a1
Update ASF-ui commit hash to 88fbcc1 2021-11-06 05:22:14 +00:00
ArchiBot
5200fa771c
Automatic translations update 2021-11-06 02:07:47 +00:00
Renovate Bot
f078bacd96
Update ASF-ui commit hash to 53f9c4d 2021-11-05 21:49:44 +00:00
Renovate Bot
f3919651d1
Update wiki commit hash to 79b4d42 2021-11-05 10:38:16 +00:00
ArchiBot
63d6e33204
Automatic translations update 2021-11-05 02:09:03 +00:00
Renovate Bot
6ad64f405c
Update ASF-ui commit hash to 943bcde 2021-11-04 02:41:55 +00:00
ArchiBot
62704be1f3
Automatic translations update 2021-11-04 02:10:42 +00:00
Renovate Bot
6d9dc5e54f
Update actions/checkout action to v2.4.0 2021-11-03 04:51:31 +00:00
Renovate Bot
be2bdf0727
Update ASF-ui commit hash to 5aa26c6 2021-11-03 03:03:12 +00:00
ArchiBot
d323918441
Automatic translations update 2021-11-03 02:08:31 +00:00
Archi
7104c34d2e
Update renovate.json5 2021-11-03 01:23:41 +01:00
Archi
b3fd8a21f4
Lower severity of default crypt key with protected data for current user
This type of encryption is already very secure, and we're using crypt key as salt only. Indeed, providing it increases security as hacker needs to know the salt in addition to the data, but it's not as critical as IPC hashing.
2021-11-02 23:36:12 +01:00
Archi
2909d4320a
Do not bother checking IPC security when IPC itself is disabled 2021-11-02 23:33:35 +01:00
Renovate Bot
1886a32ab5
Update crowdin/github-action action to v1.4.1 2021-11-02 20:19:06 +00:00
Archi
b516980ad7
Misc 2021-11-02 21:17:25 +01:00
Archi
e59b45e63c
Bump 2021-11-02 21:10:46 +01:00
Archi
cc59875769
Fix crash on machines that do not support qps-Ploc culture
E.g. mono
2021-11-02 21:02:32 +01:00
Renovate Bot
8699be4c25
Update ASF-ui commit hash to 3be4080 2021-11-02 04:39:18 +00:00
ArchiBot
13b28c38e3
Automatic translations update 2021-11-02 02:11:08 +00:00
Archi
3b5a07aab3
React appropriate to SIGINT (CTRL+C)
We're using custom console mechanism in order to implement interactive console, on top of that CTRL+C would not work when using IPC: true due to the fact that it doesn't trigger shutdown sequence, fix both of those problems by listening to SIGINT and exiting with code 130 upon receiving one

Tested on Linux
2021-11-01 18:55:58 +01:00
Archi
a77f0c1ad3
Update renovate.json5 2021-11-01 12:29:23 +01:00