Commit graph

371 commits

Author SHA1 Message Date
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
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
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
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
377c71dfba
Extend testapp build.gradle.kts 2024-12-13 03:10:15 +01:00
ba412cec50
Initial rewrite commit (see #17) 2024-12-12 23:10:29 +01:00
1e978e3146
Add toString() method to VersioningSystem 2024-12-08 00:10:15 +01:00
499d704695
Add <reset_correct> tag to logging system 2024-12-05 15:37:37 +01:00
f76878f067
Add ability to disable log message sanitization 2024-12-04 22:22:40 +01:00
a392e8eb48
Fix directory handling, add more content listing methods 2024-12-04 01:01:17 +01:00
a7c02cc9c2
Update logging calls in FileAccess 2024-12-04 01:00:06 +01:00
f7c130d66e
Fix FileAccess#move and FileAccess#copy 2024-12-03 21:46:46 +01:00
8126b3ab83
Fix MiscellaneousTest failing tests 2024-12-02 21:41:38 +01:00
a7dabfb923
Add FileAccess#move and FileAccess#copy methods 2024-12-02 21:39:28 +01:00
de6b5f76f2
Add getPathRaw() and toString() methods 2024-12-02 21:34:59 +01:00
19f6838300
Fix engine initialization exception handling 2024-12-02 21:34:35 +01:00
8d5cb0ce23
Add more default directories 2024-12-02 21:34:24 +01:00
ed1c1d3b1a
Add 'level' and 'origin' log features 2024-12-02 20:59:47 +01:00
571d600b09
Fix NPE in stacktraceAsStringRecursive method 2024-12-02 02:31:04 +01:00
a2a19c03aa
Fix Javadoc issues 2024-12-01 16:39:52 +01:00
45ec057457
Rename some Miscellaneous methods, add stacktraceAsStringRecursive 2024-11-24 15:39:48 +01:00
64f48a472f
Perform code maintenance
Please note that this commit may not fully compile as I'm currently working on a rendering subsystem rewrite.
2024-11-24 13:28:15 +01:00
69cf668c4d
Heavily improve API doc of EngineConfiguration class 2024-11-10 17:59:21 +01:00
dde8972feb
Remove unused logTemplate config setting 2024-11-09 14:37:32 +01:00
7cf9a4f418
Remove all old shortcode converter references 2024-11-05 21:16:42 +01:00
ea93d12151
Move the very internal shutdown event to the non-internal events package 2024-11-05 21:15:30 +01:00
c533a06148
Overhaul engine init procedure + add new placeholder 2024-11-05 21:13:30 +01:00
4281f946be
Fix Javadoc generation issues 2024-11-05 03:07:34 +01:00
5021f2cc35
Remove testing Logger#crash call 2024-11-05 02:57:52 +01:00
edd28bef2f
Make getArguments return an immutable list 2024-11-05 02:55:28 +01:00
7c0b7e1e90
Rewrite logging infrastructure
This commit changes the following things inside the logging infrastructure:
- passing issuerClass, issuerOrigin and issuerMetadata is no longer required, relevant information is now being pulled from the stack
- split huge classes into multiple smaller ones
- separated "normal" and asynchronous logging classes
- simplified logging
- improved performance
- more detailed crash reporting
- regex-based filtering
- internal placeholders have been replaced with more lightweight method calls
- much more changes
2024-11-05 02:54:50 +01:00
0966a43d5e
Fix Javadoc generation issues 2024-11-03 18:54:27 +01:00
2730aa0f61
Add forced early engine init stage check 2024-11-03 18:42:42 +01:00
ed1c8b9d3e
Add FileAccess class for filesystem access 2024-11-03 18:40:48 +01:00
d3a01c2c66
Allow throwing all exceptions during engine init
Due to some Java limitation we are required to throw a RuntimeException with our original exception contained within and afterwards unwrap it so we can throw any exception we like. That is dumb.
2024-11-03 18:40:19 +01:00
a21ef1bc5f
Fix variable name convention 2024-11-03 18:32:40 +01:00
a619746e8d
Update abstract class constructor API doc 2024-10-30 22:32:03 +01:00
01ea995177
Add missing package-info.java class 2024-10-16 13:06:24 +02:00
643bda6c28
Update maven repository URL 2024-10-15 13:53:16 +02:00