Commit Graph

654 Commits

Author SHA1 Message Date
Teo Mrnjavac
58b264e0a9 Correctly install configuration files for viewmodules. 2014-08-08 10:38:15 +02:00
Aurélien Gâteau
ddb6813d26 Update partitionmanager submodule: merged origin/master into calamares 2014-08-08 10:35:06 +02:00
Aurélien Gâteau
62470ac4cf Update partitionmanager submodule: remove stray kcolorscheme.h include 2014-08-08 08:54:12 +02:00
Teo Mrnjavac
f5b4de67c4 Properly load module config files with an explicit config path. 2014-08-07 18:05:46 +02:00
Teo Mrnjavac
70691068cb Fix sudoers setup in users module. 2014-08-07 17:56:52 +02:00
Aurélien Gâteau
1c9265cd21 Merge branch 'wip/resize-partition' 2014-08-07 17:40:03 +02:00
Aurélien Gâteau
9b30e27f5e update partitionmanager submodule: Nicer rendering of PartResizerWidget 2014-08-07 17:30:07 +02:00
Aurélien Gâteau
310fdc56d9 Set proper colors in PartResizeWidget 2014-08-07 17:26:26 +02:00
Aurélien Gâteau
055904b20a Coding style 2014-08-07 17:25:45 +02:00
Aurélien Gâteau
86481461fd Move color handling to a separate namespace 2014-08-07 17:24:39 +02:00
Aurélien Gâteau
cf4416a171 Keep partition color if space is inserted/removed before it 2014-08-07 16:13:46 +02:00
Aurélien Gâteau
06e30b8290 Remove PartitionSizeWidget 2014-08-07 13:05:16 +02:00
Aurélien Gâteau
5c9c414988 Use PartResizerWidget in CreatePartitionDialog 2014-08-07 13:04:02 +02:00
Aurélien Gâteau
38c685dc10 Move code cloning the partition for PartResizerWidget to PMUtils 2014-08-07 12:59:24 +02:00
Aurélien Gâteau
c109059eb7 Fix crash if widgets are deleted before new ones are set 2014-08-07 12:58:28 +02:00
Aurélien Gâteau
55f4231c92 EditExistingPartitionDialog: Visual resizing of partitions 2014-08-06 18:31:46 +02:00
Teo Mrnjavac
78a3f1ce57 Merge pull request #81 from calamares/config
Configuration refactor
2014-08-06 17:42:35 +02:00
Teo Mrnjavac
5400afa540 Fix settings.conf loading. 2014-08-06 17:23:40 +02:00
Teo Mrnjavac
277d5d4cc1 Update settings.conf 2014-08-06 17:16:40 +02:00
Teo Mrnjavac
014469c849 Improve logging in Module.cpp 2014-08-06 16:16:25 +02:00
Aurélien Gâteau
c3efa65668 Make sure all PM filesystem classes are initialized early enough
If FileSystemFactory::init() is not called early enough, we won't get
access to some information such as the number of used sectors.
2014-08-06 16:15:34 +02:00
Teo Mrnjavac
be02eca90e module.conf ==> module.desc everywhere. 2014-08-06 16:01:39 +02:00
Teo Mrnjavac
88d5a301c9 Update Calamares modules documentation. 2014-08-06 15:50:39 +02:00
Teo Mrnjavac
83ad1fae0e Debug output in keyboard viewmodule. 2014-08-06 15:37:21 +02:00
Aurélien Gâteau
b5c3928609 unsquashfs: Do not ignore rsync failures 2014-08-06 15:11:10 +02:00
Aurélien Gâteau
b246a95606 Coding style 2014-08-06 15:11:10 +02:00
Aurélien Gâteau
493e368bf0 update partitionmanager submodule: Build PartResizerWidget 2014-08-06 15:08:19 +02:00
Teo Mrnjavac
e9ef90990b Correctly load globalstorage fake. 2014-08-06 12:57:12 +02:00
Teo Mrnjavac
5c8fa759b0 Update testmodule.py for new config structure. 2014-08-06 12:36:10 +02:00
Teo Mrnjavac
8f10c21e5b Big configuration overhaul.
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
2014-08-06 11:54:45 +02:00
Teo Mrnjavac
75e9fd6aa3 Dracut module. 2014-08-06 11:54:17 +02:00
Aurélien Gâteau
415ad2c506 Fix empty error message 2014-08-06 11:53:23 +02:00
Aurélien Gâteau
a267ef856e Check file system after the resize, like PM does 2014-08-06 11:52:27 +02:00
Aurélien Gâteau
f5ccc616b9 Check file system before resizing: necessary for testResizePartition:shrink to pass 2014-08-06 11:49:04 +02:00
Aurélien Gâteau
d48644a49c Improve prettyName of all jobs, log them in execJobList() 2014-08-06 11:48:03 +02:00
Aurélien Gâteau
e2fe559f9d testResizePartition: more reliability tests
- use bigger partition sizes
- write a file before resizing, test it is the same after resizing
2014-08-06 11:46:03 +02:00
Aurélien Gâteau
dac23c90a1 Implement MoveFileSystemJob: all testResizePartition tests pass 2014-08-05 18:27:24 +02:00
Aurélien Gâteau
4716b1c9b4 Coding style 2014-08-05 17:53:10 +02:00
Aurélien Gâteau
3db6d607ca move MoveFileSystemJob to its own file
It's going to be bigger than the others.
2014-08-05 17:38:26 +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
Aurélien Gâteau
1314bf944f Update partitionmanager submodule: Include CopySourceDevice and CopyTargetDevice 2014-08-05 17:35:54 +02:00
Aurélien Gâteau
f007810118 Implement SetPartGeometryJob and ResizeFileSystemJob
Now testResizePartition:grow and testResizePartition:shrink pass
2014-08-05 16:11:34 +02:00
Aurélien Gâteau
60a224e5cd 3MB is too small for ext4: set a bigger new size for shrink 2014-08-05 16:10:20 +02:00
Aurélien Gâteau
9dac375a31 Don't forget to queue the job! 2014-08-05 16:09:30 +02:00
Aurélien Gâteau
09c3240364 Scaffolding and tests for ResizePartitionJob 2014-08-05 14:57:00 +02:00
Aurélien Gâteau
fc3f3eaa3a Update partitionmanager submodule: Make it possible to set partition sectors from the outside world 2014-08-05 14:55:49 +02:00
Teo Mrnjavac
84ec430729 Add some Python API docs. 2014-08-05 13:23:04 +02:00
Aurélien Gâteau
e6c80ed5bd Coding style 2014-08-05 09:54:30 +02:00
Teo Mrnjavac
1d6c41e94d A timezone is a file, not a directory. 2014-08-04 21:48:04 +02:00
Aurélien Gâteau
9ce55bfb83 Introduce PartitionSizeWidget to reduce duplication between dialogs 2014-08-04 19:26:16 +02:00