Commit Graph

463 Commits

Author SHA1 Message Date
Andrius Štikonas c4b28aa91f Revert "Use udevadm for detecting file system type."
udevadm seems to suffer from race conditions and sometimes returns exit code 4.

This reverts commit 5ea32b446c.
2016-07-24 21:36:56 +01:00
Andrius Štikonas 5ea32b446c Use udevadm for detecting file system type. 2016-07-24 15:18:27 +01:00
Andrius Štikonas 78df451ea0 Add forgotten file. 2016-07-24 10:08:05 +01:00
Andrius Štikonas 2e9166d2d4 Improve comment of major device numbers.
Exclude read-only block devices.
2016-07-23 22:01:38 +01:00
Andrius Štikonas c8e9c72d88 Look for more type of block devices. 2016-07-22 15:53:15 +01:00
Andrius Štikonas e7e98579c0 Silence cmake warning. 2016-07-22 13:19:45 +01:00
Andrius Štikonas b5d1529370 excludeReadOnly->excludeLoop. 2016-07-22 13:18:34 +01:00
Andrius Štikonas 4a0b8f8efb Use lsblk to detect devices. 2016-07-22 12:56:59 +01:00
Andrius Štikonas e64a82ff19 Use KAuth to get privileges needed for detecting partitions. 2016-07-22 12:00:01 +01:00
Andrius Štikonas 99886f32fc Add more warning tags. 2016-07-18 12:50:52 +01:00
Andrius Štikonas 39e419a36e Use <warning> KUIT tags. 2016-07-18 12:21:06 +01:00
Andrius Štikonas 3a2b78e143 Improve semantic markup of translations. 2016-07-17 23:41:00 +01:00
Andrius Štikonas 9d040e6081 Use reverse iterator. 2016-07-08 00:57:16 +01:00
Andrius Štikonas 9baaec35d5 Require Qt 5.6.1. 2016-07-08 00:39:49 +01:00
Andrius Štikonas 4ba9971de9 Do not use obsolete type. 2016-07-06 20:44:32 +01:00
Andrius Štikonas aa6f7f8f84 Bump version to 2.2.1. 2016-07-06 16:17:36 +01:00
Andrius Štikonas e437da6091 Also check whether HFS+ shrink support is available. 2016-06-12 16:15:18 +01:00
Andrius Štikonas 2514f7d8f4 Use diskdev_cmds instead of obsolete hfsplusutils for HFS+ file systems. 2016-06-12 13:33:04 +01:00
Andrius Štikonas b6911285dc Adjust maximum capacity for fat32, jfs and reiserfs. 2016-06-09 22:07:23 +01:00
Andrius Štikonas 35c7f9749e Also reduce max capacity for ext2 and ext3 file systems. 2016-06-09 19:46:21 +01:00
Andrius Štikonas 3756ec45da Reduce maximum capacity of FAT16 file systems by 1 MiB. 2016-06-09 19:22:56 +01:00
Andrius Štikonas 5e982b5b1e Fix memory leaks. 2016-06-02 13:46:16 +01:00
Andrius Štikonas 09711cdf1d Whitespace fixes. 2016-06-01 21:00:31 +01:00
Andrius Štikonas 8ae2ea3006 Make sure file system is not mounted before deleting it.
Sometimes user might try to mount manually and then delete partition
without refreshing state in KPM.
2016-05-26 18:47:34 +01:00
Andrius Štikonas 0c70c66aae Disable MountPointDialog for swap, lvm pv and unknown partitions. 2016-05-24 17:26:12 +01:00
Andrius Štikonas 3d57b3211a Convert remaining signals to the new syntax. 2016-05-24 01:37:15 +01:00
Andrius Štikonas 9c513c8991 Bump version to 2.2.0. 2016-05-23 20:32:20 +01:00
Andrius Štikonas 9de7341985 Use lsblk --list instead of lsblk --raw. Makes unicode mapper names work. 2016-05-23 12:00:33 +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 b4a13599aa Libpartedbackend can also use KDiskFreeSpaceInfo for mounted luks partitions. 2016-05-22 00:52:07 +01:00
Andrius Štikonas 35a4798672 Add some support to get used space info for mounted LUKS partitions using KDiskFreeSpaceInfo. 2016-05-22 00:48:55 +01:00
Andrius Štikonas f820c8d764 Adjust minimal filesystem size for luks partitions. 2016-05-20 20:13:11 +01:00
Andrius Štikonas 7e8ee77edf Make luks helper functions non-static. 2016-05-20 19:38:12 +01:00
Andrius Štikonas 12bc2329a2 Used space is larger for luks volumes due to payload. 2016-05-20 19:17:52 +01:00
Andrius Štikonas 4278172f35 Iterate over operation stack backwards.
BUG: 363216
2016-05-19 16:40:20 +01:00
Andrius Štikonas 96eaf6abae Fix overwriting partitions.
BUG: 362956
2016-05-19 12:11:58 +01:00
Andrius Štikonas da550fb534 Fix null pointer dereference. 2016-05-19 01:53:30 +01:00
Andrius Štikonas 349b59574f Q_OBJECT macro is not necessary for ExternalCommand. 2016-05-18 22:32:33 +01:00
Andrius Štikonas 45654e5e83 Convert to new syntax and slots syntax. 2016-05-18 19:54:36 +01:00
Andrius Štikonas 8d178a2a86 Update doxygen variable. 2016-05-18 19:35:37 +01:00
Andrius Štikonas fdfc47cf8f Leave LUKS cmdSupport variables static for now. 2016-05-18 17:39:28 +01:00
Andrius Štikonas 6f8a2c7016 Also disable decryption of luks partition if it is copied in the operation stack. 2016-05-18 15:45:00 +01:00
Andrius Štikonas 063c50aec6 Add a method to check whether partition is part of operationStack. 2016-05-18 14:56:13 +01:00
Andrius Štikonas ffa24e4451 Revert "Disable OperationStack merging of operations for luks partitions."
This is no longer necessary now that copying/resizing of new luks partitions is
forbidden.
This reverts commit aec564f1a2.
2016-05-18 13:58:08 +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 aec564f1a2 Disable OperationStack merging of operations for luks partitions. 2016-05-18 13:13:51 +01:00
Andrius Štikonas 541e89a476 Fix moving unmovable partitions bug in partition resize widget. 2016-05-18 12:30:44 +01:00
Andrius Štikonas 7914e0aa98 Improve luks::supportCopy and luks::supportSetLabel. 2016-05-18 02:04:33 +01:00
Andrius Štikonas ecbbdb3b1d Do not allow moving open luks volumes. 2016-05-18 00:46:08 +01:00