aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
AgeCommit message (Collapse)Author
2022-09-23feat: change project item delegate for modrinth modpacksflow
more info! \ ^-^/ Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-23fix: remove manual icon resize in ModModelflow
THis fixes a FIXME, now that we fixed the issue :o Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-23fix: set icon sizes correctly in ProjectItemDelegateflow
no more dumb hacks with icons!! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-21feat: also format resource/texture pack namesSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-21feat: support more formatting codesSefa Eyeoglu
also fix some crashes Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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: simplify abort handling and add missing emitsflow
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: 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-20refactor: introduce RuntimeContextSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: actually render color codes for texture packsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20feat: add texture pack parsingSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-15fix: enable demo launch only on supported instancesflow
e.g. >= 1.3.1 instances Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15change: move demo action to "Play offline" menuflow
Signed-off-by: flow <flowlnlnln@gmail.com>
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-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-05Merge pull request #1107 from DioEgizio/smaller-aboutSefa Eyeoglu
2022-09-05Merge pull request #1034 from Scrumplex/detect-performance-featuresSefa Eyeoglu
2022-09-04make the about dialog smallerDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-09-03fix: removing mods with their metadata as wellflow
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: add resource icon to InfoFrameflow
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-28refactor: make NetJob inherit from ConcurrentTask as well!flow
Avoids lots of code duplication Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-28Merge pull request #1052 from flowln/resource_modelSefa Eyeoglu
2022-08-28Merge pull request #965 from flowln/fat_files_in_memorySefa Eyeoglu
Refactor a bit EnsureMetadataTask and calculate hashes in a incremental manner
2022-08-24fix: fix urls on ftb legacyDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.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-20fix: don't give shared pointer to obj. external to the modelflow
It causes some weird problems and adds refcounting overhead. 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-20refactor: move general info from Mod to Resourceflow
This allows us to create other resources that are not Mods, but can still share a significant portion of code. 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 #1023 from flowln/better_shared_ptrSefa Eyeoglu
2022-08-20Merge pull request #992 from Scrumplex/refactor-versionSefa Eyeoglu
2022-08-20Merge pull request #1007 from Gingeh/disable-update-buttonSefa Eyeoglu
2022-08-20Merge pull request #919 from kumquat-ir/download-all-blockedSefa Eyeoglu
2022-08-12fix: hide 'More news...' button if the news aren't loaded yetflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-12refactor: switch to new versioning schemeSefa Eyeoglu
The new versioning system is based on the versioning system used by the GNOME Foundation for the GNOME desktop. We are dropping the "major version" as defined by SemVer and move to a version number with a most and least significant number. The most significant number must be incremented, if there are new features or significant changes since last major release. Otherwise, the least significant number must be incremented, if there are only minor changes since the last release. New features or significant changes mustn't be introduced by a bump of the least significant number. If a minor change would introduce small user-facing changes (like a message-box or slight UI changes), it could still be classified as a minor change. At the end of the day, a human shall decide, if a change is minor or significant, as there is no clear line that would separate a "minor" and a "significant" change in a GUI-application. Definitions: feature: New user-facing functionality significant change: Something that changes user-facing behavior minor change: Something that fixes unexpected behavior Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-08-11Merge pull request #897 from jamierocks/atl-updating-initialtimoreo
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>