Commit graph

255 commits

Author SHA1 Message Date
d1fa759d0a
Ensure engine shutdown after running tests
All checks were successful
build-and-test / test (push) Successful in 3m27s
build-and-test / generate-javadoc (push) Successful in 3m30s
build-and-test / build (push) Successful in 4m28s
2024-08-21 21:26:25 +02:00
6a2a18095b
Fix Javadoc warnings
Some checks failed
build-and-test / generate-javadoc (push) Successful in 3m48s
build-and-test / test (push) Failing after 4m1s
build-and-test / build (push) Successful in 4m23s
2024-08-21 21:19:22 +02:00
b4f5829375
Add PrintStreamService (implements #5)
Some checks failed
build-and-test / build (push) Failing after 1m46s
build-and-test / test (push) Failing after 3m25s
build-and-test / generate-javadoc (push) Failing after 3m27s
2024-08-21 19:35:05 +02:00
b3968d8469
Fix typo Notifiying -> Notifying
Some checks failed
build-and-test / build (push) Failing after 3m18s
build-and-test / generate-javadoc (push) Failing after 3m53s
build-and-test / test (push) Failing after 3m51s
2024-08-21 13:53:57 +02:00
d06f8a3dc3
Move ShutdownHandler code into EngineInternals
Some checks failed
build-and-test / build (push) Failing after 3m21s
build-and-test / generate-javadoc (push) Failing after 3m14s
build-and-test / test (push) Failing after 3m12s
2024-08-21 13:51:21 +02:00
5284dfe17b
Remove 1s thread sleep
Some checks failed
build-and-test / build (push) Failing after 2m46s
build-and-test / generate-javadoc (push) Failing after 2m3s
build-and-test / test (push) Failing after 2m57s
2024-08-21 01:51:13 +02:00
8ea4594e6f
Revert "Removed safety shutdown hook again"
Found a fix.
This reverts commit f880122add.
2024-08-21 01:50:49 +02:00
f880122add
Removed safety shutdown hook again
Some checks failed
build-and-test / test (push) Successful in 3m37s
build-and-test / generate-javadoc (push) Failing after 2m50s
build-and-test / build (push) Failing after 1m40s
2024-08-21 01:43:08 +02:00
2fedc981af
Add shutdown hook functionality (broken, #6)
Some checks failed
build-and-test / generate-javadoc (push) Failing after 1m54s
build-and-test / build (push) Failing after 2m6s
build-and-test / test (push) Failing after 2m26s
Doesn't really work right now, will likely be removed
2024-08-21 01:40:45 +02:00
5718f33d88
Fix PlaceholderEngine usage in Logger.java
All checks were successful
build-and-test / test (push) Successful in 2m22s
build-and-test / build (push) Successful in 2m29s
build-and-test / generate-javadoc (push) Successful in 2m27s
2024-08-20 22:32:21 +02:00
ae790dbd18
Flush logs before printing crash report 2024-08-20 21:45:41 +02:00
ca3bf94a48
Prevent allocation in loops
All checks were successful
build-and-test / test (push) Successful in 1m52s
build-and-test / generate-javadoc (push) Successful in 2m5s
build-and-test / build (push) Successful in 2m7s
2024-08-20 20:25:46 +02:00
ad7b3568cf
Add config setting for toggling newline support
All checks were successful
build-and-test / test (push) Successful in 1m58s
build-and-test / build (push) Successful in 2m7s
build-and-test / generate-javadoc (push) Successful in 2m21s
2024-08-19 20:28:40 +02:00
48c326ad71
[no ci] Remove breakpoint instruction 2024-08-19 20:28:13 +02:00
fb82c9c4b0
Rework logger placeholder replacement, add newline support
All checks were successful
build-and-test / build (push) Successful in 1m52s
build-and-test / test (push) Successful in 1m54s
build-and-test / generate-javadoc (push) Successful in 1m58s
This commit reworks how placeholders work in Logger.java and adds support for printing multiple lines.
2024-08-19 20:17:55 +02:00
54cde09be3
Update test configuration in other build.gradle files
All checks were successful
build-and-test / test (push) Successful in 1m44s
build-and-test / generate-javadoc (push) Successful in 1m58s
build-and-test / build (push) Successful in 2m0s
2024-08-19 02:59:11 +02:00
43e038d3ec
Add correct @since tag to ListFormatter
All checks were successful
build-and-test / test (push) Successful in 1m33s
build-and-test / build (push) Successful in 1m40s
build-and-test / generate-javadoc (push) Successful in 4m18s
2024-08-19 02:49:46 +02:00
9ff4f96814
Remove many unused warning supressions
Why did I add this to every single class file in the first place...?
2024-08-19 02:49:00 +02:00
ed9c94f17c
Added hacky way for controlling the execution of tests
All checks were successful
build-and-test / test (push) Successful in 1m38s
build-and-test / build (push) Successful in 1m43s
build-and-test / generate-javadoc (push) Successful in 6m58s
2024-08-19 02:06:26 +02:00
03d53fc997
Fix Javadoc issues
All checks were successful
build-and-test / test (push) Successful in 1m33s
build-and-test / build (push) Successful in 1m39s
build-and-test / generate-javadoc (push) Successful in 1m53s
2024-08-18 19:47:41 +02:00
eb108495ea
Add option to fail doc when Javadoc throws a warning
Some checks failed
build-and-test / build (push) Failing after 1m21s
build-and-test / generate-javadoc (push) Failing after 1m25s
build-and-test / test (push) Successful in 1m26s
2024-08-18 19:34:15 +02:00
736dbed1f3
Remove weird @author and @since tags from base package-info.java
All checks were successful
build-and-test / build (push) Successful in 1m35s
build-and-test / test (push) Successful in 1m38s
build-and-test / generate-javadoc (push) Successful in 1m46s
2024-08-18 18:29:22 +02:00
99e0f77fd1
How THE FUCK does this not have @since in it's jd?!?! 2024-08-18 13:03:42 +02:00
05b9644eba
Set java source and target versions
This commit also introduces a warning when running the engine on a Java version higher than the engine source is on
2024-08-18 10:49:46 +02:00
081ac106f4
DependencyResolver rewrite, likely broken
This seems to work, but it probably has lots of bugs as I can't really test it efficiently. Need to write unit tests for this, aw man...

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
So we back in the mine
Got our pickaxe swinging from side to side
Side-side to side
This task, a grueling one
Hope to find some diamonds tonight, night, night
Diamonds tonight

Heads up
You hear a sound, turn around and look up
Total shock fills your body
Oh, no, it's you again
I can never forget those eyes, eyes, eyes
Eyes-eye-eyes

'Cause, baby, tonight
The creeper's tryna steal all our stuff again
'Cause, baby, tonight
You grab your pick, shoval and bolt again (Bolt again-gain)
And run, run until it's done, done
Until the sun comes up in the morn'
'Cause, baby, tonight
The creeper's tryna steal all our stuff again (Stuff again-gain)

Just when you think you're safe
Overhear some hissing from right behind
Right-right behind
THat's a nice life you have
Shame it's gotta end at this time, time, time
Time-time-time-time

Then your health bar drops and you could use a one-up
Get inside, don't be tardy
So, now you're stuck in there
Half a heart is left, but don't die, die, die
Die-die-die

'Cause, baby, tonight
The creeper's tryna steal all our stuff again
'Cause, baby, tonight
You grab your pick, shovel and bolt again (Bolt again-gain)

(Creepers, you're mine, haha)
Dig up diamonds and craft those diamonds
And make some armor, get it, baby
Go and forge that like you so MLG pro
The sword's made of diamonds, so come at me, bro, huh
Training in your room under the torchlight
Hone that form to get you ready for the big fight
Every single day and the whole night
Creeper's out prowlin', hoo, alright
Look at me, look at you
Take my revenge, that's what I'm gonna do
I'm a warrior, baby, what else is new?
And my blade's gonna tear through you, bring it

'Cause, baby, tonight
The creeper's tryna steal all our stuff again
(Gather your stuff, yeah, let's take back the world)
Yeah, baby, tonight (Haha)
Grab your sword, armor and go (It's on)
Take your revenge (Woo), oh-oh, oh-oh
So fight, fight, like it's the last, last night
Of your life, life, show them your bite (Woo)

'Cause, baby, tonight
The creeper's tryna steal all our stuff again
'Cause, baby, tonight
You grab your pick, shovel and bolt again (Bolt again-gain, woo)
And run, run until it's done, done
Until the sun comes up in the morn'
'Cause, baby, tonight (Come on, swing your sword up high)
The creeper's tryna steal all our stuff again (Come on, jab your sword down low)
(Woo)
2024-08-17 21:57:10 +02:00
72b40613b8
Escape crash message and stacktrace placeholders
This prevents warnings about '<init>' "tags" found in call stacks, or because of unescaped messages.
2024-08-17 21:37:45 +02:00
db52346168
Add check for invalid version strings 2024-08-17 14:09:27 +02:00
e8ec0ed530
Fix EngineInformation#versioningString being invalid 2024-08-17 14:09:03 +02:00
58b9b268a1
Update DependencyVector
This commit introduces a "Builder" nested class, adds a way to specify which other vector a vector provides and includes a few smaller changes to DependencyVectors.
This commit does not work at the moment as I'm in the process of rewriting the DependencyResolver to work correctly, as it should.
2024-08-17 13:26:12 +02:00
468e206fab
Add QuietLoggerImplementation, which does nothing 2024-08-17 12:42:05 +02:00
8f12e8b0c8
Add InitLogger and startup logging 2024-08-17 12:41:53 +02:00
78b12dee67
Remove duplicate 2024-08-17 11:55:25 +02:00
1713c9c8a8
Finalize ListConverter
after two months, it finally works
2024-08-12 20:51:37 +02:00
747d08d354
Rename git and gradle properties files
Useful in case the application bundles it's own files to avoid engine crashes and file name conflicts
2024-08-03 17:13:01 +02:00
34f61211d3
Fix maven publishing 2024-08-01 03:17:22 +02:00
2fc0f53b5d
Update overview.html & add ANSI theme.css symlink 2024-08-01 03:01:37 +02:00
669be13dfa
Enable publishing for :graphics and :graphics:glfw 2024-08-01 03:00:56 +02:00
9db7f20c2e
Rename PropertyParser -> PropertiesReader 2024-07-31 21:05:09 +02:00
611d4b823e
Update crash content 2024-07-31 15:03:33 +02:00
1a56f42287
Document processCrashContent, add List support 2024-07-31 15:03:00 +02:00
c984974252
Implement logic for logging thread control
The logging thread now automatically starts or shuts down based on EngineConfiguration#optimizeLogging and Engine#state == EngineState.RUNNING
2024-07-31 15:02:29 +02:00
bd70b17236
Add engine state 2024-07-31 15:00:54 +02:00
f0c19010d9
Add ShutdownHandlers 2024-07-31 13:55:35 +02:00
a261d7914e
Update order of SuppressWarnings & other annotations 2024-07-31 04:20:05 +02:00
d406fa0e3d
Add additional newline to {@inheritDoc} multiliners 2024-07-31 04:07:51 +02:00
02001103d6
Align @throws and @param properly 2024-07-31 04:04:24 +02:00
8792813e34
Remove unecessary ReflectionField#invoke() method 2024-07-31 04:03:52 +02:00
5187b37e53
Add missing LogOrigin placeholder 2024-07-31 04:03:25 +02:00
6a821145a6
Fix log formatting 2024-07-31 04:03:01 +02:00
f383261ed9
MASSIVE CODE CHANGE
tl;dr I changed many Javadoc comments, some code, removed dumb or unused stuff and revamped the entire logging infrastructure by yeeting out LogIssuer and CodePart and much, much more
2024-07-31 03:53:44 +02:00