sneedmc/launcher
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
..
icons chore: update license headers 2022-07-10 12:19:15 +02:00
java refactor: restructure tests 2022-09-11 22:29:01 +02:00
launch refactor: drop 64-bit check 2022-09-20 16:01:08 +02:00
meta Cleanup codebase 2023-05-07 06:20:16 -04:00
minecraft Cleanup codebase 2023-05-07 06:20:16 -04:00
modplatform Cleanup codebase 2023-05-07 06:20:16 -04:00
mojang refactor: restructure tests 2022-09-11 22:29:01 +02:00
net Curseforge workarounds 2022-10-24 23:05:29 +01:00
news chore: update license headers 2022-07-10 12:19:15 +02:00
pathmatcher NOISSUE fix some small build issues 2021-11-03 15:45:42 +01:00
resources Clear more pixels 2023-02-05 10:18:48 +01:00
screenshots chore: update license headers 2022-07-10 12:19:15 +02:00
settings refactor: restructure tests 2022-09-11 22:29:01 +02:00
tasks fix: prevent stack overflow in ConcurrentTask 2022-11-17 04:13:30 +00:00
tools Add OpenBSD support 2022-06-02 02:02:42 +10:00
translations Cleanup codebase 2023-05-07 06:20:16 -04:00
ui Cleanup codebase 2023-05-07 06:20:16 -04:00
updater refactor: switch to new versioning scheme 2022-08-12 14:22:24 +02:00
Application.cpp Add a way to change the position of the cat. 2022-12-06 15:25:09 +02:00
Application.h Added Launch Demo button. 2022-09-15 18:44:18 -03:00
ApplicationMessage.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
ApplicationMessage.h NOISSUE Some happy little refactors 2021-11-20 16:22:22 +01:00
BaseInstaller.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
BaseInstaller.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
BaseInstance.cpp Merge pull request #1033 from Scrumplex/multi-arch-support 2022-10-08 20:12:40 +02:00
BaseInstance.h Merge pull request #1033 from Scrumplex/multi-arch-support 2022-10-08 20:12:40 +02:00
BaseVersion.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
BaseVersionList.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
BaseVersionList.h NOISSUE more refactoring 2021-11-21 23:36:55 +01:00
CMakeLists.txt Fix GitHub workflow broken. 2022-12-27 22:34:48 +02:00
Commandline.cpp refactor: use QCommandLineParser instead 2022-09-26 13:21:27 +02:00
Commandline.h refactor: use QCommandLineParser instead 2022-09-26 13:21:27 +02:00
DefaultVariable.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
DesktopServices.cpp Fix 2022-03-28 20:55:03 +02:00
DesktopServices.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
Exception.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
ExponentialSeries.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
FileSystem.cpp Cleanup codebase 2023-05-07 06:20:16 -04:00
FileSystem.h Fix pack updating & Modrinth overrides 2023-05-07 01:06:30 -04:00
Filter.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
Filter.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
GZip.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
GZip.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
HoeDown.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
install_prereqs.cmake.in Restore the previously deleted line. 2021-12-12 16:45:18 +00:00
InstanceCopyTask.cpp refactor: change the way instance names are handled 2022-09-20 18:36:08 -03:00
InstanceCopyTask.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
InstanceCreationTask.cpp refactor: setAbortStatus -> setAbortable 2022-09-20 18:36:10 -03:00
InstanceCreationTask.h fix: move file deletion to the end of the instance update 2022-09-20 18:36:09 -03:00
InstanceImportTask.cpp refactor: setAbortStatus -> setAbortable 2022-09-20 18:36:10 -03:00
InstanceImportTask.h fix: handle json exception in FileResolvingTask 2022-10-24 23:05:29 +01:00
InstanceList.cpp Fix pack updating & Modrinth overrides 2023-05-07 01:06:30 -04:00
InstanceList.h huge nit: added const refs, everywhere 2022-09-26 11:50:31 +02:00
InstancePageProvider.h Add storage page to instances. 2022-11-17 20:38:45 +02:00
InstanceTask.cpp huge nit: added const refs, everywhere 2022-09-26 11:50:31 +02:00
InstanceTask.h huge nit: added const refs, everywhere 2022-09-26 11:50:31 +02:00
JavaCommon.cpp fix: add missing full-stop to message 2022-07-16 21:26:23 +02:00
JavaCommon.h feat: resolve JARs dynamically 2022-07-03 17:31:01 +02:00
Json.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
Json.h chore: update license headers 2022-07-10 12:19:15 +02:00
KonamiCode.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
KonamiCode.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
LaunchController.cpp Cleanup codebase 2023-05-07 06:20:16 -04:00
LaunchController.h Added Launch Demo button. 2022-09-15 18:44:18 -03:00
Launcher.in refactor: filter values in environment variables 2022-07-19 18:07:58 +02:00
LoggedProcess.cpp Fix use of Qt 5.14 enum 2022-08-09 00:17:53 -05:00
LoggedProcess.h Use C locale codec for decoding 2022-08-13 10:39:05 -05:00
main.cpp Fix Windows Qt6 builds 2023-02-04 15:31:00 +00:00
MessageLevel.cpp NOISSUE continue debranding... 2021-10-21 00:47:53 +02:00
MessageLevel.h NOISSUE continue debranding... 2021-10-21 00:47:53 +02:00
MMCStrings.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
MMCStrings.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
MMCTime.cpp NOISSUE Add license headers to source files created by me 2021-12-18 00:14:25 +00:00
MMCTime.h NOISSUE Add license headers to source files created by me 2021-12-18 00:14:25 +00:00
MMCZip.cpp fix(MMCZip): ignore invalid file paths in extractSubDir 2023-02-09 20:04:24 +00:00
MMCZip.h refactor!: bump to C++17 and C17 2022-07-20 14:22:10 +02:00
ModDownloadTask.cpp change: mod metadata improvements 2022-07-17 11:33:43 -03:00
ModDownloadTask.h feat: remove existing mod when updating/redownloading it 2022-07-17 11:33:42 -03:00
NullInstance.h chore: add missing license headers 2022-10-08 20:12:07 +02:00
ProblemProvider.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
QObjectPtr.h refactor: simplify smart pointers more 2022-08-05 11:38:46 -03:00
RecursiveFileSystemWatcher.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
RecursiveFileSystemWatcher.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
RuntimeContext.h chore: add missing license headers 2022-10-08 20:12:07 +02:00
RWStorage.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
SeparatorPrefixTree.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
SkinUtils.cpp NOISSUE continue refactoring things to make tests pass 2021-11-21 23:21:12 +01:00
SkinUtils.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
UpdateController.cpp Add OpenBSD support 2022-06-02 02:02:42 +10:00
UpdateController.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
Usable.h NOISSUE Some happy little refactors 2021-11-20 16:22:22 +01:00
Version.cpp Changes required to support FreeBSD 2021-12-12 11:39:36 +00:00
Version.h chore: update license headers 2022-07-10 12:19:15 +02:00
VersionProxyModel.cpp Cleanup codebase 2023-05-07 06:20:16 -04:00
VersionProxyModel.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
WatchLock.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00