Commit Graph

17 Commits (3b56c5c9e89f00df8ca616ec560eced3d5fa2dcd)

Author SHA1 Message Date
Teo Mrnjavac 3b56c5c9e8 Use safe QTimer::singleShot connection.
Teo Mrnjavac 506e51598d Do not dereference a nullptr.
Teo Mrnjavac 11f5b729a8 Avoid dereferencing nullptr.
Teo Mrnjavac df9daf8fec Avoid accessing nullptr.
Teo Mrnjavac dda7ea211d Make ModuleManager accessible from outside CalamaresApplication.
Teo Mrnjavac 20bc34029d Copyright.
Teo Mrnjavac a670de3035 Add currentPhase to ModuleManager.
Teo Mrnjavac fef448833e And some more debug output readability improvements.
Teo Mrnjavac f2f73b2e87 More meaningful debug output.
Teo Mrnjavac 9ebc881223 Prevent segfault on exit when module not found.
Teo Mrnjavac 8f10c21e5b Big configuration overhaul.
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
Aurélien Gâteau 551a6ff9ba Fix potential memleak
Teo Mrnjavac 8d28a2ea5d Generalized code path for Phase switching. Also load install modules.
Teo Mrnjavac 84bfb2aa95 Fixes for loading modules by phase.
Teo Mrnjavac 2e47c248ac Load modules by phase, in preparation for actually using new settings.
Teo Mrnjavac a09ab36386 Better settings format, rename a bit of stuff in module loading.
Teo Mrnjavac 4ec72f4afb Refactored calamares_bin into calamares_bin and libcalamaresui.
Now linking with -Wl,--no-undefined!
Moved find_package KF5 from the root CMakeLists.txt to the partitioning
module where it belongs. KF5 deps should be limited to plugins.
Lots of random fixage to make stuff link.
Removed CalamaresApplication reference from Settings.
Removed the use of AbstractPage, we don't need it right now.