Commit Graph

4979 Commits

Author SHA1 Message Date
Seth Flynn
53fbc39ad1 Use sharun to bundle AppImage (#4515) 2025-12-19 03:43:51 -05:00
Dylan Schooner
51b47050f9 Check specifically for GarbageAtEnd error
- Out parameter for garbage data\n- Rename parseUntilMalformed to parseUntilGarbage

Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-12-18 15:23:48 -05:00
Dylan Schooner
9c7fe72f9c Use Json::parseUntilMalformed in McClient::parseResponse
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-12-18 14:14:29 -05:00
Dylan Schooner
e1eee6e3ca Add Json::parseUntilMalformed helper
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-12-18 13:33:13 -05:00
Dylan Schooner
43fce3ae46 Trim unexpected info from pack.mcmeta
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-12-18 12:34:41 -05:00
Alexandru Ionut Tripon
018ff600f6 Use static image when opengl context is not available (#4509) 2025-12-18 13:21:00 +02:00
Seth Flynn
e39e59acb6 revert: "fix(launcher): set correct bin path for self-contained appimages"
Refs: b1b4b5d
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-12-17 23:53:47 -05:00
Seth Flynn
1d8bf82ef8 revert: "fix(appimage): launch external processes with bundled linker"
Refs: c305ed4
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-12-17 23:53:46 -05:00
Alexandru Ionut Tripon
3c570f9e9c Update launcher/ui/dialogs/skins/SkinManageDialog.cpp
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2025-12-16 20:56:41 +02:00
Tayou
5ebd386797 server player req: parse malformed json
ATM10 server seems to send a extra json object after the default response, that we need to cut off.
Signed-off-by: Tayou <git@tayou.org>
Co-authored-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-16 14:51:01 +01:00
Trial97
177e7b272b Use static image when opengl context is not available
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-16 13:36:28 +02:00
Seth Flynn
fc3c5cba30 Use multibyte encoding aware libarchive functions when dealing with filenames (#4457) 2025-12-15 08:09:25 -05:00
Rachel Powers
b40544dc55 fix: remove locale forcing as unnecessary
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-14 22:43:22 -07:00
Rachel Powers
c33d104dc3 fix leak of cloned entry (#4487) 2025-12-13 18:52:49 -07:00
Rachel Powers
95d2789199 fix archive detection (#4486) 2025-12-13 16:02:50 -07:00
Alexandru Ionut Tripon
66c9fafbe8 Use old ProjectItem highlight on Windows styles (#4466) 2025-12-14 00:56:30 +02:00
Alexandru Ionut Tripon
ed63a355b0 fix partial java download (#4472) 2025-12-14 00:55:05 +02:00
Alexandru Ionut Tripon
aa3d78b3dc Fix server columns text other than name being invisible (#4475) 2025-12-14 00:54:42 +02:00
TheKodeToad
caa69ee204 Allow http://localhost for meta (#4477) 2025-12-13 22:53:05 +00:00
Trial97
f05fd4da2b fix leak of cloned entry
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-14 00:20:24 +02:00
Trial97
e775629e1f fix archive detection
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-14 00:03:34 +02:00
TheKodeToad
d818f232e3 Allow http://localhost for meta
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-12 17:21:00 +00:00
Alexandru Ionut Tripon
9a505a07c0 Make page sidebar look less disjointed on breeze (#4465) 2025-12-12 14:51:36 +02:00
TheKodeToad
0d7244d56f Remove unused code
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-12 12:18:56 +00:00
TheKodeToad
7baac92f56 Fix server columns being totally invisible
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-12 12:07:19 +00:00
Trial97
0f7320ff1d fix partial java download
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-12 09:34:54 +02:00
Trial97
9cd199a49e fix use-afrer-free crash caused by QtConcurrent
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-12 09:00:30 +02:00
TheKodeToad
81f34be053 Use old ProjectItem highlight on Windows styles
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-11 15:46:31 +00:00
TheKodeToad
2b949d5fdd Make page container hug edges of dialog <3
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-11 14:07:02 +00:00
Trial97
808b09c403 improve archive detection
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-11 12:54:49 +02:00
Rachel Powers
28d27d4f19 refactor(MessageLevel): move and rename 'FromLine*' functions
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-11 09:59:33 -07:00
Rachel Powers
d1b6d7c402 chore: Re-simplify IndexVersionType and MessageLevel with c++20
This sets our compiler requirements to gcc 11 and clang 13. If we
forgo the use of `using enum` we can drop to gcc 10 and clang 10 but
that means using `MessageLevel::Enum::Unknown` for direct enum access

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-11 09:59:33 -07:00
Rachel Powers
5e7de6bc53 Apply suggestions from code review
Co-authored-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-10 22:01:36 -07:00
Seth Flynn
30f24dae11 fix(appimage): launch updater with bundled linker (#4425) 2025-12-10 23:30:21 -05:00
Seth Flynn
afe99948c2 fix(updater): re-use binPath to determine launcher binary path
Previously this would use the un-adjusted value from Qt, allowing it to
fail in edge cases like self-contained AppImages

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-12-10 22:23:09 -05:00
Seth Flynn
c305ed4506 fix(appimage): launch external processes with bundled linker
This ensures that external processes (including our updater and
Minecraft itself) maintain the same compatibility guarantees as the main
binary

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-12-10 22:23:01 -05:00
Alexandru Ionut Tripon
bc68192895 Expand variables in JVM args and add library_dir variable (#4427) 2025-12-09 21:09:03 +02:00
TheKodeToad
66c8afe4d3 Simplify implementation by removing some unused code
Only applies to cauldron loader which doesn't exist on Modrinth or
CurseForge, and doesn't even make sense for shaders.

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-09 11:42:17 +00:00
TheKodeToad
2477c4f021 Use FS::move instead; check new config does not exist
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-09 11:04:01 +00:00
Rachel Powers
87286fa6a3 fix(libarchive): use multibyte encoding aware libarchive functions when dealing with filenames
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-08 21:31:58 -07:00
TheKodeToad
826da57944 Properly rename shader config on update/version change
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-08 22:43:29 +00:00
Tayou
0e68ba900f fix log window margins (#4428)
closes #4428
Signed-off-by: Tayou <git@tayou.org>
2025-12-08 13:20:46 +01:00
TheKodeToad
4f5e348b66 Merge branch 'develop' into fix-log-level-bleed
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-08 09:21:27 +00:00
TheKodeToad
de5c7bac72 Simplify IndexedVersionType::VersionType -> IndexedVersionType
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 14:34:00 +00:00
TheKodeToad
fd3ae85d45 Simplify MessageLevel::Enum -> MessageLevel
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 13:15:22 +00:00
Octol1ttle
86fd58e6cb Apply suggestions from code review
Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2025-12-06 16:34:59 +05:00
Octol1ttle
04a405067d fix(LaunchController): correctly communicate if asking for offline name was successful
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2025-12-06 14:37:39 +05:00
TheKodeToad
c018b60816 Only continue log level if line starts with whitespace; reintroduce exception detection
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-05 12:38:21 +00:00
TheKodeToad
4ae0b3d898 Replace QDir("libraries/").absolutePath() with metacache solution
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-05 11:56:56 +00:00
TheKodeToad
cbf2f14b3f Add library_dir var
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-05 11:26:58 +00:00