Commit Graph

10611 Commits

Author SHA1 Message Date
Teo Mrnjavac
afa1d9dce0 To build with partitionmanager: cmake -DWITH_PARTITIONMANAGER=1 2014-06-27 15:55:25 +02:00
Teo Mrnjavac
6388171521 Stubs for JobQueue and Job. 2014-06-27 15:55:25 +02:00
Teo Mrnjavac
5f883556e1 Don't use QPluginLoader's JSON metadata thing, we already have our own. 2014-06-27 15:55:24 +02:00
Teo Mrnjavac
f4b1cacc03 Prefer nullptr over 0 for null pointers. 2014-06-27 15:55:24 +02:00
Aurélien Gâteau
c3fe6026f2 Shut up cmake 3.0 2014-06-27 15:42:12 +02:00
Aurélien Gâteau
e9d7e3eca6 Use Qt5 cmake macros
The qt_* macros have a different signature
2014-06-27 15:41:55 +02:00
Aurélien Gâteau
f4c5b90472 Make it possible to test with other devices 2014-06-27 14:15:04 +02:00
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.
2014-06-27 14:12:10 +02:00
Teo Mrnjavac
fae3284bb7 DllMacro.h ==> UiDllMacro.h 2014-06-26 17:06:48 +02:00
Aurélien Gâteau
a811a9a694 Unbreak build with g++ 2014-06-26 17:06:13 +02:00
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.
2014-06-26 16:46:06 +02:00
Aurélien Gâteau
3cc7fe3245 Rename config.h to CalamaresConfig.h
Avoid name clashes with partitionmanager's config.h
2014-06-26 14:22:13 +02:00
Teo Mrnjavac
9b15b283df Remove modules that don't exist yet from settings.conf. 2014-06-26 12:34:16 +02:00
Teo Mrnjavac
cbde9f3c0c Make the compiler a little more pedantic 2014-06-25 19:31:02 +02:00
Teo Mrnjavac
5a5956052b There's a better way to check for GCC 4.9 2014-06-25 19:22:52 +02:00
Teo Mrnjavac
1237f7acc5 Only enable colorized messages if g++ version is >=4.9 2014-06-25 19:12:21 +02:00
Teo Mrnjavac
f00337f379 Force error coloring in GCC 4.9 2014-06-25 18:42:59 +02:00
Teo Mrnjavac
0035b8b3d3 Better CalamaresAddPlugin output 2014-06-25 16:25:56 +02:00
Teo Mrnjavac
205250e7c4 ModuleLoader ==> ModuleManager 2014-06-24 18:01:11 +02:00
Teo Mrnjavac
c23d198923 When looking for plugins in a search dir, make sure the path is correct 2014-06-24 16:27:23 +02:00
Teo Mrnjavac
869483055c Load modules asynchronously on startup. 2014-06-24 16:26:48 +02:00
Teo Mrnjavac
041db41b35 Add a Quit button to Calamares::ViewManager. 2014-06-24 15:31:11 +02:00
Teo Mrnjavac
fa3dfa2244 Set correct window flags on CalamaresWindow. 2014-06-24 15:21:36 +02:00
Teo Mrnjavac
6324feb2f3 Probably best to not even try to mkdir /usr/lib 2014-06-24 13:38:01 +02:00
Teo Mrnjavac
ef48f36445 Add modules path in build dir if --debug.
Also fix config.h location.
2014-06-24 13:35:21 +02:00
Teo Mrnjavac
392c8ec108 PagePlugin ==> ViewPlugin 2014-06-24 12:41:58 +02:00
Teo Mrnjavac
2693f493c9 Added load entry to plugin config. 2014-06-24 12:41:26 +02:00
Teo Mrnjavac
f3a04f5146 Better output + fixed output paths for plugins in build dir. 2014-06-24 12:40:12 +02:00
Teo Mrnjavac
125b7914d5 Added module metadata file to CalamaresAddPlugin macro.
Also improved output.
2014-06-23 17:14:55 +02:00
Teo Mrnjavac
19da31baa4 Made ModuleLoader async, added dependency check. 2014-06-23 16:10:19 +02:00
Teo Mrnjavac
8d4ee1debd Enable debug output for CalamaresAddPlugin cmake magic. 2014-06-23 16:02:55 +02:00
Teo Mrnjavac
ab5c818f4f Fix -Wnarrowing warnings in KDSingleApplicationGuard 2014-06-19 11:13:02 +02:00
Teo Mrnjavac
3dd9578b95 Allow undefined symbols when linking plugin. 2014-06-19 11:04:47 +02:00
Teo Mrnjavac
d20e3ce598 Add DLLEXPORT_PRO definitions. 2014-06-18 18:42:01 +02:00
Teo Mrnjavac
13fcf387c7 A bunch of work on loading plugins.
Also switched to C++11.
2014-06-18 18:05:04 +02:00
Aurélien Gâteau
1da7ba446d Fix link error on Qt5 libs 2014-06-17 14:59:49 +02:00
Teo Mrnjavac
1fb0dd3c3d Rename binary calamares_bin -> calamares 2014-06-13 18:41:53 +02:00
Teo Mrnjavac
8c746b8d3b Fix appDataDir paths 2014-06-13 17:05:21 +02:00
Teo Mrnjavac
5eb35780d0 Added config file sample. 2014-06-13 16:59:53 +02:00
Teo Mrnjavac
05d355f21f Config files are YAML, not JSON. We depend on yaml-cpp for parsing. 2014-06-13 16:40:42 +02:00
Teo Mrnjavac
80640e4bea Added FindYamlCpp.cmake 2014-06-13 16:40:32 +02:00
Teo Mrnjavac
56c6df30e6 --verbose is now --debug, CalamaresApplication keeps track of it 2014-06-13 16:39:50 +02:00
Teo Mrnjavac
1f98c3efae Load settings. 2014-06-12 18:47:50 +02:00
Teo Mrnjavac
4e14ec7834 Fixed defines for Logger 2014-06-12 13:49:58 +02:00
Teo Mrnjavac
de93d4eabb Proper include, and layout fix. 2014-06-12 10:56:13 +02:00
Teo Mrnjavac
347115c1bc AUTHORS file. 2014-06-11 13:39:44 +02:00
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.
2014-06-11 13:39:20 +02:00
Teo Mrnjavac
bfc5316c56 Update README.md 2014-06-11 13:38:43 +02:00
Teo Mrnjavac
fe27f8eab8 Use ui file for main window. 2014-06-06 17:32:32 +02:00
Teo Mrnjavac
b21dc4fe4c Added Utils, Logger, Translations, QCommandLineParser, init boilerplate 2014-06-06 17:19:59 +02:00