Age | Commit message (Collapse) | Author |
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
in preparation for QML interop.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
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>
|
|
No need for multiple files since the subclasses are so small now
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
when i.e. clicking on links or just using the downloader at all, this
prevents some flickering and the widget never getting hidden in some
cases.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
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>
|
|
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>
|
|
|
|
|
|
|
|
Signed-off-by: Joshua Goins <josh@redstrate.com>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
damn you visual studio for creating CRLF files everywhere...
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Closes https://github.com/PrismLauncher/PrismLauncher/issues/158
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
fixed by properly converting from a file path and converting to native seperators.
should have known naive handling of file path as a URL would come back to bite us cross platform.
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
|
|
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
drawn by sympathytea (https://github.com/SympathyTea)
Signed-off-by: seth <getchoo@tuta.io>
|
|
Some mod pages use certain tags for centering purposes, but trips up
hoedown.
Signed-off-by: Joshua Goins <josh@redstrate.com>
|
|
|
|
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Aaron Sonin <10217842+byteduck@users.noreply.github.com>
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com>
|
|
closes https://github.com/PrismLauncher/PrismLauncher/issues/402
|
|
This makes the mod list look a bit less polluted in the common case of
mods having no provider whatsoever.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Fixes https://github.com/PolyMC/PolyMC/issues/948
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
You're is used in some other places but im lazy
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
|
|
Signed-off-by: leo78913 <leo3758@riseup.net>
|
|
Signed-off-by: leo78913 <leo3758@riseup.net>
|
|
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/590
|
|
|
|
closes https://github.com/PrismLauncher/PrismLauncher/issues/494
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|