aboutsummaryrefslogtreecommitdiff
path: root/launcher/tasks/SequentialTask.cpp
AgeCommit message (Collapse)Author
2022-12-17refactor(Tasks): remove 'm_total_size' from ConcurrentTaskflow
We can use the queues directly instead. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-28refactor: make SequentialTask inherit from ConcurrentTaskflow
In a way, sequential tasks are just concurrent tasks with only a single task running concurrently, so we can remove LOTS of duplicated logic :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: always update global progress of sequential tasksflow
Previously, it would not update the global counter if the subTask didn't update its progress, even though progress was being made. This also prevents a segmentation fault while aborting the task. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-06-04Merge pull request #426 from flowln/mod_permaSefa Eyeoglu
Add on-disk mod metadata information
2022-05-24fix: better handle corner caseflow
2022-05-23feat(ui): adapt SequentialTask to nested SequentialTasksflow
2022-05-21fix: various issues with ProgressDialog and SequentialTasksflow
- Fix aborting sequential tasks - Fix displaying wrong number of tasks concluded - Fix text cutting when the URL is too big
2022-04-01feat: Use a single progress dialog when doing multiple tasksflow
This puts all mod downloading tasks inside a SequentialTask, which is, for more than one task, a multi step task. This is handled by the ProgressDialog by showing both the global progress of tasks executed, and the individual progress of each of them.
2021-11-21NOISSUE more refactoringPetr Mrázek
2021-11-20NOISSUE fix buildPetr Mrázek
2021-07-25NOISSUE Flatten gui and logic libraries into MultiMCPetr Mrázek