30 Commits (1999e4e5c2839628a88ce4816b711af18e171a8c)

Author SHA1 Message Date
Adriaan de Groot 1999e4e5c2 [libcalamaresui] Error out consistently when module loading fails
- Some module-loading failures were ignored and produce only a
   warning, instead of erroring out.
7 years ago
Adriaan de Groot dccf6f16f5 [libcalamaresui] Lambdas are fun, but not always the solution 7 years ago
Adriaan de Groot a626e52bf3 [libcalamares] Introduce more descriptive type name 7 years ago
Adriaan de Groot e5ca8e091f [libcalamaresui] Use refactored loadYaml 7 years ago
bill auger b6673f6324 move thisModule->isLoaded assert to after it's warning message 7 years ago
Adriaan de Groot 032b33f56f [libcalamaresui] Improve logging.
- Put the (constant) 'Calamares will now quit' on its own debug line.
 - Tell the user what the search paths are if a module is not found
   (prompted by a mis-configuration in a Neon live image).
7 years ago
Adriaan de Groot 60f440f72b [libcalamaresui] Use new convenience logging methods
- Remove a few confusing Q_FUNCINFO
7 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 7 years ago
Adriaan de Groot 463615a1c0 Clang: don't shadow local variable names 8 years ago
Adriaan de Groot e26d5ab206 Don't leak memory for allocated modules 8 years ago
Teo Mrnjavac de3c94fc97 Useless debug is useless. 8 years ago
Andrius Štikonas 9f0ca042fe Port away from most cases of Q_FOREACH to C++11 ranged for loop.
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
9 years ago
Teo Mrnjavac fb44fb97b6 Massive refactor of module loading, configuration, startup, management. 10 years ago
Teo Mrnjavac 3b56c5c9e8 Use safe QTimer::singleShot connection. 10 years ago
Teo Mrnjavac 506e51598d Do not dereference a nullptr. 10 years ago
Teo Mrnjavac 11f5b729a8 Avoid dereferencing nullptr. 10 years ago
Teo Mrnjavac df9daf8fec Avoid accessing nullptr. 10 years ago
Teo Mrnjavac dda7ea211d Make ModuleManager accessible from outside CalamaresApplication. 10 years ago
Teo Mrnjavac 20bc34029d Copyright. 10 years ago
Teo Mrnjavac a670de3035 Add currentPhase to ModuleManager. 10 years ago
Teo Mrnjavac fef448833e And some more debug output readability improvements. 11 years ago
Teo Mrnjavac f2f73b2e87 More meaningful debug output. 11 years ago
Teo Mrnjavac 9ebc881223 Prevent segfault on exit when module not found. 11 years ago
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.
11 years ago
Aurélien Gâteau 551a6ff9ba Fix potential memleak 11 years ago
Teo Mrnjavac 8d28a2ea5d Generalized code path for Phase switching. Also load install modules. 11 years ago
Teo Mrnjavac 84bfb2aa95 Fixes for loading modules by phase. 11 years ago
Teo Mrnjavac 2e47c248ac Load modules by phase, in preparation for actually using new settings. 11 years ago
Teo Mrnjavac a09ab36386 Better settings format, rename a bit of stuff in module loading. 11 years ago
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.
11 years ago