Commit Graph

76 Commits (dfb5412c574dc0a37120a524dc985e96b85ceca5)

Author SHA1 Message Date
Arnaud Ferraris dfb5412c57 [partition] Preserve current device when going to manual partitioning
Fixes 

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Adriaan de Groot 97c9e5bdcd [partition] Debug-log available file-system types
Adriaan de Groot 463b1441a5 [partition] Be more verbose about default file-system settings
- Log the type that is configured
 - Document that this is a delicate setting, case-sensitive and
   dependent on KPMCore.
Adriaan de Groot c7645af358 [partition] Translate swap-choice-strings to enum
- Handle legacy and modern config, mixed-configs,
 - Translate strings to enum values,
 - Default and warn as appropriate.
 - Doesn't **do** anything with the config, though.
Adriaan de Groot 3d543e9063 [partition] Refactor to use current config-reading methods
Adriaan de Groot caa4b8ab53 [partition] Document intention of new-style swap config
Adriaan de Groot 7d0451fe69 [partition] Rename Choice -> InstallChoice
- There are more choices to be made (or to come) when partitioning,
   so don't take the most generic term for one enum.
Adriaan de Groot dd8e53dc22 Copyright: update copyright lines on files touched in 2018
Contributions from:
  Adriaan de Groot <groot@kde.org>
  Gabriel Craciunescu <crazy@frugalware.org>
  AlmAck <gluca86@gmail.com>
  Andrius Štikonas <andrius@stikonas.eu>
  Caio Carvalho <caiojcarvalho@gmail.com>
  Raul Rodrigo Segura <raurodse@gmail.com>
Adriaan de Groot 3315df5df1 [modules] Use new convenience logging methods across the board
Adriaan de Groot e3b7a2884b [partition] Relax check with UI-level warning message, too
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https
Adriaan de Groot 7e66499f36 Refactor check for EFI system.
The TODO stands, to delegate this to KPMCore.
Adriaan de Groot 3c3c0f99f8 C++ trickery, part two: shorten code
Adriaan de Groot c0b3f3fe9d Clang: reduce warnings; make enum-switch explicit
Teo Mrnjavac 3aebb79d30 Add optional config value neverCreateSwap in partition module.
CAL-458 #close The feature has landed in master, please test.
Teo Mrnjavac 83b51a5867 Show warning.
Teo Mrnjavac 17fe2d82f4 Oops.
Teo Mrnjavac a55bef5d2d Warn user about encrypted root with unencrypted /boot.
Teo Mrnjavac 6e7dc0b437 Use the target system's boot name in partitioning summary widget.
Teo Mrnjavac 5796b05fda Allow disabling automated LUKS modes.
Teo Mrnjavac 45f6e6c55b Rearrange asynchronous scan in PartitionCoreModule a bit.
Teo Mrnjavac 2c68802446 Reapply the action choice instead.
Teo Mrnjavac 3940e2b09d Add config option for always showing partition labels.
Teo Mrnjavac 498af8deef Add defaultFileSystemType to settings.
Teo Mrnjavac c9fac9bc5c Manage PCM loading with QtConcurrent.
Teo Mrnjavac 0666fb4977 Defer PartitionCoreModule initialization so it doesn't block startup.
Teo Mrnjavac 055ff5533e Fixup strings.
Teo Mrnjavac fb5b48528b Move ESP check to onLeave().
Teo Mrnjavac 0c7b7ed089 Warn the user if going ahead from manual partitioning without ESP.
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.
Teo Mrnjavac 5372245aed Copyright statements.
Teo Mrnjavac 984bc7ac08 Use it in summary.
Teo Mrnjavac 5f3e5bf372 Consistent config item naming.
Teo Mrnjavac 1ed1841e89 Read the setting from partitions.conf and apply it in PVS.
Teo Mrnjavac b811f9e261 Fixup strings.
Teo Mrnjavac 983c16d991 Fix up views in summary.
Teo Mrnjavac 26c89e6806 Make sure Alongside operation is applied.
Teo Mrnjavac b5882a75d1 AlongsidePage is not used any more.
Teo Mrnjavac 86399ece26 Trigger core reset when advancing to manual partitioning.
Teo Mrnjavac 071c02086a Update last page status.
Teo Mrnjavac 0224811bf6 Move Osprober to PCM and add Osprober roles to PartitionModel.
Teo Mrnjavac 1ad6c7e8ac Use new Labels view.
Teo Mrnjavac b65fe87503 PartitionPreview is now PartitionBarsView.
Teo Mrnjavac b31ac92d7e And make it build.
Teo Mrnjavac 26ac809d6e Don't instantiate ReplacePage in PVS any more.
Teo Mrnjavac 0a72f22a34 WIP: go to next page on next if erase selected.
Teo Mrnjavac 2e9e1782cf Remove EraseDiskPage from PartitionViewStep.
Teo Mrnjavac 9a67f6372c Continue asynchronously loading PartitionViewStep after config load.
Teo Mrnjavac 5f54a56513 PMUtils is now KPMHelpers. Also fixup after PartUtils refactor.
Teo Mrnjavac 7e6c626a0b PluginFactory in Partition module.