Commit graph

480 commits

Author SHA1 Message Date
Octol1ttle
139da311ff run clang-format to apply new qualifier alignment
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit dde1d21cbc)
2026-02-25 08:04:49 +00:00
Octol1ttle
dce9cab56b feat(NewsDialog): save and restore geometry
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit d8a25f55e4)
2026-02-21 20:32:17 +00:00
Octol1ttle
b17b76bd5c
feat: allow overriding URL for downloading legacy FML libs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-18 00:16:24 +05:00
Alexandru Ionut Tripon
6653018403
[Backport release-10.x] refactor(console): attach console early (#5018) 2026-02-17 21:09:09 +02:00
Sefa Eyeoglu
e544616bb6
feat: cache news feed
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
(cherry picked from commit 2030b481bf)
2026-02-17 21:07:57 +02:00
Alexandru Ionut Tripon
a9a15a20ef
[Backport release-10.x] Make Minecraft resource URL override consistent with other overrides (#4877) 2026-02-17 21:01:49 +02:00
Alexandru Ionut Tripon
700a2ed7f6
[Backport release-10.x] Do not delete LaunchController before we're done using it (#4824) 2026-02-17 21:00:52 +02:00
Octol1ttle
e89ce1124a
refactor!!!: migrate from shared pointers
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 549405ab2f)
2026-02-17 20:23:05 +02:00
Alexandru Ionut Tripon
e2952b878d
Revert "Revert "[Backport release-10.x] refactor(console): attach console early"" 2026-02-13 08:37:36 +02:00
TheKodeToad
5105bf2957
Revert "[Backport release-10.x] refactor(console): attach console early (#4998)"
This reverts commit b178c1e84d.
2026-02-12 20:48:17 +00:00
Rachel Powers
b178c1e84d
[Backport release-10.x] refactor(console): attach console early (#4998)
refactor(console): attach console early

also use RAII guard to free it instead of tracking it with a member variable


(cherry picked from commit ffd50e318a)

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-02-10 20:15:05 -07:00
Octol1ttle
11e2c77eff got clang-format'd 💀
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 158a7bbc34)
2026-01-30 11:10:01 +00:00
Octol1ttle
8cfeb30c56 chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 584dc47da5)
2026-01-30 11:10:01 +00:00
Octol1ttle
2c782afcc4 refactor: make Minecraft resource URL override consistent with other overrides
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 3f0af19ed3)
2026-01-27 12:04:58 +00:00
Octol1ttle
e29523ec0d refactor+fix: do not delete LaunchController before we're done using it, unify code for handling LaunchController finishing
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 4b72870d49)
2026-01-20 14:25:19 +00:00
Trial97
b2e195a651 format the code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit 53acc60983)
2026-01-09 21:36:46 +00:00
Mark Deneen
bbc94272be Disable tooltips if using gamescope / Steam Deck. (#4096)
* Disable tooltips if using gamescope / Steam Deck.

On a Steam Deck, Prism Launcher's window is scaled to fit the screen.
Whenever a tool tip is shown, it is often display outside of the window,
causing the compositor to scale the view to fit the new bounding box.

This effect is quite jarring, and I don't like it.  This patch adds a
small global event filter which swallows up the tool tip events.  It is
currently not configurable, although I suppose that could be an option.

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Move tooltip filter addition from the Main Window to the Application.

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Add license information to new files

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Remove other authors, they should not have been added in the first place

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Correct the years as well

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Update launcher/ui/ToolTipFilter.cpp

Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Update launcher/ui/ToolTipFilter.h

Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

---------

Signed-off-by: Mark Deneen <mdeneen@gmail.com>
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
(cherry picked from commit 133842d6a8)
2026-01-09 20:14:02 +00:00
Seth Flynn
df172c0923 revert: "fix(launcher): set correct bin path for self-contained appimages"
Refs: b1b4b5d
Signed-off-by: Seth Flynn <getchoo@tuta.io>
(cherry picked from commit e39e59acb6)
2025-12-20 17:48:36 +01: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
TheKodeToad
fd3ae85d45
Simplify MessageLevel::Enum -> MessageLevel
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 13:15:22 +00:00
Seth Flynn
b1b4b5d38a
fix(launcher): set correct bin path for self-contained appimages
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-29 15:13:38 -05:00
DioEgizio
3ba24f3f09
Use security-scoped bookmarks for directory settings on macOS (#3616) 2025-11-21 18:34:43 +01:00
Alexandru Ionut Tripon
f93e21fa2d
deduplicate includes and reformat (#4228) 2025-11-16 18:12:52 +02:00
Kenneth Chew
efe1d71d35
Generate security-scoped bookmarks on startup
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:57 -05:00
Kenneth Chew
710789b701
Use security-scoped bookmarks to keep track of data directory settings on macOS
This enables sandboxed apps to maintain access to user-selected items. In addition, for both sandboxed and nonsandboxed apps it can keep track of directories even if they are moved or renamed, and can remember access to directories in "sensitive" locations (such as the Documents folder or external drives).

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:55 -05:00
Dylan Schooner
8d42bdaf6b Check return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)'
Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-10-30 03:15:14 -04:00
Edgars Cīrulis
91a02a1dc6
style: run-run clang-format on launcher/*
Signed-off-by: Edgars Cīrulis <e.cirulis@proton.me>
2025-10-14 04:05:56 +03:00
Edgars Cīrulis
577f9ca94c
style: remove duplicate #include headers
Signed-off-by: Edgars Cīrulis <e.cirulis@proton.me>
2025-10-14 04:03:02 +03:00
TheKodeToad
cd4f119e4b
Replace getThemedIcon with APPLICATION->logo()
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-09-19 00:07:05 +01:00
TheKodeToad
d7eddd3773
Replace IPathMatcher stuff with Filter
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-08-04 15:03:22 +01:00
clague
09ec3eb621
resolve problems
Signed-off-by: clague <93119153+clague@users.noreply.github.com>
2025-06-17 00:25:34 +08:00
clague
4bf6e59f3b
feat: add ability to change assets download server
Signed-off-by: clague <93119153+clague@users.noreply.github.com>
2025-06-17 00:25:33 +08:00
Yihe Li
836c558c6c
Merge branch 'develop' into launcher-log-page 2025-06-06 21:36:03 +08:00
Tayou
9cdfeb5fcd
add options to change the cat scalling (#3380) 2025-06-06 14:23:39 +02:00
Yihe Li
25907ea8c6
Forgot to reset pointer to nullptr
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 23:22:49 +08:00
Yihe Li
dea8de01e3
Merge branch 'develop' into launcher-log-page 2025-06-05 23:20:46 +08:00
Yihe Li
d77889f26d
Change log to be a QMainWindow
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 23:15:55 +08:00
Yihe Li
c57ba911cf
Remove unnecessary QObject::
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 21:41:06 +08:00
Yihe Li
ef3bf75715
Remove some duplicate code
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 16:15:29 +08:00
Yihe Li
e4a801fdf7
Use separate window for viewing logs
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 07:18:13 +08:00
Yihe Li
1aa8d7bc13
Reuse OtherLogsPage directly
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-03 15:44:17 +08:00
Yihe Li
289645266a
Add support for view older launcher logs
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-03 06:08:32 +08:00
Yihe Li
c58cc3396a
Basic support for launcher log page
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-03 04:51:41 +08:00
Trial97
8c0ba43838
add options to change the cat scalling
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 15:15:17 +03:00
Alexandru Ionut Tripon
52fa074ff7
Make column visibility global (#3748) 2025-06-02 12:45:03 +03:00
Trial97
a29b189056
feat: make the visibility per resource
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:56:03 +03:00
Trial97
8c710fb8de
chore: migrate map settings to json string
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:56:03 +03:00
TheKodeToad
edb1020dce
Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-06-02 09:52:05 +01:00
Trial97
89be378ef6
chore: add miggrate qbytearray settings to qstring
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:40:48 +03:00
Trial97
6177fa0148
feat: make resource header config global
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 11:40:48 +03:00