aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages
AgeCommit message (Collapse)Author
2023-05-21fix: memory leak, set parent so it's in tree to get cleaned up.Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-12Merge branch 'develop' into fix/network_and_signalsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-06Merge pull request #950 from DioEgizio/resize-settingsSefa Eyeoglu
fix: divide minecraftpage into tabs
2023-05-06Update launcher/ui/pages/global/MinecraftPage.uiDioEgizio
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-05-02Merge pull request #833 from Ryex/advanced_copy_instanceSefa Eyeoglu
2023-04-28chore: remove FTB modpack supportSefa Eyeoglu
We have been contacted by Feed the Beast to drop support for the FTB modpack browser from Prism Launcher. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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-04-08fix: load setting state with page. don't translate "..."Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-02fix: no loops in watch paths! >:(Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-02fix: Apply suggestions from code review Rachel Powers
-expand columspan on new UI element -improve tooltip Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-27feat: add setting to watch recursivelyRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-25divide minecraftpage into tabsDioEgizio
this way small screen users can use the launcher settings without having window a bigger than their actual screens Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-03-20feat: warnings when instance resources are linkedRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-14fix: add mnemonic to downloads directory settingSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-03-13feat: Add setting for downloads directoryJanrupf
Closes #641 Signed-off-by: Janrupf <business.janrupf@gmail.com>
2023-03-09Merge pull request #896 from TheKodeToad/modrinth-tokenSefa Eyeoglu
2023-03-07Fix another duplicate name :facepalm:TheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-07(hopefully) Fix duplicates namesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-07Apply flowln's suggestion :)TheKodeToad
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-05Merge pull request #853 from kumquat-ir/nilSefa Eyeoglu
NilLoader mod metadata support
2023-03-02Prism-ify more license headersTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-02Merge branch 'PrismLauncher:develop' into modrinth-tokenTheKodeToad
2023-03-02Merge pull request #788 from flowln/other_resource_downloaders_twoSefa Eyeoglu
Add resource pack, texture pack and shader pack downloaders
2023-03-02Move Modrinth before CurseForge for consistencyTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-02fix: change wording of TP/RP download buttonsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-03-01Add linkTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-01Allow custom Modrinth API tokenTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-01Merge pull request #735 from Scrumplex/import-componentSefa Eyeoglu
2023-02-13do not create nilmods folderkumquat-ir
"it cant be that easy" - me, clueless Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-11nilmods instance pagekumquat-ir
mostly copied from the coremod page impl Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2023-02-05chore: add my copyright headersflow
.-. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-02-05feat(RD): add texture pack downloaderflow
This extends the resource pack downloader, with the custom behavior of filtering the versions that shows up, to those <= 1.6. As always, Flame is funky and requires a bit more workarounds than average. This will also get a nice improvement when the Version parsing and comparison PR gets merged! :D Signed-off-by: flow <flowlnlnln@gmail.com>
2023-02-05feat(RD): add shader pack downloaderflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-02-05feat(RD): add resource pack downloaderflow
Signed-off-by: flow <flowlnlnln@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>
2023-01-25refactor: add error handling to component importSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-24Merge branch 'develop' into remove-updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-23Merge pull request #675 from flowln/generalize_mod_modelSefa Eyeoglu
2023-01-23fix(license): add/fix my copyright/license headersflow
*sobbing in messy legal stuff i know nothing about* Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-20make MainWindow cat update instantlyTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-14chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-13Merge pull request #685 from byteduck/instance-accountsflow
2023-01-13fix(RD): don't assert search offset on fetchMore() in ResourceModelflow
This allows the standard QAbstractItemModelTester to work without shenanigans! Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor: change some ResourceAPI from NetJob to Taskflow
This makes it easier to create resource apis that aren't network-based. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor(RD): move BaseInstance dep. to subclasses of ResourceModelflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(RD): correctly set the strings for the specific resource namesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor(RD): move success callbacks from ModModel to ResourceModelflow
While implementing the resource pack downloader in another branch, I noticed that most of the code in the success callback was identical in both cases, safe for a few minute differences in strings. So, this tries to make it easier to share this piece of code. However, it still leaves the possibility of extending the methods in ResourceModel to accomodate for cases where this similarity may not hold. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor(RD): add helper in ResourceModel to find current sortingflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(RD): separate search and versions/info tasksflow
This allows us to check whether a search request is already on-going, in which case we don't need to make another one (and shouldn't). Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(RD): pass copy of IndexedPack to callbacks instead of ref.flow
This prevents a crash in which the pack list gets updated in a search request meanwhile a versions / extra info request is being processed. Previously, this situation would cause the reference in the latter callbacks to be invalidated by an internal relocation of the pack list. Signed-off-by: flow <flowlnlnln@gmail.com>