aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-09Update LaunchController.cppOzynt
Signed-off-by: Ozynt <104643560+Ozynt@users.noreply.github.com>
2022-10-01Microsoft account onlystoltsvensk
Signed-off-by: stoltsvensk <104643560+stoltsvensk@users.noreply.github.com>
2022-09-30Merge pull request #1172 from Scrumplex/fix-includesflow
2022-09-30fix: add missing includes to fix Qt 6.4 buildSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-30Merge pull request #1162 from Trial97/feature/Replace-toml-librarySefa Eyeoglu
2022-09-26fix(nix): add tomlplusplusSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-26fix: move toml++ find callSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-26fix: pin tomlplusplus to latest releaseSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-26fix: update Git modulesSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-26Merge pull request #894 from flowln/update_from_external_sourceflow
epic PR
2022-09-26fix: Fixed memory leaktimoreo
Signed-off-by: timoreo <contact@timoreo.fr>
2022-09-26huge nit: added const refs, everywheretimoreo
Signed-off-by: timoreo <contact@timoreo.fr>
2022-09-25Merge pull request #1164 from Scrumplex/fix-sort-languagesSefa Eyeoglu
2022-09-25Update launcher/minecraft/mod/tasks/LocalModParseTask.cppAlexandru Ionut Tripon
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2022-09-25Merge pull request #1165 from ErogigGit/developflow
2022-09-24DCO Remediation Commit for ErogigGit <eric.hagerstrand@gmail.com>ErogigGit
I, ErogigGit <eric.hagerstrand@gmail.com>, hereby add my Signed-off-by to this commit: 8a4f1c66f83a339d33ab0ba0076d8c1141055067 Signed-off-by: ErogigGit <eric.hagerstrand@gmail.com>
2022-09-25Prefer the system tomlplusplusTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2022-09-24Allow double clicking to mark for dowloadErogigGit
Signed-off-by: Erogig <erogigabyte@gmail.com>
2022-09-24fix: sort languages by their name instead of keySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-24fix: fallback for languages without a native nameSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-24Replaced tomlc99 with tomlplusplusTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2022-09-20fix: don't change groups when updating an instanceflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add dialog to ask whether to chaneg instance's nameflow
This prevents custom names from being lost when updating, by only changing the name if the old instance name constains the old version, so that we can update it if the user whishes to. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: show warning in case there's no old index when updatingflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: setAbortStatus -> setAbortableflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: don't load specific settings for managed pack infoflow
This avoids loading all settings for all instances when searching for one with a specific managed pack name. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: move file deletion to the end of the instance updateflow
This makes it harder for problems in the updating process to affect the current instance. Network issues, for instance, will no longer put the instance in an invalid state. Still, a possible improvement to this would be passing that logic to InstanceStaging instead, to be handled with the instance commiting directly. However, as it is now, the code would become very spaguetti-y, and given that the override operation in the commiting could also put the instance into an invalid state, it seems to me that, in order to fully error-proof this, we would need to do a copy operation on the whole instance, in order to modify the copy, and only in the end override everything an once with a rename. That also has the possibility of corrupting the instance if done without super care, however, so I think we may need to instead create an automatic backup system, with an undo command of sorts, or something like that. This doesn't seem very trivial though, so it'll probably need to wait until another PR. In the meantime, the user is advised to always backup their instances before doing this kind of action, as always. What a long commit message o.O Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: some abort-related issuesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat(ui): improve info dialog before updating an instanceflow
Adds a 'Cancel' option, and add a note about doing a backup before updating. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix(ui): hook up abort status signal in ProgressDialogflow
Now we have a visual indication on when tasks are abortable! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: hook up setAbortStatus in instance import tasksflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add canAbort() status change in Taskflow
By now, it's a recurring pattern of wanting to restrict aborting in certain situations. This avoids further code duplication, and adds a signal that external users can hook up to to respond to such change. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: simplify abort handling and add missing emitsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: correctly set managed pack fields in CF packflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add override awareness to CF modpack updatingflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: correctly set all managed pack fields in Modrinth packflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add override handling in modrinth pack updateflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add override helper functionsflow
These help us keep track of relevant metadata information about overrides, so that we know what they are when we update a pack. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: change the way instance names are handledflow
While working on pack updating, instance naming always gets in the way, since we need both way of respecting the user's name choice, and a standarized way of getting the original pack name / version. This tries to circunvent such problems by abstracting away the naming schema into it's own struct, holding both the original name / version, and the user-defined name, so that everyone can be happy and world peace can be achieved! (at least that's what i'd hope :c). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: clean up InstanceImportTask a bitflow
Also removes a divide by two in the download progress (why was it there???) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add curseforge modpack updatingflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move creation of CF file download task to a separate functionflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move flame modpack import to separate fileflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: add `throw_on_blocked` arg to Flame file parseflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add 'getFiles' by fileIds route in Flame APIflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add early modrinth pack updatingflow
Still some FIXMEs and TODOs to consider, but the general thing is here! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move modrinth modpack import to separate fileflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: add instance creation abstraction and move vanillaflow
This is so that 1. Code is more cleanly separated, and 2. Allows to more easily add instance updating :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20chore: add helper function for copying managed pack data between insts.flow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20Merge pull request #1108 from Scrumplex/better_texture_packsSefa Eyeoglu