benne-dee
938edf5bd6
Create shellprocess.schema.yaml
2021-01-27 11:41:53 +05:30
Adriaan de Groot
4f78afe67e
[libcalamaresui] Display a reduced amount of details
...
Cut the error message from down to a maximum of 8 lines
so that the messagebox does not hopelessly overflow.
2021-01-26 00:37:08 +01:00
Adriaan de Groot
f0fd47eeb3
[libcalamares] Simplify logging-manipulators
...
Writing `Logger::NoQuote{}`` has annoyed me for a while, so
switch it to a constant, like SubEntry, so it looks more
like a regular manipulator object.
2021-01-26 00:13:10 +01:00
Adriaan de Groot
c1064c5e08
Merge pull request #1597 from Chrysostomus/btrfs-swap
...
[fstab][mount] Btrfs swapfile handling
2021-01-25 15:19:45 +01:00
Adriaan de Groot
9a4c599e22
[libcalamares] Tidy logging a little for Python errors
2021-01-22 14:49:20 +01:00
Adriaan de Groot
6978ce3cb4
[partition] Collect more kpmcore 4.2 code
2021-01-20 14:56:34 +01:00
Adriaan de Groot
520f08bbba
[partition] Fix build with legacy kpmcore
2021-01-20 14:54:12 +01:00
Adriaan de Groot
31bf38977e
[partition] Refactor partition-labeling
2021-01-20 14:48:44 +01:00
Adriaan de Groot
3ade1fd84a
Merge branch 'add-automount-control' into calamares
2021-01-18 16:28:12 +01:00
Adriaan de Groot
b709ba7a5b
Merge pull request #1590 from deprov447/Back/Next_buttons_at_installation
...
Navigation buttons hideability during installation
2021-01-18 16:24:10 +01:00
Adriaan de Groot
9482935034
Merge pull request #1572 from gportay/partition-output-more-things-in-overiew
...
[partition] output more things in overiew
2021-01-18 15:08:19 +01:00
Adriaan de Groot
478af25cec
Merge pull request #1571 from gportay/unpackfs-skip-overlay-extended-attributes
...
[unpackfs] Skip overlay extended attributes
2021-01-18 15:00:12 +01:00
Anubhav Choudhary
0ff32784d1
hooked backAndNextVisible signal to nonQML navigation
2021-01-13 22:41:25 +05:30
Anubhav Choudhary
a9539018e9
[fixed] backAndNextVisbility logic
2021-01-13 22:15:22 +05:30
Gaël PORTAY
af5c57a713
[partition] Output filesystem features in overview
2021-01-08 08:57:03 -05:00
Gaël PORTAY
c045af1975
[partition] Output GPT entries in overview
2021-01-08 08:57:03 -05:00
Gaël PORTAY
bf9c9a64f1
[libcalamares] Introduce new function getPartitionTable
2021-01-08 08:54:02 -05:00
Adriaan de Groot
132ff59d9c
[libcalamares] Make running commands less chatty
...
If there's no output, don't mention it; don't mention failure modes
if the command was successful.
2021-01-06 00:07:35 +01:00
Adriaan de Groot
a3eae323f1
[libcalamares] Rename test-executable: avoid clashes with 'cala<tab>'
2020-12-22 22:08:23 +01:00
Adriaan de Groot
d74bdbcfd0
[libcalamares] coding-style, logging in calautomount
2020-12-22 22:07:17 +01:00
Adriaan de Groot
3150785ff1
[libcalamares] Use shared_ptr instead of unique_ptr
...
The value inside a unique_ptr can't be opaque, it needs to be known
at any site where the pointer may be deleted. shared_ptr does not
have that (deletion is part of the shared_ptr object, which is larger
than the unique_ptr) and so can be used for opaque deletions.
2020-12-22 21:29:49 +01:00
Adriaan de Groot
1c4bf58fb4
[libcalamares] automount-manipulation test-program
2020-12-22 21:25:00 +01:00
Adriaan de Groot
f0a33a235c
[libcalamares] Make automountDisable() more flexible
2020-12-22 21:24:30 +01:00
Adriaan de Groot
9e6bddf31a
[partition] Add new AutoMount-manipulating helpers
2020-12-22 16:05:20 +01:00
Adriaan de Groot
1c285f011b
[libcalamares] Export partition-syncer symbols
2020-12-22 16:03:51 +01:00
Adriaan de Groot
c963d8905f
[netinstall] Merge the two descriptions of *immutable*
2020-12-21 17:24:06 +01:00
Chrysostomus
271122865f
define global storage
2020-12-20 01:27:45 +02:00
Adriaan de Groot
2ccd5a2043
Docs: explain about loadmodule
...
The Python-specific `testmodule.py` was replaced by the more
general `loadmodule`.
FIXES #1596
2020-12-14 16:18:50 +01:00
Anubhav Choudhary
e3a41571f0
Spacing added
2020-12-08 18:19:14 +05:30
Chrysostomus
727f7859b7
Mount @swap to /swap when needed
2020-12-07 22:59:29 +02:00
Chrysostomus
b180cbd47d
Generate a subvolume for swap if swapfile is used
2020-12-07 22:52:39 +02:00
Chrysostomus
97eb32bf5c
Correct the path of swapfile on btrfs
2020-12-07 22:47:32 +02:00
Chrysostomus
80a538665e
Generate entry for subvolume @swap
2020-12-07 22:39:21 +02:00
Chrysostomus
3f0612b4ad
Use different location for swapfile on btrfs root
2020-12-07 22:31:20 +02:00
Anubhav Choudhary
0f2320bd47
Initializing bools in settings.h
2020-12-07 21:40:59 +05:30
Anubhav Choudhary
03d1fe434c
Navigation button hideability added
2020-12-06 04:32:18 +05:30
Chrysostomus
59cfdcccdf
Use variable instead of a function
2020-12-05 22:57:51 +02:00
Chrysostomus
0ed0d37693
Don't use plymouth-encrypt if there is keyfile in use, because it is buggy and asks for password even when it is not needed
2020-12-05 22:55:35 +02:00
Adriaan de Groot
06c6ea04c0
[users] Make status message consistent (no .)
2020-12-04 22:26:27 +01:00
Calamares CI
3c14d7092a
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-12-04 22:11:59 +01:00
Adriaan de Groot
a93e96da7c
[branding] Restore dropped https
2020-12-04 20:56:46 +01:00
Anubhav Choudhary
e8238ca713
Name added in copyright section
2020-12-04 23:01:06 +05:30
Anubhav Choudhary
a4c759355b
[Fix] WelcomePage links
...
"Generic support" and "Known Issues" links fixed
2020-12-04 10:39:07 +05:30
Adriaan de Groot
f4133a97db
[libcalamares] Make test a bit more verbose (before failing)
2020-11-30 15:38:17 +01:00
Adriaan de Groot
fa7d2bda16
[libcalamares] Misplaced space in a test-filename
2020-11-30 15:28:08 +01:00
Adriaan de Groot
1f21b9ad73
[dracutlukscfg] Const data
...
The QLatin1String() might be replaced by char[], that trades one
initialization for two but with a simpler data section; this
probably is not worth profiling.
2020-11-30 14:41:02 +01:00
Adriaan de Groot
1f0aec5f87
[dracutlukscfg] Job-internal constant data doesn't need to be a member
2020-11-30 14:35:21 +01:00
Adriaan de Groot
d2c7c42aec
[dracutlukscfg] More static methods -> free functions
2020-11-30 14:32:36 +01:00
Adriaan de Groot
6d02bab098
[dracutlukscfg] static methods -> free functions
...
These methods don't touch anything in the class, and are more safely
tucked away as static (TU-local) free functions.
2020-11-30 14:23:06 +01:00
Adriaan de Groot
6df3c023c8
[luksbootkeyfile] Free functions that really are static (TU-local)
2020-11-30 14:16:35 +01:00
Adriaan de Groot
b82da569d5
[plasmalnf] Remove unused (widget) files
2020-11-30 14:16:35 +01:00
Adriaan de Groot
06e2db946f
[plasmalnf] Older Qt doesn't have -> for iterator
...
With Qt 5.15.2 (and clang), `k->first` works, but this breaks
with Qt 5.11 (and gcc), this is not available and the dereference
must be written differently, `(*k).first`.
2020-11-30 13:12:42 +01:00
Adriaan de Groot
ff66eacd0d
Merge branch 'issue-1573' into calamares
2020-11-30 12:31:26 +01:00
Adriaan de Groot
fb9fa347a0
[plasmalnf] Fix iteration
...
`for k : images` iterates over the values in the map, while we need
both the key (the theme-id) and the value (the image to hand to
that theme).
2020-11-30 12:30:01 +01:00
Adriaan de Groot
bcff0454a3
[plasmalnf] Give the themes a selected-state
...
- This kind of runs around the selection model on the view,
but we're drawing radio buttons ourselves **anyway**
and the list of themes knows which is selected / current
independent of the view.
2020-11-30 12:11:11 +01:00
Adriaan de Groot
da4f8fffcf
[plasmalnf] Give the theme list plenty of space
2020-11-30 11:31:44 +01:00
Adriaan de Groot
cf538fb837
[plasmalnf] Implement a delegate for drawing the list of themes
2020-11-30 11:19:00 +01:00
Adriaan de Groot
cc6611bac4
[plasmalnf] Make 'the size of screenshots' available outside ThemeInfo
2020-11-30 10:46:46 +01:00
Adriaan de Groot
dac590a094
[plasmalnf] Rip out the intermediate model again, in prep for a delegate
2020-11-28 16:53:35 +01:00
Adriaan de Groot
61a2335909
[users] Stray space in message (reported by Transifex user Moo)
2020-11-24 23:47:13 +01:00
Adriaan de Groot
ccfbd6b972
Merge pull request #1566 from Chrysostomus/calamares
...
Don't use a keyfile for encrypted partitions if /boot in unecrypted
2020-11-24 16:13:32 +01:00
Adriaan de Groot
2a30ae1e25
[unpackfs] Log failure during unpackfs more clearly
2020-11-22 23:14:02 +01:00
Adriaan de Groot
66da5f2fa4
[netinstall] Removing the last package should clear it out.
...
FIXES #1577
2020-11-18 17:27:50 +01:00
Adriaan de Groot
06cbabd189
[plasmalnf] Simplify (warnings--, debug--)
2020-11-17 14:40:21 +01:00
Adriaan de Groot
faa1cb6b65
[plasmalnf] Demand-load image for a theme
2020-11-17 14:32:50 +01:00
Adriaan de Groot
58ea40c14d
[plasmalnf] Add a description
...
- add a role for description
- change view to a table view
2020-11-17 12:41:50 +01:00
Adriaan de Groot
258a14bea2
[plasmalnf] Expose only the themes model
...
- make ThemeInfo and ThemeInfoList internal, expose only
ThemesModel to the rest of the PlasmaLnF module
- don't build the widget anymore (needs to be replaced by
a delegate)
2020-11-17 11:56:09 +01:00
Adriaan de Groot
04a6fbc4c4
[plasmalnf] Fix debug-logging
...
- ProcessResult isn't loggable, so operator bool() is called, so
it logged 'false' on failure which isn't helpful.
2020-11-17 11:42:27 +01:00
Adriaan de Groot
0a88273e0d
[plasmalnf] Replace combobox with a view
2020-11-17 11:38:33 +01:00
Adriaan de Groot
3909459563
[plasmalnf] Signal more changes to the model
...
- also individual changes need to be signalled
- use QSignalBlocker to avoid spamming changes when calling
aggregate change methods
- refactor findById() so that also a row number can be
obtained, which is needed for the change signals.
2020-11-17 11:17:47 +01:00
Adriaan de Groot
f93cec031b
[plasmalnf] Introduce an index-lookup function
...
- for signalling model changes, also need to know indexes / row
2020-11-17 00:25:48 +01:00
Adriaan de Groot
f9e99da468
[plasmalnf] Improve lnf model
...
- remove useless widget pointer from themeinfo
- notify when data changes in the model
2020-11-17 00:12:47 +01:00
Adriaan de Groot
1f57a0ddda
[plasmalnf] Very basic combo-box based UI
2020-11-17 00:02:59 +01:00
Adriaan de Groot
aaa56b6903
[plasmalnf] Rip out most of the widget
...
- put a filter model in place, so only the themes with "show" set
are displayed
- rip out the messing about with widgets, soon to introduce a model-
based UI
2020-11-16 23:36:32 +01:00
Adriaan de Groot
d4887426e2
[plasmalnf] Set screenshots on themes, filtering
...
- while here reorder the config so the effect of *showAll* is clearer
2020-11-16 21:57:06 +01:00
Adriaan de Groot
254933a488
[plasmalnf] Prep-work for loading the themes into the model
2020-11-16 21:28:37 +01:00
Adriaan de Groot
57907ca992
[plasmalnf] Move model to ThemeInfo files
2020-11-16 18:14:23 +01:00
Calamares CI
9bf0a3414f
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-11-16 12:15:52 +01:00
Chrysostomus
ff9f47ec83
Fix syntax errors
2020-11-15 01:42:16 +02:00
Chrysostomus
567b01eab0
call function at different scope to avoid name collision
2020-11-13 23:39:25 +02:00
Chrysostomus
09798a2a12
Use free functions (I wish I had known I can do this)
2020-11-13 00:02:12 +02:00
Chrysostomus
8676ce9a20
Simplify the generators
2020-11-12 23:57:02 +02:00
Gaël PORTAY
feab8bebba
[partition] Remove unused attribute m_defaultFsType
...
This attribute is used since the commit fcd0e8d36
[partition] Apply
partition layout when replacing free space
2020-11-12 15:15:51 -05:00
Adriaan de Groot
dda2e1f29f
Merge commit 'a8359696caf07b81b85db8acad2d3f44720d07fa' into calamares
...
This is the bugfix part (rather than the "clean up this widgets mess")
of issue-1573, ensuring that the LookAndFeelPackage setting is
saved to the target system config file.
2020-11-12 15:59:56 +01:00
Adriaan de Groot
27f1e82a8f
[plasmalnf] Remove unused path-setting from the widget
...
- Only Config needs to know the path, since it is responsible for
doing the actual lnf changes.
2020-11-12 15:59:03 +01:00
Adriaan de Groot
a19109ed0b
[plasmalnf] Prepare a new model
...
- start a model for available themes, to replace the list held
by the widget which just duplicates information.
- move preselected theme to Config.
2020-11-12 15:36:29 +01:00
Adriaan de Groot
03e09cb7e6
[keyboard] When changing layouts, reset variant
...
- Need to update the variant that is in use, **and**
explicitly update it in the widget, in order to re-load
the keyboard image for the newly-selected layout+variant.
2020-11-12 15:29:15 +01:00
Adriaan de Groot
fdfe3937e9
[keyboard] Tell the keyboard preview to update on config changes
...
These calls to setLayout() and setVariant() got lost in
the transition to Config object, in 5afe5413
.
Reported by Harald Sitter.
2020-11-12 14:50:21 +01:00
Gaël PORTAY
2e6d632c7c
[partition] Fix typo
2020-11-11 12:49:44 -05:00
Adriaan de Groot
cba2733471
[plasmalnf] Move job creation to config
2020-11-11 14:45:31 +01:00
Adriaan de Groot
0af12546ef
[plasmalnf] Migrate more settings to Config
2020-11-11 14:41:45 +01:00
Adriaan de Groot
b4aca7e188
[libcalamares] Tidy up documentation for System::runCommand
...
- Make explicit which one runs in the host, which one is selectable.
- Document *location* parameter in the selectable version.
- Tidy up alignment of apidox.
2020-11-11 14:03:23 +01:00
Adriaan de Groot
00293d1111
[plasmalnf] Move the lookandfeeltool path setting to Config
2020-11-11 13:21:16 +01:00
Adriaan de Groot
0f07550006
[plasmalnf] Introduce (empty) Config object
2020-11-11 13:08:42 +01:00
Adriaan de Groot
a8359696ca
[plasmalnf] Remove unnecessary includes
2020-11-11 13:06:09 +01:00
Adriaan de Groot
76b0981918
[plasmalnf] Apply workaround for lookandfeeltool
...
The lookandfeeltool does not (always?) write the LookAndFeelPackage
key that the KCM does -- and which this module reads on startup
to find the default LnF. This seems to be a regression in recent
lookandfeeltool versions (or in the KCM code that backs it).
Workaround supplied by jghodd.
Fixes #1573
2020-11-11 12:57:40 +01:00
Adriaan de Groot
8f590848bd
[plasmalnf] Simplify code
...
- Look-and-Feel job has no status to speak of
- Coding style
2020-11-11 12:45:19 +01:00
Chrysostomus
543a9e1afc
Remove extra static keyword
2020-11-10 22:11:49 +02:00
Adriaan de Groot
b503aa645b
Merge pull request #1563 from LordTermor/calamares
...
[users] Full name transliteration support for user creation
2020-11-10 01:19:44 +01:00
Artem Grinev
16eca3c1be
[users] Apply code format
2020-11-10 01:54:21 +03:00