Aurélien Gâteau
fa30fe147f
Add PMUtils::isPartitionNew()
2014-07-15 17:32:55 +02:00
Aurélien Gâteau
091c3c2757
Make CreatePartitionDialog.ui easier to read in Designer
2014-07-15 15:31:45 +02:00
Aurélien Gâteau
c30ed3c9c1
Let the user recreate the partition table (mbr or gpt)
...
Closes #20
2014-07-15 14:40:08 +02:00
Aurélien Gâteau
7096213206
Move partitionmanager code to src/modules/partition
2014-07-15 11:54:09 +02:00
Aurélien Gâteau
cbcd821943
Coding style fixes
2014-07-15 11:38:46 +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
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
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
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
Teo Mrnjavac
dbadbf69ec
Const correctness.
2014-07-10 12:06:23 +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
191f37f5fa
Fake CreatePartitionJob::exec() implementation
2014-07-08 19:21:55 +02:00
Aurélien Gâteau
2f774e6c46
Implement PartitionViewStep::jobs()
2014-07-08 15:46:48 +02:00
Teo Mrnjavac
b98c071f94
Prepare for late enqueuing of jobs to the JobQueue.
2014-07-08 14:03:06 +02:00
Aurélien Gâteau
023ed99aca
Coding style
2014-07-08 14:04:57 +02:00
Aurélien Gâteau
36b3de7107
Enable/disable Next button based on whether we have a root mount point
2014-07-08 14:04:57 +02:00
demmm
c3d40b9428
add ECM to CMakeLists,
...
remove obsolete CONFIG
2014-07-05 17:28:13 -04:00
Aurélien Gâteau
15c5142d09
Redo partition type UI and enable/disable mount point UI when appropriate
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
f27ff4c717
We want to format partitions we create
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
467d89f56f
Remove PartitionInfo if we remove a Partition
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
3ed5704818
Refactor: Move creation of CreatePartitionJob to PartitionCoreModule
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
d54dfcfb78
Get rid of DeviceInfo
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
f3f9bfc2a3
Introduce PartitionInfo, to store Calamares-specifc info for a partition
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
1247077ccc
Pass mount point to CreatePartitionJob
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
ab4e81504e
wip mount point
2014-07-04 18:34:01 +02:00
Aurélien Gâteau
a62f3daf25
Adjust logical numbers
2014-07-04 18:34:01 +02:00
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.
2014-07-03 18:00:40 +02:00
Teo Mrnjavac
4cf6c06dda
Useless linkage is useless.
2014-07-03 13:13:06 +02:00
Aurélien Gâteau
3a58e2640f
Show partition elements in separate column
2014-07-02 18:04:53 +02:00
Aurélien Gâteau
0446bb1079
More readable partition sizes
2014-07-02 18:04:53 +02:00
Aurélien Gâteau
a318ec49fc
Enqueue all partition jobs when leaving the PartitionViewStep
2014-07-02 16:06:54 +02:00
Aurélien Gâteau
4916d0cb88
crash--
2014-07-02 16:03:52 +02:00
Aurélien Gâteau
6f3ec0170e
Argh, forgot to commit those files
2014-07-02 15:59:34 +02:00
Aurélien Gâteau
d013e663b8
Implement partition removal
2014-07-02 15:49:35 +02:00
Aurélien Gâteau
f9ca45face
Mark the partition we create as "StateNew"
...
This way if user wants to remove it later we can remove the creation job
instead of queueing a delete job
2014-07-02 15:48:47 +02:00
Aurélien Gâteau
724780fb23
Coding style fixes
2014-07-02 14:12:56 +02:00
Teo Mrnjavac
20beae8f52
Minor nitpick in module.conf
2014-07-02 11:47:48 +02:00
Teo Mrnjavac
80789b6143
Added ProgressTreeModel/View, including different kinds of items.
...
Redone CalamaresWindow without UI file.
Const correctness in ViewStep and plugins.
2014-07-01 17:52:04 +02:00
Aurélien Gâteau
1421a04dd2
Support creation of extended partitions
2014-07-01 17:33:53 +02:00
Aurélien Gâteau
e3c6869fbd
Let CreatePartitionDialog create the Partition object
2014-07-01 17:09:39 +02:00
Aurélien Gâteau
90d26bfd31
Safer dialog handling
2014-07-01 16:46:33 +02:00
Aurélien Gâteau
5eafb9538e
Crude way to distinguish extended from primary partitions + show partition size
2014-07-01 16:29:26 +02:00
Aurélien Gâteau
cdfb890e17
Better way to detect free space
2014-07-01 16:29:00 +02:00