Commit Graph

519 Commits

Author SHA1 Message Date
Teo Mrnjavac
a61a36d99d We have a Python API for jobmodules!
Created a Boost.Python module interface in libcalamares.
Added a PythonJob wrapper and exposed it in the Python module.
Rename target calamareslib ==> calamares so in Python it's libcalamares.
Python-related classes in libcalamares that aren't exported as C++
symbols are now in a CalamaresPrivate namespace.
Import the libcalamares python module into every Python script before
running it.
Added Python error handling to PythonJobHelper.
Added some more testing code to dummypython module.
2014-07-17 19:42:16 +02:00
Aurélien Gâteau
9c05ecef4d Fix finding of Boost.Python on Ubuntu 2014-07-17 14:54:13 +02:00
Teo Mrnjavac
1dec58f178 Find Python3 + Boost.Python, and other buildsystem fixes. 2014-07-16 15:53:43 +02:00
Teo Mrnjavac
c57d99a21c Add CalamaresAddModuleSubdirectory, a CMake function for modules that
do not require building through a CMakeLists.txt.
2014-07-14 16:26:10 +02:00
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.
2014-07-03 18:00:40 +02:00
Aurélien Gâteau
0446bb1079 More readable partition sizes 2014-07-02 18:04:53 +02:00
Aurélien Gâteau
1b22ec890b Install settings.conf 2014-07-01 10:38:08 +02:00
Aurélien Gâteau
c3fe6026f2 Shut up cmake 3.0 2014-06-27 15:42:12 +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
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
3dd9578b95 Allow undefined symbols when linking plugin. 2014-06-19 11:04:47 +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
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
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
b21dc4fe4c Added Utils, Logger, Translations, QCommandLineParser, init boilerplate 2014-06-06 17:19:59 +02:00
Teo Mrnjavac
b5ec7c4702 CMake skeleton. 2014-06-04 16:35:26 +02:00