Commit graph

5392 commits

Author SHA1 Message Date
Octol1ttle
7c8c352b7f change(EnsureAvailableMemory): rephrase warning message
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit ae331cfc9a)
2026-04-15 21:13:03 +00:00
Octol1ttle
24856bfa59 fix(EnsureAvailableMemory): do not warn if available memory could not be read
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 575be16d3e)
2026-04-15 21:13:03 +00:00
Alexandru Ionut Tripon
7fd468db85
[Backport release-11.x] Fix infinite loop in SkinManageDialog (#5399) 2026-04-14 20:37:11 +03:00
Alexandru Ionut Tripon
54073dcb73
[Backport release-11.x] fix: force metadata version list refreshes to reload (#5398) 2026-04-14 20:36:18 +03:00
Alexandru Ionut Tripon
1af7c0247d
[Backport release-11.x] fix pessimizing-move warning (#5396) 2026-04-14 20:35:11 +03:00
Alexandru Ionut Tripon
6143d5bd50
[Backport release-11.x] Task: Warn when disposing while running (#5395) 2026-04-14 20:33:14 +03:00
Octol1ttle
c6dc8267c1 fix(SkinList): do not consider non-png files correctly
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit d5db0c6c1b)
2026-04-14 17:25:58 +00:00
morsz
f6cb9daf99 fix: force metadata version list refreshes to reload
manual refreshes on version selection screens could reuse cached metadata and skip downloading updated manifests, so new versions would not appear until Prism was restarted. pass an explicit forced reload through the shared version list loading path and use it from refresh actions so manual refresh always reloads metadata

Signed-off-by: morsz <morsz@morsz.dev>
(cherry picked from commit 2219c37d7f)
2026-04-14 17:12:59 +00:00
Andrei Damian
938f579a84 fix pessimizing-move warning
Signed-off-by: Andrei Damian <andreidaamian@gmail.com>
(cherry picked from commit ac54df366b)
2026-04-14 17:12:42 +00:00
Octol1ttle
11df688cb4 change(Task): warn when disposing while running
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit ae7e143537)
2026-04-14 17:12:42 +00:00
Octol1ttle
aa8897f95e fix(ScreenshotsPage): fix QString::arg in string with no arguments
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 1fec781251)
2026-04-14 17:12:01 +00:00
Octol1ttle
56d2a21132 fix(ScreenshotsPage): disable "Copy Image" when selecting multiple screenshots
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 08de904e21)
2026-04-14 17:12:01 +00:00
Octol1ttle
a3c0b364b5 refactor(ScreenshotsPage): clang-tidy
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 7a1d2e41a1)
2026-04-14 17:12:01 +00:00
Octol1ttle
4f63f31e49 fix(ScreenshotsPage): use correct selection collection
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 1b650622ea)
2026-04-14 17:12:01 +00:00
Octol1ttle
add3d01f84 fix(updater): do not reset current task in finished signal
The order of signals in case of a success is "succeeded"->"finished"

