Sebastian Göls
0c125db118
Happy new year! ( #2809 )
2023-01-25 15:43:12 +01:00
JustArchi
772607b680
Use recommended async dispose pattern
...
Funny enough, non-breaking API changes since all of those classes are sealed.
2022-06-19 18:24:52 +02:00
Sebastian Göls
b8bfcd5df3
Simplify LogNullError calls ( #2554 )
...
* Remove necessity of nameof(...) in calls to ArchiLogger.LogNullError(...)
* Upgrade Madness
* Upgrade Madness
* Split up compound null log statements
2022-04-13 23:16:36 +02:00
Archi
ec78ad1ac2
Add overflow-related fixes and improvements
2022-04-02 16:00:07 +02:00
Archi
1809028c77
Rider cleanup
2022-01-06 20:22:38 +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
1e6ab11d9f
Use file-scoped namespaces
2021-11-10 21:23:24 +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
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
Łukasz Domeradzki
965d3050a5
Address new Rider inspections (EAP) ( #2418 )
2021-10-01 01:21:09 +02:00
Łukasz Domeradzki
bb513921f1
Include ASF's windows-only parts only in generic and windows builds ( #2404 )
...
* Include ASF's windows-only parts only in generic and windows builds
* Apply Abry's note
2021-08-13 23:07:17 +02:00
Archi
de0ee3a497
Make use of latest Madness 1.1.0 features
2021-08-10 17:09:46 +02:00
Archi
aa7fce300d
Use new OperatingSystem API for OS detection
...
Supporting netf gets harder every day...
2021-08-05 21:17:42 +02:00
Archi
d479eb9f97
Address Rider EAP inspections/cleanup
2021-07-12 21:45:17 +02:00
Archi
1a3b436216
Mis
2021-07-03 14:25:13 +02:00
Archi
d01a26e48a
OS: Add FreeBSD support inside ASF code
...
#2129
2021-06-21 11:47:20 +02:00
JustArchi
e60b54e402
Refactor EVERYTHING
...
Directories structure + namespaces relevant to them
2021-05-08 01:37:22 +02:00
JustArchi
daf37c723c
Document all the pragmas, final code corrections
2021-05-07 23:56:45 +02:00
JustArchi
90ff43dc98
Resolve CA1508
2021-05-07 16:49:02 +02:00
JustArchi
45a5fec95a
Happy 2021
...
And let's hope it'll be better than 2020
2021-01-03 22:24:22 +01:00
JustArchi
d890a6b345
Misc
...
No reason for ICrossProcessSemaphore to be IDisposable
2020-11-16 00:52:43 +01:00
JustArchi
e82560259b
Final code cleanup
2020-11-14 22:37:00 +01:00
JustArchi
60ae4977da
Initial code cleanup
2020-11-11 16:51:31 +01:00
Łukasz Domeradzki
35f4651ed6
.NET 5.0 ( #1999 )
...
* Initial work
* Fix CIs
* Fix warnings
* Update .travis.yml
* Update dockerfiles
* Update libraries to .NET 5.0
* Misc
* Remove workaround for #1812
* Update cc.sh
* CI updates
* CI updates
* Update .travis.yml
2020-11-10 23:22:57 +01:00
JustArchi
b3d476dea4
Round 2 of nullable checks
2020-08-23 20:45:24 +02:00
Łukasz Domeradzki
9fc1ea65a5
Closes #1543 ( #1944 )
...
* Start working on nullable checks
help me
* Update GlobalConfig.cs
* Finish initial fixup round
* nullability code review
2020-08-22 21:41:01 +02:00
JustArchi
2cab6c82e4
Closes #1849
2020-06-16 10:04:51 +02:00
JustArchi
fe71dc8a99
Remove one finally too much
2020-05-22 10:45:48 +02:00
JustArchi
94637d4a91
Avoid excessive objects allocation
2020-05-22 10:35:07 +02:00
JustArchi
1c18fab68e
Also chmod the directory for CrossProcessFileBasedSemaphore
2020-05-21 23:31:07 +02:00
JustArchi
42b59cd066
Update CrossProcessFileBasedSemaphore.cs
2020-05-21 23:09:53 +02:00
JustArchi
a47b85ff85
Allow CrossProcessFileBasedSemaphore to sleep asynchronously
2020-05-21 23:08:02 +02:00
JustArchi
0f1b3f05f9
Implement CrossProcessFileBasedSemaphore in place of CrossProcessMutexBasedSemaphore
...
Hopefully this one works better
2020-05-21 23:02:04 +02:00