aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft
AgeCommit message (Collapse)Author
2022-06-11Merge pull request #709 from Scrumplex/fix-instancetypesSefa Eyeoglu
Always store InstanceType
2022-06-04fix: always store InstanceTypeSefa Eyeoglu
2022-05-23chore: add license headersflow
Prevents a massive inload of Scrumplex ditto's :) I didn't add it to every file modified in this PR because the other changes are pretty minor, and would explode the diff of the PR. I hope that's not a problem O_O
2022-05-23fix: use correct hash_type when creating metadataflow
also fix: wrong parameter name in LocalModUpdateTask's constructor also fix: correct hash_format in CF
2022-05-23fix: don't try to delete mods multiple timesflow
Shows a more helpful message if there's a parsing error when reading the index file. Also fixes a clazy warning with using the `.data()` method in a temporary QByteArray object.
2022-05-23fix: implement PR suggestionsflow
Some stylistic changes, and get hashes from the mod providers when building the metadata.
2022-05-23refactor: make mod metadata presence (or lack of) easier to find outflow
2022-05-23tidy: apply clang-tidy to some filesflow
Mostly the ones created in this PR + Mod.h / Mod.cpp / ModDetails.h
2022-05-23test+fix: add basic tests and fix issues with itflow
2022-05-23feat: allow disabling mod metadata usageflow
2022-05-23feat: cache metadata in ModDetailsflow
Allows for more easy access to the metadata by outside entities
2022-05-23refactor: abstract metadata handling and clarify namesflow
2022-05-23refactor: remove unused mod info and organize some stuffflow
2022-05-23refactor: move mod tasks to their own subfolderflow
Makes the launcher/minecraft/mod/ folder a little more organized.
2022-05-23feat: use mod metadata for getting mod informationflow
For now this doesn't mean much, but it will help when we need data exclusive from the metadata, such as addon id and mod provider. Also removes the metadata when the mod is deleted, and make the Mod.h file a little more pleasing to look at :)
2022-05-23feat: add method to delete mod metadataflow
Also moves indexDir setting from LocalModUpdateTask -> ModFolderModel
2022-05-23feat: add very early mod.toml packwiz supportflow
Also use it as a on-disk format for storing mod metadata. This will be used later on to make better mod managment.
2022-05-22Merge pull request #597 from Scrumplex/refactor-modloader-modapiSefa Eyeoglu
2022-05-21Merge pull request #500 from flowln/net_refactorSefa Eyeoglu
Refactor a little the code in `launcher/net/` files
2022-05-20Launch: Apply the Minecraft version correctlyJamie Mansfield
It was previously using a deprecated field.
2022-05-20Launch: Match Vanilla launcher version string behaviourJamie Mansfield
This removes a means of profiling users.
2022-05-19refactor: allow tracking multiple mod loadersSefa Eyeoglu
2022-05-19fix: only consider enabled mod loadersSefa Eyeoglu
2022-05-18fix: support split nativesSefa Eyeoglu
Mojang introduced a new structure for natives, notably for LWJGL. Now instead of using the `natives` structure of the version format, Mojang chose to create a seperate library entry for each platform, which uses the `rules` structure to specify the platform. These new split natives carry the same groupId and artifactId, as the main library, but have an additional classifier, like `natives-linux`. When comparing GradleSpecifiers we don't look at the classifier, so when the launcher sees an artifact called `org.lwjgl:lwjgl:3.3.1` and right after that an artifact called `org.lwjgl:lwjgl:3.3.1:natives-linux`, it will treat it as "already added" and forget it. This change will include the classifier in that comparison.
2022-05-18fix(quilt) always prefer qmj over fmjDioEgizio
this fixes Quilt-only mods like ok zoomer showing wrong metadata
2022-05-17fix conflicts with developflow
2022-05-17Merge pull request #567 from Scrumplex/quilt-metadataSefa Eyeoglu
Support `quilt.mod.json` metadata
2022-05-17fix: update links for Quilt metadata formatSefa Eyeoglu
2022-05-15feat: support quilt.mod.json metadataSefa Eyeoglu
2022-05-12chore: add license header to remaining filesflow
Also remove some unused imports
2022-05-12refactor: organize a little more the code in launcher/net/flow
This also reduces some code duplication by using some Task logic in NetAction.
2022-05-12Add instance overrides for miscellaneous settingsKenneth Chew
2022-05-02Merge pull request #475 from Scrumplex/fix-hide-all-tokenstimoreo22
Hide all tokens for non-Debug builds for log and logfiles
2022-04-25Use suggested error handlingTheCodex6824
2022-04-23Re-add base64 decode option for Qt versions that support itTheCodex6824
2022-04-23Remove base64 decode option that was added in Qt 5.15TheCodex6824
2022-04-22Fix Mojang auth failing due to Mojang rejecting requests to the profile endpointTheCodex6824
2022-04-20fix: hide LauncherLoginStep tokens for non-Debug buildsSefa Eyeoglu
2022-04-20Merge pull request #467 from PolyMC/revert-429-developdada513
Revert "better FreeBSD support"
2022-04-19Revert "better FreeBSD support"Sefa Eyeoglu
2022-04-19fix: use size in bytes to sort by world sizeSefa Eyeoglu
2022-04-15Merge branch 'PolyMC:develop' into developIrgendwer01
2022-04-15Update MinecraftInstance.cppIrgendwer01
2022-04-15Merge pull request #185 from Scrumplex/quiltSefa Eyeoglu
Quilt support
2022-04-15Update MinecraftInstance.cppIrgendwer01
2022-04-15better FreeBSD supportIrgendwer01
2022-04-14refactor: cleanup ModLoaderTypeSefa Eyeoglu
2022-04-14fix: remove unused codeSefa Eyeoglu
2022-04-09refactor: switch Quilt mappings to hashed MojMapSefa Eyeoglu
2022-04-07fix: check for Quilt as Fabric-compatible loaderSefa Eyeoglu