pollymc/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
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
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
BaseInstaller.cpp
BaseInstaller.h
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
BaseVersionList.cpp chore: update license headers 2022-07-10 12:19:15 +02:00
BaseVersionList.h
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
DefaultVariable.h
DesktopServices.cpp
DesktopServices.h
Exception.h
ExponentialSeries.h
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
Filter.h
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
HoeDown.h
install_prereqs.cmake.in
InstanceCopyTask.cpp
InstanceCopyTask.h
InstanceCreationTask.cpp
InstanceCreationTask.h
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
InstanceTask.h
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
KonamiCode.h
LaunchController.cpp fix: emit abort in LaunchController 2022-08-04 10:07:36 +02:00
LaunchController.h
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
MessageLevel.h
MMCStrings.cpp
MMCStrings.h
MMCTime.cpp
MMCTime.h
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
QObjectPtr.h refactor: simplify smart pointers more 2022-08-05 11:38:46 -03:00
RecursiveFileSystemWatcher.cpp
RecursiveFileSystemWatcher.h
RWStorage.h
SeparatorPrefixTree.h
SkinUtils.cpp
SkinUtils.h
UpdateController.cpp Add OpenBSD support 2022-06-02 02:02:42 +10:00
UpdateController.h
Usable.h
Version_test.cpp
Version.cpp
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
WatchLock.h