Commit Graph

4244 Commits

Author SHA1 Message Date
Adriaan de Groot
90a2e482be [partition] Check for available partition type before creating
- Avoid situation where you make 5 or more primaries in an
   MSDOS partition table.

FIXES #953
2018-05-16 10:56:06 -04:00
Adriaan de Groot
bd57f1f2f1 [partition] Fix re-editing a newly created partition
- If there is a partition already (newly) created, then pass that
   to the dialog so that it can use the setings previously applied
   (e.g. mount point and flags).
 - This avoids the case where you create or format a partition,
   then click on it again to edit it and the previous settings are lost.
2018-05-16 09:14:50 -04:00
Adriaan de Groot
ca03dad67b [partition] Refactor setting the flags UI
- Setup the lsit of flags consistently, by providing the available
   and to-be-checked flags.
 - In CreatePartitionDialog, assume that ~0 is all the flags.
2018-05-16 09:07:45 -04:00
Adriaan de Groot
4f451eece5 [partition] Refactor getting the checked flags 2018-05-16 08:41:47 -04:00
Adriaan de Groot
950cc9070d [partition] Rename MountPoints to PartitionDialogHelpers
This file is full of helper functions for the partition-editing
dialogs. At first it was just mount-point helper functions,
but there is other functionality that can be refactored.
2018-05-16 08:34:33 -04:00
Adriaan de Groot
336b8c758a [partition] Consider the future flags when checking EFI bootability
- If we're changing the flags to enable EFI boot, then that's
   enough to satisfy the (future) EFI bootability check.
   This is for issue #622 as well. Fixes #884.
2018-05-16 07:33:04 -04:00
Adriaan de Groot
0df304b206 [partition] Preserve desired partition flags
- Use the desired (future) flags, if set, to initialize the
   flags checkboxes. If there are no future flags set, this
   returns active flags as before.
 - This fixes the situation where editing a partition, changing
   flags, then editing it *again* re-starts with the original
   flags instead of the modified flags.
2018-05-16 07:19:34 -04:00
Adriaan de Groot
6739b81c2a [partition] Tell PartitionInfo about desired flags
- When creating a partition, or changing flags, tell
   the PartitionInfo about those desired flags.
2018-05-16 07:13:35 -04:00
Adriaan de Groot
7df143f64a [partition] Add flags to PartitionInfo
- PartitionInfo maintains information on "what is desired" for
   a given Partition. Now we can set desired flags, alongside
   the flags already supported by Partition (where activeFlags()
   gives you the flags currently set on that partition).
2018-05-16 06:53:35 -04:00
Adriaan de Groot
5b4668822d [partition] Also update combo box index when setting up
- Avoids case where you edit a partition with a mountpoint
   set; previously, calling setText() would update the text
   but leave the selected index unchanged (usually 0), so that
   later calling selectedMountPoint() would return empty.
2018-05-16 06:15:33 -04:00
Adriaan de Groot
323d20d1a5 [partition] Avoid sneaking an empty string into the mount points combo 2018-05-15 08:26:01 -04:00
Adriaan de Groot
255a99d714 [partition] Drop now-unneeded debugging 2018-05-15 08:13:15 -04:00
Adriaan de Groot
310555f16b [partition] Add /srv to standard mount-points list. 2018-05-15 08:06:45 -04:00
Adriaan de Groot
4402198b37 [partition] Centralize setting-of-mountpoint
- map empty to the 0'th index
 - add new entries as needed

This avoids having selected index 0, but a different text.
2018-05-15 08:01:18 -04:00
Adriaan de Groot
a49c39bb53 [partition] Unmap mount-point special strings
- Reverse "(no mount point)" to the empty string
 - Provide convenience pointer-taking function
2018-05-15 06:30:18 -04:00
Adriaan de Groot
a4997c4be8 [partition] Convenience for selecting default mount point
- map blank to the "(no mount point)" string for UI purposes
2018-05-15 06:13:19 -04:00
Adriaan de Groot
fda2e54e0f [partition] Refactor filling combobox with moint points
- Move to one place which handles the standard mount points
 - While here, introduce explicit "(no mount point)" string
   into the combo box. This is prep-work for issue #951.
2018-05-15 05:40:52 -04:00
Adriaan de Groot
b5d667f76e i18n: disable Esperanto again
I consider this a Qt bug: there is an enum value for the language,
the language is fully (?) detailed in the ICU tables, and yet
it gets mapped hard to C locale.
2018-05-14 16:05:55 -04:00
Adriaan de Groot
39bf2eb9aa [welcome] Fix display of unsupported locales
- Some locales have no nativeLanguageName(), so instead display
   the locale id (e.g. "eo") and the resulting language in English
   (which, if it is really unsupported, will be "C").
2018-05-14 06:28:57 -04:00
Adriaan de Groot
b0e5e13221 i18n: enable Esperanto translation 2018-05-14 06:28:57 -04:00
Adriaan de Groot
7090227269 i18n: fix up tooling
- suppress languages we've decided not to have anymore
 - prevent txpull from losing .desktop keys it doesn't understand,
   by splitting off a desktop.in file with only the (source) fields.
