Andrius Štikonas
24237a6120
Change a way untranslated file system name is accessed.
2017-09-15 12:47:28 +01:00
Andrius Štikonas
f29656ca45
Move showColumnsContextMenu function from kpmcore to partitionmanager.
2017-09-14 20:42:43 +01:00
Andrius Štikonas
4b4198c34a
Use untranslated file system name when importing partition table.
...
BUG: 364648
2017-09-14 14:47:39 +01:00
Andrius Štikonas
aa762266ae
Fix some minor clang warnings.
2017-09-11 18:46:48 +01:00
Andrius Štikonas
78eca538d6
Remove double underscore from include guards.
2017-09-11 16:28:04 +01:00
Andrius Štikonas
112b6c9f07
Move IconThemes dependency from kpmcore to partitionmanager.
2017-09-08 15:06:08 +01:00
Andrius Štikonas
a9047ca6e2
Merge branch 'master' into next2
2017-09-06 00:10:29 +01:00
Andrius Štikonas
feb2e374e4
Fix a crash when clicking cancel in ApplyProgressDialog.
...
BUG: 384348
2017-09-06 00:07:11 +01:00
Andrius Štikonas
20da0d64cf
Port away from QRegExp.
2017-09-05 12:55:44 +01:00
Andrius Štikonas
da621fbfbe
Use QValidator to validate label input.
2017-09-05 12:52:47 +01:00
Andrius Štikonas
0f64ac2dc3
Port to validateLabel function.
2017-09-04 17:39:39 +01:00
Andrius Štikonas
ff45763427
Record sector size in FileSystem class.
2017-09-03 16:01:48 +01:00
Andrius Štikonas
4c46d7ad0b
Adapt to kpmcore QList->QVector changes.
2017-08-31 10:49:26 +01:00
Andrius Štikonas
482c1f63a3
std::vector->QVector.
2017-08-31 10:34:58 +01:00
Andrius Štikonas
58281d6855
Adapt to kpmcore createWithLabel changes.
2017-08-31 10:21:32 +01:00
Andrius Štikonas
e3c14dbbb4
Convert pvList to std::vector.
...
We do not need to insert elements at arbitrary locations,
so vector should be sufficient.
Postpone changes in kpmcore till later to avoid breaking API.
2017-06-05 00:28:22 +01:00
Andrius Štikonas
6889a3b17c
Replace QMaps for mount point entries with std::multimap.
...
This allows to retain multiple fstab entries for given block device.
At the moment there is no UI to access more than one mount point entry
but at least we will not be corrupting user's fstabs when we edit
unrelated entries.
2017-06-04 23:04:52 +01:00
Andrius Štikonas
97dc11bb89
Port qSort.
2017-05-03 19:24:41 +01:00
Andrius Štikonas
d9e19a2d5d
Use new function overload of KRun::runUrl()
...
KIO 5.31 introduced a new overload of KRun::runUrl() and set deprecation
warnings on the old one.
2017-04-16 19:35:08 +01:00
Andrius Štikonas
255e34bf9e
Port from deprecated ui() to uiDelegate()
2017-04-11 20:49:46 +01:00
Andrius Štikonas
a33b1f516a
Add missing trailing colon.
2017-01-26 23:38:37 +00:00
Andrius Štikonas
7f5e592ba9
Use qAsConst and required Qt 5.7.1.
2017-01-05 19:11:32 +00:00
Andrius Štikonas
771c0ceaa2
Add a validator for LVM VG names. Restrict to alphanumeric and +-_.
2016-12-07 21:51:22 +00:00
Andrius Štikonas
d2b3f7344a
Revert "Remove LVM LV formatted as LVM PV partition from the PV list when resizing LVM VG if it belongs to the same VG."
...
This reverts commit 6e6f41b209
.
2016-12-06 03:18:29 +00:00
Andrius Štikonas
6e6f41b209
Remove LVM LV formatted as LVM PV partition from the PV list when resizing LVM VG if it belongs to the same VG.
2016-12-06 02:51:54 +00:00
Andrius Štikonas
d9c80e3b76
Silence some layout warnings.
2016-11-19 03:03:36 +00:00
Andrius Štikonas
f9c1665e87
LVM VG resize should be allowed if final size is exactly equal to used space.
...
I.e. replace strict inequality with more or equal.
2016-11-07 18:57:30 +00:00
Andrius Štikonas
3eddfe2374
Use new kpmcore function to check whether LVM VG can be removed.
2016-11-05 15:35:27 +00:00
Andrius Štikonas
042b83e1a0
Update copyright.
2016-11-04 14:14:05 +00:00
Andrius Štikonas
2602e0620c
Fix handling of encrypted LVM physical volumes.
2016-11-03 14:22:11 +00:00
Andrius Štikonas
46ae0c73a8
Store list of physical volumes in a global variable.
2016-11-03 13:26:23 +00:00
Andrius Štikonas
97aedd1806
Replace complicated QPair type with custom LvmPV class.
2016-11-02 23:07:01 +00:00
Andrius Štikonas
b2520a8dc6
Refresh actions after LVM VG deactivate job.
2016-10-30 02:32:26 +00:00
Andrius Štikonas
fea271330d
Use cached values for resizing volume groups.
2016-09-24 21:09:16 +01:00
Andrius Štikonas
9a337e72f4
Add a template to easily access inner filesystem inside LUKS.
2016-09-22 13:15:29 +01:00
Andrius Štikonas
e30c95ea25
Add some extra context for translators.
2016-09-18 11:59:25 +01:00
Andrius Štikonas
b5f5a78054
Make two strings translatable.
2016-09-18 11:56:37 +01:00
Andrius Štikonas
5bebcfbbc8
More conversion from QStringList to QList<const Partition*>.
...
listPhysicalVolumes::checkedItems is now QList based.
2016-09-18 01:55:14 +01:00
Andrius Štikonas
e2afd2c683
Avoid calling lvm command to list Volume Groups in CreateNewVolumeGroup dialog.
2016-09-11 02:54:16 +01:00
Andrius Štikonas
007c2faf11
Continue converting LVM away from QStrings to Partition objects.
2016-09-11 00:19:58 +01:00
Andrius Štikonas
280ba106e8
Store the list of LVM Physical Volumes in operationStack.
2016-09-10 22:10:11 +01:00
Andrius Štikonas
95ca21f4e2
More optimizations for LVM.
2016-09-08 01:42:13 +01:00
Andrius Štikonas
da663169f7
Adapt to kpmcore changes regarding LVM PV detection.
2016-09-07 14:36:59 +01:00
Andrius Štikonas
e7d2a21599
Hide encrypt/decrypt action for non luks partitions.
2016-09-06 00:34:16 +01:00
Andrius Štikonas
29cb8f6201
Replace 2 cases of getLVs with LVPathList.
2016-09-05 17:29:09 +01:00
Andrius Štikonas
10a2aca527
Initial work on storing LVM variables during initial scan.
2016-09-05 14:48:59 +01:00
Andrius Štikonas
19cd61dad0
Update to latest KPMcore API (cache luks specific values during the scan).
2016-09-04 23:34:16 +01:00
Andrius Štikonas
98150d48bb
Readd forgotten files.
2016-09-04 15:58:53 +01:00
Andrius Štikonas
614503a910
Rename Volume->VolumeGroup.
2016-09-04 12:25:43 +01:00
Andrius Štikonas
46b2c16131
Use lvm2_pvFS pointer to call member functions.
2016-09-04 11:58:46 +01:00