Commit graph

9465 commits

Author SHA1 Message Date
Archi
fefcf12f2f
Change default farming order to hours ascending 2021-11-11 22:47:31 +01:00
Archi
ff85a88b42
Implement auto-migration of old bot database properties 2021-11-11 22:28:34 +01:00
Archi
c01a2ba863
Closes #2368
iq -> fq
ib -> fb
bl -> tb
2021-11-11 22:07:21 +01:00
Archi
66344a1a3d
Fix netf again and again
Bless madness
2021-11-11 20:14:32 +01:00
Archi
260875da7e
Use shared Random across ASF
This also removes PublicAPI of ASF's "shared random"
2021-11-11 19:34:21 +01:00
Archi
951d9dc99f
Remove internal chmod +x after update
According to the .NET 6.0 ZipFile changes, .NET can now preserve chmod +x after extracting archive, so this "workaround" should no longer be needed
2021-11-11 18:41:52 +01:00
ArchiBot
0c8d77b3d9
Automatic translations update 2021-11-11 02:09:13 +00:00
Archi
f5f5c810dc
Update README.md 2021-11-11 02:07:57 +01:00
Archi
8e045fdf71
Update README.md 2021-11-11 02:06:28 +01:00
Archi
71089a4953
Remove functions marked as obsolete 2021-11-11 01:57:08 +01:00
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 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 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