Commit Graph

3994 Commits

Author SHA1 Message Date
Teo Mrnjavac
db84262a8e Code style. 2014-07-14 16:21:42 +02:00
Teo Mrnjavac
2dd88344e5 Instantiate the correct type of module from module.conf. 2014-07-14 14:29:24 +02:00
Teo Mrnjavac
51e5976a99 Better error message. 2014-07-14 14:28:52 +02:00
Mateusz Mikołajczyk
91e1f8248b update for the fix, remove QStyle dependency 2014-07-14 14:04:15 +02:00
Teo Mrnjavac
1dca92947c Add already loaded check to ProcessJobModule 2014-07-14 12:08:41 +02:00
Mateusz Mikołajczyk
ea3b2e4461 fix for issue #13 2014-07-14 11:14:37 +02:00
Teo Mrnjavac
8d28a2ea5d Generalized code path for Phase switching. Also load install modules. 2014-07-12 14:38:33 +02:00
Teo Mrnjavac
6348e72974 Comment out modules we don't have yet. 2014-07-12 14:34:42 +02:00
Teo Mrnjavac
84bfb2aa95 Fixes for loading modules by phase. 2014-07-12 13:13:15 +02:00
Aurélien Gâteau
7ac6588090 Forget pending changes when the partition table is recreated 2014-07-11 17:09:11 +02:00
Aurélien Gâteau
f0dffb7400 Refactor: Introduce PartitionInfoProvider interface, and make DeviceInfo implement it 2014-07-11 17:09:11 +02:00
Aurélien Gâteau
61b17490eb Refactor: group jobs and partitionModel for a device in a DeviceInfo struct
Makes it easier to clear all jobs for a specific device, which is necessary
when replacing a device partition table
2014-07-11 17:09:11 +02:00
Teo Mrnjavac
7034985b74 Remove MM:loadModulesPrepare. 2014-07-11 14:41:53 +02:00
Teo Mrnjavac
2e47c248ac Load modules by phase, in preparation for actually using new settings. 2014-07-11 14:40:15 +02:00
Teo Mrnjavac
a09ab36386 Better settings format, rename a bit of stuff in module loading. 2014-07-11 14:21:50 +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
83a56a6bd3 Add the ability to (re)create partition tables 2014-07-10 19:55:16 +02:00
Aurélien Gâteau
2e3f1c655c Update partitionmanager submodule, necessary for next commit 2014-07-10 19:54:23 +02:00
Aurélien Gâteau
5d6a80deae Factorize management of m_hasRootMountPoint 2014-07-10 19:01:55 +02:00
Aurélien Gâteau
8d3f197fde Clean up 2014-07-10 18:55:19 +02:00
Aurélien Gâteau
c11fc3a4d2 Do not crash if a device does not have a partition table 2014-07-10 18:27:51 +02:00
Aurélien Gâteau
b1ce4afc8c Update partitionmanager submodule 2014-07-10 18:27:51 +02:00
Teo Mrnjavac
1b4d62ef4d Add ProcessJobModule for loading external commands. 2014-07-10 17:11:03 +02:00
Teo Mrnjavac
b3aae75bed Add working directory to ProcessJob 2014-07-10 16:45:13 +02:00
Teo Mrnjavac
8d36a13d92 Style fix. 2014-07-10 16:37:02 +02:00
Aurélien Gâteau
8d01b9a6fd assert-- 2014-07-10 15:14:06 +02:00
Aurélien Gâteau
e792f4c9c5 Implement DeletePartitionJob::exec()
Closes #11
2014-07-10 15:07:02 +02:00
Aurélien Gâteau
7566221eff Nicer error messages on failure 2014-07-10 14:47:06 +02:00
Aurélien Gâteau
165d28fc23 Abort installation when a job fails 2014-07-10 14:47:06 +02:00
Teo Mrnjavac
7894bb9462 Module type Core ==> Job, plus const correctness. 2014-07-10 12:27:53 +02:00
Teo Mrnjavac
9c8d270ddb Add libcalamaresui to include_directories for calamares_bin and modules 2014-07-10 12:27:11 +02:00
Teo Mrnjavac
fe7a64d5ab Add ProcessJob, a wrapper for external commands. 2014-07-10 12:08:43 +02:00
Teo Mrnjavac
dbadbf69ec Const correctness. 2014-07-10 12:06:23 +02:00
Teo Mrnjavac
d1151d87cf Move implementation to cpp file. 2014-07-09 19:08:53 +02:00
Aurélien Gâteau
6881fdab6e JobResult 2014-07-09 15:50:27 +02:00
Aurélien Gâteau
d984489eea Implement CreatePartitionJob 2014-07-09 15:47:34 +02:00
Aurélien Gâteau
04743eb4be Basic JobQueue implementation 2014-07-08 19:21:55 +02:00
Aurélien Gâteau
191f37f5fa Fake CreatePartitionJob::exec() implementation 2014-07-08 19:21:55 +02:00
Teo Mrnjavac
4a166b2f57 Format settings.conf to make it easy to comment out a module. 2014-07-08 18:28:28 +02:00
Teo Mrnjavac
f1ba2e1270 Add prettyStatus to Locale module. 2014-07-08 18:28:28 +02:00
Teo Mrnjavac
e622fe4f99 Add prettyStatus to Keyboard module. 2014-07-08 18:28:28 +02:00
Teo Mrnjavac
c339ac8cfc Add status info to Summary page. Still needs work to make it nice.
Also added onActivate/onLeave to ViewStep and ViewManager.
2014-07-08 18:28:27 +02:00
Teo Mrnjavac
49b91608e3 Stub for Summary viewmodule. 2014-07-08 18:28:27 +02:00
Teo Mrnjavac
2eb6f047f6 Less verbose module cmake output. 2014-07-08 18:28:27 +02:00
Teo Mrnjavac
37305e98f3 Behold the mighty Calamares squid. 2014-07-08 18:28:27 +02:00
Aurélien Gâteau
bb796ecdb0 Merge branch 'wip/install-step2' 2014-07-08 16:09:08 +02:00
Aurélien Gâteau
4fe50d4569 Add InstallationViewStep::jobs() 2014-07-08 15:51:45 +02:00
Aurélien Gâteau
57d89175dc Merge branch 'master' into wip/install-step2 2014-07-08 15:50:03 +02:00
Aurélien Gâteau
2f774e6c46 Implement PartitionViewStep::jobs() 2014-07-08 15:46:48 +02:00