Teo Mrnjavac
d97bb47f09
Add proper QResrouce system to libcalamaresui, finish up prepare checks
...
This also adds ImageRegistry, a SVG cache, a bunch of utility functions
for shared pixmaps in CalamaresUtilsGui and renames several qrc files
in viewmodules.
2014-08-26 18:24:51 +02:00
Pier Luigi Fiorini
f0921a41b2
Try to find settings.conf from SYSCONFDIR
...
Honor SYSCONFDIR as specified by CMake arguments instead of
using a hard-coded path.
Since GNUInstallDirs set CMAKE_INSTALL_FULL_SYSCONFDIR to
CMAKE_INSTALL_PREFIX/etc we need to change the default ourselves.
2014-08-20 11:48:30 +02:00
Teo Mrnjavac
ec7edc4b83
Improve diacritics transliteration.
2014-08-19 11:14:26 +02:00
Teo Mrnjavac
6295f48ab7
Add removeDiacritics function to CalamaresUtils.
2014-08-13 17:15:56 +02:00
Teo Mrnjavac
7a3ce363b3
Add option to run process jobmodules in chroot.
2014-08-12 14:26:10 +02:00
Teo Mrnjavac
eb6b8ac613
Add check_chroot_output to Python interface.
2014-08-08 14:20:09 +02:00
Teo Mrnjavac
f90bf469dd
Add chrootOutput/check_chroot_output to libcalamares utils API.
2014-08-08 14:17:34 +02:00
Aurélien Gâteau
1c9265cd21
Merge branch 'wip/resize-partition'
2014-08-07 17:40:03 +02:00
Teo Mrnjavac
5400afa540
Fix settings.conf loading.
2014-08-06 17:23:40 +02:00
Aurélien Gâteau
249a28910a
Make it possible to update message and details fields of a JobResult
2014-08-05 17:37:24 +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
c64e229142
By default, chrootCall should never time out.
2014-08-04 16:23:12 +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
26e5500e33
chrootCall: Log messages on failure, as well as command outputs
2014-08-01 17:26:18 +02:00
Aurélien Gâteau
6376e1daef
Start the process before calling waitForStarted()
2014-08-01 17:26:18 +02:00
Aurélien Gâteau
70a13fc588
Make logging more useful
...
- Do not log progress percent but log job names.
- Log install failures.
2014-08-01 17:26:18 +02:00
Aurélien Gâteau
45101d15b0
Store log in ~/.cache by default
2014-08-01 11:36:22 +02:00
Aurélien Gâteau
1b695b7355
Fix crash when logging at exit time
2014-08-01 10:56:30 +02:00
Aurélien Gâteau
90670f8b46
Improve formatting of error messages
2014-08-01 09:56:40 +02:00
Teo Mrnjavac
e7e57689d8
Make sure chrootCall with args list actually passes the args as list.
2014-07-30 12:43:15 +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
Aurélien Gâteau
d30b6300ab
Unbreak locating of config file when run without --config
2014-07-28 18:36:24 +02:00
Aurélien Gâteau
289704ab90
Make it possible to override the config dir from the command line
2014-07-28 18:12:08 +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
Aurélien Gâteau
89fd6a950b
Add support for per-job progress
2014-07-23 12:04:27 +02:00
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.
2014-07-23 10:58:08 +02:00
Teo Mrnjavac
2636a1273f
Add job.setprogress to Python API.
2014-07-22 18:05:58 +02:00
Teo Mrnjavac
c6c2c67560
Rewrite Python error handling to show meaningful messages.
2014-07-22 17:48:56 +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
Aurélien Gâteau
43f29b8058
Start working on tests for partition jobs
2014-07-18 10:51:54 +02:00
Teo Mrnjavac
e33e9de6f6
Symlink lib/calamares/libcalamares.so to lib/libcalamares.so for Python.
2014-07-17 19:42:16 +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
Teo Mrnjavac
754ef7dbbc
Fix prettyName.
2014-07-16 16:02:14 +02:00
Aurélien Gâteau
7096213206
Move partitionmanager code to src/modules/partition
2014-07-15 11:54:09 +02:00
Teo Mrnjavac
51e5976a99
Better error message.
2014-07-14 14:28:52 +02:00
Teo Mrnjavac
2e47c248ac
Load modules by phase, in preparation for actually using new settings.
2014-07-11 14:40:15 +02:00
Aurélien Gâteau
22ff18f2cc
Update partitionmanager submodule, fixing build without KIO
2014-07-11 14:11:51 +02:00
Aurélien Gâteau
784f07cbbc
Update partitionmanager submodule: latest commits from the frameworks branch
...
@demm: This includes the btrfs fix
2014-07-10 20:00:53 +02:00
Aurélien Gâteau
2e3f1c655c
Update partitionmanager submodule, necessary for next commit
2014-07-10 19:54:23 +02:00