Teo Mrnjavac
23e91ee475
Lots of changes. Module search+load system is now working.
...
Moved module-related classes to src/calamares/modulesystem.
Fixes to startup code path.
Made ViewPlugins load into ViewManager.
Debug code: ViewManager currently only shows a plugin's prettyName.
Added ViewModule as a subclass of Module. Other kinds of plugins should
be supported in a similar way.
11 years ago
Teo Mrnjavac
fae3284bb7
DllMacro.h ==> UiDllMacro.h
11 years ago
Aurélien Gâteau
02af2dccb9
Introduce libcalapm
...
This adds a submodule pointing to a fork of KDE Partition Manager. All
Calamares-specific changes are in the "calamares" branch of this fork.
11 years ago
Aurélien Gâteau
3cc7fe3245
Rename config.h to CalamaresConfig.h
...
Avoid name clashes with partitionmanager's config.h
11 years ago
Teo Mrnjavac
205250e7c4
ModuleLoader ==> ModuleManager
11 years ago
Teo Mrnjavac
c23d198923
When looking for plugins in a search dir, make sure the path is correct
11 years ago
Teo Mrnjavac
869483055c
Load modules asynchronously on startup.
11 years ago
Teo Mrnjavac
041db41b35
Add a Quit button to Calamares::ViewManager.
11 years ago
Teo Mrnjavac
fa3dfa2244
Set correct window flags on CalamaresWindow.
11 years ago
Teo Mrnjavac
6324feb2f3
Probably best to not even try to mkdir /usr/lib
11 years ago
Teo Mrnjavac
ef48f36445
Add modules path in build dir if --debug.
...
Also fix config.h location.
11 years ago
Teo Mrnjavac
392c8ec108
PagePlugin ==> ViewPlugin
11 years ago
Teo Mrnjavac
2693f493c9
Added load entry to plugin config.
11 years ago
Teo Mrnjavac
125b7914d5
Added module metadata file to CalamaresAddPlugin macro.
...
Also improved output.
11 years ago
Teo Mrnjavac
19da31baa4
Made ModuleLoader async, added dependency check.
11 years ago
Teo Mrnjavac
ab5c818f4f
Fix -Wnarrowing warnings in KDSingleApplicationGuard
11 years ago
Teo Mrnjavac
d20e3ce598
Add DLLEXPORT_PRO definitions.
11 years ago
Teo Mrnjavac
13fcf387c7
A bunch of work on loading plugins.
...
Also switched to C++11.
11 years ago
Aurélien Gâteau
1da7ba446d
Fix link error on Qt5 libs
11 years ago
Teo Mrnjavac
1fb0dd3c3d
Rename binary calamares_bin -> calamares
11 years ago
Teo Mrnjavac
8c746b8d3b
Fix appDataDir paths
11 years ago
Teo Mrnjavac
05d355f21f
Config files are YAML, not JSON. We depend on yaml-cpp for parsing.
11 years ago
Teo Mrnjavac
56c6df30e6
--verbose is now --debug, CalamaresApplication keeps track of it
11 years ago
Teo Mrnjavac
1f98c3efae
Load settings.
11 years ago
Teo Mrnjavac
4e14ec7834
Fixed defines for Logger
11 years ago
Teo Mrnjavac
de93d4eabb
Proper include, and layout fix.
11 years ago
Teo Mrnjavac
6899b1f0fa
Added CMake magic for plugin infrastructure.
...
Added ViewManager.
Added dummy Settings class.
Added dummy plugin interface (UI plugins only).
Added dummy greeting plugin.
Added DLLEXPORT macros for UI plugin interface and plugins.
11 years ago
Teo Mrnjavac
fe27f8eab8
Use ui file for main window.
11 years ago
Teo Mrnjavac
b21dc4fe4c
Added Utils, Logger, Translations, QCommandLineParser, init boilerplate
11 years ago
demmm
293446a7bd
adding base-ui, first preleminary option
11 years ago
Teo Mrnjavac
2120685822
Fix error in headers.
11 years ago
Teo Mrnjavac
27cea281bc
Added KDSingleApplicationGuard boilerplate because it's a singleton.
...
Also DllMacro.h
11 years ago
Teo Mrnjavac
b5ec7c4702
CMake skeleton.
11 years ago