28 Commits (3c6e53ecb979ea8c3d1515d612b4787178e9f8f0)

Author SHA1 Message Date
Adriaan de Groot 3c6e53ecb9 [libcalamaresui] Chase the change in Module descriptor
- most of the code becomes **simpler** because the requirement
  to handle unstructured data is now in the descriptor itself,
  rather than in consumers.
5 years ago
Adriaan de Groot 8db8752a41 [libcalamaresui] Remove spurious Q_FUNC_INFO 5 years ago
Adriaan de Groot a7e1a1f9fc [libcalamaresui] Refactor Module::initFrom()
- generic initFrom() also sets the instance id
 - subclass-specific initFrom() now pure virtual in base
 - chase changes in subclasses
5 years ago
Adriaan de Groot 0716a46eb2 [libcalamares] Switch to using KPluginFactory
- this is not entirely straightfoward, since  we need
   different constructor arguments for the objects
   Calamares creates (no QVariantList& args, in particular).
   Implement our own registerPlugin() and createInstance()
   for that.
 - work around a bug in K_PLUGIN_FACTORY_DECLARATION_WITH_BASEFACTORY
6 years ago
Adriaan de Groot 0bd2bfa708 CI: apply coding style to libcalamaresui/modulesystem 6 years ago
Adriaan de Groot 169159f888 [libcalamaresui] Switch to enum classes for Type, Interface
- Somewhat gratuitous change, but brings more enums into modern style.
6 years ago
Adriaan de Groot 6b89ac8461 [libcalamaresui] Remove TODO
- I don't know what this would mean, so it's not a TODO any more.
6 years ago
Adriaan de Groot bf40f3bd23 Merge branch 'master' into requirements-checking 7 years ago
Adriaan de Groot 1a097f8c49 Style: run modulesystem through the style guide 7 years ago
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 8b406cac9b [libcalamaresui] Improve module loading
- Add a TODO for allowing modules to come from somewhere other
   than the module loader (this would allow "internal" modules
   that are always present)
 - Warnings are warnings
7 years ago
Adriaan de Groot a72bdfac52 Merge branch 'master' into requirements-checking 7 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 8 years ago
Adriaan de Groot b6fed964ce [libcalamaresui] Defer requirements checking of ViewModules to their ViewSteps 8 years ago
Adriaan de Groot 2d31e987c0 [libcalamaresui] Unrelated typedef for JobList 8 years ago
Adriaan de Groot 14cba59ab3 Logging: distinguish different failures in module instantiation. 8 years ago
Teo Mrnjavac 2c3b56c803 Link against PythonQt; new PythonQtViewModule stub. 9 years ago
Teo Mrnjavac 4662c9c877 Remove irrelevant debug output. 9 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 f2f73b2e87 More meaningful debug output. 11 years ago
Teo Mrnjavac 519ba038cf Fix build on Qt 5.4, again. 11 years ago
Aurélien Gâteau df89a391c4 Do not try to dereference m_viewStep if it's invalid 11 years ago
Aurélien Gâteau b5b72855c3 Queue module jobs in the order they are listed in the "install" section of settings.conf 11 years ago
Teo Mrnjavac df9f803572 Actually load the additional config map into the ViewStep. 11 years ago
Teo Mrnjavac 8d36a13d92 Style fix. 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