948 Commits (f8385d2cb8912f9cdcf5cdebd52a002535a7016a)

Author SHA1 Message Date
Teo Mrnjavac 78de11a412 Emit job progress from Python jobs. 12 years ago
Aurélien Gâteau 89fd6a950b Add support for per-job progress 12 years ago
Aurélien Gâteau e9da5cb6cb Change signature of JobQueue::progress, add finished() signal
Now uses a qreal for progress instead of current and total
Also added a finished() signal because determining whether the queue is
finished should not be done by comparing a qreal with 1.0 as this is not
precise.
12 years ago
Teo Mrnjavac 2636a1273f Add job.setprogress to Python API. 12 years ago
Teo Mrnjavac c6c2c67560 Rewrite Python error handling to show meaningful messages. 12 years ago
Teo Mrnjavac 0753e6ccde New GlobalStorage map. With Python API support. 12 years ago
Teo Mrnjavac d9f4c74537 Add support for config map to Python job API.
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
12 years ago
Teo Mrnjavac 2f03dfa43b CalamaresPrivate ==> CalamaresPython 12 years ago
Aurélien Gâteau 43f29b8058 Start working on tests for partition jobs 12 years ago
Teo Mrnjavac e33e9de6f6 Symlink lib/calamares/libcalamares.so to lib/libcalamares.so for Python. 12 years ago
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.
12 years ago
Teo Mrnjavac b924aeef2b Add optional Python jobs support to libcalamares. 12 years ago
Teo Mrnjavac 754ef7dbbc Fix prettyName. 12 years ago
Aurélien Gâteau 7096213206 Move partitionmanager code to src/modules/partition 12 years ago
Teo Mrnjavac 51e5976a99 Better error message. 12 years ago
Teo Mrnjavac 2e47c248ac Load modules by phase, in preparation for actually using new settings. 12 years ago
Aurélien Gâteau 22ff18f2cc Update partitionmanager submodule, fixing build without KIO 12 years ago
Aurélien Gâteau 784f07cbbc Update partitionmanager submodule: latest commits from the frameworks branch
@demm: This includes the btrfs fix
12 years ago
Aurélien Gâteau 2e3f1c655c Update partitionmanager submodule, necessary for next commit 12 years ago
Aurélien Gâteau b1ce4afc8c Update partitionmanager submodule 12 years ago
Teo Mrnjavac b3aae75bed Add working directory to ProcessJob 12 years ago
Aurélien Gâteau 165d28fc23 Abort installation when a job fails 12 years ago
Teo Mrnjavac fe7a64d5ab Add ProcessJob, a wrapper for external commands. 12 years ago
Teo Mrnjavac dbadbf69ec Const correctness. 12 years ago
Teo Mrnjavac d1151d87cf Move implementation to cpp file. 12 years ago
Aurélien Gâteau 6881fdab6e JobResult 12 years ago
Aurélien Gâteau 04743eb4be Basic JobQueue implementation 12 years ago
Aurélien Gâteau f10f2026ad Update partitionmanager submodule 12 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.
12 years ago
Aurélien Gâteau bcfbf3eda2 Dummy implementation of JobQueue so that I can call it 12 years ago
Teo Mrnjavac f1da3373a8 Added Typedefs.h and Job/JobQueue interfaces. 12 years ago
Teo Mrnjavac afa1d9dce0 To build with partitionmanager: cmake -DWITH_PARTITIONMANAGER=1 12 years ago
Teo Mrnjavac 6388171521 Stubs for JobQueue and Job. 12 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.
12 years ago
Aurélien Gâteau 3cc7fe3245 Rename config.h to CalamaresConfig.h
Avoid name clashes with partitionmanager's config.h
12 years ago
Teo Mrnjavac 6324feb2f3 Probably best to not even try to mkdir /usr/lib 12 years ago
Teo Mrnjavac ef48f36445 Add modules path in build dir if --debug.
Also fix config.h location.
12 years ago
Teo Mrnjavac ab5c818f4f Fix -Wnarrowing warnings in KDSingleApplicationGuard 12 years ago
Teo Mrnjavac d20e3ce598 Add DLLEXPORT_PRO definitions. 12 years ago
Teo Mrnjavac 13fcf387c7 A bunch of work on loading plugins.
Also switched to C++11.
12 years ago
Aurélien Gâteau 1da7ba446d Fix link error on Qt5 libs 12 years ago
Teo Mrnjavac 05d355f21f Config files are YAML, not JSON. We depend on yaml-cpp for parsing. 12 years ago
Teo Mrnjavac 4e14ec7834 Fixed defines for Logger 12 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.
12 years ago
Teo Mrnjavac b21dc4fe4c Added Utils, Logger, Translations, QCommandLineParser, init boilerplate 12 years ago
Teo Mrnjavac 2120685822 Fix error in headers. 12 years ago
Teo Mrnjavac 27cea281bc Added KDSingleApplicationGuard boilerplate because it's a singleton.
Also DllMacro.h
12 years ago
Teo Mrnjavac b5ec7c4702 CMake skeleton. 12 years ago