Commit graph

398 commits

Author SHA1 Message Date
353e9527c2
Remove standalone logging system comment
All checks were successful
PRs & Pushes / build (push) Successful in 2m31s
PRs & Pushes / build-apidoc (push) Successful in 2m30s
2024-12-15 19:22:47 +01:00
86dd1e4520
Integrate logging subproject into base subproject
All checks were successful
PRs & Pushes / build (push) Successful in 3m25s
PRs & Pushes / build-apidoc (push) Successful in 3m24s
2024-12-15 19:22:25 +01:00
2cfc8cad9d
Add verification pass to updateDefaultPaths method
Some checks failed
PRs & Pushes / build (push) Failing after 1m39s
PRs & Pushes / build-apidoc (push) Failing after 1m49s
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
All checks were successful
PRs & Pushes / build (push) Successful in 2m7s
PRs & Pushes / build-apidoc (push) Successful in 2m22s
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
ba412cec50
Initial rewrite commit (see #17)
Some checks failed
build-and-test / build (push) Failing after 1m54s
build-and-test / generate-javadoc (push) Failing after 1m54s
build-and-test / test (push) Failing after 1m54s
2024-12-12 23:10:29 +01:00
1e978e3146
Add toString() method to VersioningSystem
Some checks failed
build-and-test / build (push) Failing after 2m21s
build-and-test / test (push) Failing after 17m14s
build-and-test / generate-javadoc (push) Failing after 17m30s
2024-12-08 00:10:15 +01:00
499d704695
Add <reset_correct> tag to logging system
Some checks failed
build-and-test / build (push) Failing after 1m6s
build-and-test / test (push) Failing after 1m11s
build-and-test / generate-javadoc (push) Failing after 1m14s
2024-12-05 15:37:37 +01:00
f76878f067
Add ability to disable log message sanitization
Some checks failed
build-and-test / test (push) Failing after 1m19s
build-and-test / generate-javadoc (push) Failing after 1m21s
build-and-test / build (push) Failing after 1m23s
2024-12-04 22:22:40 +01:00
a392e8eb48
Fix directory handling, add more content listing methods
Some checks failed
build-and-test / build (push) Failing after 1m34s
build-and-test / generate-javadoc (push) Failing after 1m36s
build-and-test / test (push) Failing after 1m34s
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
Some checks failed
build-and-test / test (push) Failing after 1m31s
build-and-test / build (push) Failing after 1m35s
build-and-test / generate-javadoc (push) Failing after 1m33s
2024-12-03 21:46:46 +01:00
8126b3ab83
Fix MiscellaneousTest failing tests
Some checks failed
build-and-test / build (push) Failing after 1m37s
build-and-test / generate-javadoc (push) Failing after 1m39s
build-and-test / test (push) Failing after 1m46s
2024-12-02 21:41:38 +01:00
a7dabfb923
Add FileAccess#move and FileAccess#copy methods
Some checks failed
build-and-test / build (push) Failing after 1m27s
build-and-test / test (push) Failing after 1m35s
build-and-test / generate-javadoc (push) Failing after 1m40s
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
Some checks failed
build-and-test / generate-javadoc (push) Failing after 1m36s
build-and-test / test (push) Failing after 1m34s
build-and-test / build (push) Failing after 1m38s
2024-12-02 20:59:47 +01:00
571d600b09
Fix NPE in stacktraceAsStringRecursive method
Some checks failed
build-and-test / build (push) Failing after 1m23s
build-and-test / generate-javadoc (push) Failing after 1m26s
build-and-test / test (push) Failing after 1m29s
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
Some checks failed
build-and-test / build (push) Failing after 1m57s
build-and-test / generate-javadoc (push) Failing after 2m1s
build-and-test / test (push) Failing after 2m1s
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
All checks were successful
build-and-test / test (push) Successful in 1m40s
build-and-test / generate-javadoc (push) Successful in 1m46s
build-and-test / build (push) Successful in 1m49s
2024-11-10 17:59:21 +01:00
dde8972feb
Remove unused logTemplate config setting
All checks were successful
build-and-test / test (push) Successful in 1m4s
build-and-test / build (push) Successful in 1m15s
build-and-test / generate-javadoc (push) Successful in 1m21s
2024-11-09 14:37:32 +01:00
7cf9a4f418
Remove all old shortcode converter references
Some checks failed
build-and-test / test (push) Successful in 1m17s
build-and-test / build (push) Successful in 1m47s
build-and-test / generate-javadoc (push) Failing after 1m45s
2024-11-05 21:16:42 +01:00
ea93d12151
Move the very internal shutdown event to the non-internal events package
Some checks failed
build-and-test / build (push) Has been cancelled
build-and-test / generate-javadoc (push) Has been cancelled
build-and-test / test (push) Has been cancelled
2024-11-05 21:15:30 +01:00
c533a06148
Overhaul engine init procedure + add new placeholder
Some checks failed
build-and-test / build (push) Successful in 1m17s
build-and-test / generate-javadoc (push) Failing after 1m21s
build-and-test / test (push) Successful in 1m30s
2024-11-05 21:13:30 +01:00
4281f946be
Fix Javadoc generation issues
Some checks failed
build-and-test / generate-javadoc (push) Failing after 1m4s
build-and-test / build (push) Successful in 1m16s
build-and-test / test (push) Successful in 1m15s
2024-11-05 03:07:34 +01:00
5021f2cc35
Remove testing Logger#crash call
Some checks failed
build-and-test / build (push) Failing after 46s
build-and-test / test (push) Failing after 53s
build-and-test / generate-javadoc (push) Failing after 1m4s
2024-11-05 02:57:52 +01:00
edd28bef2f
Make getArguments return an immutable list
Some checks failed
build-and-test / test (push) Failing after 58s
build-and-test / generate-javadoc (push) Failing after 1m0s
build-and-test / build (push) Failing after 1m3s
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
All checks were successful
build-and-test / build (push) Successful in 1m4s
build-and-test / test (push) Successful in 1m16s
build-and-test / generate-javadoc (push) Successful in 1m22s
2024-11-03 18:54:27 +01:00
2730aa0f61
Add forced early engine init stage check
Some checks failed
build-and-test / build (push) Failing after 1m22s
build-and-test / test (push) Successful in 1m18s
build-and-test / generate-javadoc (push) Failing after 1m21s
2024-11-03 18:42:42 +01:00
ed1c8b9d3e
Add FileAccess class for filesystem access
Some checks failed
build-and-test / generate-javadoc (push) Failing after 1m18s
build-and-test / build (push) Failing after 1m22s
build-and-test / test (push) Successful in 1m30s
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
All checks were successful
build-and-test / build (push) Successful in 1m33s
build-and-test / test (push) Successful in 1m30s
build-and-test / generate-javadoc (push) Successful in 1m34s
2024-10-16 13:06:24 +02:00
0d5f19ee31
Rename and update errorShortcodeConverter setting
All checks were successful
build-and-test / test (push) Successful in 57s
build-and-test / build (push) Successful in 1m17s
build-and-test / generate-javadoc (push) Successful in 1m18s
2024-10-15 13:16:59 +02:00
8456e92a52
Fix EngineConfiguration test
All checks were successful
build-and-test / test (push) Successful in 1m15s
build-and-test / generate-javadoc (push) Successful in 1m31s
build-and-test / build (push) Successful in 1m33s
2024-10-15 04:07:08 +02:00
d0a68b22d2
Fix Javadoc documentation 2024-10-15 04:07:01 +02:00
cdd68833cb
Fix double Engine initialization 2024-10-15 03:29:13 +02:00
2f0bc19e7c
Update/Fix engine init exception handling + errors
Some checks failed
build-and-test / generate-javadoc (push) Failing after 1m6s
build-and-test / build (push) Failing after 1m11s
build-and-test / test (push) Has been cancelled
2024-10-14 15:48:54 +02:00
9d19dd8b57
Remove ShortcodeParser debug logging 2024-10-14 15:47:56 +02:00
5e829771a7
Rename LogLevel -> LogLevelEvent
The source code now looks better :)
2024-09-28 21:46:20 +02:00
0075b465cd
Update Javadoc and class constructors 2024-09-28 21:45:09 +02:00
46b52173fd
Remove HSV from Color class description
Some checks failed
build-and-test / build (push) Failing after 28s
build-and-test / generate-javadoc (push) Failing after 31s
build-and-test / test (push) Successful in 49s
2024-09-28 17:54:06 +02:00
26294b3fa0
Add Color class
Some checks failed
build-and-test / build (push) Failing after 30s
build-and-test / generate-javadoc (push) Failing after 46s
build-and-test / test (push) Successful in 49s
2024-09-28 17:08:35 +02:00
f81d27060a
Add 4D vectors 2024-09-28 17:08:27 +02:00
dd4ebcd88a
Mark all arrays as @NotNull
Some checks failed
build-and-test / build (push) Failing after 46s
build-and-test / generate-javadoc (push) Failing after 44s
build-and-test / test (push) Successful in 58s
2024-09-28 16:59:45 +02:00
02aa744098
Rename de.staropensource.sosengine package
All checks were successful
build-and-test / test (push) Successful in 1m4s
build-and-test / build (push) Successful in 1m21s
build-and-test / generate-javadoc (push) Successful in 1m27s
2024-09-27 23:16:25 +02:00
a4224f9c51
Fix copyright notice copyright attribution
Some checks failed
build-and-test / generate-javadoc (push) Has been cancelled
build-and-test / build (push) Has been cancelled
build-and-test / test (push) Has been cancelled
2024-09-27 23:02:16 +02:00
38d8deefa7
Fix @since tags
All checks were successful
build-and-test / test (push) Successful in 1m30s
build-and-test / build (push) Successful in 1m36s
build-and-test / generate-javadoc (push) Successful in 1m35s
2024-09-22 13:48:33 +02:00
b675a5ffb2
[noci] Change wording in Substrate VM error message 2024-09-21 21:09:24 +02:00
796eb9c8f9
Fix Javadoc API generation warnings and errors
All checks were successful
build-and-test / build (push) Successful in 1m27s
build-and-test / test (push) Successful in 1m23s
build-and-test / generate-javadoc (push) Successful in 1m36s
2024-09-21 21:01:57 +02:00
a9125c9bea
How did this get into the code? 2024-09-21 20:48:03 +02:00
3d3f21e217
Rename setting 'optimizeSubsystemInitialization'
Some checks failed
build-and-test / build (push) Failing after 1m7s
build-and-test / generate-javadoc (push) Failing after 1m6s
build-and-test / test (push) Successful in 1m24s
2024-09-21 17:24:27 +02:00
a00fdea6f5
Add initialization error when running in Substrate VM 2024-09-21 17:22:17 +02:00
0fed87328a
Shorten width of variable descriptions 2024-09-21 17:21:17 +02:00
0fbfe8f4e3
Add support for disabling classpath scanning
This commit however does not implement support for Substrate VM/native-image,
which I've already tested. Sad.
2024-09-21 17:20:14 +02:00
ebbc1778ae
Fix crashes not shutting down engine 2024-09-21 17:09:42 +02:00
a9cfc8c810
Add static Tristate#toTristate method 2024-09-21 17:08:59 +02:00
45f02bdd5a
Add de.staropensource.sosengine.dynamic package 2024-09-21 17:08:41 +02:00
c14e34cd81
Rename fix InvalidMethodSignatureException naming 2024-09-20 18:35:59 +02:00
c473c27298
Inline EventHelper#logCall
All checks were successful
build-and-test / test (push) Successful in 2m41s
build-and-test / build (push) Successful in 3m11s
build-and-test / generate-javadoc (push) Successful in 3m12s
2024-09-20 17:10:50 +02:00
54b7b9a695
Remove code duplication (returns in conf classes) 2024-09-20 17:10:33 +02:00
5766072fd7
Make Tristate#toBoolean no longer static
All checks were successful
build-and-test / test (push) Successful in 1m25s
build-and-test / build (push) Successful in 1m42s
build-and-test / generate-javadoc (push) Successful in 1m41s
2024-09-07 16:52:17 +02:00
b49ff9a569
Fix crash reporter exception (yes really) 2024-09-07 16:51:55 +02:00
f342555b8a
Update API documentation 2024-09-07 16:51:37 +02:00
9be753b4df
[no ci] Update module-info.java comments 2024-09-07 16:51:10 +02:00
104e378856
Move testing infrastructure into separate subproject
All checks were successful
build-and-test / test (push) Successful in 1m17s
build-and-test / build (push) Successful in 1m35s
build-and-test / generate-javadoc (push) Successful in 1m45s
2024-09-05 01:15:36 +02:00
4bbc1fd683
Add more documentation to loggerPollingSpeed setting
All checks were successful
build-and-test / test (push) Successful in 1m50s
build-and-test / build (push) Successful in 2m2s
build-and-test / generate-javadoc (push) Successful in 2m3s
2024-09-05 00:47:24 +02:00
770c9b5c6e
Add LoggingThread#getState method 2024-09-05 00:47:12 +02:00
c9bf6126a0
Rename LoggingThread#startLoggingThread method 2024-09-05 00:47:04 +02:00
e21ea102c7
Fix Javadoc warnings 2024-09-05 00:39:34 +02:00
21973ffe6c
Move logging thread-related stuff into separate class 2024-09-05 00:36:50 +02:00
390a5cd227
Fix newline identation in crash reports
All checks were successful
build-and-test / test (push) Successful in 1m32s
build-and-test / generate-javadoc (push) Successful in 1m35s
build-and-test / build (push) Successful in 1m38s
2024-09-04 22:26:43 +02:00
4f7a741088
The unmet dependencies map is now a list 2024-09-04 22:26:13 +02:00
2b9487f2a9
Add dependency cycle detection, fix tests
All checks were successful
build-and-test / build (push) Successful in 1m33s
build-and-test / test (push) Successful in 1m34s
build-and-test / generate-javadoc (push) Successful in 1m40s
2024-09-04 19:55:32 +02:00
48b0126e5c
Nuke DependencySubsystemVector.Builder inner class
All checks were successful
build-and-test / test (push) Successful in 1m28s
build-and-test / build (push) Successful in 1m34s
build-and-test / generate-javadoc (push) Successful in 1m33s
2024-09-04 17:20:24 +02:00
9b97390a9c
Fix DependencyResolver tests
All checks were successful
build-and-test / test (push) Successful in 1m37s
build-and-test / build (push) Successful in 1m41s
build-and-test / generate-javadoc (push) Successful in 1m42s
2024-09-04 17:04:19 +02:00
6c3c449416
Correct DependencyResolver behaviour 2024-09-04 17:04:12 +02:00
9cd888299f
remove old code why did i commit this to the repo 2024-09-04 17:03:48 +02:00
07cbbb9bb3
Fix VersioningSystem and versioning system tests javadoc
Some checks failed
build-and-test / test (push) Failing after 1m13s
build-and-test / build (push) Successful in 1m42s
build-and-test / generate-javadoc (push) Successful in 1m42s
2024-09-04 17:03:06 +02:00
8caafd6d01
Fix assertions in DependencyResolverTest
Some checks failed
build-and-test / test (push) Failing after 53s
build-and-test / build (push) Successful in 1m14s
build-and-test / generate-javadoc (push) Successful in 1m19s
2024-09-01 21:51:39 +02:00
0252776195
Fix warnings and duplicate check 2024-09-01 21:50:25 +02:00
6785ec64d3
Add TestBase#performMethodCalls method
All checks were successful
build-and-test / test (push) Successful in 1m38s
build-and-test / build (push) Successful in 1m48s
build-and-test / generate-javadoc (push) Successful in 2m39s
2024-09-01 21:33:38 +02:00
fbcb00c481
Add failure test to DependencyResolverTest
All checks were successful
build-and-test / test (push) Successful in 1m15s
build-and-test / build (push) Successful in 1m26s
build-and-test / generate-javadoc (push) Successful in 1m25s
2024-09-01 21:21:26 +02:00
25c9f45817
Rewrite test control and configuration code
All checks were successful
build-and-test / test (push) Successful in 2m20s
build-and-test / generate-javadoc (push) Successful in 2m24s
build-and-test / build (push) Successful in 2m26s
2024-09-01 21:20:47 +02:00
d4c8494b34
Silence engine startup and shutdown messages in tests
All checks were successful
build-and-test / test (push) Successful in 1m24s
build-and-test / build (push) Successful in 1m35s
build-and-test / generate-javadoc (push) Successful in 1m45s
2024-09-01 19:01:44 +02:00
889d106470
Rename loggerImplementation in Logger class
All checks were successful
build-and-test / test (push) Successful in 1m16s
build-and-test / generate-javadoc (push) Successful in 1m30s
build-and-test / build (push) Successful in 1m33s
2024-09-01 16:58:49 +02:00
c33e3d3e27
Remove test layers four and five
All checks were successful
build-and-test / test (push) Successful in 1m26s
build-and-test / generate-javadoc (push) Successful in 1m35s
build-and-test / build (push) Successful in 1m37s
2024-09-01 16:40:17 +02:00
dedcdad002
Fix Javadoc generation warnings and errors
Some checks failed
build-and-test / test (push) Failing after 53s
build-and-test / build (push) Successful in 1m10s
build-and-test / generate-javadoc (push) Successful in 1m19s
2024-08-31 22:35:02 +02:00
483afa1e45
Rename and nuke a few exceptions
Some checks failed
build-and-test / build (push) Failing after 1m0s
build-and-test / generate-javadoc (push) Failing after 59s
build-and-test / test (push) Failing after 1m7s
2024-08-31 22:24:22 +02:00