sneedmc/launcher/minecraft
jdp_ 9cb6200081 Cleanup codebase
for FileSystem.cpp:
Instead of checking if Linux or FreeBSD, check if its not Windows and not OSX. Chances are other operating systems run a DE that adheres to the XDG Desktop standard (.desktop). The check isn't good enough anyways since alternative shells for Windows exist, it will never be an accurate check. In any case this function is unused.

WorldListPage.cpp:
Redo confusing switch statement plagued with fall throughs, now well defined.

LaunchController.cpp:
Remove cringe. Also fix warning and make the unimplemented case(s) more explicit.

VersionProxyModel.cpp:
Add fallthrough for warning suppression.

WorldListPage.cpp:
redo `mceditState`

TranslationsModel.cpp:
Move up definition of `column` variable to when it is needed, clear up switch cases

FlameInstanceCreationTask.cpp:
Fallthrough intentionally

SkinUpload.cpp:
Make `getVariant`

ResourcePack.cpp:
Add new values for 1.19.3+

meta/Index.cpp:
Make clear switch statement behavior

JavaWizardPage.cpp:
Fix case fallthrough

Yggdrasil.cpp:
Fix case fallthrough

AccountList.cpp:
Fix case fallthrough,

WinDarkmode.cpp:
Add an explanation and fix warnings due to FARPROC casts.

Signed-off-by: jdp_ <42700985+jdpatdiscord@users.noreply.github.com>
2023-05-07 06:20:16 -04:00
..
auth Cleanup codebase 2023-05-07 06:20:16 -04:00
gameoptions NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
launch Fix compile error on FreeBSD (#1560) 2023-02-26 16:14:04 +00:00
mod Cleanup codebase 2023-05-07 06:20:16 -04:00
services Cleanup codebase 2023-05-07 06:20:16 -04:00
update chore: add missing license headers 2022-10-08 20:12:07 +02:00
Agent.h Allow components to specify Java agents and JVM arguments (#175) 2022-04-06 08:22:24 +02:00
AssetsUtils.cpp chore: add license header to remaining files 2022-05-12 18:11:55 -03:00
AssetsUtils.h NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
Component.cpp Avoid possible conflicts with C++20 requires keyword 2023-05-07 01:26:15 -04:00
Component.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ComponentUpdateTask_p.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ComponentUpdateTask.cpp fix: add missing connections to the abort signal 2022-06-22 20:20:39 -03:00
ComponentUpdateTask.h fix: remove unused code 2022-04-14 16:50:04 +02:00
GradleSpecifier.h chore: update license headers 2022-07-10 12:19:15 +02:00
LaunchProfile.cpp refactor: introduce RuntimeContext 2022-09-20 15:59:43 +02:00
LaunchProfile.h refactor: introduce RuntimeContext 2022-09-20 15:59:43 +02:00
Library.cpp chore: add missing license headers 2022-10-08 20:12:07 +02:00
Library.h chore: add missing license headers 2022-10-08 20:12:07 +02:00
MinecraftInstance.cpp fix: use profile id for per-instance account override 2022-11-17 02:08:19 +00:00
MinecraftInstance.h chore: add missing license headers 2022-10-08 20:12:07 +02:00
MinecraftLoadAndCheck.cpp fix: add missing connections to the abort signal 2022-06-22 20:20:39 -03:00
MinecraftLoadAndCheck.h refactor: simpler includes for quazip 2022-01-31 21:40:59 +01:00
MinecraftUpdate.cpp refactor+fix: use QSharedPointer for shared_qobject_ptr 2022-08-04 15:33:51 -03:00
MinecraftUpdate.h refactor+fix: use QSharedPointer for shared_qobject_ptr 2022-08-04 15:33:51 -03:00
MojangDownloadInfo.h fix: remove old reference to launchermeta 2022-06-22 20:47:47 +02:00
MojangVersionFormat.cpp refactor: introduce RuntimeContext 2022-09-20 15:59:43 +02:00
MojangVersionFormat.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
OneSixVersionFormat.cpp Avoid possible conflicts with C++20 requires keyword 2023-05-07 01:26:15 -04:00
OneSixVersionFormat.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
PackProfile_p.h refactor: drop migration for pre-component instances 2022-02-21 22:11:10 +01:00
PackProfile.cpp refactor: introduce RuntimeContext 2022-09-20 15:59:43 +02:00
PackProfile.h chore: add missing license headers 2022-10-08 20:12:07 +02:00
ParseUtils.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ParseUtils.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ProfileUtils.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
ProfileUtils.h chore: update license headers 2022-07-10 12:19:15 +02:00
Rule.cpp chore: add missing license headers 2022-10-08 20:12:07 +02:00
Rule.h chore: add missing license headers 2022-10-08 20:12:07 +02:00
VanillaInstanceCreationTask.cpp huge nit: added const refs, everywhere 2022-09-26 11:50:31 +02:00
VanillaInstanceCreationTask.h huge nit: added const refs, everywhere 2022-09-26 11:50:31 +02:00
VersionFile.cpp refactor: introduce RuntimeContext 2022-09-20 15:59:43 +02:00
VersionFile.h Avoid possible conflicts with C++20 requires keyword 2023-05-07 01:26:15 -04:00
VersionFilterData.cpp NOISSUE Error on launch when launching 1.18 with < Java 17 2021-11-16 18:25:16 +00:00
VersionFilterData.h NOISSUE Error on launch when launching 1.18 with < Java 17 2021-11-16 18:25:16 +00:00
World.cpp refactor!: bump to C++17 and C17 2022-07-20 14:22:10 +02:00
World.h refactor!: bump to C++17 and C17 2022-07-20 14:22:10 +02:00
WorldList.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
WorldList.h feat: track and display world size 2022-03-31 18:45:17 +02:00