Andrius Štikonas
d0ed72fd20
Fix a typo in LVM VG Operation description.
2016-11-05 20:34:52 +00:00
Andrius Štikonas
eb0c32e9dc
Improve checking whether LVM VG can be removed.
...
E.g. if we remove all LVM LVs without applying operations then LVM VG removal
should be possible.
This still does not take into account inactive LVM volumes.
2016-11-05 15:33:20 +00:00
Andrius Štikonas
5c2d485b32
Delete partition table in LVM VG remove operation.
2016-11-05 13:10:30 +00:00
Andrius Štikonas
d6c375f959
Update copyrights.
2016-11-04 14:20:11 +00:00
Andrius Štikonas
6ebe0acf56
Spelling fix.
2016-11-04 00:49:42 +00:00
Andrius Štikonas
724574e436
Fix creation of LVM VGs when LVM PV is encrypted.
2016-10-30 03:24:01 +00:00
Andrius Štikonas
e765316f9e
Mark LVM PV as mounted if it is part of Volume Group.
...
* Add support for online LVM PV resize and check actions.
* Fix support for online actions inside LUKS container.
2016-10-30 01:47:29 +01:00
Andrius Štikonas
9c7db501bf
Use cached values for resizing volume groups.
2016-09-24 21:09:11 +01:00
Andrius Štikonas
07ed3d97cf
Add a template to easily access inner filesystem inside LUKS.
2016-09-22 13:15:20 +01:00
Andrius Štikonas
fce53d2392
Use more cached values in ResizeVolumeGroupOperation.
2016-09-18 02:47:24 +01:00
Andrius Štikonas
ef7680030c
Remove some no longer necessary functions.
2016-09-18 02:40:30 +01:00
Andrius Štikonas
28478ee0ad
More conversion from QStringList to QList<const Partition*>.
2016-09-18 01:53:42 +01:00
Andrius Štikonas
70a9a0dd9a
More optimizations for LVM.
2016-09-08 01:42:04 +01:00
Andrius Štikonas
b3e82d7c75
Cache LUKS specific variables during initial scan.
2016-09-04 23:32:00 +01:00
Andrius Štikonas
b5b5ac9cb4
getPESize does not have to be static.
2016-09-04 11:55:49 +01:00
Andrius Štikonas
90e40af590
@dev -> @param.
2016-08-15 17:20:50 +01:00
Chantara Tith
28dd42839d
More documentations.
2016-08-15 17:20:50 +01:00
Chantara Tith
a8139278db
Add deactivatable check to deactivate VG operation.
2016-08-15 17:20:50 +01:00
Chantara Tith
fabde86139
Remove device's partitionTable when deactivated.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
8a3c11774c
Make variable names slightly more consistent thruoght kmpcore.
...
Add more doxygen comments.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
47837843c5
Simplify construction of PV list.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
4de925735e
Convert some for loops into for ranged based loops.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
40ff0861a8
Convert most of the remaining foreach cases.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
16a2d063e3
More work on C++11 for loops.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
a10c8d3aaa
Convert to C++11 for loop where it is safe (avoid detaching Qt objects).
2016-08-15 17:20:50 +01:00
Andrius Štikonas
9ed640084d
Fix broken include guard.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
cadb80e264
Show the describtion of resize LVM VG as one line.
2016-08-15 17:20:50 +01:00
Chantara Tith
25bbce4975
A small dirty hack to keep track of all the PVs that to be added to any VG.
2016-08-15 17:20:50 +01:00
Chantara Tith
3b26d39d3c
Add deactivating VG operation.
2016-08-15 17:20:50 +01:00
Chantara Tith
67ca8f7d63
Store device pointer for RemoveVolumeGroupOperation for preview uses.
2016-08-15 17:20:50 +01:00
Chantara Tith
f115383d8c
Resizing Volume Group preview.
2016-08-15 17:20:50 +01:00
Chantara Tith
254ac012af
Add functionality to specify PE size when creating VG group.
2016-08-15 17:20:50 +01:00
Chantara Tith
7e9889bce6
Initial work on Resize operation and move/resize jobs.
2016-08-15 17:20:50 +01:00
Chantara Tith
b211dc03e3
Remove canRemove.
2016-08-15 17:20:50 +01:00
Chantara Tith
c74a61e513
Initial work on removeVolume Operation and Job.
2016-08-15 17:20:50 +01:00
Chantara Tith
0476f9df83
Move createvolumegroup operation and job parameter to QStringList
2016-08-15 17:20:50 +01:00
Chantara Tith
e5fa4cc465
Initial work on create volume operation and job.
2016-08-15 17:20:50 +01:00
Chantara Tith
e50f7e65bf
Disable createPartitionTable action for LVM device.
2016-08-15 17:20:50 +01:00
Chantara Tith
fcc8a7c992
Initial Device separation
2016-08-15 17:20:50 +01:00
Andrius Štikonas
4d25524e91
Add support for resizing online.
2016-08-08 02:01:35 +01:00
Andrius Štikonas
99886f32fc
Add more warning tags.
2016-07-18 12:50:52 +01:00
Andrius Štikonas
3a2b78e143
Improve semantic markup of translations.
2016-07-17 23:41:00 +01:00
Andrius Štikonas
09711cdf1d
Whitespace fixes.
2016-06-01 21:00:31 +01:00
Andrius Štikonas
6e4c330410
Do not run moc on classes where it is not necessary.
2016-05-22 23:53:17 +01:00
Andrius Štikonas
96eaf6abae
Fix overwriting partitions.
...
BUG: 362956
2016-05-19 12:11:58 +01:00
Andrius Štikonas
45654e5e83
Convert to new syntax and slots syntax.
2016-05-18 19:54:36 +01:00
Andrius Štikonas
9c2f187ed9
Disable copying newly created Luks partitions.
2016-05-18 13:51:38 +01:00
Andrius Štikonas
b896a2abf3
Do not allow to resize/mode newly created luks partitions.
2016-05-18 13:46:59 +01:00
Andrius Štikonas
142ff07938
Remove reduntant virtual keywords.
2016-05-17 18:01:31 +01:00
Andrius Štikonas
82243234e3
We no longer need to fill partition sizes. KPMCore now tracks max fs size (including inside luks).
2016-05-11 23:00:37 +01:00
Andrius Štikonas
24ae2bf079
Do not allow restoring to the partition containing open luks volume.
2016-05-11 19:36:06 +01:00
Andrius Štikonas
464b3060fb
Remove remaining ../ from #includes.
2016-05-06 22:36:24 +01:00
Andrius Štikonas
ea4b945ebb
Add override keyword to virtual functions.
2016-04-27 21:54:02 +01:00
Teo Mrnjavac
7ff137233a
Disallow partition delete operation if the FS is cryptOpen.
2016-04-26 11:51:12 +02:00
Andrius Štikonas
58e9876307
Rename qglobal.h to QtGlobal
2016-04-18 17:14:31 +01:00
Andrius Štikonas
e0c23f443b
Update copyright.
2016-03-02 19:00:31 +00:00
Teo Mrnjavac
504ac5a86c
First check, then assert.
2015-07-23 17:55:17 +02:00
Teo Mrnjavac
ac6591807a
First check, then assert.
2015-07-23 17:49:05 +02:00
Teo Mrnjavac
c031d239e5
Do not forget breaks in switch (thanks to Coverity).
2015-07-23 17:36:55 +02:00
Teo Mrnjavac
de27f840bf
Always use nullptr instead of NULL because it is type-safe.
2015-07-22 15:48:03 +02:00
Andrius Štikonas
626f560e52
Format kpmcore code using KDE style.
2015-07-13 17:16:36 +03:00
Teo Mrnjavac
c25bb0d923
Fix indentation.
2015-07-13 16:03:49 +02:00
Teo Mrnjavac
46946c7949
Specify type when creating a new partition.
2015-07-13 16:03:49 +02:00
Teo Mrnjavac
fd8603f70c
Do not use KConfig for the shred action.
2015-07-13 16:03:49 +02:00
Teo Mrnjavac
3bbce2865f
Revert "Format kpmcore code using KDE style."
...
This reverts commit 21b569e499
.
2015-07-13 16:03:36 +02:00
Andrius Štikonas
21b569e499
Format kpmcore code using KDE style.
2015-07-13 17:02:13 +03:00
Teo Mrnjavac
3db017e4c1
Consistently use spaces instead of tabs in CMakeLists.txt files.
2015-07-02 15:21:46 +02:00
Andrius Štikonas
46615725b5
Move FileSystem::defaultFileSystem to GUI.
2015-06-30 22:22:00 +03:00
Andrius Štikonas
1ef6fa8131
Move kpmcore library into its own repository.
2015-06-04 01:29:22 +01:00