Adriaan de Groot
e72ecaafd3
Merge branch 'kpmcore-manager'
...
Introduces a "partitioning service" into libcalamares,
shuffles a bunch of things into it, tries to help out
with settling the system between partitioning actions.
2020-02-13 13:41:53 +01:00
Adriaan de Groot
5a50a3a40c
[partition] Consistent FS name usage
...
- explicit use of user-visible names in EditExistingPartitionDialog
- consistent conversion of config-values to FS names (user-visible).
The GS value comes from the ViewStep, and should always match
something -- it's already converted to the canonical un-translated
so the type should be good.
2020-02-13 13:24:53 +01:00
Adriaan de Groot
ca67534cd2
[partition] Improve logging of bad configs
2020-02-13 13:15:06 +01:00
Adriaan de Groot
472ec32617
[partition] Be explicit about user-visible FS names, ReplaceWidget
2020-02-13 11:49:20 +01:00
Adriaan de Groot
05dfc24af6
[partition] Be explicit about user-visible FS names, CreatePartitionDialog
2020-02-13 11:45:04 +01:00
Adriaan de Groot
f6d89354a1
Merge branch 'master' into kpmcore-manager
2020-01-10 14:54:13 +01:00
Adriaan de Groot
7fd218d7bf
[partition] Chase deprecations in Qt
2019-11-26 16:56:45 +01:00
Andrius Štikonas
490c14d93d
QLatin1Literal->QLatin1String.
2019-09-21 20:44:33 +01:00
Adriaan de Groot
0aabc89449
[partition] [welcome] Simplify retranslation
2019-08-29 15:02:12 +02:00
Adriaan de Groot
48a25858f0
[partition] Chase 3rdparty move
2019-08-08 12:42:47 -04:00
Adriaan de Groot
4b3bb54320
[libcalamares] Move partition-finding into libcalamares
...
- Moved from KPMHelpers to the partition service
- The is-partition and find-partition methods that make sense
in general, are moved to libcalamares.
2019-06-13 14:41:33 +02:00
Adriaan de Groot
9f0f08b571
[partition] Replace useless qobject_cast
...
- We know the type of the widget, but were declaring it as
a QWidget. Just forward-declare the class and be done with it.
2019-06-13 14:02:43 +02:00
Adriaan de Groot
4202126f34
[fsresizer] [partition] Fix build with moved headers
...
- PartitionIterator has moved into libcalamares
- While here, sort and organize #include lines
- Add using to keep code impact small
2019-06-13 12:27:39 +02:00
Adriaan de Groot
74432f698f
[partition] Allow the requiredStorage setting to propagate
...
- store into globalStorage if the welcome module hasn't already done so.
- this ends up used in PartUtils (via globalStorage).
2019-06-08 14:36:11 +02:00
Adriaan de Groot
e6a2cb607f
[partition] Add setting for requiredstorage
...
- If the welcome module isn't used, can set a required amount
of storage for the installation here.
2019-06-08 07:48:47 -04:00
Adriaan de Groot
3bdbfe6bff
[partition] Avoid crash if combobox is gone and model resets
...
- Since the lambda is connected to the model only, it should
check that the target combo exists as well.
2019-05-31 12:08:58 +02:00
Adriaan de Groot
2ce2b08027
[partition] Indent lambdas to tab-stop.
...
- Lambdas are all over the place in this codebase, formulate
a standard and start adjusting code to it in passing.
2019-05-31 12:08:58 +02:00
Adriaan de Groot
2bc95d11d3
[partition] Unrelated typo in comment
2019-05-31 12:08:58 +02:00
Adriaan de Groot
f1f5b6c1bb
[partition] Restore BootLoader path in Choice Page
...
- after model resets, restore what was previously selected.
- This avoids having an **empty** combobox, SEE #1141 but does
not actually set it back to the value the user had previously
picked (e.g. changing swap settings **still** breaks the
selection).
2019-05-31 12:08:58 +02:00
Adriaan de Groot
0ebabfafd4
[partition] Move BootLoaderModel convenience functions
...
- These were hidden inside PartitionPage, but are useful elsewhere.
2019-05-31 12:08:58 +02:00
Adriaan de Groot
8d451622db
[partition] Idiomatic use of Calamares::JobList
2019-05-28 16:39:00 +02:00
Adriaan de Groot
e2b71e669e
[partition] When running UNSAFE, no-install-partition is a warning
2019-05-28 16:29:45 +02:00
Adriaan de Groot
81715ba199
[partition] Warnings-- by using nullptr instead of 0
2019-05-14 05:29:19 -04:00
Adriaan de Groot
bffaf47900
[partition] Reduce warnings about integer size
2019-05-14 05:29:18 -04:00
Adriaan de Groot
707ec98553
[partition] Tidy labels view
...
- Use MiB terminology and support code
- Remove debugging chattiness
- Fix up include style
2019-05-09 07:58:20 -04:00
Adriaan de Groot
d3783ef293
[partition] Use GiB and MiB consistently
2019-05-06 16:47:11 +02:00
Adriaan de Groot
502d43d111
[welcome] [partition] Rename GlobalStorage variable used for storage
...
- Change name passed into GS to use "GiB" instead of "GB", for
consistency. This needs to be done in consumers as well.
2019-05-06 16:39:14 +02:00
Adriaan de Groot
090aee9196
Modules: adjust to split-out utils/Variant.h
...
- Most modules only needed the variant support, not the "whole"
CalamaresUtils header.
- While here improve ordering of headers as well.
2019-04-29 06:14:21 -04:00
Adriaan de Groot
e8264a4503
[partition] Prefer GPT on EFI systems for new partition table
2019-04-25 14:40:27 +02:00
Adriaan de Groot
516b3b4b6c
[partition] Adjust to logging-API changes
...
- missed due to #ifdef on a KPMcore API version I don't have on
my main workstation.
2019-04-25 13:42:59 +02:00
Adriaan de Groot
3533bb3c2d
Merge branch 'master' into issue-1061
2019-04-24 12:26:01 -04:00
Adriaan de Groot
08e4090354
Merge remote-tracking branch 'origin/raurodse-branding'
...
FIXES #961
2019-04-23 16:41:22 -04:00
Adriaan de Groot
cef2f50510
Reduce warnings about extra ;
...
- Trailing ; after Q_UNUSED
- Trailing ; after CALAMARES_RETRANSLATE
2019-04-18 12:06:09 +02:00
Adriaan de Groot
dbac9ecf7b
[partition] Remove unused code
...
- The name table is in PartitionActions::Choices
2019-04-15 10:14:37 -04:00
Adriaan de Groot
63b317902d
[libcalamares] [partition] Adjust to logging changes
...
- Use the un-paren'ed Continuation and SubEntry
2019-04-15 08:27:43 -04:00
Adriaan de Groot
c0710cabe4
[partition] [fsresizer] Adjust to new #define
...
- Using KPMCORE4API is clearer than just relying on a version number
2019-04-12 12:16:55 +02:00
Adriaan de Groot
1a063a9b5d
[partition] Use modern tr() annotation
2019-04-11 10:28:35 -04:00
Adriaan de Groot
78d6b51c3c
[partition] Don't translate placeholder ---
2019-04-11 10:01:34 -04:00
Adriaan de Groot
04146df36b
[partition] Reduce logging for mounted partitions
...
- The other log entries say when something is possible,
not when something is **not** possible.
2019-04-04 17:46:48 +02:00
Adriaan de Groot
6bccbcd1f5
[partition] Improve logging of status of choice buttons
2019-04-04 17:37:37 +02:00
Adriaan de Groot
4282e4c31f
[partition] Instantiate the manual-partitioning page on-demand
...
- When the manual partitioning page exists, it reacts to
changes in a bunch of models; these models can be changed
repeatedly from the choice page.
- the manual partitioning page really only needs to deal with
the relevant selections at the moment it is instantiated.
2019-04-02 05:46:37 -04:00
Adriaan de Groot
71fd3ab010
[partition] Check-which-page consistently
2019-04-02 05:46:37 -04:00
Adriaan de Groot
8f9b9a2ccf
[partition] Remove unused include
2019-04-02 05:46:37 -04:00
Adriaan de Groot
df921606b9
[partition] Update copyright headers
...
- Files modified in 2019 by me
2019-04-01 07:55:14 -04:00
Adriaan de Groot
b55a6cf716
[partition] Improve type-constness
...
- Don't bother copying the vector of available PVs, we need the
contained pointers.
2019-04-01 07:50:59 -04:00
Adriaan de Groot
7806ccbe72
[partition] Drop superfluous debug logging
...
- While here, update copyright header
2019-04-01 07:39:19 -04:00
Adriaan de Groot
b03d72952b
[partition] Improve logging
2019-03-30 06:36:51 -04:00
Adriaan de Groot
273c32705d
[partition] Restore selected bootloader
...
- After the BootLoader model is reset, if a bootloader location
has been selected before, try to find it in the (now-reset)
model to preserve the selection.
2019-03-29 12:00:27 -04:00
Adriaan de Groot
dc04aa999d
[partition] Introduce post-reset slot for boot loader selection
2019-03-29 11:34:07 -04:00
Adriaan de Groot
2a2795c54c
[partition] Avoid KPMCore warnings
...
- Get ready for KPMCore post-3.3.0, which deprecates a bunch of
Flag<foo> and State<foo> in preparation of enum classes.
2019-03-20 18:13:39 +01:00
Adriaan de Groot
1ffc0bf77d
[partition] Allow all the unsafe options
...
- If the unsafe actions are enabled, but won't be executed,
allow more unsafe actions like erasing mounted partitions
and everything.
2019-03-20 11:26:02 +01:00
Adriaan de Groot
105f9c4861
[partition] Set firmware type
...
- This got lost in 3.2.4.
- Thanks Gabriel for hunting it down; patch applied with some changes.
2019-03-11 17:50:27 -04:00
Adriaan de Groot
fdb4311a70
Merge branch 'issue-1098'
...
- Doesn't fix the issue, but adds useful things I want in master
already, also for debugging other issues.
2019-03-01 07:09:45 -05:00
Adriaan de Groot
2b149fb944
[partition] Uncomment updateButtons()
...
- This was commented out to combat the crash in device->type()
- I believe the crash was caused by double-deletion, which was
fixed in 2092ec3c9a
by not re-
parenting an immutable copy of something.
- Restore the button-fix, since we need that to keep the
*create* button in-sync with the selected partition.
FIXES #1097
2019-03-01 06:56:52 -05:00
Arnaud Ferraris
982840bafd
[partition] Allow a configurable EFI System Partition size
...
As requested, this commit adds a new configuration option to the
partition.conf file, name `efiSystemPartitionSize`.
When this option is absent, the default size of 300MiB will be used.
Fixes #1090
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-02-28 13:51:32 +01:00
Adriaan de Groot
b4cefff975
[partition] Avoid heap-wrangling
...
- The CreatePartitionDialog doesn't need to be on the heap, it's
modal here. Avoid QPointer weirdness as well.
2019-02-26 07:21:36 -05:00
Adriaan de Groot
943f3fb1f9
[partition] Improve debug-logging
...
- Use cDebug() instead of qDebug()
- Be more chatty when selecting a bootloader installation path
2019-02-26 07:10:56 -05:00
Adriaan de Groot
92d9c9491a
[partition] Reduce lambda-happiness
...
- Make some methods that are called mostly as slots, actual slots,
instead of going through extra lambdas.
- Use QOverload<>::of for disambiguation instead of homebrew casts.
2019-02-26 07:05:32 -05:00
Adriaan de Groot
8cf3c217f7
Merge branch 'requirements-checking'
2019-02-25 10:00:43 -05:00
Adriaan de Groot
cece01e3c5
[partition] Simplify next()
2019-02-25 07:59:58 -05:00
Adriaan de Groot
08565b5f17
[libcalamaresui] Remove the signal done() from ViewStep
...
- The signal is emitted, generally from next(), but not actually used.
2019-02-25 07:34:40 -05:00
Adriaan de Groot
fbb513eee3
[partition] Remove artificial delay
...
- The sleep(3) was meant as a debugging aid for the multi-threaded
part of requirements checking.
2019-02-25 06:45:17 -05:00
Adriaan de Groot
40de1bd2eb
[partition] Give requirement entry a description
...
- The description is used in the Details dialog when the
requirements fail. This one should be visible.
2019-02-25 05:12:03 -05:00
Adriaan de Groot
2092ec3c9a
[partition] Drop some re-parenting trickery
...
- Can't re-parent across threads easily
- If device is made by immutableDeviceCopy(), then it's still owned by the
PartitionCoreModule; giving it away to the widget is not a good idea.
2019-02-25 04:36:46 -05:00
Adriaan de Groot
be5abf08dc
Merge pull request #1094 from a-wai/fix-default-fs
...
[partition] Fix default fs
FIXES : #1093
2019-02-22 15:55:44 -05:00
Arnaud Ferraris
74ead4c7ba
[partition] improve filesystem search operation
...
Due to changes to the FileSsytem::typeForName() function, more
processing is needed to deal with locales and different cases.
This is done by refactoring the findFS() function, initially located in
the PartitionViewStep class, and making it available to the whole module.
Additionnally, more checks have been implemented regarding the use of
global storage in the PartitionLayout class, and the filesystem types
now use the correct FileSystem::Type, as requested.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-02-22 18:42:16 +01:00
Adriaan de Groot
79c20b8fbd
[partition] Fix user-visible strings
...
- The default window title in the designer file wasn't a good string
to translate. Use one of the titles instanced from elsewhere.
- The window titles set in subclasses were not translatable.
FIXES #1092
2019-02-22 07:03:38 -05:00
Dan Simmons
651b52ead9
Fix spelling typo
2019-02-20 05:00:58 -05:00
Adriaan de Groot
43eae0bc47
Merge branch 'master' into requirements-checking
2019-02-15 00:32:45 +01:00
Adriaan de Groot
6fbc467795
[partition] Reduce Transifex warnings
...
- the string here has no context (no QObject-derived class that
it is called in) so use the static method instead.
2019-02-14 16:08:55 -05:00
Adriaan de Groot
2a8960cd0f
[partition] Ensure combobox pre-selects consistently
...
- Match the selected item in the combobox with a given default,
which should be whatever is selected from the available set of
choices.
2019-02-12 07:30:34 -05:00
Adriaan de Groot
5f20eedb6e
[partition] Use swap-choice member, not the combobox pointer
...
- Store changes to the selected swap-choice when the combobox changes
- Use that member instead of dereferencing the combobox
This avoids nullptr crashes when the combobox isn't even created
(e.g. when there is only one swap choice).
2019-02-12 07:21:35 -05:00
Adriaan de Groot
a4e6d4cd35
[partition] Rename combo box
...
- Too much confusion possible between the different members all
named variations of *SwapChoice*
- Update copyright years, too
2019-02-12 05:40:11 -05:00
Adriaan de Groot
335976e32c
[partition] Improve defaultFS handling
...
- drop the localized comparisons; that's just confusing
- warn when no default FS is set (then use ext4)
- fix case-insensitive fallback; it used fsType, which was
set to Unknown in the for loop.
2019-02-12 05:15:56 -05:00
Adriaan de Groot
b9fa0398c0
[partition] Disable one call to updateButtons()
...
- suggested by @abucodonosor, removing this one call seems
to solve the data race for the device model.
2019-02-11 18:26:45 -05:00
Adriaan de Groot
6316173f1b
[partition] More conservative handling of device pointers
...
- thanks @abucodonosor
2019-02-11 17:45:23 -05:00
Adriaan de Groot
04b4e37bd0
[partition] Don't display unsupported swap styles
...
- Suppress unsupported options while reading the config file.
2019-02-11 09:23:50 -05:00
Adriaan de Groot
0fdc737968
[partition] Fix logging output
...
- Using the assignment-operator just generates blank lines.
- Using QLog with a log-level avoids the cDebug()-style special
handling of warnings and errors (useless here, but may as well
fix code style).
2019-02-11 09:21:43 -05:00
Adriaan de Groot
2fda5957f1
[partition] Complain about unsupported swap choices
2019-02-11 09:06:27 -05:00
Adriaan de Groot
273461a497
[partition] Be verbose about handling osprober results
2019-02-11 05:32:42 -05:00
Adriaan de Groot
2c6ff26aaa
[partition] Reduce warnings
2019-02-06 04:08:21 -05:00
Adriaan de Groot
73c39adf9c
Merge branch 'improve-swap-ui'
2019-01-24 15:20:06 -05:00
Adriaan de Groot
02416578cd
Merge branch 'release-3.2.4'
2019-01-24 11:22:04 -05:00
Adriaan de Groot
b913753831
[partition] No need to re-query the current choice
2019-01-21 08:54:09 -05:00
Adriaan de Groot
aef61a42bc
[partition] Tidy up code
...
- avoid possible nullptr dereference on connect() if no swap choices
- group retranslations together
2019-01-21 08:22:17 -05:00
Adriaan de Groot
24422b19bd
[partition] Idiomatic connect() usage
2019-01-21 08:20:01 -05:00
Adriaan de Groot
fbef117fc8
[partition] Remove unused code
2019-01-21 07:52:23 -05:00
Adriaan de Groot
8ecae75dc8
[partition] Simplify code a little
...
- Document and make pickOne() more correct
- Reduce calls to globalStorage(), it doesn't change
2019-01-21 07:41:47 -05:00
Adriaan de Groot
e85fedfd41
[partition] Drop comment that doesn't apply anymore
2019-01-18 15:57:21 +01:00
Adriaan de Groot
a51a000681
Merge branch 'master' into improve-swap-ui
2019-01-14 15:57:22 +01:00
Adriaan de Groot
bcce704589
Merge branch 'resize-control'
...
FIXES #1062 #1038
2019-01-14 15:31:25 +01:00
Adriaan de Groot
194f693412
[partition] Use new NamedEnum approach
2019-01-11 14:32:45 +01:00
Arnaud Ferraris
5cacc0ddc6
Merge remote-tracking branch 'upstream/master' into partition-layout
2019-01-11 10:03:46 +01:00
Adriaan de Groot
305249976f
Merge pull request #1069 from a-wai/preserve-selected-device
...
Preserve current device when going to manual partitioning and back
2019-01-11 00:08:23 +01:00
Adriaan de Groot
ba63084c7e
[partition] Refactor fstype naming
...
- Use locale "C" for checking filesystem names
- Also check other possibilities and case-insensitive, to
be more forgiving of weird configurations (and localizations)
2019-01-10 23:54:57 +01:00
Arnaud Ferraris
dfb5412c57
[partition] Preserve current device when going to manual partitioning
...
Fixes #1043
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-10 16:28:05 +01:00
Arnaud Ferraris
fcd0e8d362
[partition] Apply partition layout when replacing free space
...
When chosing the "Replace partition" option, free space is not handled
like any partition. In order to apply the custom partition layout in
that case too, we have to modify the code where "replace free space" is
handled.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:28:02 +01:00
Arnaud Ferraris
ba673b17ee
[partition] Add configuration option to disable manual partitioning
...
In some cases where a custom partition layout is used, use of this
layout is mandatory (this can be the case when using a read-only rootfs
which is updated by block-cpying an image file to it).
For these cases, the user must not be able to change the partition
layout, therefore we have to disable manual partitioning.
In order to stay consistent with current behaviour, manual partitioning
is still enabled by default. It will only be disabled if the partition
module's config file contains the corresponding option set to "false".
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:27:40 +01:00
Arnaud Ferraris
2f14a21456
[partition] Apply custom layout when installing "Alongside"
...
When choosing "Install alongside another system", the custom partition
layout is applied to the space freed by resizing the selected partition.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:27:12 +01:00
Arnaud Ferraris
74a59ae68a
[partition] Display partition labels when they exist
...
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:26:53 +01:00
Arnaud Ferraris
b2bf873ede
[partition] Initialize partition layout from config file
...
In order to keep the partition layout during calamares' execution, we
add a PartitionLayout object instance to PartitionCoreModule. This class
will therefore be used to initialize the PartitionLayout object and
interact with it thoughout the program's execution.
When no partition layout is present in the config file, we initialize
the layout with a single ext4 partition mounted on '/', as it was
previously done.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:25:39 +01:00
Adriaan de Groot
4973d00ace
[partition] Only create drop-down if there is something to select
...
- Swap choices may be 0 (then choose none), 1 (choose that one)
or more (currently undecided)
2018-12-11 13:52:23 +01:00
Adriaan de Groot
00df8a9fb1
[partition] Remove unused code
...
- Swap choice for replace and alongside will happen much, much later.
2018-12-04 12:21:02 +01:00
Adriaan de Groot
a66ea106d6
[partition] Missing implicit include
2018-12-04 11:40:27 +01:00
Adriaan de Groot
2998c27545
[partition] Use configured swap choices in choice page
2018-12-04 11:35:35 +01:00
Adriaan de Groot
5945e9584d
[partition] Refactor name-to-enum and back for swap choices
2018-12-04 11:15:38 +01:00
Adriaan de Groot
edc6c64657
[partition] Create swap-combo from a set
...
- Alternate way to create swap-combobox, using configuration
values rather than an initializer list.
2018-12-04 11:01:16 +01:00
Adriaan de Groot
988a0a5388
[partition] Changing swap choice also changes preview
...
- When selecting *erase*, you may be able to change the swap
settings. If so, changing swap settings should change the
preview.
2018-12-04 10:34:02 +01:00
Adriaan de Groot
0231619c7c
[partition] Refactor slot for change in action
...
- Let's not go overboard on lambdas,
- Needed for others that also want to update the partitioning preview
2018-12-04 10:22:08 +01:00
Adriaan de Groot
c5d707399d
Merge branch 'fix-swap-ui'
2018-12-03 21:02:10 +01:00
Adriaan de Groot
8144295e98
[partition] Make new partition flags explicit
...
Suggested by aliveafter1000: having a default value, and then
filling in the default in one place it is used and not others,
is weird. Instead of dropping the one use, remove the default
value: partition flags are important enough to be explicit.
2018-11-09 08:25:26 -05:00
Adriaan de Groot
97c9e5bdcd
[partition] Debug-log available file-system types
2018-11-06 06:22:02 -05:00
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.
2018-11-06 05:54:45 -05:00
Adriaan de Groot
417eeedd9f
[partition] Calamares is spaced-out enough without extra's
2018-10-11 06:35:45 -04:00
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.
2018-10-11 06:27:39 -04:00
Adriaan de Groot
f7cc571635
Merge branch 'fix-swap-ui' of github.com:calamares/calamares into fix-swap-ui
2018-10-08 16:49:18 -04:00
Adriaan de Groot
3d543e9063
[partition] Refactor to use current config-reading methods
2018-10-09 05:46:12 -04:00
Adriaan de Groot
caa4b8ab53
[partition] Document intention of new-style swap config
2018-10-09 05:30:14 -04:00
Adriaan de Groot
2a61116b3c
[partition] Disable swap choice for replace & alongside
2018-10-08 15:32:02 -04:00
Adriaan de Groot
779542a5d1
Merge branch 'master' into fix-swap-ui
2018-10-08 13:56:28 -04:00
Adriaan de Groot
292bc57523
[partition] Fix build with suitable operator <<
2018-10-03 13:49:52 -04:00
Adriaan de Groot
b38316365e
[partition] Be more verbose about why UI buttons appear
2018-10-03 13:58:50 +02:00
Adriaan de Groot
29bae61610
Merge branch 'master' into fix-swap-ui
2018-10-01 03:21:06 -04:00
Adriaan de Groot
e3bf9fc220
[partition] Fix build with KPMCore <= 3.3.0
...
- Reported by Philip Mueller
2018-09-21 16:19:05 -04:00
Adriaan de Groot
d2f4079a18
[partition] Move partitioning options into a class
...
- As (auto) partitioning grows more options, the parameter
list becomes more unwieldy. Add some structure to it.
2018-09-17 06:42:14 -04:00
Adriaan de Groot
5136021416
[partition] Move SwapChoice to another namespace
...
- The choice of swap needs to be handled in more places,
so make the enum available in the partition module core instead
of just inside the choice page.
2018-09-13 06:29:59 -04:00
Adriaan de Groot
846e496d76
[partition] Tidy includes
2018-09-13 05:50:46 -04:00
Adriaan de Groot
959cd7b224
[partition] Simplify creation of comboboxes for swap choices
2018-09-13 04:45:36 -04:00
Adriaan de Groot
cfa940b35c
[partition] Support translations of swap choices
...
- Introduce enum to indicate what is selected
- Support translations
- Fill selections for erase
2018-09-12 11:18:17 -04:00
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.
2018-09-12 10:16:48 -04:00
Adriaan de Groot
10f7bac2df
[partition] Reorder initialization
2018-09-12 10:05:14 -04:00
Adriaan de Groot
c3f3276188
[partition] Improve presentation of swap options
2018-09-12 09:20:44 -04:00
Adriaan de Groot
dc492b301c
[partition] Drop label on swap-options box
2018-09-12 08:42:21 -04:00
Adriaan de Groot
a791818a65
[partition] Add swap drop-down
...
- This is WIP; the drop-down contents should be customised,
depending on configuration and the state of the device being
installed-to.
2018-09-12 08:18:45 -04:00
Adriaan de Groot
c813375908
[partition] Prepare for swap options
...
- Extend PrettyRadioButton with options (combo-boxes which may
be added later).
2018-09-12 08:09:01 -04:00
Caio Carvalho
01a972c6ea
[partition] Fixing LVM LV name line edit visibility.
2018-08-13 13:05:41 -03:00
Caio Carvalho
b5a2a5bbdd
[partition] Don't show erase button for inactive RAID.
2018-08-13 12:26:00 -03:00
Caio Carvalho
7fd0ad5795
[partition] Disabling partition buttons for inactive RAID.
2018-08-13 09:51:35 -03:00
Adriaan de Groot
bf40f3bd23
Merge branch 'master' into requirements-checking
2018-08-10 12:02:57 -04:00
Adriaan de Groot
5d5feeb0ab
Merge branch 'master' of https://github.com/cjlcarvalho/calamares into lvm-update
2018-06-28 23:48:13 +02:00
Caio Carvalho
589628bb9a
[partition] Removing unnecessary horizontal spacer on Partition Page.
2018-06-26 01:44:35 -03:00
Caio Carvalho
67d9ebbfc0
[partition] Setting revertButton enabled after deactivating VG.
2018-06-26 01:29:57 -03:00
Caio Carvalho
295e14530e
[partition] Adding resizing, deactivating and removing procedures for LVM VGs.
2018-06-26 00:38:52 -03:00
Adriaan de Groot
9d17e7210a
[partition] Change shortcut for "Create" to 'a'
...
Untangle the shortcuts; Create and Cancel had an overlap.
Skip 'r' (Revert all changes) and 'e' (Edit) and settle on
'a' (which might also mean "Add").
FIXES #977
2018-06-18 13:28:35 +02:00
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>
2018-06-15 05:59:11 -04:00
Caio
0465cc4214
[partition] Including revert on creation of LVM VGs.
2018-06-08 20:20:05 -03:00
Caio
208d58bcd9
[partition] Including CreateVolumeGroupDialog and fixing some of its GUI issues.
2018-06-07 17:22:22 -03:00
Caio
d15ce56c97
[partition] Initial implementation of VolumeGroupBaseDialog.
2018-06-04 16:31:58 -03:00
Adriaan de Groot
47805209c6
Merge branch 'branding' of https://github.com/raurodse/calamares into raurodse-branding
2018-05-21 11:02:08 -04:00
Raul Rodrigo Segura
1636f665c3
Set Object name to graphical elements to thematize by qss
2018-05-20 16:29:38 +02:00