280 Commits (881661e94bec05031ecd050c860a65eae8ef77b3)

Author SHA1 Message Date
Teo Mrnjavac aaf85407fb Only look for a separate /home partition if a partition was found. 9 years ago
Teo Mrnjavac 6c6e4a1f88 Write reuseHome to GlobalStorage. 9 years ago
Teo Mrnjavac 8b0b4c73de Add Q_UNUSED where relevant. 9 years ago
Teo Mrnjavac d44a3d831b Warning fixes: avoid C-style casts. 9 years ago
Teo Mrnjavac 30ff216dea Warning fix: implicit cast. 9 years ago
Teo Mrnjavac 90c06bd733 Warning fixage (init list order, lossy cast, Q_UNUSED). 9 years ago
Teo Mrnjavac c1e535a8e8 Hide reuse checkbox on action selection change. 9 years ago
Teo Mrnjavac a17f369cee React to reuse home checkbox by setting /home mount point.
Rearranged Replace workflow a bit: onPartitionReplaceSelected is now
the on choice slot, which in turn calls doReplaceSelectedPartition.
onHomeCheckBoxStateChanged also calls doReplaceSelectedPartition if we
need to redo the Replace task with/without a separate home to keep.
m_reuseHomeCheckBox is hidden by default.
9 years ago
Teo Mrnjavac 2c68802446 Reapply the action choice instead. 9 years ago
Teo Mrnjavac b2b202d190 Do a full revert. 9 years ago
Teo Mrnjavac f1a29033a2 Revert PCM before applying Alongside operation. 9 years ago
Teo Mrnjavac 18742d2afd Ignore encrypt widget if the choice is Manual. 9 years ago
Teo Mrnjavac f5ff716369 Make everything obey the default filesystem type setting. 9 years ago
Teo Mrnjavac 936e7fab7c Initial support for Alongside install with LUKS. 9 years ago
Teo Mrnjavac fd2d24d650 Always show encrypt widget for Replace. 9 years ago
Teo Mrnjavac 4113207e00 Fix next status handling in alongside and replace. 9 years ago
Teo Mrnjavac e84108e234 Add encryption support in PartitionActions::doReplacePartition. 9 years ago
Teo Mrnjavac 6cd1bf6b3d Initial work on having the Replace feature obey the encryption setting. 9 years ago
Teo Mrnjavac a4ab8dad46 Hide encryption widget if not Erase. 9 years ago
Teo Mrnjavac 60dcba8735 Update next state slightly later. 9 years ago
Teo Mrnjavac b792ea0216 Rebuild autopartition proposal when encryption choice changes. 9 years ago
Teo Mrnjavac 0cc9560a99 Hook up EncryptWidget in ChoicePage, plus improve next status handling. 9 years ago
Teo Mrnjavac dacb8f2a94 Make sure we don't hide actions based on osprober. 9 years ago
Chantara Tith fd8c131b26 implement free-space partition replace install 9 years ago
Teo Mrnjavac 83d440f37e Add note. 9 years ago
Teo Mrnjavac 06ebf69afe Initialize all members (fix Coverity defect 98200). 9 years ago
Teo Mrnjavac a0ac9d9f07 Don't dereference nullptr (fix Coverity defect 121863). 9 years ago
Teo Mrnjavac e91d213872 Improve setting ESP. 9 years ago
Teo Mrnjavac e27b9fc295 Handle ESP selector visibility. 9 years ago
Teo Mrnjavac a4831085fb Only override BIOS bootloader install path if there's no UI. 9 years ago
Teo Mrnjavac 7a89b53538 Refactor leave event of ChoicePage, add ESP mount point support.
PVS now calls ChoicePage::onLeave, which in turn runs ChoicePage::
doAlongsideApply and/or sets up the ESP mount point based on the UI
state if it's running in EFI mode and the action is Alongside or
Replace.
If setting up under BIOS, Alongside and Replace always install
the bootloader in the MBR of the current device.
9 years ago
Teo Mrnjavac 485176d70d And always do that, please. 9 years ago
Teo Mrnjavac 12ec3bb74b Iterate over all partitions for canBeResized check, not just osprober. 9 years ago
Teo Mrnjavac c3404769dc Use new check as selection filter in view. 9 years ago
Teo Mrnjavac ffe419751c Use the new canBeResized in ChoicePage. 9 years ago
Teo Mrnjavac 56e6509341 Use it in ChoicePage. 9 years ago
Teo Mrnjavac 0f756c7167 Use it in ChoicePage. 9 years ago
Teo Mrnjavac 7bb76c70ba Set the nested partitions mode in ChoicePage. 9 years ago
Teo Mrnjavac b17b7a9c89 Asynchronous rescan on device change. 9 years ago
Teo Mrnjavac 877fa98ea6 Revert all devices if core dirty on device choice. 9 years ago
Teo Mrnjavac ec5a464eda Make sure a default bootloader location is set. 9 years ago
Teo Mrnjavac 7f235525f2 Try slightly smaller action icons. 9 years ago
Teo Mrnjavac 30c38c4f4d Safer pointer. 9 years ago
Teo Mrnjavac 1bc6556b65 We don't need this any more... 9 years ago
Teo Mrnjavac 5ccfc20258 Refactor bootloader picker into the bottom layout. 9 years ago
Teo Mrnjavac e1a6085a1b Try different layout for first row in ChoicePage. 9 years ago
Teo Mrnjavac 30351d125a Reduce spacing. 9 years ago
Teo Mrnjavac 1a11d8589a Fix layout. 9 years ago
Teo Mrnjavac b6218272f3 Add BootInfoWidget to ChoicePage. 9 years ago
Teo Mrnjavac b811f9e261 Fixup strings. 9 years ago
Teo Mrnjavac 16da0bd8d8 I guess this is a better spot. 9 years ago
Teo Mrnjavac 7c7c635d87 Set filter on both views. 9 years ago
Teo Mrnjavac 65230c7954 Add a SelectionFilter lambda for Alongside. 9 years ago
Teo Mrnjavac f958f69218 Fix weird issue with alongside failing to create new partition. 9 years ago
Teo Mrnjavac 423d2dfc5c Make sure we update the splitter widget after a rescan. 9 years ago
Teo Mrnjavac 601d67988d Fix shrink size computation.
I don't get how this could possibly ever have worked.
9 years ago
Teo Mrnjavac 8525cefb6b Fix next status handling. 9 years ago
Teo Mrnjavac 27d69502a3 Alongside apply slot. 9 years ago
Teo Mrnjavac cad8845f12 Better name for alongside slot. 9 years ago
Teo Mrnjavac 4537103a43 Set up split widget when a partition is selected. 9 years ago
Teo Mrnjavac d85bf01107 Initialized view is the best kind of view. 9 years ago
Teo Mrnjavac 37df381404 Proper parenting. 9 years ago
Teo Mrnjavac 80018e1d5b Signal-slot plumbing and splitter setup for Alongside. 9 years ago
Teo Mrnjavac b3f86925a8 Fix m_choice state. 9 years ago
Teo Mrnjavac b422f646a6 Make sure the checked state change can happen. 9 years ago
Teo Mrnjavac bc9ec8e5ba Fix build. 9 years ago
Teo Mrnjavac 3869338c39 Make the QButtonGroup a member in ChoicePage. 9 years ago
Teo Mrnjavac 85a6f2068a Refactor action choice handling with QButtonGroup.
This should improve the situation when unselecting an action without
selecting another one. Unselection can only happen when switching from
a device that supports the currently chosen action to a device that
doesn't support it, so the action gets hidden and unselected.
9 years ago
Teo Mrnjavac 53c27208f1 Also uncheck if hidden. 9 years ago
Teo Mrnjavac f71ce22f3b Make sure to show all the relevant partitioning actions. 9 years ago
Teo Mrnjavac 0c05812c68 Update bootloader combobox when the selected device changes. 9 years ago
Teo Mrnjavac 64d296aa06 Sensible default to current device in bootloader picker. 9 years ago
Teo Mrnjavac 6ce932870f Clear selection on action change no matter what. 9 years ago
Teo Mrnjavac 74ba1df25f Try to manage preview visibility. 9 years ago
Teo Mrnjavac 38b90560cf Remove debug spam. 9 years ago
Teo Mrnjavac 22459c8fb8 Debug output. 9 years ago
Teo Mrnjavac 6dd639fd3c Try with rows. 9 years ago
Teo Mrnjavac afef78d1af Don't enable next for replace by default. 9 years ago
Teo Mrnjavac 736d35840d Rely on item selection. 9 years ago
Teo Mrnjavac 59ec549617 Manage next button status. 9 years ago
Teo Mrnjavac 08d1c89f21 Don't forget to perform the autopartition operation when not resetting. 9 years ago
Teo Mrnjavac 73be443e22 And use it. 9 years ago
Teo Mrnjavac 50ef1f1b70 Make sure we autopartition after the revert is over. 9 years ago
Teo Mrnjavac f589e33fa5 Runtime signals, runtime errors. 9 years ago
Teo Mrnjavac 296bb412a8 Revert to runtime singal-slot syntax for easy disconnects. 9 years ago
Teo Mrnjavac 3cb293aa75 Avoid unnecessary casts. 9 years ago
Teo Mrnjavac f01d802d40 No point in trying to reset and replace if nothing is selected. 9 years ago
Teo Mrnjavac 7e43c66661 Better order, probably. 9 years ago
Teo Mrnjavac 7dd669d997 Clear selection in before view. 9 years ago
Teo Mrnjavac fbb92646d8 Asynchronous revert for Erase operation. 9 years ago
Teo Mrnjavac 5c0627a9d3 Remove debug spam. 9 years ago
Teo Mrnjavac 64655d92a1 Try to ensure the connection for the replace operation is unique. 9 years ago
Teo Mrnjavac d6e773e220 Debug output. 9 years ago
Teo Mrnjavac e061385f4b Avoid multiple connects. 9 years ago
Teo Mrnjavac 4039d8d4db Make on-action-select rescan also async. 9 years ago
Teo Mrnjavac 093c7b042d Use it in ChoicePage. 9 years ago
Teo Mrnjavac d28946040f Use ScanningDialog in replace operation. 9 years ago
Philip 91e1e4af6b [partition-module] fix 'QString::arg: Argument missing' issue 9 years ago
Teo Mrnjavac f31a45e53a Clean up a bit. 9 years ago
Teo Mrnjavac 6db6dc0e08 Debug output. 9 years ago
Teo Mrnjavac 4f12aa8dd1 Critical to always have a fresh device. 9 years ago
Teo Mrnjavac 14f4335420 Lock the whole replace operation in a mutex. 9 years ago
Teo Mrnjavac 9847b8efa9 Try to invalidate whole PartitionModel on replace. 9 years ago
Teo Mrnjavac 2a61114d9e Make after partition views members in ChoicePage. 9 years ago
Teo Mrnjavac 8a44ffe462 Either revert or clear jobs, not both. 9 years ago
demmm 496d917d94 add strong in selectLabel 9 years ago
Teo Mrnjavac cd8b7619d0 Use asynchronous device revert. 9 years ago
Teo Mrnjavac 019faf730c Revert "Test out a way to make the rescan asynchronous."
This reverts commit e3f28189ced7aa22b3b7a6dc1506a17cbc1325b5.
9 years ago
Teo Mrnjavac d742431ee9 Revert "Force a device state preview update after async rescan."
This reverts commit 717a3d47ca572c28f67757ddf96b63af66d97e14.
9 years ago
Teo Mrnjavac 95239af830 Force a device state preview update after async rescan. 9 years ago
Teo Mrnjavac 5f282d50dc Test out a way to make the rescan asynchronous. 9 years ago
Teo Mrnjavac 1a882758ca Revert Replace button to PrettyRadioButton. 9 years ago
Teo Mrnjavac 18755314fd Fix strings and use status text label. 9 years ago
Teo Mrnjavac ef411757af Improved string for Erase. 9 years ago
Teo Mrnjavac c41820c000 Improved string for Replace. 9 years ago
Teo Mrnjavac bf5d0d8862 Strings: s/volume/partition/ 9 years ago
Teo Mrnjavac dcd48badae Try with a full revert. 9 years ago
Teo Mrnjavac a8f06d00d0 Debug info. 9 years ago
Teo Mrnjavac e2f9a5b93c Maybe not. 9 years ago
Teo Mrnjavac 6c614b946b A full view delete/recreate on partition selection :( 9 years ago
Teo Mrnjavac 65278605fe clearJobs is enough on replace partition selection. 9 years ago
Teo Mrnjavac 15e409a107 Don't reparent model managed by PCM. 9 years ago
Teo Mrnjavac 275b68cf5c The PartitionModel should be owned by the PCM. 9 years ago
Teo Mrnjavac dfededc4b4 Use revertDevice in ChoicePage, and always use a fresh Device*. 9 years ago
Teo Mrnjavac b767f0b18f Select partition to replace from the current DeviceModel. 9 years ago
Teo Mrnjavac 2258c806ae Make the bars/labels views members in ChoicePage. 9 years ago
Teo Mrnjavac d164ec4d91 Remove ReplaceWidget. 9 years ago
Teo Mrnjavac d0ee43172c Handle selection behavior on current state preview views. 9 years ago
Teo Mrnjavac 0c9d64878a Only enable selection when it makes sense 9 years ago
Teo Mrnjavac 1c279dac24 Make bars and labels share the selection model. 9 years ago
Teo Mrnjavac 6af901a675 Use BootloaderEntryName from Branding for target root partition id. 9 years ago
Teo Mrnjavac 0c840abdc5 Allow setting a custom new root name in Labels view. 9 years ago
Teo Mrnjavac f736ace996 Update Erase disk string. 9 years ago
Teo Mrnjavac cda99a2a65 New Alongside strings. 9 years ago
Teo Mrnjavac 37634e1e5a New Replace strings. 9 years ago
Teo Mrnjavac d27ac4c041 New Erase disk strings. 9 years ago
Teo Mrnjavac 48d0de2e08 Let's try with no main message. 9 years ago
Teo Mrnjavac 326e566927 String changes. 9 years ago
Teo Mrnjavac 0224811bf6 Move Osprober to PCM and add Osprober roles to PartitionModel. 9 years ago
Teo Mrnjavac a9e241d288 Fix strings. 9 years ago
Teo Mrnjavac 1ad6c7e8ac Use new Labels view. 9 years ago
Teo Mrnjavac b65fe87503 PartitionPreview is now PartitionBarsView. 9 years ago
Teo Mrnjavac 3beebf4137 String improvement. 9 years ago
Teo Mrnjavac 84c254ced2 Use DeviceInfoWidget in ChoicePage. 9 years ago
Teo Mrnjavac 4c90a68241 Make choice text refer to the currently selected device. 9 years ago
Teo Mrnjavac 3bf1fe716f Yank out compact mode, refactor layout, fix strings. 9 years ago
Teo Mrnjavac 47b5c6eeb4 Use ReplaceWidget in ChoicePage. 9 years ago
Teo Mrnjavac a79575afe8 Create erase button in a separate method. 9 years ago
Teo Mrnjavac e0b1290b8c Update the bootloader picker when the chosen device changes. 9 years ago
Teo Mrnjavac 526180dde2 Use ExpandableRadioButton in ChoicePage for Erase on MBR. 9 years ago