aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2022-03-07refactor: de-duplicate common code in network mod APIsflow
2022-03-07refactor: move NetJob away from ModModel to ModAPIflow
This is done so that 1. ModAPI behaves more like an actual API instead of just a helper, and 2. Allows for more easily creating other mod providers that may or may not use network tasks (foreshadowing lol)
2022-03-06refactor: use Enum instead of raw int for ModLoaderTypeflow
2022-03-06clarify some method names and commentsflow
2022-03-06merge upstreamflow
2022-03-06refactor: move "get versions" task from page to modelflow
This seems more reasonable
2022-03-06refactor: use only a single unique_ptr for the apiflow
2022-03-03fix extra spacing in resource packs and shader packs, and move button upflow
hopefully now its finally ok
2022-03-03hack: hide 'Download Mods' button when not in the mods tabflow
2022-03-03change 'Install Mods' -> 'Download Mods' and change positionflow
2022-03-03fix windows compilationflow
2022-03-02refactor: move url creation for mods to modplatform/flow
Moves all things related to creating the URLs of the mod platforms that go to network tasks to a single place, so that: 1. Maintaining and fixing eventual issues is more straightforward. 2. Makes it possible to factor out more common code between the different modplatform pages
2022-03-02refactor: extract common code in mod pages and modelflow
This creates a hierarchy in which ModPage and ModModel are the parents of every mod provider, providing the basic functionality common to all of them. It also imposes a unique .ui file (they were already equal before, just duplicated basically) on all mod providers.
2022-03-02refactor: Use a single indexed pack for modsflow
Since there's little difference between them, let's remove duplication and merge them.
2022-03-01Merge pull request #205 from timoreo22/fix-version-selecttimoreo22
Fixed wrong version info
2022-03-02Merge pull request #163 from txtsd/windows_data_dirEzekiel Smith
Replace build layouts with Launcher_PORTABLE cmake flag
2022-02-27fix: Do not loop when its not a fabric mod on Flame version validationflow
Since there's no validation for forge mods since the start, we were just looping with no porpuse in this situation.
2022-02-27fix: Always tell Flame API which modloader we are usingflow
Fixes #206 partially. Although we don't list mods that have no compatibility with the mod loader we are using, mods that have support for both loaders still show up, and the versions for both the loaders are still shown. Also simplifies a little the logic in FlameModIndex::loadIndexedPackVersions
2022-02-27Apply suggestions from code reviewtxtsd
Co-authored-by: LennyMcLennington <lenny@sneed.church>
2022-02-27Cleanly free NetJob in flame modpacktimoreo
2022-02-27Fixed wrong version infotimoreo
2022-02-26Merge pull request #201 from Scrumplex/fix-instancetype-reregistrationSefa Eyeoglu
2022-02-26fix: load instances no matter their instance typeSefa Eyeoglu
2022-02-25merge upstream and resolve conflictsflow
2022-02-26Merge pull request #183 from timoreo22/fix-versions-segfaultEzekiel Smith
Fixed segfault in mod download
2022-02-26Merge pull request #192 from Scrumplex/refactor-remove-legacy-instancesEzekiel Smith
Drop legacy instances
2022-02-23fix: improve readability and set ok button as disabled by defaultflow
2022-02-23fix(ui): add translation func to text in the confirm dialogflow
2022-02-23Merge branch 'PolyMC:develop' into developflow
2022-02-23fix: use legacy data path if it existsSefa Eyeoglu
2022-02-23Implement PR suggestionstxtsd
2022-02-23Replace layouts with LAUNCH_PORTABLEtxtsd
2022-02-22Merge pull request #186 from theglitch76-forks/developSefa Eyeoglu
Enable WSL support
2022-02-21fix: sort mod list in confirmation dialogflow
2022-02-21feat: add confirm dialog for installing modsflow
When selecting multiple mods at once, it can become hard to keep track of which ones you selected. To address this, a dialog is now displayed when you finish selecting the mods to download, showing you which ones you selected and their filenames. From there, you can either accept it and download the mods, or you can cancel it and go back to the mod selection dialog.
2022-02-21fix(ui): change text in selection button when there's no valid versionflow
2022-02-21feat(ui): allow downloading multiple mods from CurseForge at onceflow
2022-02-21feat(ui): allow downloading multiple mods in Modrinth at onceflow
2022-02-21feat: change task container in ModDownloadDialog to a QHashflow
Previously, we used a unique_ptr to a ModDownloadTask to keep track of the selected mod to download when we accepted the dialog. In order to allow multiple mods to be selected at once for download, this has been changed to a QHash where the key is the mods name (since it doesn't seem right to allow for multiple versions of the same mod to be downloaded at once), and the value is a pointer to the corresponding ModDownloadTask.
2022-02-21refactor: set default InstanceType to OneSixSefa Eyeoglu
2022-02-21refactor: drop LegacyInstanceSefa Eyeoglu
2022-02-21refactor: drop migration for pre-component instancesSefa Eyeoglu
2022-02-20Revert ba6a97557a0d90d77e9eba560931414e39042447Glitch
Let evil win.
2022-02-19Fixed segfault when closing window while version info download is still goingtimoreo
2022-02-18fix: typo for account disabled error messagesSefa Eyeoglu
2022-02-18feat(accounts): interrupt MSAStep when client ID doesn't matchSefa Eyeoglu
2022-02-18feat(accounts): save client id in MSAStepSefa Eyeoglu
2022-02-18feat(accounts): add disabled account stateSefa Eyeoglu
2022-02-18feat(accounts): support msa-client-id valueSefa Eyeoglu
2022-02-17Merge pull request #173 from Scrumplex/fix-application-cppLennyMcLennington
fix: improve code readability in Application.cpp