Commit Graph

9455 Commits

Author SHA1 Message Date
Archi
d1fc7ebb74 Use C# 10 string interpolation wherever possible 2021-11-11 01:53:34 +01:00
Archi
60376c4d93 Bring up new Madness alpha3 to fix netf 2021-11-11 01:17:49 +01:00
Archi
ff8074aeb6 Use simplified hashing functions 2021-11-11 00:41:38 +01:00
Archi
a9249a90f6 Remove TrimMode declaration
"link" should be default in .NET 6.0+
2021-11-11 00:22:03 +01:00
Archi
cc85b681f7 Bump 2021-11-10 22:37:13 +01:00
Archi
d1e8794fe3 I won 5.2.0.3 2021-11-10 22:05:08 +01:00
Archi
258ad17930 Apply Rider inspections
Want to bet at least one will break netf?
2021-11-10 21:54:15 +01:00
Archi
52b32315cc Update .editorconfig 2021-11-10 21:49:42 +01:00
Archi
d46e532458 Code cleanup 2021-11-10 21:47:42 +01:00
Archi
1e6ab11d9f Use file-scoped namespaces 2021-11-10 21:23:24 +01:00
Archi
95ad16e26d Revert "Set EnableCompressionInSingleFile"
This reverts commit ae3a60759a.
2021-11-10 21:05:39 +01:00
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 5.2.0.2 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
5.2.0.1
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
5.2.0.0
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