Commit graph

593 commits

Author SHA1 Message Date
bec621e410
Hopefully fix paths on Windoze? 2024-12-17 15:57:11 +01:00
5e1dd3fc35
Add more properties to Environment class
Will probably add more tomorrow
2024-12-17 04:29:20 +01:00
d5a03c885b
Add support for macOS
Just had to install macOS in a VM using QuickEmu (many thanks to them!) to add support for this. After installing it, creating an Apple account just to download Xcode, install OpenJDK using Homebrew and then using JShell and some searching I can confidently say that I find it hilarious that this piece of garbage exists. No keyboard shortcuts work (likely because of that Command key thingy), everything is clunky as hell and nothing really makes sense. How can anybody use this piece of overpriced shit? Anyway, for these four rich kiddies which want to run their favourite game on their parent's Macbook can do that now.

In case you need to install shitOS too: https://github.com/quickemu-project/quickemu/wiki/03-Create-macOS-virtual-machines
They make it incredibly easy to do, so big shoutouts to them!
2024-12-17 03:55:07 +01:00
bf449971e9
Finalize FileAccess tests 2024-12-17 03:26:52 +01:00
c13eaead94
Fix FileAccess for good, add new 2 verify methods 2024-12-17 03:26:39 +01:00
32816ecce1
Split TestBase's methods & add more functionality 2024-12-17 03:24:50 +01:00
ce535fdca6
Add test job to commit workflow 2024-12-16 02:45:36 +01:00
560c01100f
Update FileAccess tests 2024-12-16 02:37:16 +01:00
ce7bd233b6
Make FileAccess.createLink accept FileAccess' only 2024-12-16 02:37:09 +01:00
f0c43d7b53
Add 'noFollowSymbolicLink' argument to 'exists' 2024-12-16 02:36:55 +01:00
f7855afc3e
Add symbolic link and void file handling 2024-12-16 02:36:20 +01:00
6389aaa5d0
Remove never working hard link detection 2024-12-16 02:34:53 +01:00
0f49fff498
Remove FileAccess.isHidden method 2024-12-16 02:33:51 +01:00
f43f9b6e2e
Delete scheduled directories on shutdown 2024-12-16 02:33:14 +01:00
4d7474ae22
Add .kotlin directory to .gitignore 2024-12-16 02:33:02 +01:00
479c965c1a
Move LoggerThreadingHandler, support start & stop 2024-12-16 02:32:50 +01:00
31c015dc65
Add default engine-core channel 2024-12-15 22:34:05 +01:00
a655dec583
Add unit testing 2024-12-15 22:33:31 +01:00
6b201fd0e0
do many fun things (see commit desc)
This commit adds a few shutdown methods, the EngineConfiguration class (pretty much the LoggingConfiguration class with properties renamed and one added), a new adapter, support for multiple adapters per channel and better communication between the logging system and the engine.
2024-12-15 20:11:26 +01:00
353e9527c2
Remove standalone logging system comment 2024-12-15 19:22:47 +01:00
86dd1e4520
Integrate logging subproject into base subproject 2024-12-15 19:22:25 +01:00
c540060bcd
Remove traces of StackTraceElement class 2024-12-15 19:20:24 +01:00
2b8cf723f6
Add crash handler and add various optimizations 2024-12-15 19:16:43 +01:00
2cfc8cad9d
Add verification pass to updateDefaultPaths method 2024-12-15 13:50:53 +01:00
1fc337d9b8
Make engine more resilient against init crashes 2024-12-15 13:50:36 +01:00
6f998f4e33
Update NonKotlinContact targets 2024-12-15 13:50:09 +01:00
ae5ba252a5
Move logger interfaces and classes to correct pkg 2024-12-15 13:49:38 +01:00
e6b5ead361
[noci] Add toolchain skip note 2024-12-15 01:17:52 +01:00
8393818043
Add FileAccess class with many exceptions
The FileAccess class is an almost 1:1 rewrite of the old FileAccess class from v1-alpha9, just with some method names changed, a set of "verify" methods, no setPosixPermissions method anymore and wrapper exceptions around Java exceptions to avoid direct contact with Java stuff for public API. See the NonKotlinContact annotation for more information.
The old FileAccess class (for reference): 1e978e3146/base/src/main/java/de/staropensource/engine/base/utility/FileAccess.java
2024-12-15 01:15:50 +01:00
56152536f9
Add Environment class 2024-12-15 01:12:07 +01:00
eea7f5f4af
Add Engine.State, Engine.bootstrap & Engine.shutdown 2024-12-15 01:11:22 +01:00
1e40c8b121
Add NonKotlinContact annotation 2024-12-15 01:09:58 +01:00
e76b0e72ff
Fix padding of dates and times in log format 2024-12-15 01:06:05 +01:00
ef692a31d5
No kotlin multiplatform
While running the engine on multiple of Kotlin's supported platforms would
be cool, the standard library is just way too limited for our usecase. The
JVM simply has the best support and is the most suited option.
This would reap additional benefits:
- Java, Scala and Groovy interoperability
- existing Java libraries and tooling can be (re)used
- compilation using native-image may be possible under the new rewrite (which would replace the need for Kotlin/Native)
2024-12-13 21:52:08 +01:00
92b36f30e2
Rename TwoCycleFormatterBase -> TwoCycleFormatterImpl 2024-12-13 18:36:27 +01:00
da0040fb02
Add & update package-info files 2024-12-13 18:36:27 +01:00
9b5d12203f
Make private secondary constructors the primaries 2024-12-13 18:36:27 +01:00
fe2edbf3c1
Fix link
For anywone wondering: The last commit (f8ec8e282d) was authored by me. I authored it on the go on Forgejo's web interface, that's why it is unsigned.
2024-12-13 18:36:27 +01:00
f8ec8e282d Fix icon size on mobile devices 2024-12-13 09:24:09 +01:00
aef292f55c
Add project properties how-to-use explanation 2024-12-13 03:45:59 +01:00
b243a22e53
Fix index references 2024-12-13 03:41:54 +01:00
7fd83872de
Update README.md 2024-12-13 03:40:58 +01:00
3b1d60f41c
Shorten JVM options 2024-12-13 03:35:55 +01:00
0a30180d00
Fix artifact names 2024-12-13 03:16:50 +01:00
b56164f545
Add 'java.skipToolchainSpecification' option 2024-12-13 03:13:38 +01:00
f6238067fd
Update workflows 2024-12-13 03:10:28 +01:00
377c71dfba
Extend testapp build.gradle.kts 2024-12-13 03:10:15 +01:00
c78cb4eb75
Use string templates 2024-12-13 02:59:35 +01:00
083bd022bc
Add Kotlin compiler configuration 2024-12-13 02:59:25 +01:00
5fb6046e5f
[noci] Update README icon size 2024-12-12 23:11:25 +01:00