aboutsummaryrefslogtreecommitdiff
path: root/libraries
AgeCommit message (Collapse)Author
2023-03-12Update `tomlplusplus` libraryKenneth Chew
Fix build on MinGW g++ 10 Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.com>
2023-03-05chore: bump ghc-filesystemSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-24license stuffkumquat-ir
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-12switch to qdcss for parsingkumquat-ir
make it not horrible to look at Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-01-24fix: update cmark to fix a CVEDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-01-12refactor: support system and bundled cmarkSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-12build: remove hoedown vendored sourceJoshua Goins
Signed-off-by: Joshua Goins <josh@redstrate.com>
2022-12-27refactor: use ECM logging categories insteadSefa Eyeoglu
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-12-27refactor: add logging category for credentialsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-19Merge pull request #291 from TheKodeToad/betterjavalauncherSefa Eyeoglu
2022-11-19Remove dirty printStackTrace hacksTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-19Make requested changes and utilise AssertionErrorTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-15chore: bump tomlplusplusSefa Eyeoglu
Should fix issues with builds on aarch64 Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-10Merge pull request #397 from flowln/windows_mod_updater_fixes_maybeSefa Eyeoglu
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/226
2022-11-08A lot more cleanupTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Revert switch to JUL for better coloursTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Always use this for consistencyTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Add StringUtils to CMakeLists.txtTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08More license fixingTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Remove last case of printStackTraceTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Implicit is generally preferedTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Try to use more standard exit codesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08More consistent logging textTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Fix the warnings properlyTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08More standard code formatting profileTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Just ignore empty linesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Remove arguments being passed twiceTheKodeToad
Passing the classpath into stdin has no effect. Java is already provided the classpath with -cp, which pretty much takes up the largest part of the arguments anyway, which leads me to wonder, what's the point of stdin arguments at all? Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08*opinionated change* Remove LauncherFactoryTheKodeToad
Factories in OOP are a classic example of over-enginneering. When you only have two launchers I personally think that it's not very useful. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08So turns out we can have nice thingsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Sorry for reverting a lot but copying a list just hurts meTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Attempt to mimic clang-formatTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Fix WrongMethodTypeException. Invoke exact don't work like thatTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Less needless verbosity, and return fallbackTheKodeToad
Needlessly verbose commit message ik. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Try to improve consistencyTheKodeToad
- Makes code formatting more consistent with the C++ codebase. Probably removes some trailing whitespace. Maybe it would be best to commit an Eclipse or IntelliJ code format preferences file? - Removes obscure suppressions. I personally think it's better to only suppress warnings that javac complains about. Suppressing a lot of non-standardised warnings (many of them turned off by default even in IntelliJ) just creates needless clutter. - Fixes some trivial warnings instead of suppressing them. serialVersionUID is sort of stupid, but I'd rather mentally ignore it or just fix it if it's really that annoying. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Fix license headerssolonovamax
- Update license headers in several files to remove multimc apache reference, when unneeded - LauncherFactory: we've entirely rewritten this class at this point, so it's fully under GPL code - Launcher: this interface contains zero logic, and only a single method named `launch`, so I doubt you can actually copyright that - LauncherProvider: same as above - ParseException, ParameterNotFoundException: same as above; this class contains almost no logic (And the logic that was added is under GPL) - ReflectionUtils, StringUtils: add license header - Everything else: modify the program name in the license header from "PolyMC - Minecraft Launcher" to "Prism Launcher" Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08More informative exceptions in entrypointsolonovamax
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08Cleanup launcher classessolonovamax
Cleanup a bunch of the code in launcher classes - Migrate the majority of the reflection to ReflectionUtils - Decrease logic in AbstractLauncher - Add logging to launcher classes at FINE level - make mcParams in AbstractLauncher an immutable list to prevent runtime manipulation - StandardLauncher instead copies the list to modify it Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08Get rid of gross HashMap being used by `LauncherFactory` and instead use ↵solonovamax
*fancy* enum Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08Cleanup splitting string into a pairsolonovamax
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08Make main staticTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me> Inline local variable Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Create launcher.impl.legacyTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Excessive safetyTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Remove the need for LegacyUtilsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Better variable namingTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Attempt to sort out copyright headersTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Fix formattingTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-11-08Code cleanup to net.minecraft.Launchersolonovamax
No code logic has been changed, only: - add @Override annotatons - change setVisible(boolean b) -> setVisible(boolean visible) - Change block commend on class -> javadoc comment Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08Cleanup EntryPoint codesolonovamax
- Don't return an int from listen(). An enum is preferred. - Make parseLine() static, and pass Parameters to it. Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08Code refactorssolonovamax
- Refactor LauncherFactory.LauncherProvider to LauncherFactory - Refactor all launcher related components to launcher package - some basic code cleanup - Rename all, allSafe -> getList and first, firstSafe -> getString - Rename Utils -> LegacyUtils Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
2022-11-08Get rid of singleton, and refactor LauncherFactory to be a static classsolonovamax
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>