aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2022-08-13Use C locale codec for decodingMitchell Skaggs
This should correctly decode multi-byte non-UTF-8 text, such as Windows-936 (Simplified Chinese) Signed-off-by: Mitchell Skaggs <skaggsm333@gmail.com>
2022-08-09Fix use of Qt 5.14 enumMitchell Skaggs
Signed-off-by: Mitchell Skaggs <skaggsm333@gmail.com>
2022-08-08Replace local 8-bit decoding with UTF-8 decodingMitchell Skaggs
Handles incomplete byte sequences using `QTextDecoder` Signed-off-by: Mitchell Skaggs <skaggsm333@gmail.com>
2022-07-23Merge pull request #951 from flowln/performace_tab_fixflow
Hide the entire performance tab on the instance settings in non-Linux OSes
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-23fix: actually substitute variables in pre/post launchSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-23Merge pull request #893 from Scrumplex/refactor-env-handlingtimoreo
2022-07-23Merge pull request #877 from Scrumplex/refactor-offline-accountsSefa Eyeoglu
2022-07-23Merge pull request #947 from flowln/unicode_uhhtimoreo
2022-07-23fix: treat accounts as offline, if auth servers are downSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-22change: unicode chars for folders and disabled mods in mod listflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-22Merge pull request #938 from Scrumplex/fix-i18n3txtsd
2022-07-22fix: use single-space unicode char for checkmark in mod listflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-20fix: move HTML code outside of translationSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-20Merge pull request #936 from Scrumplex/fix-windows-crap-2Sefa Eyeoglu
2022-07-19fix: support LD_* for OpenBSDSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-19refactor: filter values in environment variablesSefa Eyeoglu
Before this change, you had to specify custom LD_* variables using the prefix GAME_LD_*. Now instead of dropping all LD_* variables by default, we should just filter them and remove the values we *know* are from our start script. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-19fix: fix translations for mod updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-19fix: fix Java Checker on Windows, againSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-18fix: dark placeholder text in dark background on dark themeflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: raw-pointers and leaks in ModFolderLoadTaskflow
Co-authored-by: timoreo <contact@timoreo.fr> Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: bogus returns in EnsureMetadataTaskflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: std::list -> QListflow
Qt6 removed Qlist::toStdList() :sob: Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17change: use ModStatus as a simple member instead of a pointerflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: make second metadata pass concurrentflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: clean up execWithTask in Progress Dialogflow
This prevents weird problems, such as dialogs being non-modal when they should be! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: try finding a good height for short changelogsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: changelogs with too much space between linesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: don't use shared_ptr for a background task T_Tflow
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-17fix: work around HoeDown bug(?) in changelog line breaksflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: improve changelog and sort updatable modsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: handling around disabled modsflow
Don't update disabled mods to prevent mod duplication. Also, chop filename in the metadata with a '.disabled'. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: don't require non-essential items in mod indexflow
Also adds slug field. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add some mod api callsflow
- Get Project: Already existed but required a specific caller type. This is more general. - Get Projects: A single call to multiple of the above Both providers support these calls. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17change: mod metadata improvementsflow
- Use slug instead of name - Keep temporary status before having local details Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: mod parsing of 'String-fied' version (i.e. OpenBlocks)flow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: improve metadata gen. networking and performanceflow
This makes the metadata generation code a lot messier and harder to use, but there's not really much else that can be done about it while preserving all it's capabilities :( At least we now have speed Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add metadata get/delete via mod idflow
This is, in many cases, more reliable than name comparisons, so it's useful specially in cases where a mod changes name between versions Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: filter out opted-out mods in mod downloaderflow
Maintains Pre-Updater behaviour Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: remove existing mod when updating/redownloading itflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: don't double add mods in mod downloader/updaterflow
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-17feat: add mod update dialogflow
This subclasses the Review mods dialog to make a "Update review" one. Also, all the necessary components built until now are put together in a coherent unity that checks and generates metadata on-the-fly and checks for mod updates, while giving and receiving feedback to the user. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add mod update check tasksflow
Those tasks take a list of mods and check on the mod providers for updates. They assume that the mods have metadata already. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add changelog to mod providersflow
The Modrinth changelog is fairly straight-forward, as it's given to us directly with the API call we already did. Flame, on the other hand, requires us to do another call to get the changelog, so it can introduce quite a heavy performance impact. This way, we make it optional to get such changelog. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add EnsureMetadataTaskflow
This task is responsible for checking if the mod has metadata for a specific provider, and create it if it doesn't. In the context of the mod updater, this is not the best architecture, since we do a single task for each mod. However, this way of structuring it allows us to use it later on in more diverse scenarios. This way we decouple this task from the mod updater, trading off some performance (though that will be mitigated when we have a way of running arbitrary tasks concurrently). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add api call to flameflow
Call added: - Get Fingerprints Matches - Get Mod File Changelog Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add some api calls to modrinthflow
Calls added: - Get version from hash - Get versions from hashes - Latest version of a project from a hash, loader(s), and game version(s) - Latest versions of multiple project from hashes, loader(s), and game version(s) Some of those are not used yet, but may be of use later on, so we have it if we need it :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17libs: add murmur2 libraryflow
Signed-off-by: flow <flowlnlnln@gmail.com>