Age | Commit message (Collapse) | Author |
|
Heavy workloads can consume a ton of time doing their stuff, and starve
the event loop out of events. This adds an event processing call after
every concurrent task has been completed, to decrease the event loop
stravation on such loads.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
This is a variation of a Sequential Task, in which a subtask failing
will prompt the next one to execute, and a subtask being successful will
stop the task.
This way, this can be used for easily managing fallbacks with tasks. :D
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
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>
|
|
Refactor tests
|
|
This tasks (or rather, meta-task) has the ability to run several other
sub tasks concurrently.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
|
|
Add on-disk mod metadata information
|
|
|
|
|
|
- Fix aborting sequential tasks
- Fix displaying wrong number of tasks concluded
- Fix text cutting when the URL is too big
|
|
|
|
Also remove some unused imports
|
|
Also sets up correctly the status connections
|
|
Since now we're inheriting from Task, some signals can be reused.
|
|
This also reduces some code duplication by using some Task logic in
NetAction.
|
|
Also adds one more check to setStatus test
|
|
Only only two tests for now. We can iterate on this later :^)
This is to try to avoid breaking things again!
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|