876 Commits

Author SHA1 Message Date
Trial97
fa6e6012c4 chore(clang-tidy): modernize the code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-31 19:54:16 +03:00
Trial97
68c77a586a remove extra ResourceDownloadDialogs
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-31 18:49:06 +03:00
Trial97
97f9da8336 remove extra encapsulations
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-31 18:49:06 +03:00
Vishrut Sachan
a552f0b712 Use blockSignals instead of manual flag for programmatic text changes
Signed-off-by: Vishrut Sachan <vishrutsachan2004@gmail.com>
2026-07-28 07:22:56 +05:30
Vishrut Sachan
de21e92365 Don't override instance name if user edits it
Signed-off-by: Vishrut Sachan <vishrutsachan2004@gmail.com>
2026-07-27 19:27:09 +05:30
Vishrut Sachan
791f233199 Auto-fill instance name instead of using wildcard
Signed-off-by: Vishrut Sachan <vishrutsachan2004@gmail.com>
2026-07-27 14:56:06 +05:30
Vishrut Sachan
7ac67265b3 Show suggested name hint directly in the name field placeholder
Signed-off-by: Vishrut Sachan <vishrutsachan2004@gmail.com>
2026-07-26 08:39:46 +05:30
Vishrut Sachan
a452a2c8ce Add wildcard support to instance name field
Signed-off-by: Vishrut Sachan <vishrutsachan2004@gmail.com>
2026-07-25 22:40:35 +05:30
Octol1ttle
cb1c1d1fc3 feat: add Modrinth meta header dependent_on
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-07-24 16:34:56 +05:00
Trial97
7f277bb1fd fix: enable the installed modloader
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-20 19:18:41 +03:00
Trial97
6211625a1e fix: crash when trying to install a disabled modloader
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-20 19:18:41 +03:00
Tayou
803115cfde add category selector to icon picker dialog (#4397) 2026-06-04 17:58:00 +00:00
Tayou
502a5175e2 fix category filtering
I have no idea how this worked at all when I made the commit originally, but it works now, just as well as it did on the prior commit.

Further improvements, using subfolders and other metadata will be in another PR.
Signed-off-by: Tayou <git@tayou.org>
2026-06-04 19:07:24 +02:00
Trial97
6699d3eca0 clang-tidy: clang-analyzer-*
This commit aims to fix all clang-analyzer-* warnings from clang-tidy.
Here is the list of the ones found in project:
    "clang-analyzer-core.uninitialized.UndefReturn",
    "clang-analyzer-deadcode.DeadStores",
    "clang-analyzer-optin.core.EnumCastOutOfRange",
Some exceptions:
  clang-analyzer-cplusplus.NewDeleteLeaks -> may need to disable it as
is a false positive
  clang-analyzer-optin.cplusplus.VirtualCall -> may need to disable it
(or refactor a bunch of code to drop the virtual from those functions)

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-13 10:20:26 +03:00
Trial97
bac959bc6f chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-09 23:26:21 +03:00
Trial97
97d570b343 chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
Trial97
a63048d7e2 chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
Trial97
ca721f9d67 add special modrinth header
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
Alexandru Ionut Tripon
5f7aa2fbdb fix change version (#5504) 2026-05-07 11:28:13 +00:00
Trial97
b174dec0d2 fix change version triggering an intial search
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-07 08:31:49 +03:00
Trial97
4463c21c98 chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-07 08:31:49 +03:00
TheKodeToad
4f58197edb changed "Ok" to "OK" (#5331) 2026-05-05 09:21:29 +00:00
Tayou
bbd8c1e745 use custom QSortFilterProxyModel impl
Signed-off-by: Tayou <git@tayou.org>
2026-05-04 15:40:38 +02:00
Tayou
0c4c8703a3 rename IconPickerCategory and make public
Signed-off-by: Tayou <git@tayou.org>
2026-05-04 15:40:06 +02:00
Tayou
74308fcaa5 add category selector to icon picker dialog
it uses some regex shenanigans for this, probably not ideal, idk if theres a good way to filter the icons without adding extra metadata or storing them in subfolders

Signed-off-by: Tayou <git@tayou.org>
2026-05-04 15:40:06 +02:00
Octol1ttle
b9fa4ffc00 fix(ProgressDialog): allow finished tasks to be re-displayed once restarted
Cherry-picked from libcurl (lmao)

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-04-16 22:04:43 +05:00
oosh
f2c5916205 changed "Ok" to "OK"
Signed-off-by: oosh <ovtennakoon@gmail.com>
2026-04-10 10:23:18 +10:00
morsz
2219c37d7f 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>
2026-04-10 02:19:28 +02: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
DioEgizio
63a8b43119 chore: clang-format
Signed-off-by: DioEgizio <dioegizio@protonmail.com>
2026-03-27 07:24:15 +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
Octol1ttle
3a48d13c07 feat(NetworkJobFailedDialog): implement URL copying
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-26 10:46:37 +05:00
TheKodeToad
4bc72ccca4 My tweaks
Use a tree view instead of table view, remove toggle button (janky)

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-03-26 10:46:37 +05:00
TheKodeToad
e6d7e5cdae Backport new NetJob failure dialog from Octol1ttle's libcurl PR
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-03-26 10:46:37 +05:00
Octol1ttle
838687fb2e fix: log error if file open/commit fails
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-23 01:07:05 +05:00
DioEgizio
e524fa5b6b fix: allow disabling gl and vulkan features with an envvar and disable it by default on appimage/portable
the previous approach didn't work with runtime symbol lookup errors

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2026-03-20 17:03:07 +01:00
Rachel Powers
67fe365ae0 chore: clang-tidy work adjacent to changelog api fix
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-03-16 14:58:20 -07:00
Seth Flynn
352b98db8e Enable warnings as errors (#5101) 2026-03-06 07:42:39 +00:00
Alexandru Ionut Tripon
b114d043f6 Use an owning QByteArray in ByteArraySink (#5050) 2026-03-02 16:53:22 +00:00
Octol1ttle
ec4b36b299 Fix compiler warnings
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-26 17:49:11 +05:00
Octol1ttle
a3eba815dd fix backface culling reenabling with elytra preview
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-24 12:17:51 +05:00
DioEgizio
d33a27656c NewsDialog: Save and restore geometry (#5077) 2026-02-21 20:11:16 +00:00
Octol1ttle
3422fa5c5a fix(SkinOpenGLWindow): do not enable backface culling
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-21 12:36:59 +05:00
Octol1ttle
d8a25f55e4 feat(NewsDialog): save and restore geometry
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-21 00:21:53 +05:00
TheKodeToad
316121ba8f Use an owning QByteArray in ByteArraySink
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-18 00:31:05 +00:00
Alexandru Ionut Tripon
71abf3beec Download game files during instance creation (#4944) 2026-02-17 20:23:06 +00:00
TheKodeToad
1ad0628ca3 fix(SkinManageDialog): add missing QMenu include (#5015) 2026-02-12 21:49:42 +00:00
Alfred Wingate
67836213c5 fix(SkinManageDialog): add missing QMenu include
launcher/ui/dialogs/skins/SkinManageDialog.cpp: In member function ‘void SkinManageDialog::show_context_menu(const QPoint&)’:
launcher/ui/dialogs/skins/SkinManageDialog.cpp:344:18: error: variable ‘QMenu myMenu’ has initializer but incomplete type
  344 |     QMenu myMenu(tr("Context menu"), this);
      |                  ^~

Include appears to have been dropped transitively in either
0ba2c09787 or 45df360e4c

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2026-02-12 23:26:27 +02:00
DioEgizio
c0c9185a09 fix(macos): fix margins on macos (#4977) 2026-02-12 20:37:02 +00:00
Octol1ttle
f59e5b2df9 change: set abort button to "Skip" when downloading game files
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-10 22:42:19 +05:00