247 Commits (75f4f0fa0474dbcc1d1b4086ec0daa84b0484607)

Author SHA1 Message Date
Teo Mrnjavac 75f4f0fa04 Fix issue with splitting being allowed when it shouldn't be.
KPM docs misreport Partition::available to be in sectors, when it's
actually in bytes. Because of this, available space estimates were
completely off and resizing was allowed even when there's no room to
do it. This used to put the resize widget in all sorts of weird,
visually broken states.
CAL-188 #comment Does this still happen with current master?
11 years ago
Teo Mrnjavac c7f46136fc Do not crash. 11 years ago
Teo Mrnjavac d0235c4e76 Improve strings for actions in ChoicePage. 11 years ago
Teo Mrnjavac c45e757cea Good guy clang catches lousy code.
CAL-212 #close Fixed.
11 years ago
Philip a62743185a [partition] use C++11 initialization list for mountPoints 11 years ago
Ramon Buldó 6a52811c30 Show efi mountpoint when creating/editing partitions 11 years ago
Ramon Buldó 26bb6951f1 [partition] Change comment to prevent confusions of what Manjaro uses 11 years ago
Teo Mrnjavac 4468e30317 Prevent crash when going back from EraseDiskPage and then next.
This was caused by an invalid reference to a device model in the
partitioning preview widget after a PCM revert.
11 years ago
Teo Mrnjavac 7e7e47b6d1 Do not warn of data loss which might not happen.
CAL-194 #comment Fixed up warnings in ChoicePage.
11 years ago
Ramon Buldó fb3072bbbb /etc/mtab reports a file size of 0, so using .atEnd() may not work. Read the file until it doesn't return more data.
Use QTextStream because it takes care of the conversion between 8-bit and 16-bit.
http://doc.qt.io/qt-5/qfile.html#using-streams-to-read-files
11 years ago
Teo Mrnjavac 642b4be1f2 Keys are not necessarily unique, so use a QList< QPair > instead. 11 years ago
Teo Mrnjavac 20a8b222c6 Verbose debug output. 11 years ago
Teo Mrnjavac b557961a32 New ClearTempMountsJob, to be executed before partitioning jobs. 11 years ago
Teo Mrnjavac ee1a90d845 Add debug details to ClearMountsJob. 11 years ago
Teo Mrnjavac 23eca3db55 Only create a ClearMountsJob for dirty devices.
CAL-195
11 years ago
Kevin Kofler 8c98aeb04a Make efiSystemPartition mount point configurable in partition.conf.
Copy the setting into the global storage. Make the EraseDiskPage in the
partition module and the grub and bootloader modules read it from there.
Do not hardcode /boot as the path anymore.

I set the default path to /boot/efi because I think that's the most
common setting. At least Fedora and Debian use that path. But we can
change the default setting if you think I'm wrong, as long as it remains
configurable.

There is no separate setting for efi_directory_firmware anymore. The EFI
firmwares expect that directory to always be in the "EFI" path in the
EFI System Partition. Distributions using /boot/efi actually have that
directory under /boot/efi/EFI.
11 years ago
Philip 92b6464f6e [grub] make efiDirectory(Firmware) hard-coded
- until we find a better solution
- efiDirectory should be managed by GlobalStorage
- efiDirectory is needed followed modules: bootloader, grub, partition
11 years ago
Philip 1f661a8b4b [partition] change efiPartition value to /boot
- we need to make it configurable not hard-coded
- some distributions need '/boot/efi' or '/boot/EFI', some work with '/boot'
11 years ago
Teo Mrnjavac 69c9d91aa6 Remove excessive debug output. 11 years ago
Teo Mrnjavac 8b753bd65f Reimplement ClearMountsJob without relying on PCM state. 11 years ago
Teo Mrnjavac 1eff260637 Add debug output to the ClearMountsJob code path. 11 years ago
Teo Mrnjavac d07dfc3eca More debug output in partition module. 11 years ago
Teo Mrnjavac 171248ad4f Add isBackEnabled checks to all ViewSteps. 11 years ago
Teo Mrnjavac 5742bbd074 Fix issue with partition selection preview not being updated. 11 years ago
Teo Mrnjavac 7cd382b39c Use osProber output in ReplacePage.
CAL-155 #close
11 years ago
Teo Mrnjavac f8f005f53c Store osprober output in GlobalStorage. 11 years ago
Teo Mrnjavac aa70a4b2dd Improve messages in Replace page.
Fixes CAL-155
11 years ago
Teo Mrnjavac c21f426dee Don't rely on the activated signal in ReplacePage. 11 years ago
Teo Mrnjavac a7b4c01ec0 GB -> GiB 11 years ago
Teo Mrnjavac 0da99d0866 Hook up ReplacePage in ChoicePage and PartitionViewStep. 11 years ago
Teo Mrnjavac 2f2ef73f20 Compile ReplacePage 11 years ago
Teo Mrnjavac 8f8e1ad6d4 New ReplacePage 11 years ago
Teo Mrnjavac e85b2d164f Hook up ClearMountsJob in PartitionCoreModule. 11 years ago
Teo Mrnjavac 1de7b55c3b ClearMountsJob: umount all partitions before making changes to a device.
Fixes #169
11 years ago
Teo Mrnjavac 0c3f88077d More debug output in CreatePartitionTableJob 11 years ago
Teo Mrnjavac da0afd6e55 Better error reporting in CreatePartitionTableJob.cpp 11 years ago
Kevin Kofler 5cae4e0632 partition: Don't assume that an unknown OS is Windows 7.
Don't talk about "Windows 7 programs, documents, photos, music, and
other files" when we actually have no idea what the other operating
system is or when there are multiple ones.
11 years ago
Teo Mrnjavac faa77d7f5e Use Retranslator in Partitioning module. 11 years ago
Teo Mrnjavac 8026a287d3 Shut up Qt lupdate warnings. 11 years ago
Teo Mrnjavac 2e2bd78deb Use Branding in partition viewmodule. 11 years ago
Teo Mrnjavac fc60bcb313 Update partitionmanager submodule. 11 years ago
Teo Mrnjavac 9c10b49802 Check if the filesystem to be resized actually supports grow/shrink. 11 years ago
Teo Mrnjavac ce407a5ec4 Use good old C++ template instead of auto parameter which needs C++1y. 11 years ago
Teo Mrnjavac 961eadada4 New UI and logic for Alongside autopartitioning+install. 11 years ago
Teo Mrnjavac 08a2ab94e7 Use PMUtils::findPartitionByPath in PVS + fix back button in Alongside. 11 years ago
Teo Mrnjavac 2347ead200 Remove bad debug feature. 11 years ago
Teo Mrnjavac 6d60ca5e63 Fix item order in ChoicePage 11 years ago
Teo Mrnjavac 6bd5736d35 Add findPartitionByPath to PMUtils 11 years ago
Teo Mrnjavac e7995ad540 Improve Osprober logic to immediately check if entries are resizable. 11 years ago
Teo Mrnjavac 045d9cdf8c Fix layout in partitioning choice page. 11 years ago