57 Commits (102bed180521a61280cbf51a0a38e2f8b106b37e)

Author SHA1 Message Date
Adriaan de Groot 102bed1805 Partitions: split device-listing (and winnowing) into separate source file.
The grab-list-of-writable-devices code is usable for the partition module, but
also useful for welcome module, so reduce its footprint.
8 years ago
Adriaan de Groot 5bf03cc515 Partitions: shuffle some device-detection code off to PartUtils.cpp 8 years ago
Adriaan de Groot aeb0cd0d3f Partitions: drop devices with mounted partitions.
FIXES #639
8 years ago
Adriaan de Groot cc7631dd99 Partitions: code-formatting 8 years ago
Adriaan de Groot 232bbe18bc Be more verbose while scanning devices 8 years ago
Adriaan de Groot 8ea14d7957 Release: add copyright to files I've touched 8 years ago
Adriaan de Groot 46a2503c87 PartitionModule: skip nullptr devices, and report count
FIXES #686
8 years ago
Adriaan de Groot 92a2c7aa70 PartitionModule: avoid nullptr crashes
Fix up iterator code so that it handles nullptr better.
This avoids part of #686.
8 years ago
Teo Mrnjavac 45315e6ae9 Improve debug output for bootloader code path. 9 years ago
Kevin Kofler 1548fe4810 [partition] Use FlagEsp instead of sgdisk to scan for ESPs.
Address an old FIXME in
PartitionCoreModule::scanForEfiSystemPartitions(): Check the FlagEsp on
the Partition object (that KPMcore has been supporting since 2.1.0)
instead of running sgdisk.
9 years ago
Chantara Tith 64db6d5ba1 Use device's immutable copy instead of rescanning. 9 years ago
Teo Mrnjavac c316d22b08 Keep an immutable copy for every scanned Device* to avoid rescans. 9 years ago
Teo Mrnjavac cbb2162ee9 Merge pull request #255 from stikonas/master
Port away from most cases of Q_FOREACH to C++11 ranged for loop.
9 years ago
Teo Mrnjavac 6c928e0404 Exclude ISO9660 volumes. 9 years ago
Teo Mrnjavac ad219e1b8e Exclude loop devices with mounted children from devices list. 9 years ago
Andrius Štikonas 9f0ca042fe Port away from most cases of Q_FOREACH to C++11 ranged for loop.
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
9 years ago
Teo Mrnjavac 811261258b Try to load filesystem UUIDs into the OsproberEntryList structure. 9 years ago
Teo Mrnjavac 003456594e Try with new enumeration but no cache reset. 9 years ago
Teo Mrnjavac c08eecbbaf Invalidate colors cache on delete. 9 years ago
Teo Mrnjavac 2951c88990 Init filesystems asynchronously. 9 years ago
Teo Mrnjavac 45f6e6c55b Rearrange asynchronous scan in PartitionCoreModule a bit. 9 years ago
Teo Mrnjavac a252f7ff32 Debug output. 9 years ago
Teo Mrnjavac 167b4fc0a2 Exclude zram from devices list. 9 years ago
Teo Mrnjavac 4f5230fc63 Revert "Temporarily allow read-only devices."
This reverts commit fc4a8b8628.
9 years ago
Teo Mrnjavac fc4a8b8628 Temporarily allow read-only devices.
This way the KPMcore libpartedbackend scanner won't filter out Parted
devices of type UNKNOWN.
CAL-349
9 years ago
Teo Mrnjavac e9d2312002 PCM::createPartition now includes SetPartFlagsJob.
Also remove outstanding SetPartFlagsJobs when deleting a new partition.
9 years ago
Teo Mrnjavac cb9a984b11 setPartitionFlags in PartitionCoreModule. 9 years ago
Teo Mrnjavac 7d8b8eb7a6 Improve debug output for device detection. 9 years ago
Teo Mrnjavac 64498ea71b Keep the EFI system partitions model up to date with reverts. 9 years ago
Teo Mrnjavac 0cff1cd7ec Add deviceReverted signal to PCM and emit it. 9 years ago
Teo Mrnjavac a1e4667ebe New revertAllDevices operation in PCM. 9 years ago
Teo Mrnjavac fbb293c15a Back to QFutureWatcher, but we allocate/destroy it ourselves.
This reverts commit c64eef54f6584b26f14933f0c8e600d5ad2dacbb.
9 years ago
Teo Mrnjavac d635709833 Maybe a plain QTimer is enough. 9 years ago
Teo Mrnjavac dbef198bac Add asynchronous device revert. 9 years ago
Teo Mrnjavac ace0d30eb4 PCM::createImmutableDeviceCopy can be static. 9 years ago
Teo Mrnjavac ad2ce6b6d4 Refresh model on forgetChanges. 9 years ago
Teo Mrnjavac 423c9ccfb7 Reset the partition model before swapping the new Device into the DM. 9 years ago
Teo Mrnjavac 0a0a0d58e0 PartitionCoreModule::revertDevice. 9 years ago
Teo Mrnjavac e277467ed4 Run osprober after we have a working DeviceModel. 9 years ago
Teo Mrnjavac 0224811bf6 Move Osprober to PCM and add Osprober roles to PartitionModel. 9 years ago
Teo Mrnjavac 9b2f04daf6 Add reverted signal to PCM. 9 years ago
Teo Mrnjavac 5f54a56513 PMUtils is now KPMHelpers. Also fixup after PartUtils refactor. 10 years ago
Teo Mrnjavac 4f2eddd146 Exclude read-only devices from partitioning backend scan. 10 years ago
Teo Mrnjavac adc23b99b6 Move CalaPM init into PMUtils. 10 years ago
Teo Mrnjavac c2eef9ac30 The Humongous Include Fixage For KPMcore Headers. 10 years ago
Teo Mrnjavac 845dd761d9 Do not dereference a nullptr. 10 years ago
Teo Mrnjavac f4a13b2041 Add EFI System Partition scanning support to PartitionCoreModule. 10 years ago
Teo Mrnjavac 67b96f750a Code style. 10 years ago
Teo Mrnjavac 0d0e3bf7bc Add hack to PCM to create a rescanned device copy to use as preview. 10 years ago
Teo Mrnjavac be2083e2bf Add device node to Partitioning summary info objects. 10 years ago