aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2022-09-15Add 'Ctrl+Alt+O' Shortcut to launch demo instance.jopejoe1
Signed-off-by: jopejoe1 <johannes@joens.email>
2022-09-15Added Launch Demo button.jopejoe1
Signed-off-by: jopejoe1 <johannes@joens.email>
2022-09-14Merge pull request #982 from DavidoTek/windarkmode2Sefa Eyeoglu
2022-09-12fix: use std::wstring for Windows filenamesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12chore: make DirNameFromString add normal duplicate identifierflow
Wrap the number in parenthesis to be similar to other software. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: remove Win32 'crap' in FileSystemflow
We should use std::filesystem symlink and hardlink functions instead. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: use std::filesystem for overridesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: use std::filesystem for path deletionflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: use std::filesystem for file copyflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12Merge pull request #1133 from Scrumplex/refactor-testsflow
Move tests to a separate folder, to fix issues and improve maintenance
2022-09-11refactor: restructure testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-10fix: emit signals when aborting NetJobflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07fix: start at least one task in ConcurrentTaskflow
This allows us to emit all the necessary stuff when we're finished in the case of starting a task with no subtasks. In particular, this caused the mod updater to not work properly :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07Merge pull request #997 from flowln/fix_major_version_filterflow
2022-09-07Merge pull request #1105 from flowln/better_resource_packsflow
Add basic resource pack parsing and fix issues
2022-09-07refactor: create mod pages and filter widget by factory methodsflow
This takes most expensive operations out of the constructors. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07fix: use more robust method of finding matches for major versionflow
This uses the proper version list to find all MC versions matching the major number (_don't say anything about SemVer_ :gun:). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07Merge pull request #939 from flowln/mod_downloader_improveflow
Some more UI / UX improvements to the mod downloader!
2022-09-07Merge pull request #966 from flowln/refactor_tasksflow
Reduce code duplication in tasks, fix some bugs and add some tests
2022-09-06Fixed up a warningtimoreo
Signed-off-by: timoreo <contact@timoreo.fr>
2022-09-05Merge pull request #1111 from PolyMC/revert-1067-classpath-epicnessSefa Eyeoglu
2022-09-05Merge pull request #1107 from DioEgizio/smaller-aboutSefa Eyeoglu
2022-09-05Merge pull request #1034 from Scrumplex/detect-performance-featuresSefa Eyeoglu
2022-09-05Revert "Move classpath definition into NewLaunch itself"Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-04make the about dialog smallerDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-09-03fix: improve handling of unrecognized pack formatsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03fix: removing mods with their metadata as wellflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03fix: crash when adding resource packs directly in the folderflow
This fixes an issue in which, when adding a new resource pack externally to PolyMC, when the resource pack view was open, would crash poly. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03fix: race condition on ResourceFolderModel testsflow
This (hopefully) fixes the race contiditions that sometimes got triggered in tests. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: move resource pack images to QPixmapCacheflow
This takes care of evicting entries when the cache gets too big for us, so we can add new entries without much worries. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat(tests): add tests for resource pack parsingflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03refactor: move resource pack file parsing utilities to separate namespaceflow
This makes it easier to use that logic in other contexts. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: add image from pack.png to resource packsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: add resource icon to InfoFrameflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03fix: filtering in regex search in resource packsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03fix: sorting by pack formatflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: add basic resource pack parsing of pack.mcmetaflow
This parses the pack format ID and the description from the local file, from both a ZIP and a folder, and hooks it into the model. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: modify InfoFrame and ResourcePackPage to show ResourcePack infoflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: add more resource pack infoflow
Adds pack format id and description to ResourcePack, that'll be parsed from pack.mcmeta. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-03feat: allow specifying factory for resources in BasicFolderLoadTaskflow
This allows us to hook our own resource type, that possibly has more content than the base Resource, to it. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-01Merge pull request #1095 from flowln/ensure_file_path_in_overrideSefa Eyeoglu
2022-08-31Merge pull request #1067 from Scrumplex/classpath-epicnessflow
Move classpath definition into NewLaunch itself
2022-08-31Merge pull request #1080 from flowln/eternal_cacheflow
Never invalidate libraries cache entries by time elapsed
2022-08-28fix: make MultipleOptionsTask inherit directly from SequentialTaskflow
It's not a good idea to have multiple concurrent tasks running on a sequential thing like this one. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-28feat(test): add more tests to Tasksflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-28refactor: make NetJob inherit from ConcurrentTask as well!flow
Avoids lots of code duplication Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-28refactor: make MultipleOptionsTask inherit from ConcurrentTask tooflow
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-08-28fix: abort logic running subsequent tasks anyways some timesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-28fix: 'succeeded while not running' spam in ConcurrentTaskflow
Signed-off-by: flow <flowlnlnln@gmail.com>