aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform
AgeCommit message (Collapse)Author
2023-05-28Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
2023-05-28Fixed code qualityTrial97
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-28Added Q_DECLARE_METATYPE(ModPlatform::IndexedPack::Ptr)Trial97
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-26fix(memory leak): don't capture job and create cyclic refrenceRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-26fix(memory leak): IndexedPack too large to live inside a qlist without ↵Rachel Powers
pointers () Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-21fix: memory leak NetJob wans't getting cleaned up. ensure lambda capture of ↵Rachel Powers
job doens;t increase refcount or it will be cyclic Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-21fix: memory leak with NetJob and responce not getting cleaned upRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-14Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into develop
2023-05-14Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into Fix_Assert
2023-05-06refactor: move functions to utils + code-review fixesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.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-04Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into develop
2023-05-03Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into Fix_Assert
2023-05-03Moved the selected resources to one listTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-01feat: add `details` signal to `Task`Rachel Powers
feat: add details to mod pack downloading feat: add logging rule sloading form `ligging.ini at data path root feat: add `launcher.task` `launcher.task.net` and `launcher.task.net.[down|up]load` logging categories fix: add new subtask progress to the end of the lay out not the beginning (cuts down on flickering) Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: Propogated subtask progressRachel Powers
Oh boy this is big. > TaskStepProgress struct is now QMetaObject compatabile and can be sent through signals > Task now has a method to propogates sub task progress it must be signal bound by each task containing a task wishing to report progress of it's children. > Downloads report speed > Tasks now have UUIDS to track them - use when reporting - use when logging - use when storeing them or objects related to them Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
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-27Removed formated but not used filesTrial97
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-22Small CleanupTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-22Better version handlingTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Updated linksTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Fixed tipoTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Small cleanupTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Made some copy by referenceTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Semi fixed the Modrinth dependency implementationTrial97
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-04-21Added Dependency APITrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-12Added missing characterTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-12Added task to load dependenciesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-10Added dependencies to the APIsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-03-12fix: explicit conversion to C string to fix MinGW g++ 10 buildKenneth Chew
Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.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-02-02fix(Inst.Import): don't allow bad file path in mrpack importflow
This checks the URL of the path of the file to be downloaded, ensuring that it always contains the root .minecraft target folder, following the warning in the mrpack documentation. 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-24Merge branch 'develop' into remove-updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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-13fix(ModUpdater): ensure instead of require icon_urlflow
The spec says that this can be null, and indeed some mods have it set to null, and should still be considered as valid. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(ModUpdater): fail mods individually when there's errors in the JSONflow
Prevents a single problematic mod from invalidating all the API response. 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-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-13fix: CodeQL warnings about the rule of twoflow
shush 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>