aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/instance
AgeCommit message (Collapse)Author
2022-09-07Merge pull request #1105 from flowln/better_resource_packsflow
Add basic resource pack parsing and fix issues
2022-09-05Merge pull request #1034 from Scrumplex/detect-performance-featuresSefa Eyeoglu
2022-09-03fix: removing mods with their metadata as wellflow
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-08-20change: add enable/disable to resourcesflow
TIL that zip resource packs, when disabled, actually have the effect of not showing up in the game at all. Since this can be useful to someone, I moved the logic for it to the resources. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20refactor: adapt rest of the codebase to the new resource modelflow
In order to access the ModFolderModel from the ModFolderPage, i created a new m_model for the correct type, shadowing the m_model of type ResourceFolderModel. This creates two shared_ptr references to the same object, but since they will have the same lifetime, it doesn't generate a memory leak. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20refactor: move general code from mod model to its own modelflow
This aims to continue decoupling other types of resources (e.g. resource packs, shader packs, etc) from mods, so that we don't have to continuously watch our backs for changes to one of them affecting the others. To do so, this creates a more general list model for resources, based on the mods one, that allows you to extend it with functionality for other resources. I had to do some template and preprocessor stuff to get around the QObject limitation of not allowing templated classes, so that's sadge :c On the other hand, I tried cleaning up most general-purpose code in the mod model, and added some documentation, because it looks nice :D Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20fix: distinguish CoremodsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-20Merge pull request #1007 from Gingeh/disable-update-buttonSefa Eyeoglu
2022-08-10Make new title strings translatableRobb
Signed-off-by: Robb <computerguy440+gh@gmail.com>
2022-08-09fix: Make world safety nag title text match the action being performed ↵Robb
instead of always saying 'Copy World' Signed-off-by: Robb <computerguy440+gh@gmail.com>
2022-08-08feat: detect GameMode and MangoHud's presenceSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-03Move large condition into a new lambdaGingeh
Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
2022-08-02Check for running instance when re-opening the mod folder page and when ↵Gingeh
selecting mods Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
2022-08-02Update launcher/ui/pages/instance/ModFolderPage.hGingeh
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
2022-08-01Disable "Check for Updates" and "Download Mods" while the game is runningGingeh
Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
2022-08-01Disable "Check for Updates" if all mods are removedGingeh
Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
2022-07-23fix: filter in external resource pages not workingflow
For some reason, using setFilterFixedString() doesn't seem to update the QRegularExpression object with a new value, instead leaving it empty. It updates QRegExp just fine, so maybe that's an Qt bug? o.O Anyway, using regex in the filter is kinda cool actually :D Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-23fix: hide the entire performance tab on instance settings in non-Linuxflow
"just woke up after a major release has just been made" coding style Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-19fix: fix translations for mod updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-17fix: std::list -> QListflow
Qt6 removed Qlist::toStdList() :sob: Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17change: make Mod a QObject used as a pointerflow
Prevents problems when copying it around! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add update mods to the ui / mod modelflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: fix slots for Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: replace QRegExp with QRegularExpressionSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 5.15Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-06Revert "fix: remove updater if it is not used"Sefa Eyeoglu
This reverts commit 2ff0aa09e35eb6910ef0a030ea41f84a1ed95782. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-06Merge pull request #794 from Scrumplex/resolve-jars-dynamicallySefa Eyeoglu
2022-07-06Merge pull request #707 from Jan200101/PR/gamemodeSefa Eyeoglu
Add Performance related settings
2022-07-06Add Performance related settingsJan200101
Integrates support for Feral Gamemode, discrete GPU support for Mesa and the proprietary Nvidia driver and MangoHud support Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
2022-07-03feat: resolve JARs dynamicallySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-01feat: use ConcurrentTask for mod downloadsflow
Way faster :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-06-30change: better regex for removing 'The' when sorting modsflow
Teh :| Co-authored-by: timoreo22 <timo.oreo34@gmail.com>
2022-06-14refector: move download action to ExternalResourcesPageSefa Eyeoglu
2022-06-14refactor: Create a more clear hierarchy for some instance pagesflow
Previously, the Shaders, Texture packs and Resource packs tabs had as parent the ModFolderPage, making it so that making changes only to the Mods page would require checking the id of the page for the correct one. This was hackish and error-prone. Now, those pages all inherit from a single class, ExternalResourcesPage, that handles the basic behaviour of all of them, while allowing for individual modification in code. This is still not a clear separation, since internally, all those resources are derived from Mods, so for now there's still some awkward common code :/
2022-06-12chore: add license headersSefa Eyeoglu
2022-06-12fix: remove updater if it is not usedSefa Eyeoglu
2022-05-30Merge pull request #505 from flowln/improve_download_uxSefa Eyeoglu
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-05-19refactor: allow tracking multiple mod loadersSefa Eyeoglu
2022-05-17Merge pull request #540 from kthchew/fix/executable-screenshottxtsd
Show "executable" screenshots in the screenshot manager
2022-05-12Add UI for miscellaneous instance setting overridesKenneth Chew
2022-05-09Show "executable" screenshots in the screenshot managerKenneth Chew
Since the readable/writable filter was removed to do this, extra code was added to enable/disable certain buttons based on whether the screenshot is readable or writable.
2022-04-19fix: use size in bytes to sort by world sizeSefa Eyeoglu
2022-04-15Merge pull request #185 from Scrumplex/quiltSefa Eyeoglu
Quilt support
2022-04-14refactor: cleanup ModLoaderTypeSefa Eyeoglu
2022-04-14fix: support Quilt from Minecraft 1.14 onwardsSefa Eyeoglu
2022-04-14fix: remove unused codeSefa Eyeoglu
2022-04-09refactor: switch Quilt mappings to hashed MojMapSefa Eyeoglu