Adriaan de Groot
46f2d72b4c
[partition] requiredPartitionTableType: improve docs
2021-06-29 11:48:53 +02:00
Adriaan de Groot
5f7cfefed7
[partition] Migrate EFI settings-setting to Config object
2021-06-29 11:43:20 +02:00
Adriaan de Groot
c3bc305bb6
[partition] Shuffle Config and ViewStep to top
...
Modules nearly always have a Config and either a Job or ViewStep
as their "top level" components. Everything else is implementation-
detail. The *partition* module was unusual in that those two
"top level" components were tucked away in subdirectories.
Shuffle them to the top: this makes it more clear that these
two files are there to coordinate the module.
2021-06-29 11:22:47 +02:00
Adriaan de Groot
cba5b9e4fb
[partition]: restore defaultFileSystemType in config
...
Add the old key back, document the new key, expand schema.
2021-06-28 22:25:54 +02:00
Adriaan de Groot
fb7e6101ff
[partition] Hook erase-fs-type changes to the config-object
2021-06-18 13:53:47 +02:00
Adriaan de Groot
7ce2a87644
[partition] Fix build
...
- fsName was a QString (a copy) so it could be modified;
- the modification isn't really necessary.
- While here, pick up new PointerSetter convenience class.
2021-06-18 13:49:39 +02:00
Adriaan de Groot
2a0d4e5a23
[partition] Initialize pointers in declaration
2021-06-18 12:35:15 +02:00
Adriaan de Groot
26cabbb3e4
[partition] refactor config-reading from availableFileSystemTypes
2021-06-18 12:18:04 +02:00
Adriaan de Groot
cd804470b5
[partition] Canonicalize the FS choice for erase
2021-06-18 11:51:33 +02:00
Adriaan de Groot
d8a862ec82
[partition] Use Q_EMIT
2021-06-18 11:31:53 +02:00
Adriaan de Groot
4fa61249a8
[partition] Make the fs type used for erase, a config property
2021-06-18 11:29:36 +02:00
Adriaan de Groot
9fa5ab04e5
[partition] Apply coding style to core/
2021-06-18 11:23:27 +02:00
Adriaan de Groot
f9659989b1
[partition] rename findFS
...
Rename findFS -> canonicalFilesystemName because that's what it actually
does. While here, apply coding style to the files that are affected.
2021-06-18 11:09:11 +02:00
Adriaan de Groot
546253d750
[partition] Apply coding style
2021-06-18 11:00:15 +02:00
Adriaan de Groot
9ef22f4168
Merge branch 'calamares' of https://github.com/LordTermor/calamares into pr-1667
2021-06-15 11:48:33 +02:00
Adriaan de Groot
dba346be7a
[partition] Fix build in non-debug settings
2021-06-08 19:51:25 +02:00
Adriaan de Groot
4f70568c65
[partition] Remove unneeded includes
2021-06-08 15:05:44 +02:00
Adriaan de Groot
63c6a8bac8
[partition] Remove unneeded includes
2021-06-08 14:18:28 +02:00
Adriaan de Groot
f67c7f900c
[partition] Make the expanded (pop-up) icon sizes for devices a bit smaller
2021-06-08 14:14:11 +02:00
Adriaan de Groot
df634573bf
[partition] Resize combo box to show whole pop-up
...
The (collapsed) combo box should be wide enough to show the
entire pop-up (expanded) box data.
FIXES #1700
2021-06-08 14:09:31 +02:00
Adriaan de Groot
eb627bc055
[partition] Avoid crash when PARTITION_UNSAFE is on
...
PARTITION_UNSAFE is a debug mode. It is not used in
production, because it allows you to pick an install
device that would be dangerous (e.g. the current / device).
Existing code kept two copies of a list of pointers,
and deleted pointers from one of the lists and returned
the other -- which now contains dangling pointers.
Refactor by applying suitable lambdas to a single
copy of the list; this avoids copying the list so
there is no danger of dangling pointers.
2021-06-08 13:22:56 +02:00
Adriaan de Groot
a57a1fdbd8
[partition] Improve logging while collecting devices
2021-06-04 13:32:22 +02:00
Adriaan de Groot
cf341c53fa
Merge branch 'calamares' into improve-partition
2021-05-25 17:37:15 +02:00
Adriaan de Groot
78af510535
Merge pull request #1708 from demmm/calamares
...
[localeq], working Offline.qml
2021-05-31 11:48:10 +02:00
Adriaan de Groot
a72d59d23b
[partition] Don't mention IRC support for weird configs
2021-05-31 10:38:37 +02:00
Adriaan de Groot
2d8cf6aabf
[partition] Fix build against KPMCore3
2021-05-26 16:36:28 +02:00
demmm
72f97ac163
[localeq] Offline.qml visual improvements
2021-05-26 12:38:08 +02:00
Philip Müller
2c99a8c6f8
[displaymanager] add cutefish
...
- more info at https://cutefishos.com/
2021-05-26 09:36:02 +02:00
demmm
ffe3209121
[localeq], working Offline.qml
2021-05-25 22:52:10 +02:00
Adriaan de Groot
01911beccc
[partition] Expand debugging output
...
The partition path isn't set yet, so is probably 'empty'. Try logging the device, too.
2021-05-25 14:16:28 +02:00
Adriaan de Groot
252a88cb7f
[partition] Check for suitable bios_grub partition.
2021-05-25 14:07:58 +02:00
Adriaan de Groot
43c172f54d
[partition] Tighten up types
...
Don't return the generic Abstract model for bootloader, but
the subclass pointer, so that consumers can use the convenience
API on the subclass.
2021-05-25 13:23:28 +02:00
Adriaan de Groot
d0276fd25f
[partition] Look up bootloader by name, method
...
The bootloader model knows about both rows and
devices, so we can look up both at once. The
existing implementation as a non-member was rather
sketchy and wasn't used except as support for
restoreSelectedBootLoader().
2021-05-25 13:05:45 +02:00
Adriaan de Groot
dabd895755
[partition] Use type alias consistently
2021-05-25 12:33:12 +02:00
Adriaan de Groot
d630c2aadf
[partition] Introduce a check if the GPT-on-BIOS popup should be shown
...
The check is bogus right now, and it still always warns; but if
the `shouldWarnForGPTOnBIOS()` function is implemented, this will
fix issue 1701.
2021-05-25 12:00:35 +02:00
Adriaan de Groot
aa4569b55b
[packages] Convert command-failures into readable error messages
...
If the pakcage manager fails in some way, convert to a readable
error message instead of leaking the exception to the caller
(which produces a traceback, which is harder to read and less
informative)
2021-05-24 23:07:11 +02:00
Adriaan de Groot
bb1df38caa
[bootloader] Convert command-failures into readable error messages
...
Avoid leaking errors to the caller, because that gets us a
traceback and generic Python Error message, which is less-than-helpful.
2021-05-24 23:05:46 +02:00
Adriaan de Groot
e186e54434
[fstab] Don't fail with a KeyError in misconfigured installations
...
Use get() instead of [] to avoid KeyError when the host system
confuguration is entirely missing a setting for *mountOptions*.
FIXES #1702
2021-05-24 22:16:54 +02:00
Adriaan de Groot
ce5b5c6734
Merge pull request #1692 from edupals/copy_link_resolvconf
...
[networkcfg] copy resolvconf as link
2021-05-17 12:14:24 +02:00
Raul Rodrigo Segura
a888156deb
copy resolvconf as link
2021-05-12 16:20:13 +02:00
Adriaan de Groot
27f965deb6
[summary] Name widgets for styling
2021-05-10 21:55:52 +02:00
Adriaan de Groot
5d577371e7
[welcome] Name widgets for styling
...
Widgets are easier to style if they have a name, and easier to spot
in the widget tree as well. Give the requirements-checker
parts meaningful names.
SEE #1685
2021-05-10 21:55:52 +02:00
Philip Müller
4543feccca
[displaymanager] add ukui
2021-05-07 15:44:25 +02:00
Adriaan de Groot
e6568667c4
[packagechooser] Sanitize includes
...
- build was broken due to AppStream moving around
- unnecessary includes
- change name HAVE_XML -> HAVE_APPDATA for meaning
2021-04-24 17:41:51 +02:00
Adriaan de Groot
eee536046b
[packagechooser] Sanitize includes
...
- build was broken due to AppStream moving around
- unnecessary includes
- change name HAVE_XML -> HAVE_APPDATA for meaning
2021-04-24 17:40:37 +02:00
Adriaan de Groot
df20aa9ddb
Merge branch 'calamares' into improve-partition
2021-04-23 23:33:49 +02:00
Adriaan de Groot
cd7d109114
[packages] Fix trivial indent problem
2021-04-23 23:04:51 +02:00
Adriaan de Groot
a3b84fa674
Merge pull request #1680 from jcfrosty/patch-1
...
[packages] Add Luet PackageManager support
2021-04-23 23:02:21 +02:00
Adriaan de Groot
f024cb7370
[packages] Document and add new key to schema
...
FIXES #1676
2021-04-23 23:01:28 +02:00
Adriaan de Groot
bac1108781
Merge branch 'issue-1550' into calamares
...
FIXES #1550
2021-04-23 22:37:12 +02:00