2018-05-14 06:28:57 -04:00
Calamares CI
d354027114 i18n: [python] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Calamares CI
03c2329093 i18n: [dummypythonqt] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Calamares CI
0ad74a5913 i18n: [desktop] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Calamares CI
4e1306bf89 i18n: [calamares] Automatic merge of Transifex translations 2018-05-14 06:28:57 -04:00
Adriaan de Groot
29848e0279
Merge pull request #950 from cjlcarvalho/master
[partition] Only bootloader model should ignore devices that are not of Disk_Device type
2018-05-14 10:47:57 +02:00
Caio Carvalho
f72f7bd8fe [partition] Only bootloader model should ignore devices that are not of Disk_Device type. 2018-05-10 18:37:37 -03:00
Adriaan de Groot
37ce9a0838 CMake: bump RC number 2018-05-10 08:53:45 -04:00
Adriaan de Groot
45731b554b i18n: update lists of translated languages
- add Esperanto
 - add checks for new or misspelled translations
2018-05-10 08:53:29 -04:00
Adriaan de Groot
ccdfe53201
Merge pull request #945 from cjlcarvalho/master
- Switch to enum types
 - Ignore LVM
 - Check LUKS support

Builds locally in my Manjaro test-box and kpmcore 3.3.0
2018-05-10 13:39:58 +02:00
Calamares CI
4723f70503 i18n: [python] Automatic merge of Transifex translations 2018-05-10 07:38:20 -04:00
Calamares CI
5e6cced522 i18n: [desktop] Automatic merge of Transifex translations 2018-05-10 07:38:20 -04:00
Calamares CI
d79ca92cbf i18n: [calamares] Automatic merge of Transifex translations 2018-05-10 07:38:19 -04:00
Adriaan de Groot
2da09f7648 [libcalamaresui] Fix build
- Include all headers for types that need to be fully-defined
   (e.g. return types). This guards against uses in contexts where
   those headers have not been implicitly or previously included.

FIXES #948
2018-05-10 05:39:22 -04:00
Caio Carvalho
77d2667b53 [partition] Checking if there is LUKS creation support and if partition is not Extended before enabling encryption in CreatePartitionDialog. 2018-05-08 01:30:41 -03:00
Adriaan de Groot
7b934b7779 Desktop: don't show in app-stores
- another change squashed by Transifex
 - thanks Kevin Kofler for spotting
2018-05-07 14:31:33 -04:00
Adriaan de Groot
96887e754c i18n: drop es_ES, add tooling 2018-05-07 09:14:18 -04:00
Adriaan de Groot
ff43752f47 i18n: pl_PL has merged into pl 2018-05-07 05:58:04 -04:00
Adriaan de Groot
a38a2a54f7 [locale] Check all XML TimeZone elements if needed
- reduce warnings about loop-executed-only-once
 - if there is more than one TimeZone element, use the virst valid one
 - warn if nothing is found
2018-05-07 05:18:35 -04:00
Adriaan de Groot
3beb4bc87f Desktop: cleanup
- remove blank lines introduced by Transifex
 - restore 8ee4cc19 which was dropped when re-importing translations
2018-05-07 05:08:42 -04:00
Calamares CI
ad45ed4a33 i18n: [python] Automatic merge of Transifex translations 2018-05-07 05:01:49 -04:00
Calamares CI
0fc30d6cd6 i18n: [dummypythonqt] Automatic merge of Transifex translations 2018-05-07 05:01:49 -04:00
Calamares CI
d1ceb66556 i18n: [desktop] Automatic merge of Transifex translations 2018-05-07 05:01:48 -04:00
Calamares CI
c7533800b2 i18n: [calamares] Automatic merge of Transifex translations 2018-05-07 05:01:48 -04:00
Adriaan de Groot
48b7c312f8 ci: switch to less volatile KDE Neon version 2018-05-07 04:56:43 -04:00
Caio Carvalho
f561f04591 [partition] Changing PartUtils::getDevices to ignore devices that aren't of Disk_Device type. 2018-05-03 14:50:13 -03:00
Caio Carvalho
8726b70574 [partition] Ignoring LVM devices in PartUtils::getDevices to prevent installing bootloader in LVM VG. 2018-04-30 00:40:54 -03:00
Adriaan de Groot
a4bc98742a ci: switch to less volatile KDE Neon version 2018-04-26 10:09:12 -04:00
Adriaan de Groot
76b622936f
Merge pull request #944 from ximion/master
Never show Calamares in software centers
2018-04-26 16:05:04 +02:00
Matthias Klumpp
e36d6d5d97 Never show Calamares in software centers
Users will never want to install the distribution installer from a
software center like KDE Discover or GNOME Software, so exclude it from
the AppStream metadata collection.
2018-04-26 06:46:30 +02:00