sneedmc/launcher
flow ec62d8e973
refactor: move general code from mod model to its own model
This aims to continue decoupling other types of resources (e.g. resource
packs, shader packs, etc) from mods, so that we don't have to
continuously watch our backs for changes to one of them affecting the
others.

To do so, this creates a more general list model for resources, based on
the mods one, that allows you to extend it with functionality for other
resources.

I had to do some template and preprocessor stuff to get around the
QObject limitation of not allowing templated classes, so that's sadge :c

On the other hand, I tried cleaning up most general-purpose code in the
mod model, and added some documentation, because it looks nice :D

Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-20 10:45:01 -03:00
..
icons chore: update license headers 2022-07-10 12:19:15 +02:00
java use qEnvironmentVariable instead of qgetenv in JavaUtils 2022-08-18 23:59:35 +02:00
launch fix: actually substitute variables in pre/post launch 2022-07-23 17:51:58 +02:00
meta refactor: move away from UnitTest.cmake 2022-06-14 14:44:49 +02:00
minecraft refactor: move general code from mod model to its own model 2022-08-20 10:45:01 -03:00
modplatform refactor: move general info from Mod to Resource 2022-08-20 10:41:59 -03:00
mojang refactor: move away from UnitTest.cmake 2022-06-14 14:44:49 +02:00
net Merge pull request #920 from flowln/metacache_fix 2022-08-11 07:32:43 +02: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 change cf icon to a more fancy one 2022-05-21 17:49:52 +02:00
screenshots chore: update license headers 2022-07-10 12:19:15 +02:00
settings Merge pull request #878 from flowln/lazy_settings 2022-08-20 12:50:56 +02:00
tasks feat: make Task a QRunnable 2022-08-20 10:41:59 -03:00
testdata NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
tools Add OpenBSD support 2022-06-02 02:02:42 +10:00
translations chore: update license headers 2022-07-10 12:19:15 +02:00
ui refactor: move general code from mod model to its own model 2022-08-20 10:45:01 -03:00
updater refactor: switch to new versioning scheme 2022-08-12 14:22:24 +02:00
Application.cpp Merge pull request #992 from Scrumplex/refactor-version 2022-08-20 12:50:25 +02:00
Application.h Merge pull request #678 from Scrumplex/improvements-around-proprietary-services 2022-07-11 14:56:09 +02: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 #878 from flowln/lazy_settings 2022-08-20 12:50:56 +02:00
BaseInstance.h feat: lazy-load MinecraftInstance settings 2022-07-06 17:17:54 -03: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 refactor: move general code from mod model to its own model 2022-08-20 10:45:01 -03:00
Commandline.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
Commandline.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +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_test.cpp refactor: move away from UnitTest.cmake 2022-06-14 14:44:49 +02:00
FileSystem.cpp Trash instances instead of deleting (when possible) (#549) 2022-07-30 14:42:33 -03:00
FileSystem.h Trash instances instead of deleting (when possible) (#549) 2022-07-30 14:42:33 -03: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_test.cpp refactor: move away from UnitTest.cmake 2022-06-14 14:44:49 +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: set default InstanceType to OneSix 2022-02-21 22:59:07 +01:00
InstanceCopyTask.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
InstanceCreationTask.cpp fix: don't set mod loader as important 2022-04-18 15:05:41 +02:00
InstanceCreationTask.h Add option to install mod loader during instance creation 2022-04-15 15:37:07 -04:00
InstanceImportTask.cpp Add "Open All" button to blocked mods dialog 2022-07-16 19:14:54 -04:00
InstanceImportTask.h refactor!: bump to C++17 and C17 2022-07-20 14:22:10 +02:00
InstanceList.cpp Trash instances instead of deleting (when possible) (#549) 2022-07-30 14:42:33 -03:00
InstanceList.h Trash instances instead of deleting (when possible) (#549) 2022-07-30 14:42:33 -03:00
InstancePageProvider.h refactor: Create a more clear hierarchy for some instance pages 2022-06-14 07:04:31 -03:00
InstanceTask.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02:00
InstanceTask.h NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +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 fix: emit abort in LaunchController 2022-08-04 10:07:36 +02:00
LaunchController.h chore: add license header to files I modified 2022-03-19 12:46:56 +01: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 chore: update license headers 2022-07-10 12:19:15 +02: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 refactor: move general info from Mod to Resource 2022-08-20 10:41:59 -03: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 feat: lazy-load MinecraftInstance settings 2022-07-06 17:17:54 -03: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
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_test.cpp NOISSUE Flatten gui and logic libraries into MultiMC 2021-07-25 19:50:44 +02: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 chore: update license headers 2022-07-10 12:19:15 +02: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