The "succeeded" signal may launch another download if the updater needs to fetch more pages
But if we reset the task then the newly started download will be disposed and the updater will softlock

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 9b270f783e)
2026-04-12 08:40:20 +00:00
Trial97
6d38b34c00 enable modpack changelog for modrinth page
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit f3ff0a730a)
2026-04-11 05:37:04 +00:00
Trial97
239be1ec43 fix pack upgrade
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit b7344af313)
2026-04-10 17:31:48 +00:00
Octol1ttle
fb7e4da4e6 Change LowMemWarning default to always enabled
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 4b3aedd5d0)
2026-04-10 09:31:16 +00:00
Octol1ttle
f766cdd847 change(EnsureAvailableMemory): add lenience
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 658a1391f8)
2026-04-10 09:31:16 +00:00
Octol1ttle
789c656463 feat: allow disabling low RAM warning
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit c044ed36af)
2026-04-10 09:31:16 +00:00
Alexandru Ionut Tripon
2d01dfa4f2
[Backport release-11.x] fix McClient (#5344) 2026-04-10 00:50:18 +03:00
Alexandru Ionut Tripon
9231fe8592
[Backport release-11.x] Don't count JAR mods when checking offline libraries (#5343) 2026-04-10 00:49:58 +03:00
Octol1ttle
09f0467e81 refactor: McClient
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 91616ae9b6)
2026-04-09 21:06:40 +00:00
Octol1ttle
fe02ad8524 fix(McClient): do not use unsigned type for response length
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 2fe0569bd6)
2026-04-09 21:06:40 +00:00
Octol1ttle
f66796e806 fix: don't count JAR mods when checking offline libraries
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit ec4484282c)
2026-04-09 20:56:32 +00:00
Octol1ttle
960e1bac87 fix(PrintInstanceInfo): add break before OS info
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 4cf8cf7d18)
2026-04-09 20:46:36 +00:00
Felix Schnabel
68efc9b9df
Fix Flame recommended RAM check
Signed-off-by: Felix Schnabel <f.schnabel@tum.de>
2026-04-06 17:59:27 +02:00
DioEgizio
b0f7ae1223
Add back drag and dropping to screenshots page (#5300) 2026-04-03 21:10:02 +00:00
Octol1ttle
29c4f2f0e8
LaunchController: replace Q_ASSERT_X with regular Q_ASSERT
the info specified in the where/what arguments isn't more helpful compared to the default output of Q_ASSERT

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-04-03 21:22:24 +05:00
Octol1ttle
ad325960e7
LaunchController: clang-tidy
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-04-03 21:21:44 +05:00
Octol1ttle
c367cc1c59
LaunchController: fix double finish
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-04-03 21:15:37 +05:00
leia uwu
35526b53f9
Add back drag and dropping to screenshots page
Fixes #4548

And #1503 was technically fixed when drag and drop was disabled but can also be closed as this does not reintroduce the issue

Signed-off-by: leia uwu <leia@tutamail.com>
2026-04-03 12:24:05 -03:00
Trial97
087ffb26ba
clang-tidy: fix warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-04-03 14:39:27 +03:00
Trial97
8427626e56
add modrinth pre-release support to flexVer implementation
extended the flexVer implementation to consider any space that is after
a numeric section as a pre-release.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-04-03 13:59:06 +03:00
Trial97
5a0931d3cf
fix heap overflow with unstable version comparation
fixes #5210
fixes #5251 (the removeDuplicates line)

The issue was mostly with the Version parsing and compring
implementation.
Refactored that based on the https://git.sleeping.town/exa/FlexVer
examples.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-04-03 13:59:06 +03:00
0x189D7997
c58562a304
Allow selecting multiple items in Network Error dialog
Signed-off-by: 0x189D7997 <199489335+0x189D7997@users.noreply.github.com>
2026-04-02 13:20:03 +00:00
Alexandru Ionut Tripon
a3c5f1f6f2
Fix weird utf archive (#5186) 2026-04-02 09:55:40 +00:00
Trial97
0689e58ca2 fixes crash on servers with invalid packet
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-04-01 11:28:10 +03:00
DioEgizio
1450ffca18
fix incorrect mod side beeing saved (#5283) 2026-03-31 18:46:02 +00:00
Trial97
fbc45699c1
fix incorrect mod side beeing saved
fixes #5262

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-31 00:46:46 +03:00
Trial97
83d82c2519
fix world import
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-30 23:52:48 +03:00
Seth Flynn
17048a586a
Use Launcher_ENVName for launcher environment variable names (#5226) 2026-03-29 06:56:04 +00:00
DioEgizio
63a8b43119 chore: clang-format
Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-03-27 07:24:15 +01:00
DioEgizio
eb44bdc3b3 fix: fix PRISMLAUNCHER_JAVA_PATHS
also set Launcher_ENVName as parent scope directly

Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-03-26 22:07:02 +01:00
Alexandru Ionut Tripon
c7fd66cf97
Revert "Sort modpack entries by version, rather than publishing date" (#5243) 2026-03-26 18:05:19 +00:00
Alexandru Ionut Tripon
1b05e33202
do not delete mod on cancel (#5238) 2026-03-26 18:04:58 +00:00
DioEgizio
1ea0c7570f fix: dehardcode PRISMLAUNCHER_JAVA_PATHS too
Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-03-26 18:33:44 +01:00
DioEgizio
bf42cfdcf2 fix: rename LAUNCHER_DISABLE_GLVULKAN to PRISMLAUNCHER_DISABLE_GLVULKAN
for consistency with other env vars

this also introduces LAUNCHER_ENVNAME in BuildConfig/program_info for rebranded configurations

Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-03-26 18:33:44 +01:00
Alexandru Ionut Tripon
5ad45a4098
Warn user on launch if there is not enough available RAM (#5249) 2026-03-26 17:00:48 +00:00
Alexandru Ionut Tripon
9f5f1bcf10
Enable automatic update checking by default (#5259) 2026-03-26 16:09:48 +00:00