aboutsummaryrefslogtreecommitdiff
path: root/launcher/java
AgeCommit message (Collapse)Author
2023-05-11fix: remove qt < 5.6 support process error signalRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-17Fix: signal/slot macro -> func pointer & network fixesRachel Powers
- convert qt connect calls to use function pointers instead of the signal/slot macros wherever practical (UI classes were mostly left alone, target was tasks and processes) - give signals an explicit receivers to use the static method over the instance method wherever practical - ensure networks tasks are using the `errorOccured` signal added in Qt5.15 over the deprecated `error` signal - ensure all networks tasks have an sslErrors signal connected - add seemingly missing `MinecraftAccount::authSucceeded` connection for `MSAInteractive` login flow Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-02-04Java installations detection fix for LinuxBalkanMadman
Signed-off-by: BalkanMadman <zurabid2016@gmail.com>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-10Merge pull request #397 from flowln/windows_mod_updater_fixes_maybeSefa Eyeoglu
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/226
2022-11-05Merge pull request #294 from piperswe/add-snapcraft-ymlSefa Eyeoglu
2022-11-04refactor: move MMCStrings -> StringUtilsflow
General utilities can go in here >:) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-01fix: don't use forward-declared Ptr types in meta/flow
This would cause ODR violations when those headers were included in other places that also included stuff like "Version.h" (note the "meta/Version.h"), which can cause problems, especially in LTO. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-10-26Add a snapcraft.yml for building SnapsPiper McCorkle
The included snapcraft.yml can be used to build a Snap (the application format used by Canonical's modern package manager) out of Prism. If the project wants in the future, Prism can publish these Snaps to the Snap Store so the Prism Launcher can be installed through the Ubuntu Software app on vanilla Ubuntu. I haven't registered the Snap name, so it's currently free for anyone to reserve. I'd suggest that a Prism developer register the name prismlauncher at https://snapcraft.io/register-snap to ensure the name belongs to the project, even if there are no plans of setting up CI to publish snaps in the short term. I have also modified JavaUtils.cpp to be able to autodetect the Java versions included in the Snap, and added "*.snap" to the .gitignore so the compiled Snap isn't accidentally committed to the repository. Signed-off-by: Piper McCorkle <contact@piperswe.me>
2022-10-22Use correct variable for WindowsAliceDTRH
Signed-off-by: AliceDTRH <57547425+AliceDTRH@users.noreply.github.com>
2022-10-22Deduplicates java installs before passing it onAliceDTRH
Signed-off-by: AliceDTRH <57547425+AliceDTRH@users.noreply.github.com>
2022-10-19RenameSamisafool
Signed-off-by: Samisafool <thenerdiestguy@gmail.com>
2022-10-18refactor: initial rebrandSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-11refactor: restructure testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-18use qEnvironmentVariable instead of qgetenv in JavaUtilsTayou
Signed-off-by: Tayou <tayou@gmx.net>
2022-08-18check for java installs in PATH on windowsTayou
this should find java installs from scoop as well as any other installer, that registers java in the PATH environment variable. Signed-off-by: Tayou <tayou@gmx.net>
2022-07-23Merge pull request #893 from Scrumplex/refactor-env-handlingtimoreo
2022-07-19fix: support LD_* for OpenBSDSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-19refactor: filter values in environment variablesSefa Eyeoglu
Before this change, you had to specify custom LD_* variables using the prefix GAME_LD_*. Now instead of dropping all LD_* variables by default, we should just filter them and remove the values we *know* are from our start script. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-19fix: fix Java Checker on Windows, againSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-16fix: fix memory leak on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-11fix: remove unnecessary code for WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-11fix: fix unicode issue with JavaChecker on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: set UNICODE and _UNICODE for Qt 5 buildsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: fix slots for Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: replace QRegExp with QRegularExpressionSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 5.15Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-03feat: resolve JARs dynamicallySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-06-14refactor: move away from UnitTest.cmakeSefa Eyeoglu
2022-04-04fix: properly detect arm64Victor
2022-03-29Merge pull request #360 from FayneAldan/patch-2dada513
2022-03-28Convert \s in Windows POLYMC_JAVA_PATHSFayne Aldan
Allows you to use either `\` or `/` on Windows
2022-03-27Fix POLYMC_JAVA_PATHS env not working on WindowsFayne Aldan
2022-01-24NOISSUE in java checker, ignore invalid lines altogetherPetr Mrázek
Declaring them as errors is just causing problems because Java randomly prints garbage to STDOUT now.
2022-01-15GH-4125 fix it betterPetr Mrázek
2022-01-15GH-4125 workaround for java printing garbage to stdout on bedrock linuxPetr Mrázek
2022-01-11Introduce POLYMC_JAVA_PATHS envMustafa Çalışkan
2022-01-11Sort java versions from current to oldestMustafa Çalışkan
2022-01-10More rebrandingswirl
Closes: #39 Mostly done with rebranding now. We just need to translate some services to PolyMC.
2021-12-31Merge remote-tracking branch 'upstream/develop' into upstream_updatedada513
2021-12-30Merge pull request #4345 from graemeg/freebsd-supportPetr Mrázek
Adds FreeBSD support to MultiMC
2021-12-28Flatpak & Debian Packaging (#4)dada513
Flatpak & Debian packages
2021-12-12Changes required to support FreeBSDGraeme Geldenhuys
2021-12-10GH-4000 Scan for Adoptium JREsNewoIsTaken
2021-11-28Merge pull request #4230 from NewoIsTaken/patch-1Petr Mrázek
GH-4224 Scan 64 bit lib directory to find Java
2021-11-22NOISSUE continue reshuffling the codebasePetr Mrázek
2021-11-21NOISSUE more refactoringPetr Mrázek
2021-11-21NOISSUE continue refactoring things to make tests passPetr Mrázek