aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ResourceDownloadDialog.cpp
AgeCommit message (Collapse)Author
2023-09-04CurseForge shader downloadingTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-08-23Added loaders check on versions loadTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-12Merge remote-tracking branch 'upstream/staging' into chore/add-compiler-warningsSefa Eyeoglu
2023-07-13Merge branch 'develop' into chore/add-compiler-warningsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-11Merge branch 'develop' into better-component-installationTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-07-08LiteMod downloadingTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-07-01chore: fix shadowed member and signed/unsigned mismatchRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: supress unused with [[maybe_unused]] Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: unshadow ^&^& static_cast implicit return Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: deshadow and mark unused in parse task Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: mark unused in folder models Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: deshadow and mark unused with instances Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: more deshadow and unused Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: remove uneeded simicolons Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: mark unused Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: prevent shadow Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-01Merge branch 'develop' into better-component-installationTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-19License all the thingsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-19Basic, unfinished & broken implTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-19Fixed regresion regarding modrinth project_id in dependence arrayTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-19Small fixesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-15Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into develop
2023-06-06fix: fix crash when selecting resource/texture/shader packsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-06-02Fix crash when selecting same mod from different providers (#1029)Alexandru Ionut Tripon
2023-05-28Fixed Ptr logicTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-28Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-28Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into Fix_Assert Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-28fix(memory leak): don't give shared pointers out to foldermodels (causes ↵Rachel Powers
cyclic refrence) Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-05Fixed code errorTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-04Updated required_by as dependencyTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-04Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-04Fixed commentsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-03Initialized variableTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-03Moved the selected resources to one listTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-27Removed extra codeTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-22Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-22Better version handlingTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Fixed assertTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Updated linksTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21More cleanupTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Small cleanupTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Refator task to work with multiple providersTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Hope to fix windows build errorsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Small headers removalTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Fixed headersTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21First working version with curseforge modsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@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-13refactor(RD): allow setting custom folder target for downloaded resourcesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(RD): set resource strings for ReviewMessageBox tooflow
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): decouple ResourceModels from ResourcePagesflow
This makes it so that we don't need a reference to the parent page in the model. It will be useful once we change the page from a widget-based one to a QML page. It also makes tasks be created in the dialog instead of the page, so that the dialog can also have the necessary information to mark versions as selected / deselected easily. It also makes the task pointers into smart pointers. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor(RD): unify download dialogs into a single fileflow
No need for multiple files since the subclasses are so small now Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor: put resource downloading classes in common namespaceflow
Puts them all inside the 'ResourceDownload' namespace, so that it's a bit clearer from the outside that those belong to the same 'module'. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor: generalize mod models and APIs to resourcesflow
Firstly, this abstract away behavior in the mod download models that can also be applied to other types of resources into a superclass, allowing other resource types to be implemented without so much code duplication. For that, this also generalizes the APIs used (currently, ModrinthAPI and FlameAPI) to be able to make requests to other types of resources. It also does a general cleanup of both of those. In particular, this makes use of std::optional instead of invalid values for errors and, well, optional values :p This is a squash of some commits that were becoming too interlaced together to be cleanly separated. Signed-off-by: flow <flowlnlnln@gmail.com>