28 Commits (dd8e53dc225512bfb870cb043fd57ddf7520900d)

Author SHA1 Message Date
Adriaan de Groot dd8e53dc22 Copyright: update copyright lines on files touched in 2018
Contributions from:
  Adriaan de Groot <groot@kde.org>
  Gabriel Craciunescu <crazy@frugalware.org>
  AlmAck <gluca86@gmail.com>
  Andrius Štikonas <andrius@stikonas.eu>
  Caio Carvalho <caiojcarvalho@gmail.com>
  Raul Rodrigo Segura <raurodse@gmail.com>
7 years ago
Adriaan de Groot cdadc2f003 [libcalamares] Improve error logging during module loading 7 years ago
Adriaan de Groot 3e30bb682e [libcalamaresui] Use cError() for logging errors, not cLog() 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 2fdccdf090 Merge branch 'simplify-module-desc' 8 years ago
Adriaan de Groot e3008657c4 Modules: accept 'viewmodule' as alias of 'view', improve logging on error. 8 years ago
Adriaan de Groot 10eaf06f60 Python: Be more descriptive when modules can't be loaded. 8 years ago
Adriaan de Groot 8ea14d7957 Release: add copyright to files I've touched 8 years ago
Adriaan de Groot 367fe716b3 Configs: empty config files are ok.
The default umount.conf contains no keys -- so it isn't a map,
but it is a valid config file. Avoid the warning by accepting
empty files.

FIX 707
8 years ago
Teo Mrnjavac 2736ad6e09 User-visible Type and Interface strings in Module. 8 years ago
Teo Mrnjavac 2c3b56c803 Link against PythonQt; new PythonQtViewModule stub. 8 years ago
Kevin Kofler 00d9f211f5 Add support for C++/Qt batch job plugins
These job plugins work similarly to view modules, with the following
differences:

* These jobs need to link only libcalamares, not libcalamaresui. For
  this reason, PluginFactory was moved from libcalamaresui to
  libcalamares. (It depends only on QtCore.)

* Instead of deriving from ViewModule, derive from CppJob (which is a
  subclass of Job).

* Like process and Python jobs, a job plugin is a single job, whereas a
  ViewModule can generate a whole list of jobs.

The CppJob and CppJobModule classes are new. In Module::fromDescriptor,
the combination type=job, intf=qtplugin is now supported and mapped to
CppJobModule.
9 years ago
Teo Mrnjavac c1d1e7cb5a Prevent memory leak on bad module dir (fix Coverity defect 114172). 9 years ago
Teo Mrnjavac fb44fb97b6 Massive refactor of module loading, configuration, startup, management. 10 years ago
Teo Mrnjavac 4e2e964503 Return configurationMap from Module. 10 years ago
Teo Mrnjavac fef448833e And some more debug output readability improvements. 11 years ago
Teo Mrnjavac aaa696f543 Even less debug noise. 11 years ago
Teo Mrnjavac 5b01925d99 Remove debug noise. 11 years ago
Teo Mrnjavac f5b4de67c4 Properly load module config files with an explicit config path. 11 years ago
Teo Mrnjavac 014469c849 Improve logging in Module.cpp 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
Teo Mrnjavac 2f03dfa43b CalamaresPrivate ==> CalamaresPython 11 years ago
Teo Mrnjavac 50ba57a33a Add optional Python jobmodules support to libcalamaresui. 11 years ago
Teo Mrnjavac c7c4e52849 Load additional module-specific configuration into a Module object. 11 years ago
Teo Mrnjavac 2dd88344e5 Instantiate the correct type of module from module.conf. 11 years ago
Teo Mrnjavac 7894bb9462 Module type Core ==> Job, plus const correctness. 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