Teo Mrnjavac
0684a761bd
Copyright.
2016-08-19 12:49:36 +02:00
Teo Mrnjavac
d99d7bfdff
Expose CalamaresUtils::obscure as libcalamares.utils.obscure.
2016-08-19 12:49:36 +02:00
Teo Mrnjavac
bf885d65db
chroot calls are now generic "target env" calls.
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
326671a3d6
Remove dead (unreachable) code.
2015-06-13 21:31:32 +02:00
Teo Mrnjavac
eae237211f
Add prettyStatusMessage to {Python,Process}Job.
2015-06-13 02:23:11 +02:00
Teo Mrnjavac
659a388688
Improve job status reporting.
2015-06-13 01:16:11 +02:00
Teo Mrnjavac
edb21e05af
New GlobalStoragePythonWrapper is passed to the Python API.
...
This allows us to make GlobalStorage a QObject, with disabled copy
constructor. And thanks to this change, GlobalStorage now emits
changed() every time an insert or remove is performed.
2015-03-10 19:51:08 +01:00
Teo Mrnjavac
eb6b8ac613
Add check_chroot_output to Python interface.
2014-08-08 14:20:09 +02:00
Teo Mrnjavac
84ec430729
Add some Python API docs.
2014-08-05 13:23:04 +02:00
Teo Mrnjavac
01efeda801
Utils, not util.
2014-08-04 17:06:16 +02:00
Teo Mrnjavac
c964093d7c
Make libcalamares a proper package and utils a proper submodule.
2014-08-04 17:05:00 +02:00
Teo Mrnjavac
45ac91c784
Add check_chroot_call to libcalamares Python interface.
2014-08-04 16:06:29 +02:00
Aurélien Gâteau
90670f8b46
Improve formatting of error messages
2014-08-01 09:56:40 +02:00
Teo Mrnjavac
63534f7154
Add mount and chrootCall utilities to libcalamares + Python wrappers.
2014-07-29 20:21:40 +02:00
Teo Mrnjavac
fb328494b3
Make the libcalamares Python API better for PEP8
2014-07-29 13:16:46 +02:00
Teo Mrnjavac
845ae05f7e
Added debug( str ) to the Python API.
2014-07-28 18:56:00 +02:00
Teo Mrnjavac
87ee2b8b8c
Improve error reporting for Python jobs.
2014-07-28 17:40:57 +02:00
Teo Mrnjavac
beafcd9cc4
Consistency: calamares_main ==> run; global_storage => globalStorage
2014-07-25 16:46:12 +02:00
Teo Mrnjavac
2a231b3532
Try to avoid passing GlobalStorage to Python by value.
2014-07-24 12:19:14 +02:00
Teo Mrnjavac
da83ecfb13
libcalamares.job is of type libcalamares.Job
2014-07-23 13:02:42 +02:00
Teo Mrnjavac
78de11a412
Emit job progress from Python jobs.
2014-07-23 12:54:53 +02:00
Teo Mrnjavac
2636a1273f
Add job.setprogress to Python API.
2014-07-22 18:05:58 +02:00
Teo Mrnjavac
0753e6ccde
New GlobalStorage map. With Python API support.
2014-07-21 17:09:23 +02:00
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.
2014-07-18 14:36:30 +02:00
Teo Mrnjavac
2f03dfa43b
CalamaresPrivate ==> CalamaresPython
2014-07-18 14:36:30 +02:00
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
Teo Mrnjavac
b924aeef2b
Add optional Python jobs support to libcalamares.
2014-07-16 16:07:32 +02:00