Adriaan de Groot
f6c69db9ff
[calamares] Use branding-settings for initial window-size
2019-01-14 12:23:38 +01:00
Adriaan de Groot
32ab377e43
[libcalamaresui] Record branding window-size
2019-01-14 12:06:04 +01:00
Adriaan de Groot
99a19c7c6b
[libcalamares] Document NamedSuffix
...
- Add more constructors
- Make the table-constructor public, no need to force
subclassing on everyone
- Declare some useful API
- Document the bits.
2019-01-14 11:50:06 +01:00
Adriaan de Groot
ef33aa01f3
[fsresizer] Port to NamedSuffix template
2019-01-11 19:49:39 +01:00
Adriaan de Groot
e28aeebb48
[libcalamares] Introduce helper NamedSuffix template
...
For (all?) those cases where we have configuration with
a value followed by a unit, introduce a class that
uses the NamedEnum properties to make parsing and split-up easier.
2019-01-11 19:48:11 +01:00
Adriaan de Groot
819a57e458
[libcalamaresui] Store resize configuration
...
- Use the named enums code for simplicity.
2019-01-11 17:35:06 +01:00
Adriaan de Groot
194f693412
[partition] Use new NamedEnum approach
2019-01-11 14:32:45 +01:00
Adriaan de Groot
9c2a6b03e4
[libcalamares] Slight refactor, move into NamedEnumTable
...
- expand documentation on find()
- make find() methods
2019-01-11 14:30:21 +01:00
Adriaan de Groot
fb44113561
[libcalamares] Named enumeration support
2019-01-11 14:15:18 +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
Calamares CI
807861c97d
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-01-09 14:06:46 +01:00
Adriaan de Groot
44211ee19a
Merge branch 'release-3.2.3'
...
- Pull in CHANGES and release-numbering modifications
- Pull in locale fixes
- Bump version again, to 3.2.4-RC1 in master
2019-01-09 13:07:32 +01:00
Adriaan de Groot
4b1b71dd3e
[locale] Update Copyright statements
2019-01-08 22:30:12 +01:00
Adriaan de Groot
527392f0af
[libcalamares] Update Copyright statement
2019-01-08 22:29:55 +01:00
Adriaan de Groot
200f68ae48
[locale] Reduce debug-chattiness
2019-01-08 22:18:01 +01:00
Adriaan de Groot
f1cbd5fcbf
[locale] Provide API for setting language
...
- The language and BCP need to be in-sync
- Existing code was inconsistent in setting things, which is why
you could get through the locale page without setting a locale
(at all) or it would keep English in spite of picking Germand on
the welcome page.
- Patch tests to use that API.
2019-01-08 18:09:34 +01:00
Adriaan de Groot
8cc0e1f5f9
[locale] Expand tests to check lang
...
- This shows that one constructor isn't doing it right.
2019-01-08 14:39:40 +01:00
Arnaud Ferraris
921f70d3bb
[partition] Fix size and last sector computation
...
Due to a computation error when calculating the total drive space and
each partition's last sector, the last partition's last sector was out
of boundaries, leading to an error creating this partition.
This patch fixes the computation algorithm to get rid of this error.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-08 14:05:38 +01:00
Adriaan de Groot
2345b933cd
[locale] Add operator << for LocaleConfiguration, for debugging
2019-01-08 13:40:20 +01:00
Adriaan de Groot
dbe50fe3db
[locale] Improve LocaleConfiguration constructors
...
- Allow split-setting of the language and formats
- Test new constructors
- Since fromLanguageAndLocation can handle empty localeGen
lists just fine, skip all the weird checks that return
invalid guessed locale configurations.
2019-01-08 13:23:16 +01:00
Adriaan de Groot
0a526febae
[locale] Refactor setting the BCP47 name and update test
2019-01-08 11:39:15 +01:00
Adriaan de Groot
b1921cced9
[locale] Add tests for some of the data classes
2019-01-08 11:30:49 +01:00
Adriaan de Groot
50e6f0fcbf
[locale] Replace weird static-constructor
...
- Replace createDefault() with a constructor that takes a
locale name; use it with en_US.UTF-8 in those places where
createDefault was previously used.
2019-01-08 11:10:16 +01:00
Adriaan de Groot
093240c131
[libcalamares] Be less chatty in Python scripts
...
- When finding the gettext path, the debug output was very
chatty and didn't include an indication that it was looking
for translations.
2019-01-08 10:51:53 +01:00
Adriaan de Groot
9d871fb9db
[locale] Update global locale setting when it changes
...
- use debugging to be a little more chatty
- when changing the system language on the locale page,
the global locale setting should change, too.
2019-01-07 18:49:08 +01:00
Arnaud Ferraris
cb60a3e7f1
[partition] Keep copyright notice for copied code
...
Some code was copied and adapted from PartitionActions.cpp. For full
compliance, it is best to copy the copyright holders list from this file
to PartitionLayout.cpp.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 18:40:12 +01:00
Adriaan de Groot
bc398756f5
[locale] Debugging support for Location
...
- code formatting
- provide an operator << for debugging TZ widget
2019-01-07 18:34:25 +01:00
Adriaan de Groot
3ff480eaa9
[locale] Refactor to make updating global locale setting easier.
2019-01-07 17:29:54 +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
0d284759f5
[partition] Apply custom partition layout for Erase and Replace choices
...
This patches add new methods to both PartitionLayout and
PartitionCoreModule classes which apply the partition layout to the
available drive space.
In addition, the partition creation code from PartitioinActions is
removed to call the newly created methods instead, thus applying the
custom partition layout when the "Erase whole disk" and "Replace
partition" choices are selected.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:26:37 +01:00
Arnaud Ferraris
f863912a2f
[partition] export PartitionActions::bytesToSectors for future use
...
As we move some of the partition creation code away from
PartitionActions, we will need the bytesToSectors function. Rather than
copying it, we export it in the PartitionActions namespace, so that
other classes can use it.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:26:12 +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
Arnaud Ferraris
f1ead5193d
[partition] Create PartitionLayout class
...
In order to use a custom partition layout in the partition module, we
need to write this layout in the module's config file, and store it into
a dedicated object.
As it doesn't look appropriate to extend an existing class with layout
information, we create a new PartitionLayout class, which will be used
to parse the layout from the config file and keep it in memory.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-01-07 17:25:22 +01:00
Adriaan de Groot
e52f0318fe
[locale] Call timedatectl only when needed
...
- When testing and running not-as-root, only call the timedatectl
when the settings actually change; this reduces the number of
times kauth pops up.
2019-01-07 15:16:37 +01:00
Adriaan de Groot
2bb7a5f686
[branding] Document intended settings for window size
...
- Control Calamares window size through the branding file
- This is for #1062 and #1038
2019-01-03 15:46:44 +01:00
Adriaan de Groot
8b72c93d67
[branding] Group the welcome-settings together
2019-01-03 15:38:20 +01:00
Adriaan de Groot
b1ea96e463
[partition] Don't autoremove the tempdir
...
- Dangerout since we're mounting things inside that tempdir,
and then doing a "weak" unmount
2019-01-03 15:10:07 +01:00
Calamares CI
e572784eb5
i18n: [dummypythonqt] Automatic merge of Transifex translations
2019-01-03 15:06:55 +01:00
Adriaan de Groot
fe3a88f834
[packages] Fix cut-and-paste-o in packages try_remove
...
- Copied from_local from the code for install, which doesn't
make sense and causes a NameError.
FIXES #1063
2019-01-03 14:36:48 +01:00
Adriaan de Groot
56a71c232f
[locale] Use the re-factored LocaleLabel
2018-12-14 13:27:32 +01:00
Adriaan de Groot
210965aca4
[libcalamaresui] Allow always-show-country setting in locale label
2018-12-14 13:20:32 +01:00
Adriaan de Groot
8790985fca
[libcalamaresui] Code-formatting, remove dead code
2018-12-14 11:33:13 +01:00
Adriaan de Groot
3dda9ab860
[libcalamaresui] LocaleLabel doesn't need to inherit QObject
...
- Use static QObject::tr instead.
2018-12-14 11:30:05 +01:00
Adriaan de Groot
1f4ac45bb5
[libcalamaresui] Cleanup locale-labeling code
...
- Support translations of the "language (country)" format instead
of forcing English parenthesis.
2018-12-14 11:22:47 +01:00
Adriaan de Groot
084f4d2445
[libcalamaresui] Refactor: move LocaleLabel to UI library
...
- This is prep-work for making locale labels consistent everywhere.
- While here, improve code documentation.
2018-12-14 10:52:55 +01:00
Harald Sitter
311af6de5d
[locale] prefer native language and country names when available
...
This basically means we talk about localization in the respective
localized variant. e.g. "German (Germany)" ➡ "Deutsch (Deutschland)".
If geoip lookup failed or isn't configured for whatever reason it's a
stretch to expect the user to know english enough to find their own
language. Preferring the localized strings resolves this issue.
Additionally this happens to bypass #712 respectively
https://bugreports.qt.io/browse/QTBUG-34287
as the native names are properly spelled. So, as long as Qt has localized
names the names will also be properly spelled.
2018-12-13 23:18:37 +01:00
Calamares CI
bf976b3de0
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-12-11 19:31:23 +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
a456687924
[partition] Include all possible SwapChoices in example
2018-12-04 12:11:35 +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
Calamares CI
6ac872e724
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-12-03 21:09:30 +01:00
Adriaan de Groot
c5d707399d
Merge branch 'fix-swap-ui'
2018-12-03 21:02:10 +01:00
Adriaan de Groot
14c72824f0
[partition] Be chatty when deciding a partition isn't resizable
2018-12-03 16:42:40 +01:00
Adriaan de Groot
b798c27bc4
[partition] Be more verbose while looking for fstab entries
2018-12-03 16:33:12 +01:00
Adriaan de Groot
1f2d547d5b
Merge remote-tracking branch 'origin/partitioning-fixes'
2018-11-30 12:50:03 +01:00
Adriaan de Groot
e074959ede
Merge remote-tracking branch 'origin/package-scripts'
...
FIXES #1057
2018-11-30 12:29:31 +01:00
Adriaan de Groot
1fb1189f74
Merge remote-tracking branch 'origin/mount-conf-flexible'
2018-11-30 12:28:07 +01:00
Adriaan de Groot
e4d67b5572
[mount] Handle missing configuration keys gracefully
...
- If a key is missing from mount.conf, don't raise KeyError
- If both keys are missing, suggest that mount.conf might
be missing instead (a consequence of INSTALL_CONFIG=OFF, for
instance).
- Simplify code a bit.
- Don't bother returning None explicitly.
2018-11-28 13:26:40 +01:00
Adriaan de Groot
0a73d57808
[packages] Add support for pre- and post- scripts everywhere
...
- for remove and localInstall, add support for pre- and post-
scripts like there already was for install.
This feels like there's code duplication going on, but I haven't
thought of an elegant way to distinguish the available operations
so that I can pass around functions instead.
2018-11-27 12:52:24 +01:00
Adriaan de Groot
34255b4cf5
[packages] Document *localInstall* operation.
2018-11-27 12:48:31 +01:00
Adriaan de Groot
05588a1ffd
[packages] Improvide conf documentation
...
- about LOCALE packages
- about pre- and post-scripts
CC: #1057
2018-11-27 12:39:19 +01:00
Calamares CI
94dcf56282
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-11-20 13:17:21 +01:00
Adriaan de Groot
38d58fb6ed
[partition] Check for suitable FS before passing -o noload
...
- The noload option prevents journal re-play (so it's an extra-
strong read-only) but is only applicable to ext3 and ext4.
Check the FS type before mounting; other FS types don't
accept -o noload and will fail to mount.
2018-11-12 17:07:18 +01:00
Adriaan de Groot
e0ce500f36
[partition] Improve debug-output after os-prober
2018-11-12 16:31:30 +01:00
Adriaan de Groot
c522004575
[partition] Mount fs read-only when searching for fstab
...
Submitted by aliveafter1000
FIXES : #1044
CLOSES : #1050
2018-11-12 15:26:15 +01:00
Adriaan de Groot
9459ef7d93
[partition] Set FlagBoot for the root partition
...
- This only applies to legacy (non-EFI) BIOS systems, and
adds the FlagBoot to whatever is already set for the root
filesystem, and only when autopartitioning the device.
Submitted by aliveafter1000.
FIXES : #1046
CLOSES : #1049
2018-11-12 15:15:22 +01:00
Adriaan de Groot
a1143e8fef
[partition] Document flags parameter to createPartition()
2018-11-12 14:16:33 +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
1def06cfd3
[calamares] Reduce warnings about signedness
2018-11-09 08:24:31 -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
6de55e6951
[partition] Construct, then winnow, the fstab entries
2018-11-02 12:13:29 -04:00
Adriaan de Groot
ebbc1a1bcb
[partition] "constructor-like" needs to be static
2018-11-02 12:13:06 -04:00
Adriaan de Groot
516ae494bf
[partition] Complain if unmount fails
...
- If unmount fails, then warn and don't autoremove
2018-11-02 12:04:09 -04:00
Adriaan de Groot
bd1b482242
[partition] Don't autoremove the tempdir
...
- Dangerout since we're mounting things inside that tempdir,
and then doing a "weak" unmount
2018-11-02 11:58:49 -04:00
Adriaan de Groot
f1c1d07dca
[partition] Add convenience methods to FstabEntry
...
- Add something like a constructor
- Add validity checking
2018-11-02 11:57:49 -04: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
3b8d2835e0
[calamares] Use XDG_{DATA,CONFIG}_DIRS as appropriate
...
- Use DATA for the qml and branding directories (looks for qml/
and branding/<name>/ in those directories).
- Use CONFIG for the global settings and module settings (looks
for settings.conf and module/<name>/ in those directories).
FIXES #941
2018-10-08 10:28:30 -04:00
Adriaan de Groot
c489320af5
[calamares] Add option to obey XDG dirs
...
- Prep-work for #941
- This does nothing, yet, just sets the stage for using
XDG_CONFIG_DIRS and XDG_DATA_DIRS as well as the regular
directories.
2018-10-08 07:02:35 -04:00
Adriaan de Groot
4a2ca8bb77
[libcalamares] Fix compilation of tests
...
- QCOMPARE is picky with types, enum vs unsigned int, so just
hit it with a hammer.
2018-10-08 06:46:35 -04:00
Adriaan de Groot
fc99824c8d
[fsresizer] Fix string error, thanks Lithuanian translators
2018-10-05 17:22:12 +02:00
Adriaan de Groot
bb586de056
[partition] Remove some slowdown methods when debugging is off
...
- Running lsblk and mount for debugging purposes can be
skipped when the debugging is going to be suppressed anyway.
This will speed things up just a little for regular users.
2018-10-05 09:41:37 -04:00
Adriaan de Groot
74ab06e20a
[partition] Drop redundant logging
2018-10-05 09:41:37 -04:00
Adriaan de Groot
02a6b7dd12
[partition] Log the newly-created partition table
...
- Log individual partitions instead of printing QObject(<ptr>)
2018-10-05 09:41:37 -04:00
Adriaan de Groot
4757496c3d
[partition] Improve partition-UUID logging.
2018-10-05 09:41:37 -04:00
Adriaan de Groot
5b936f33ec
[libcalamares] Add tests
...
- Test only the new debug-level query methods
2018-10-05 09:41:37 -04:00
Adriaan de Groot
0b1c969a80
[libcalamares] Allow querying debug settings
2018-10-05 09:41:37 -04:00
Adriaan de Groot
7515386cf8
CMake: clean up test setup
...
- Remove redundant searches for ECM and Qt::Test, move
them to top-level.
2018-10-05 09:41:37 -04:00
Adriaan de Groot
a33b0c4f24
[partition] Log the flags that are used to create a partition
2018-10-05 07:45:05 -04:00
Calamares CI
36161461e2
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-10-05 07:36:40 -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
800f9d34f9
[partition] In logging, distinguish more cases
...
- While winnowing devices, the zram and nullptr cases
were mixed together; split them, for the sake of
logging more accurately.
- While here, fix up some coding-style issues.
2018-10-03 13:46:08 +02:00
Adriaan de Groot
1a248e0574
[preservefiles] Apply restrictive default permissions
2018-10-01 11:31:54 +02:00
Adriaan de Groot
eb6fc01c01
[preservefiles] Document new permissions key
2018-10-01 11:22:57 +02:00
Adriaan de Groot
d3d08241e2
[preservefiles] Support perm setting
...
- Use settings from config file
- Refactor copy operation
- Apply permissions inside target system
2018-10-01 11:22:57 +02:00
Adriaan de Groot
91c94c6022
[preservefiles] Tidy up permissions code
...
- superfluous const
- add default constructor
- Add octal-string accessor to permissions
2018-10-01 11:18:44 +02:00
Adriaan de Groot
1c85a648a4
[preservefiles] Tie permissions into the build, file header
2018-10-01 10:45:39 +02:00
Adriaan de Groot
3ef4842a4d
[preservefiles] Add permissions-parsing code from Scott Harvey
2018-10-01 10:40:43 +02:00
Adriaan de Groot
21fedfce65
[fsresizer] Calamares oding style
2018-10-01 04:22:25 -04:00
Adriaan de Groot
39902d1c3f
[fsresizer] "can not" -> "cannot"
2018-10-01 04:19:14 -04:00
Adriaan de Groot
eb7c6385cd
[fsresizer] Bail out if resize required but not feasible
2018-10-01 04:19:14 -04:00
Adriaan de Groot
0b4c0f9c38
[fsresizer] Add setting required
...
- If resize is required, fail if it doesn't happen.
2018-10-01 04:06:01 -04:00
Adriaan de Groot
29bae61610
Merge branch 'master' into fix-swap-ui
2018-10-01 03:21:06 -04:00
Adriaan de Groot
7e88f637b1
[localecfg] Fix error in string-formatting.
2018-09-30 18:56:48 +02:00
Adriaan de Groot
b42a36e5ad
[fsresizer] Don't need to check KPMCore version
2018-09-28 14:24:25 +02:00
Adriaan de Groot
ed841d1674
[fsresizer] Typo
2018-09-28 12:34:40 +02:00
Adriaan de Groot
aaf27ac2ab
[fsresizer] Apply sizes properly
...
- Distinguish size and atleast; in percentages they mean different
things (atleast is a bit weird as a percentage, but hey).
- Fix bug in percentage calculation.
- Avoid percentage above 100.
- Add documentation in config-file.
2018-09-28 12:32:08 +02:00
Adriaan de Groot
c725f6b552
[fsresizer] Distinguish error from no-useful-resize
2018-09-28 12:05:41 +02:00
Adriaan de Groot
5dc11b223a
[fsresizer] Do the resize itself
...
- handle weird partition tables
- ignore unallocated space -- that's what we want to expand into
- use ResizeOperation for the actual work
2018-09-28 11:55:16 +02:00
Adriaan de Groot
14b6755714
[fsresizer] Initialize harder
2018-09-27 21:47:54 +02:00
Adriaan de Groot
e627633c44
[fsresizer] initialize FS support
2018-09-27 21:39:22 +02:00
Adriaan de Groot
2556891e39
[fsresizer] Fix backwards logic in error message
2018-09-27 20:49:28 +02:00
Adriaan de Groot
869357a89c
Merge branch 'master' into oem-resizer
2018-09-27 20:47:17 +02:00
Adriaan de Groot
a749f041f0
[calamares] More verbose failure in test-loader
2018-09-27 20:45:13 +02:00
Adriaan de Groot
e7c62c114f
[keyboard] Improve debugging output
2018-09-27 13:35:33 +02:00
Adriaan de Groot
9124281bcb
[fsresizer] Calculate resize parameters
...
- apply() a relativesize to a device to find out how much it
means in sectors
- find the space into which the configured FS can grow.
2018-09-27 05:28:20 -04:00
Adriaan de Groot
9e1c95ad05
[fsresizer] Refactor finding device
...
- Find device in separate function
- If device isn't found, bail out
2018-09-27 04:10:25 -04:00
Adriaan de Groot
1c2714d832
[fsresizer] Match configuration to system
...
- Bail out earlier before doing any work if the configuration
is invalid.
- If it's valid, look for a matching device.
2018-09-27 03:56:57 -04:00
Adriaan de Groot
aae4b38e69
[fsresizer] Fix endless loop
...
- Improve variable names
- Missing iterator++
2018-09-27 03:44:39 -04:00
Adriaan de Groot
3ab891793a
[keyboard] Add Austrian keyboard layout
...
- Map xkb 'at' to 'de' on the text console
- Thanks Philip Mueller, Kevin Kofler
FIXES #1035
2018-09-26 16:54:39 +02:00
Adriaan de Groot
06a00a15c6
[fsresizer] Scan for devices, list partitions
...
- The is just debugging output, but it's the start of what needs
to happen to find the FS that needs resizing.
2018-09-25 06:39:14 -04:00
Adriaan de Groot
35ca813064
[partition] Use "" for including from current directory
2018-09-25 06:34:03 -04:00
Adriaan de Groot
d752223d0b
[libcalamaresui] When reporting failure, use full product name.
2018-09-24 17:58:22 +02:00
Adriaan de Groot
0396ed28b7
[keyboard] Update some origin information for the keyboard map
2018-09-24 17:05:36 +02:00
Adriaan de Groot
88c973f7cc
[partition] Simplify space calculations
...
- Q_ASSERT doesn't work in constexpr functions because it's not
- May as well calculate bytes at compile-time, no need to give
the runaround via number-of-MiB
2018-09-24 13:50:19 +02:00
Adriaan de Groot
428929b64f
[fsresizer] Tiny step towards getting data from KPMcore
2018-09-22 11:11:19 -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
45195b9f7e
[fsresizer] Remove over-enthusiastic constexpr
2018-09-20 10:34:46 -04:00
Adriaan de Groot
499dd2ce83
[fsresizer] Document configuration
...
- Add some notes on configuration of fsresizer
- Convenience methods for checking validity.
2018-09-20 15:38:26 +02:00
Adriaan de Groot
3b8fa187e1
[fsresizer] Fix syntax error in YAML
2018-09-20 07:49:49 -04:00
Adriaan de Groot
bf092de76f
[calamares] Explain config-file failures better
2018-09-20 07:48:06 -04:00
Adriaan de Groot
39a0d2315b
[calamares] Better config-loading diagnostics
...
- Be more verbose when things go wrong while loading module-
configuration files.
- Allow more forms of paths to be specified. In debug mode, this
is mostyle helpful for the module test-loader.
2018-09-20 07:39:43 -04:00
Adriaan de Groot
c6e8cdf65b
[calamares] Better command-line help in module test-loader
2018-09-20 07:07:17 -04:00
Adriaan de Groot
40e031411c
[calamares] Improve debug log in module test-loader
2018-09-20 07:01:27 -04:00
Adriaan de Groot
745629b659
[fsresizer] Turn on KPMCore requirement again
2018-09-17 06:58:18 -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
3f09857cb7
Merge pull request #1013 from cjlcarvalho/master
...
Some RAID fixes
2018-09-17 12:25:24 +02:00
Adriaan de Groot
a6c3899e10
[fsresizer] Add tests
...
- Test the parsing of configuration values, that it gets the right
values when given correct(-ish) configurations. Doesn't test
any situations with bad config.
2018-09-14 17:59:50 +02:00
Adriaan de Groot
a81588190a
[fsresizer] Simplify and make safer
...
- Make RelativeSize public so we can use it in non-member functions
- Make a template out of matching the string suffixes; this is
safer because the length of the suffix can be computed at compile-time
(+1 for the trailing NUL) rather than writing it out in boilerplate.
2018-09-14 16:51:09 +02:00
Adriaan de Groot
cdfb55e5cf
[fsresizer] Just right now it doesn't need KPMCore
...
- Drop the dependency while developing the configuration parser
part of the module and writing initial tests.
2018-09-14 16:49:07 +02:00
Adriaan de Groot
4d5eb90a04
[fsresize] Add new module fsresizer
...
- Non-functional as yet, WIP
- Intended for use on SBC images and similar, which need to resize
the root partition to the size of the SD card they're on.
FIXES #921
2018-09-14 07:56:18 -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
8c79c981b1
[partition] Simplify space calculations
...
- Q_ASSERT doesn't work in constexpr functions because it's not
- May as well calculate bytes at compile-time, no need to give
the runaround via number-of-MiB
2018-09-13 05:33:39 -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
Calamares CI
5291072cbc
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-09-12 05:01:25 -04:00
Adriaan de Groot
e0cd90cab1
Update the documentation and implementation of swap calculation.
...
Make the ramps consistent between suspend-to-disk and not,
and don't do the weird drop from 8GiB swap down to 4GiB for
large-memory systems.
2018-09-11 11:30:01 -04:00
Adriaan de Groot
c104d14086
[partition] Call the helpers in the right order.
...
This fixes the crash by calling the model-reset first, then
refreshing. Previously, the destructors that do the work
were still being called in the wrong order.
FIXES #1019
2018-09-03 15:21:30 -04:00
Adriaan de Groot
fe662345bd
[partition] Extra helper classes for doing reset and refresh
...
- The ResetHelper only finalized changes to the module on
destruction, but calls to refresh() assumed it was already
done. This leads to crashes when refresh() uses an intermediate
state of the model.
Introduce extra helpers, and rename refresh() to avoid calling the
old implementation from any code. The new helper just creates and
destroys a ResetHelper, before creating and destroying an object
that calls the new refreshAfterModelChange().
FIXES #1019
2018-09-03 10:57:20 -04:00
Adriaan de Groot
4602b30264
[libcalamaresui] Use PYTHONQT_INCLUDE_DIRS
...
- document new variable from the CMake module
- use it in libcalamaresui to simplify #include'ing the
header for the "all" extension.
Suggested by Denis Proskurin.
2018-09-03 06:26:26 -04:00
Adriaan de Groot
42d606171d
Merge pull request #1020 from apachelogger/esp-eq-boot
...
do not set boot flag on ESP (thanks @philmmanjaro for testing)
2018-09-03 10:28:59 +02:00
Adriaan de Groot
8b6fb1f5fa
Merge pull request #1021 from apachelogger/no-active-esp
...
do not set active flags on the to-be ESP (thanks @philmmanjaro for testing)
2018-09-03 10:28:40 +02:00
Adriaan de Groot
a796981ace
Merge pull request #1022 from ximion/master
...
grubcfg: Only try to decrypt disk that /boot is on (thanks @philmmanjaro for testing)
2018-09-03 10:28:24 +02:00
Philip Müller
e3ca2dd857
[displaymanager] fix desktop_environment_setup ldm
2018-08-26 21:15:03 +02:00
Matthias Klumpp
d775cee4cf
grubcfg: Only try to decrypt disk that /boot is on
2018-08-25 15:21:40 +02:00
Harald Sitter
84ad2852bf
do not set boot flag on ESP
...
ESP == boot. at best this is duplicated information, at worst kpmcore may
implode if you try to set a boot flag since that is technically an MBR
type flag and means nothing within the context of GPT where ESP is the flag
to set.
2018-08-22 10:14:49 +02:00
Harald Sitter
81cab43701
do not set active flags on the to-be ESP
...
having ESP as active flag AND then trying to set ESP means nothing is
set since kpmcore will think ESP is already set (it is listed as active
after all). this ultimately meant that nothing was set since there was
no delta between the requested flags and the already active flags.
2018-08-22 10:12:36 +02:00
Adriaan de Groot
c3219a4905
[displaymanager] Fix call in LightDM code
...
- The parameter list was wrong, and could never have worked
(apparently noone mixes LightDM with basic setup, even though
it's one of the few with basic_setup()).
- Shorten some lines.
2018-08-21 07:31:46 -04:00
Adriaan de Groot
858c959285
Merge branch 'master' into refactor-dm
2018-08-20 17:25:26 -04:00
root
fa45e21e15
Fix default desktop environment variable in displaymanager. Closes #1016 .
2018-08-20 22:21:39 -07:00
Adriaan de Groot
a83ee4984d
[displaymanager] Enable translation for user-visible messages
...
See also #991
2018-08-20 12:30:44 -04:00
Adriaan de Groot
5191400d89
[displaymanager] Fix LightDM error message
...
- Error tuple was not being constructed properly
- Fix capitalization consistency
2018-08-20 12:30:44 -04:00
Adriaan de Groot
ebae7e1f47
[displaymanager] Re-arrange initializations
...
- Move variable initializations closer to where they are first used
- Also warn if no implementations are available
- Handle sysconfig as any other DM; there's no real reason
to treat it specially.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
229cc241fa
[displaymanager] Massage do_autologin
...
- Move getting the global setting closer to where it is used
- Initialize variable
2018-08-20 12:30:44 -04:00
Adriaan de Groot
59a003a41f
[displaymanager] Expand check for no-DMs
...
- The message refers to an empty list or unset variable,
but the if only checked for unset. Also bail out if
the list is empty.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
2d0660a54a
[displaymanager] Fix up missing methods
...
- Add (empty) implementations of all the abstract methods that
are not needed (or supported) by various DMs.
- Order the abstract methods by calling order
- Fix up have_dm
2018-08-20 12:30:44 -04:00
Adriaan de Groot
155e212616
[displaymanager] Call all configuration methods through instance
...
- Make root_mount_point a parameter of the DM classes
- Create instances as needed, then check if they're available
- Keep instances that actually need to be configured
- Clean up remaining cruft from removing old setup_autologin()
with all the string-comparison magic.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
18392cb216
[displaymanager] Refactor greeter setup
...
- Only lightdm has support for dynamically configuring the
greeter based on what is installed. Still, refactory that
to something general.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
383e0e4f25
[displaymanager] Refactor setting up default DE
...
- Some DMs allow setting up the default DE. Factor that
out into a method like basic_setup() and setup_autologin()
and add it to the configuration chain.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
1c0b9e6a2a
[displaymanager] Call basic_setup through instance
...
- Now that basic_setup is factored out into the classes,
call it via an instance before doing set_autologin.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
cd0cdfc9af
[displaymanager] Move basic setup to DM classes
...
- For all the DMs that have some kind of basic setup,
introduce a method in the DM class for doing just that.
- The Python code now doesn't call basic setup anywhere,
so this specific revision isn't going to work properly.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
47b58083f7
[displaymanager] Move setup_autologin to individual classes
...
- Split the entire body of setup_autologin() to a method
per implementation class.
- Make the check for presence of a DM a class-method,
since if it fails, instantiation is going to be useless.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
e1f7dbdbb9
[displaymanager] Simplify do_autologin initialization
2018-08-20 12:30:44 -04:00
Adriaan de Groot
7f47b2f9ca
[displaymanager] Introduce class for DM configuration
...
- Much like PackageManager, this is where the actual
implementation of configuration methods will end up,
for each supported DM.
2018-08-20 12:30:44 -04:00
Adriaan de Groot
f188c6f71b
[displaymanager] Simplify DE class
...
- The DE isn't being configured, and isn't where the complexity
lies. Drop the ABC from it.
2018-08-20 08:14:52 -04:00
Adriaan de Groot
76a7c439c1
[displaymanager] Begin refactoring DM
...
- Introduce a base-class to "do the stuff" for one specific
display manager / desktop environment.
2018-08-20 07:37:46 -04:00
Adriaan de Groot
c3cef4d919
[displaymanager] Avoid unassigned variable
...
If displaymanagers is not set in the job config or globally,
it wasn't set at all, leading to a runtime error. Set to
None, so that the regular error message will be triggered.
FIXES #1002
2018-08-20 06:17:05 -04:00
Adriaan de Groot
08d41f745b
[partition] Remove superfluous null check
...
delete is specified to handle nullptr gracefully.
FIXES #1012
2018-08-20 06:09:30 -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
Andrius Štikonas
22aa6dc132
[partition] fix build with latest kpmcore.
2018-08-12 14:26:43 +01:00
Adriaan de Groot
8dc95f3e75
Merge branch 'master' of github.com:calamares/calamares
2018-08-11 09:02:25 -04:00
Simon Quigley
5c50587f89
Fix LUKS deployment link.
2018-08-10 13:23:31 -05:00
Adriaan de Groot
bf40f3bd23
Merge branch 'master' into requirements-checking
2018-08-10 12:02:57 -04:00
Adriaan de Groot
f946254433
[branding] Document compiling .ts files
...
FIXES #1003
2018-08-10 07:47:09 -04:00
Adriaan de Groot
3b82e655d7
Merge remote-tracking branch 'origin/update-lvm-support'
2018-08-08 15:28:11 -04:00
Adriaan de Groot
238a1e812f
[partition] Reduce the fudge-factor for swap size
...
- Reported by Bill Auger (I think), a 15GiB disk wouldn't hold
a 8.9GiB root plus 4GiB swap -- due to 10% overprovisioning
of swap, plus the 2.1GiB fudge factor.
2018-08-08 05:58:41 -04:00
Adriaan de Groot
f10bab8a3a
[partition] Minor code-styling
2018-08-08 05:29:19 -04:00
Adriaan de Groot
8ed26e537f
[partition] Fix swap maximum size
...
- The existing calculation comment says "maximum 10% of disk"
but the calculation itself uses 110%.
2018-08-08 05:26:55 -04:00
Adriaan de Groot
59fea041b6
[partition] Fix up calculations of sectors in auto-partition
...
- Calculating first free sector had an off-by-one so that
partitioning would start at 2049.
- EFI boot partition grew 1 sector larger than desired.
- While here, align everything to 1MiB boundaries as well.
FIXES #1008
2018-08-08 05:19:09 -04:00
Adriaan de Groot
1cbfa9d693
[partition] Simplify code for sizing
2018-08-08 04:49:13 -04:00
Calamares CI
8c32fc75a1
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-08-06 05:15:49 -04:00
Adriaan de Groot
ba639beb9a
Merge branch 'master' into update-lvm-support
2018-07-12 13:28:00 -04:00
Adriaan de Groot
ae7700f2d7
[libcalamares] Refactor searching for module configurations
...
- Similar to the refactorings in Calamares proper, just split out
collecting the search paths into a static function. This makes
it a little easier to find places that will need expansion for
more-than-one-config-directory.
2018-07-10 04:12:24 -04:00
Adriaan de Groot
f899bda81d
[calamares] Restore missing search paths
...
- Misplaced {} makes the branding search path empty
- Reported by @apachelogger
2018-07-05 12:01:44 +02:00
Adriaan de Groot
b0e55c059a
[calamares] Refactor searching for branding descriptor
2018-06-29 10:52:12 -04:00
Adriaan de Groot
22ee24a5ad
[calamares] Refactor searching for settings.conf
...
- Split the collection of paths off from the search itself.
2018-06-29 10:15:43 -04:00
Adriaan de Groot
3329f2ea55
[calamares] Refactor searching for QML dir
...
- Split collecting the search paths into separate function
- Don't fall back on the current directory
2018-06-29 09:43:32 -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
Adriaan de Groot
f118fd73bc
[calamares] More info when Cala is already running
...
- If Calamares is already running, print some information
about which instances there are so that it is possible
to unstick them.
2018-06-28 06:29:55 -04:00
Adriaan de Groot
1957478618
[services-systemd] Follow the flexible example of openrc
...
- Make *mandatory* optional (and default to false); this
allows shorter lists of entries
- Allow degenerate entries which are just a name
(which have *mandatory* set to false as well).
SEE #992
2018-06-27 11:25:11 -04:00
Adriaan de Groot
73ecd7320c
[services-openrc] Introduce *mandatory* subkey
...
- Follow services-systemd and have a *mandatory* subkey
that selects for install-failure instead of just a warning.
FIXES #992
2018-06-27 11:12:33 -04:00
Adriaan de Groot
72c0d1a101
[services-openrc] Make list of services more flexible
...
- Allow just a name entry, instead of requiring an object
entry; this makes "foo" equal to { name: "foo", runlevel: "default" }
and simplifies more for the straightfoward case of #974 .
2018-06-27 10:34:50 -04:00
Adriaan de Groot
b02ee3cd8d
[services-openrc] Follow services-systemd configuration example
...
- Based on comments from #974 , follow the configuration
scheme from services-systemd, so with separate lists
"services" and "disable". This ties it **slightly**
less closely to the commands passed to rc-config.
2018-06-27 10:34:50 -04:00
Adriaan de Groot
dbcc419218
[services-openrc] Log failures
...
- If the rc-update command fails for some reason, log that
failure instead of skipping it completely silently.
- Fix syntax error as well
2018-06-27 10:34:36 -04:00
Adriaan de Groot
5a2ae7a250
[services-openrc] Simplify name extraction, default runlevel
...
- If runlevel isn't set (at all) then use "default". For
most systems that do not use multiple runlevels, this
simplifies the configuration to just a list of service names
to add or delete.
2018-06-27 09:36:05 -04:00
Adriaan de Groot
8f0db9dc74
[services-openrc] Log configuration failures
...
- If services don't exist, or runlevels don't exist,
log them instead of failing completely silently.
2018-06-27 09:31:02 -04:00
Adriaan de Groot
cd640bda9f
[services-openrc] Restrict actions
...
- Document the functions some more
- Only "state" (i.e. action) "add" and "del" make sense,
avoid calling rc-update for other keys (e.g. typo's).
This matches the documentation, although there might be
other actions that make sense (see also services-systemd,
with its enable, disable and mask actions).
2018-06-27 09:21:31 -04:00
Adriaan de Groot
b1881d1cd2
[services-*] Adjust Copyright notices
2018-06-27 09:19:05 -04:00
Adriaan de Groot
e1d306dc2f
[services-openrc] Adjust documentation and follow renaming
2018-06-27 09:11:51 -04:00
Adriaan de Groot
55e273ff00
Merge branch 'openrccfg' of https://github.com/artix-linux/calamares into artix-linux-openrccfg
2018-06-27 08:57:31 -04:00
Adriaan de Groot
59b07cc720
[services-systemd] Be more resilient in the config
...
- If a key is not given, use [] instead of crashing.
2018-06-27 07:14:18 -04:00
Adriaan de Groot
c9c777b055
[services-systemd] Introduce disable-targets and mask
...
- With refactored code, introducing new kinds of actions
is very few lines of code. Allow disabling targets
(services was already possible). Allow masking units,
but as a special case require the complete name.
FIXES #975
2018-06-27 07:09:03 -04:00
Adriaan de Groot
5d6e07712b
[services-systemd] Refactor getting config
...
- Don't create temporary variables
- Change API slightly to accomodate more (kinds of) suffixes
2018-06-27 05:14:18 -04:00
Adriaan de Groot
0520fc3b7e
[services-systemd] Refactor to repeat less code
...
- The three steps of modifying services in the target
system do basically the same thing, so factor out
the loops and logging into a systemctl() function.
- Log to warning() instead of just debugging, on failure.
2018-06-27 05:07:18 -04:00
Adriaan de Groot
08fc93f137
[services] Rename to services-systemd
2018-06-26 10:57:03 -04:00
Adriaan de Groot
d66393f1ae
[libcalamares] Fix early failure mode
...
- There is more to failing out of loadModules() than just
emitting modulesFailed, so instead share the failure
code with the code after loading modules -- but don't load any.
2018-06-26 08:43:23 -04:00
Adriaan de Groot
0db8082ae1
[libcalamares] Convenience type
2018-06-26 08:41:16 -04:00
Adriaan de Groot
08966ff933
[libcalamaresui] Check module dependencies
...
- Module dependency-checking is done in two phases:
first, catch any unknown modules that are listed
in *requiredModules* and bail out before loading
anything. Second, check that the modules required
by X occur before X in the sequence.
2018-06-26 08:32:36 -04:00
Adriaan de Groot
731594fb40
[libcalamaresui] Remove the requiredModules setting
...
- The value set in module.desc was never stored for use,
but isn't an attribute of the instance, either. It belongs
with the descriptor, in ModuleManager.
2018-06-26 08:18:00 -04:00
Adriaan de Groot
40252f1000
[removeuser] Minor documentation
2018-06-26 06:52:37 -04:00
Adriaan de Groot
1eede6f797
[modules] Configuration documentation for mount and luksopenswaphookcfg
2018-06-26 06:50:16 -04:00
Adriaan de Groot
63c03068c0
[modules] Documentation for fstab, grubcfg, mkinitcpio
...
- These modules were entirely documented as "use the source",
- The sources aren't terribly clear either.
2018-06-26 06:39:30 -04:00
Adriaan de Groot
52f09f7f46
[modules] Minor documentation work on modules a-g
2018-06-26 05:47:23 -04:00
Adriaan de Groot
c086d18a26
CMake: improve error-handling for USE_*
...
If USE_<foo> is given a value that doesn't match **anything**,
then bail out. Since USE_* is an explicit distro choice for a
specific implementation, it's an error if that implementation
is not there.
2018-06-26 05:33:01 -04:00
Adriaan de Groot
b2c2b91645
CMake: introduce USE_<foo>
...
When there are multiple modules doing a thing and it really only
makes sense to have one of them in a given Calamares compilation,
the USE_<foo> variables allow you to select one, while ignoring
all the other implementations. If USE_<foo> is not set, all
implementations are included (as usual).
2018-06-26 05:18:10 -04:00
Adriaan de Groot
29830bc1e1
[services] Document the configuration file.
...
- Change the example to be harmless (empty)
- Document the structure of the entries
2018-06-26 04:35:00 -04: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
Calamares CI
c8de7e4d92
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-06-25 10:02:55 -04:00
udeved
88e082d531
openrccfg: add small documentation in conf, make service location configurable
2018-06-25 12:15:26 +02:00
Raul Rodrigo Segura
f25d6b278d
add support onLeave and onActivate to pythonqt plugins
2018-06-21 13:21:48 +02:00
Adriaan de Groot
47b130c539
Merge remote-tracking branch 'origin/fix-localegen'
...
FIXES #940
2018-06-20 16:25:42 +02:00
Adriaan de Groot
d59a44be44
[libcalamares] Asking for type of undefined node throws
...
- Use YAML-CPP API for finding out if a node has a value at all.
- Asking for Type() of an undefined or NULL node throws an
exception, so the existing code didn't **actually** catch
cases where a required setting wasn't set at all.
2018-06-20 15:59:23 +02:00
Adriaan de Groot
25f249180b
[localecfg] Be slightly more conservative interpreting comments
...
- A valid line (as explained in the comments at the top of
the locale.gen file) is <locale> <encoding> (two fields),
so lines with more than two fields can't be valid locale-
listing lines. For them, pretend they name locale "",
which won't be matched.
2018-06-20 09:11:23 -04:00
Adriaan de Groot
8551653575
[localecfg] Re-write the locale.gen file better
...
- Improved debug-logging
- Fix the actual problem of listing locales more than once,
by listing them all, uniqified, at the end, with an explanitory
comment in the generated file.
- Be more accepting of what constitutes a locale-line; this allows
spaces before and after the `#` comment sign, but because we're
uniquifying, this doesn't cause duplicates.
- Because we write the enabled locales at the end, the full file
comment-header is retained un-mangled (instead of accidentally
enabling a locale mentioned as an example there).
2018-06-20 08:35:18 -04:00
Adriaan de Groot
413ee81ead
[localecfg] Simplify handling of en_US
...
- By adding en_US to the set of locales-to-enable, we can
drop the special-case code for it.
2018-06-20 07:13:36 -04:00
Adriaan de Groot
ec09272b81
[libcalamares] Fix inverted logic
...
Reported by bshah.
2018-06-19 18:08:14 +02:00
Adriaan de Groot
b283ad69d5
[libcalamares] Complain if key isn't set
...
- Previous check would also fail when the setting is false,
not just when the key is missing.
2018-06-19 17:59:28 +02:00
Adriaan de Groot
efc977f7b4
[localecfg] Fix mismatch between filenames
...
Testing for existence of a file in the live system, and then
copying it in the target system, is not a recipe for success.
- Fix the restore-from-backup part.
- Document that your live and target system must both have
/etc/locale.gen if you want this to work at all.
2018-06-19 08:56:37 -04:00
Adriaan de Groot
7498629b5f
[localecfg] Move all path-setting to one spot
...
- Make the way the paths are constructed consistent
- Name the paths more consistently
2018-06-19 08:46:50 -04:00
Adriaan de Groot
863d00f40c
[localecfg] Document purpose of this module
2018-06-19 08:42:25 -04:00
Adriaan de Groot
1a097f8c49
Style: run modulesystem through the style guide
2018-06-18 10:56:10 -04:00
Adriaan de Groot
58121abf06
[libcalamaresui] Wasted spaces
2018-06-18 10:44:28 -04:00
Adriaan de Groot
a64de3dbfe
[libcalamaresui] Assign the index to found
...
- Previous code assigns the result of the comparison to found,
instead of the index, resulting in the wrong configuration
map sent to each module.
2018-06-18 10:29:30 -04:00
Adriaan de Groot
398b6be4ba
Update issue template
2018-06-18 10:24:35 -04:00
Kevin Kofler
15e9edca70
[packages]: Implement update_system for pkcon, yum, dnf
...
Also make install for yum and dnf follow the documented syntax: options
(-y) before the command (install), even though yum and dnf also accept
the other order. This also makes it consistent with remove.
2018-06-18 13:53:58 +02: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
Philip Müller
3a3a4ec363
[packages] update documentation
2018-06-17 13:15:55 +02:00
Philip Müller
c600c3ecca
[packages] update documentation to reflect 'update_db' and 'update_system' differences
2018-06-17 13:10:59 +02:00
Philip Müller
1bd149c14e
[packages] add initial support for update target system
2018-06-17 12:53:31 +02:00
Philip Müller
18bd455ae1
[bootloader] make paths for executable optional and adjustable
2018-06-17 07:47:58 +02:00
Calamares CI
88c168e6d5
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-06-16 19:27:46 -04:00
Adriaan de Groot
5643ee4b8f
Merge branch 'master' into secureboot
2018-06-15 13:14:58 -04:00
Adriaan de Groot
374a9bdca6
Merge branch 'emergency-modules'
...
Introduce the notion of emergency modules and emergency jobs.
Initial use will probably center around the preservefiles module,
and possibly umount.
FIXES #928
2018-06-15 12:04:55 -04:00
Adriaan de Groot
264d135776
[libcalamares] Run emergency jobs
...
- After a failure, skip non-emergency jobs.
- After running all emergency jobs, then emit failure message.
- In log, distinguish emergency and non-emergency jobs.
2018-06-15 11:45:02 -04:00
Adriaan de Groot
8387d5d81f
[libcalamares] Allow emergency jobs
...
Any job can be an emergency job; emergency modules spawn
emergency jobs (but conversely, a non-emergency module
can spawn an emergency job explicitly).
2018-06-15 10:20:07 -04:00
Adriaan de Groot
3ed6f13fa8
[libcalamaresui] Adjust the emergency-ness of modules
...
A potentially emergency module is one that has EMERGENCY
(in CMake) or emergency: true (in module.desc) set.
Any such module must also set emergency: true in the
configuration of the module. This is to allow for
instances of a module that **don't** run as emergency
modules, alongside actual emergency ones.
2018-06-15 09:32:19 -04:00
Adriaan de Groot
53161f6e36
[preservefiles] Mark this as an emergency module
...
- For C++ modules, don't need the module.desc file in the
source repo, since the CMake macros can create it.
2018-06-15 07:29:55 -04:00
Adriaan de Groot
def459a29d
[libcalamaresui] Read emergency setting from module.desc
...
- Read setting from the module descriptor
- Document optional settings
- Add EMERGENCY keyword to the CMake helper functions
2018-06-15 07:11:17 -04:00
Adriaan de Groot
b92bef21f8
[libcalamares] Avoid using namespace std;
2018-06-15 06:21:05 -04:00
Adriaan de Groot
fa08e0ad73
Copyright: fix bad email address
2018-06-15 06:15:43 -04: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
Adriaan de Groot
d2f2aa9a97
[branding] Link to the examples repository
2018-06-15 05:29:03 -04:00
Adriaan de Groot
99163c9a68
Style: stray space
2018-06-15 04:46:53 -04:00
Adriaan de Groot
ac769d1de8
Style: use QStringLiteral
...
- In many cases, using QLatin1String is a de-optimization, when
applied to a C string literal. Kevin Kofler pointed out that
those should basically all be QStringLiteral, instead. (Compile
tests with -O3 show that in the optimized object file, the
code size difference is negligible).
- Drop the explicit constructor entirely in cases where we're calling
QProcess::execute(), for consistency.
- Do a little less messing around in the mapping of keyboard locales
to keyboard map names.
2018-06-15 04:41:41 -04:00
Adriaan de Groot
2d7eea6d73
Merge branch 'master' into emergency-modules
2018-06-14 17:15:40 -04:00
Caio Carvalho
98a158c6e5
[partition] kpmcore latest release doesn't support FileSystem::Type::Luks2
2018-06-14 15:37:00 -03:00
Adriaan de Groot
290559f8c1
Merge pull request #986 from raurodse/configurationPythonQt
...
Add configuration values into pythonqt modules
2018-06-14 13:19:42 -04:00
Raul Rodrigo Segura
448c5eae16
style code
2018-06-14 16:33:58 +02:00
Adriaan de Groot
67ad37581f
[contextualprocess] Document corner-case
...
The "*" will match its literal value, but is also used as a wildcard.
2018-06-14 14:57:17 +02:00
Adriaan de Groot
011310091c
[contextualprocess] QLatin1String -> QString
...
As Kevin pointed out, there's an extra conversion involved here --
although with -O3 the difference boils away leaving only a call
to a from-ASCII helper or a from-Latin1 helper.
While here, coding-style.
2018-06-14 14:54:14 +02:00
Adriaan de Groot
96cb42414c
Merge remote-tracking branch 'origin/improve-settings-sanitization'
2018-06-14 07:34:53 -04:00
Adriaan de Groot
6cdb2daca3
Merge abucodonosor-plymouth
2018-06-14 07:01:41 -04:00
Gabriel Craciunescu
0ccca6902b
[grubcfg] fix inter-module dependency with plymouthcfg modules
...
The plymouthcfg Calamares module is optional. Distributions which
write filesystems with a full plymouth configuration won't even
want to use it (see plymouthcfg docs).
However, now grubcfg depends on plymouthcfg to run because
the globalstorage value to trigger setting 'splash' in grub,
is set in the plymouthcfg module.
Just check for plymouth existence separately in the grub module.
Fixes ea1c8a0e5d
2018-06-14 06:58:24 -04:00
Adriaan de Groot
2d29bf4449
[contextualprocess] Make conversion explicit
...
- Qt 5.7 doesn't like QLatin1Char comparison, so switch to
a full string. Tested on Neptune Linux, #979
2018-06-14 06:46:06 -04:00
Adriaan de Groot
fa0518f968
[contextualprocess] Make conversion explicit
...
- Should help with Qt 5.7 compatibility. Reported from Neptune
Linux, #979
2018-06-14 05:41:43 -04:00
Calamares CI
ef897f59f5
i18n: Add Korean (ko) language translations
...
Since this is a new language, it is currently 0% translated.
That is why it goes into _tx_bad. It will move to one of the
other categories once some translation has happened. Add the
(still empty) Transifex files already.
2018-06-14 05:03:14 -04:00
Calamares CI
0ea3d85ab0
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-06-14 04:47:53 -04:00
Adriaan de Groot
a8426730ca
[libcalamaresui] Improve wording of modules failure warning
2018-06-14 02:48:52 -04:00
Adriaan de Groot
97a45db4bf
[libcalamaresui] Reset font height when changing size
...
- defaultFontHeight() caches the result; clear cache
when changing the default size, even though this happens
only once in the current codebase.
2018-06-14 02:35:49 -04:00
Adriaan de Groot
bb5ac0326d
[libcalamaresui] Improve layout of "blank" view step
2018-06-14 02:33:03 -04:00
Adriaan de Groot
9918dfb95f
[libcalamaresui] Reporting on failures
...
- Provide information on failed modules
- Disallow further progress when configuration is borked
2018-06-13 13:41:38 -04:00
Adriaan de Groot
3e24c3c58f
[libcalamaresui] Provide standardised large font
2018-06-13 13:41:38 -04:00
Adriaan de Groot
8b406cac9b
[libcalamaresui] Improve module loading
...
- Add a TODO for allowing modules to come from somewhere other
than the module loader (this would allow "internal" modules
that are always present)
- Warnings are warnings
2018-06-13 04:37:52 -04:00
Raul Rodrigo Segura
d61b32aba6
Add configuration values into pythonqt modules
2018-06-12 13:44:28 +02:00
Caio Carvalho
3b6c764f75
[partition] Fixing revert device loop error in PartitionCoreModule::revertAllDevices.
2018-06-11 18:38:57 -03:00
Adriaan de Groot
35124c149e
[libcalamaresui] Drop the 'goodbye' message
2018-06-11 13:35:12 -04:00
Adriaan de Groot
a732ce11bc
[libcalamares] Warn more about badly-formed config
2018-06-11 08:35:35 -04:00
Adriaan de Groot
49622a6a30
Tests: expand test-application test_conf
...
- Add -v (verbose) and -b (load via bytearray)
- Verbose prints the keys read from the file,
- Bytes reads via an indirection through QByteArray, like Settings does
2018-06-11 06:28:31 -04:00
Adriaan de Groot
a40c36ef49
[libcalamaresui] Report on failed module loading
...
- Collect the failed modules, instead of bailing out on the first one
(this also prevents crashes caused by quit() called from a timer).
- Introduce a slot to report on failed module loading (no UI yet).
2018-06-11 05:59:56 -04:00
Caio
0465cc4214
[partition] Including revert on creation of LVM VGs.
2018-06-08 20:20:05 -03:00
Adriaan de Groot
1999e4e5c2
[libcalamaresui] Error out consistently when module loading fails
...
- Some module-loading failures were ignored and produce only a
warning, instead of erroring out.
2018-06-08 18:14:51 -04:00
Adriaan de Groot
dccf6f16f5
[libcalamaresui] Lambdas are fun, but not always the solution
2018-06-08 17:56:23 -04:00
Caio
f8897e0e0b
[partition] Including new LVM PVs in LVM VG creation GUI.
2018-06-08 18:52:53 -03:00
Adriaan de Groot
a626e52bf3
[libcalamares] Introduce more descriptive type name
2018-06-08 17:36:29 -04:00
Caio
e5351cdf3c
[partition] Don't show capacity of new LVM VGs in DeviceModel.
2018-06-07 17:49:25 -03:00
Caio
208d58bcd9
[partition] Including CreateVolumeGroupDialog and fixing some of its GUI issues.
2018-06-07 17:22:22 -03:00
Adriaan de Groot
24b0df3c04
[locale] Missing includes
...
- Implicitly included in recent Qt, but not in old versions
Reported from Neptune Linux
2018-06-07 09:03:54 -04:00
Adriaan de Groot
83688f2837
Merge remote-tracking branch 'origin/shuffle-cmake'
2018-06-07 08:45:19 -04:00
Adriaan de Groot
fe7f48662e
Merge branch 'fix-iceland' (again)
2018-06-07 08:44:53 -04:00
Adriaan de Groot
15b97f8e3f
[libcalamares] Add missing include-dir
...
- Fix build on FreeBSD, where the yaml-cpp headers don't live in
any normally-searched include directory.
2018-06-07 13:31:12 +02:00
Caio
d15ce56c97
[partition] Initial implementation of VolumeGroupBaseDialog.
2018-06-04 16:31:58 -03:00
Calamares CI
54515688f7
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-06-04 08:21:59 -04:00
Adriaan de Groot
8430970e71
[preservefiles] Reduce copying by using const-ref into list
2018-06-07 13:47:41 +02:00
Gabriel Craciunescu
41d427e543
[modules]: hwclock fix typo
...
- methode -> method
2018-06-01 17:45:40 +02:00
Adriaan de Groot
b66d4856e7
[libcalamaresui] Use modern C++ for (auto)deleting failed modules
2018-05-30 07:51:23 -04:00
Adriaan de Groot
40b60abcb3
[locale] Move constants for map-munging
...
These don't have to be defines at all.
2018-05-29 11:29:44 -04:00
Adriaan de Groot
1ee87c3cde
[locale] Drop debugging define
2018-05-29 08:16:43 -04:00
Adriaan de Groot
6b3299e6ff
[locale] Adjust the North
...
- Fudge the numbers in the North, to improve location
of the pins and lines of latitude.
- Inuvik, Yellowknife, Cambridge Bay, Resolute look ok
- Thule, Scoresbysund look ok; Danmarkshavn a pixel or so too far North
- Reykjavik is a bit too far North
- Longyearbyen is a bit too far North
Since these places are off by one or two pixels, this becomes
invisible when a large pin + text label is placed on it.
2018-05-29 08:16:43 -04:00
Adriaan de Groot
4bacafb411
[locale] Fix timezone pixel map for Tierra del Fuego region
...
- Punta Arenas, draw like it's in -4
- Ushuaia, draw like it's in -3
FIXUP pixel
2018-05-29 08:15:33 -04:00
Adriaan de Groot
b7dbc8cc1f
[locale] Name zones when debugging
...
- When debugging timezones, state their names (e.g. UTC offset)
and also log the pixel position under consideration.
2018-05-29 06:33:50 -04:00
Adriaan de Groot
2c18ba6ddb
[locale] Adjust latitude calculation in the southern hemisphere
...
The scaling on the map was a little off; the degrees of latitude
are a little wider there than around the equator and Europe.
- Johannesburg is in the right spot
- Hobart is no longer a suburb of Melbourne
- Punta Arenas is in Chile
2018-05-29 06:09:25 -04:00
Adriaan de Groot
9f8f76befc
[locale] Introduce timezone-widget debugging
...
Replace pin and text label with just a dot (to pinpoint where
locations are) and draw latitude lines on the globe when
DEbUG_TIMEZONE is set at compile time. Since there's probably
still timezone-related bugs (in particular in the images that
map points on the globe to timezones), leave this in the codebase.
2018-05-29 06:09:25 -04:00
Adriaan de Groot
eddee7d76a
[libcalamaresui] No point in isLoaded() being virtual.
2018-05-29 03:38:17 -04:00
Adriaan de Groot
a04915e6fa
[libcalamaresui] Add 'emergency' concept to modules.
2018-05-29 03:37:37 -04:00
Adriaan de Groot
fdda1ef840
[bootloader] Mimic openSUSE's efibootmgr calls
2018-05-28 11:47:47 -04:00
Adriaan de Groot
dad3669eae
[bootloader] Take a stab at determining the shim name
2018-05-28 09:26:20 -04:00
Adriaan de Groot
e4bda546cf
[bootloader] factor our EFI-platform-bitness discovery
2018-05-28 09:24:43 -04:00
Adriaan de Groot
cbd62fbeb1
Merge branch 'master' into secureboot
2018-05-28 05:04:03 -04:00
udeved
a878c1a610
add openrccfg
2018-05-28 01:31:55 +02:00
Calamares CI
51b50b9366
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-26 07:24:36 -04:00
Adriaan de Groot
50dea6ded3
[interactiveterminal] Make optional if requirements not met
...
This is orthogonal to the SKIP_* mechanism already documented
for avoiding modules. If the module is enabled, but its dependencies
are not present, don't bother building the module. This follows
e.g. plasmalnf as an "avoidably heavy dependency".
Related to a misplaced comment in ISSUE #956
2018-05-26 07:09:01 -04:00
Adriaan de Groot
ce3e09318a
[preservefiles] Improve failure messages
2018-05-24 07:03:19 -04:00
Adriaan de Groot
28a42a7230
Merge branch 'filepreserver'
2018-05-24 06:52:27 -04:00
Adriaan de Groot
cdadc2f003
[libcalamares] Improve error logging during module loading
2018-05-24 06:47:13 -04:00
Adriaan de Groot
182458ad5a
[calamares] Need a JobQueue and global storage before running any job.
...
The 'singleton' instances don't do a very good job of being singletons
or ensuring their own creation.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
48771f968a
[calamares] Load and execute the modules
...
This runs dummyprocess, at least, but the other three dummies coredump.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
308f508c7e
[calamares] Add a test-application.
...
This test-application should load a single module and execute it --
that can be used to quickly test configurations, loading, etc. This
is preparation for loading all sorts of Python modules by PythonQt.
The loader does some internals initialization and gets the module,
but doesn't actually run it yet.
2018-05-24 06:46:11 -04:00
Adriaan de Groot
fdda0e14aa
[libcalamaresui] Improve explainYamlException
...
- overloads for common kinds of label
- improve error reporting when reading settings and branding files
2018-05-24 06:46:11 -04:00
Adriaan de Groot
e5ca8e091f
[libcalamaresui] Use refactored loadYaml
2018-05-24 06:46:11 -04:00
Adriaan de Groot
261c545476
[libcalamaresui] Refactor loading of YAML to QVariantMap
2018-05-24 06:46:11 -04:00
Adriaan de Groot
f26ac63c07
[libcalamaresui] Make Python code const
...
- This is always loaded into the Python context, so it may as well
be done only once.
2018-05-24 06:46:02 -04:00
Adriaan de Groot
d3e57e9c9f
[shellprocess] Expand tests
...
These tests run (shell) commands as part of the test; this may be
a security problem, although I've tried to do things safely.
2018-05-23 13:49:23 -04:00
Adriaan de Groot
87b9c42158
[shellprocess] Don't crash test
...
- May need to create a JobQueue before doing anything internal
- May need to create global settings
- Chroot always needs rootMountPath internally
2018-05-23 10:01:31 -04:00
Adriaan de Groot
8b00a03423
[shellprocess] Test command-substitution
2018-05-23 09:29:43 -04:00
Adriaan de Groot
b5d900c1c6
[libcalamares] Allow a @@USER@@ replacement in commands
...
- Following example in preservefiles module, allow @@USER@@
in commands (e.g. to do something specific in the home-dir
of the new user).
2018-05-23 09:25:57 -04:00
Adriaan de Groot
b7890d865f
[preservefiles] Save GS, munge destination
...
- using `from: config` now writes a JSON file
- using @@ROOT@@ and @@USER@@ in dest does a sensible
substitution.
2018-05-23 09:09:03 -04:00
Adriaan de Groot
ac287a0ac5
[libcalamares] Add a save() method to global storage
...
- This is a quick way to dump GS to JSON, which is useful
for the preservefiles module #928
- Also useful for, e.g., #466
2018-05-23 08:53:11 -04:00
Adriaan de Groot
dae84d3bb1
[users] Improve explanation of other steps of adding a user
2018-05-23 08:11:49 -04:00
Adriaan de Groot
01ff1efc5d
[users] Improve explanation when useradd fails
2018-05-23 07:03:59 -04:00
Adriaan de Groot
0d24c1db6c
[users] Introduce userShell setting
...
- Add a *userShell* key, which can be left out (default, backwards-
compatible) to retain the old /bin/bash behavior, or explicitly
set to empty to defer to useradd-configuration, or explicitly
set to something non-empty to use that shell.
2018-05-23 05:23:46 -04:00
Adriaan de Groot
ed15edabf9
[users] Document passwordRequirements and code
2018-05-23 04:37:18 -04:00
Adriaan de Groot
3a59574128
[users] Factor out command-line to useradd
...
- This is prep-work for #964 , which was caused by #955
- Original assumption was that distro's would have a working
useradd configuration; @abucodonosor already pointed out that
this was probably not the case, but I ignored that.
2018-05-22 11:45:39 -04:00
Adriaan de Groot
6aa5be192b
[netinstall] Drop unused includes
2018-05-22 11:43:14 -04:00
Calamares CI
a79e62ac6b
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-22 11:37:24 -04:00
Adriaan de Groot
3133e759d0
Merge pull request #958 from bill-auger/patch-2
...
avoid pinging hard-coded server for netinstall.yaml
2018-05-22 12:08:01 +02:00
Adriaan de Groot
2413180c67
Branding: update copyright notices
2018-05-22 05:47:14 -04:00
Adriaan de Groot
5bcfb32cf5
Branding: move the branding stylesheet to the Branding class
2018-05-22 05:43:59 -04:00
Adriaan de Groot
975004fc63
[libcalamaresui] Document accessors in Branding
...
- document accessors
- put all path and directory accessors together
- make simple accessors inline
- rename "pathprefix" to "directory" to be consistent with others
2018-05-22 05:28:00 -04:00
bill auger
b6673f6324
move thisModule->isLoaded assert to after it's warning message
2018-05-22 03:39:16 -04:00
bill auger
d7b1811e56
avoid pinging hard-coded server for netinstall.yaml
...
groupsUrl is optional and should be commented out by default
also this URL is 404
also only chakra would ever want to ping the chakra server anyways
2018-05-21 18:43:57 -04: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
Adriaan de Groot
fb94c227f6
Merge branch 'netinstall'
2018-05-21 11:00:40 -04:00
Adriaan de Groot
ba85fc760a
[netinstall] Remove data-indirection
...
- There is no need to move data around between two parts of the
same module via global storage.
2018-05-21 10:58:57 -04:00
Adriaan de Groot
3160bd7a54
[netinstall] Simplify getting configuration
...
- Use convenience methods for getting bools and strings from
the configuration map. Ignore empty groupsUrls.
2018-05-21 10:49:47 -04:00
Adriaan de Groot
6779a44991
[preservefiles] New module preservefiles
...
- more flexible way to keep (all kinds of) files from the host
system, into the target system.
- WIP: substitutions like in shellprocess (@@ROOT@@, @@HOME@@ probably)
- WIP: creating a JSON file from global settings
2018-05-21 06:30:54 -04:00
Adriaan de Groot
6c87747a5d
[libcalamares] Make it possible to get the logfile name
2018-05-21 06:30:54 -04:00
Adriaan de Groot
5bcd6eaef8
[partition] Reduce warnings by removing unused code
2018-05-21 06:30:54 -04:00
Raul Rodrigo Segura
7b6c76ba15
fix typo
2018-05-21 09:27:58 +02:00
Raul Rodrigo Segura
3f2cc854f4
Set type to variable and import library
2018-05-21 09:22:28 +02:00
Raul Rodrigo Segura
e2801daf33
check path
2018-05-20 16:47:20 +02:00
Raul Rodrigo Segura
1636f665c3
Set Object name to graphical elements to thematize by qss
2018-05-20 16:29:38 +02:00
Raul Rodrigo Segura
4c6f42ecfa
Set Object name to graphical elements to thematize by qss
2018-05-20 16:28:31 +02:00
bill auger
4826af97a9
consistent indentation in src/modules/netinstall/page_netinst.ui
...
this file has 1 space char indentation except for these lines
2018-05-19 19:04:24 -04:00
Calamares CI
6b02da9e9e
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-17 11:04:13 -04:00
Frede H
f2677b0879
Update CreateUserJob.cpp
...
Removal of the hardcoded shell, letting the `/etc/default/useradd` be responsible for the shell.
2018-05-17 12:52:09 +02:00
Adriaan de Groot
65d00ccc37
Merge branch 'partition-flags'
...
Extensive go-over on the partitioning code. #622 is maybe "possibly fixed",
but there's no real indication of what constitutes an invalid combination
of flags.
FIXES #884 FIXES #951 FIXES #953 FIXES #622
2018-05-16 11:37:27 -04:00
Adriaan de Groot
c73d6e80f6
[libcalamares] Switch @@ROOT@@ magic around
...
The substitution of @@ROOT@@ should happen when running in the
host, not in the target, system. Also only complain about it
if @@ROOT@@ is actually used in the commands.
FIXES #954
2018-05-16 11:20:40 -04:00
Calamares CI
6d1f5433b4
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-16 11:02:48 -04:00
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
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
Calamares CI
03c2329093
i18n: [dummypythonqt] 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
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
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
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
Calamares CI
0fc30d6cd6
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-05-07 05:01:49 -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
42f5ed5d41
[welcome] Fix build, reduce redundancy
...
- constexpr isn't applicable because of non-trivial destructor
- May as well only create " (%1)" once.
FIXES #938
2018-04-23 10:47:31 -04:00
Adriaan de Groot
e5b599fbe3
[welcome] Drop accidental logging
2018-04-19 09:24:59 -04:00
Adriaan de Groot
0c5590c2e4
Merge branch 'language-selection'
...
Display the name of each translation in the language of that translation.
FIXES #935
2018-04-19 09:14:29 -04:00
Adriaan de Groot
a47b3f8d14
[libcalamares] Document special-case translations
2018-04-19 09:10:13 -04:00
Adriaan de Groot
b9ed96d4f8
[libcalamares] Special case sr@latin
...
QLocale::name() doesn't include script information, and if it did
it would probably use sr_RS@Latin; when searching for translation
files it won't consider dropping just the country.
2018-04-19 09:04:29 -04:00
Adriaan de Groot
a9ffd3351d
[welcome] Support sr@latin
...
- The QLocale constructor which takes a string (locale name) doesn't
understand sr@latin, and returns the Cyrillic locale. Fix that
by creating locales ourselves for @latin locales.
- sr and sr@latin now display correctly in the right script in the
native language dropdown.
2018-04-19 08:40:04 -04:00
Adriaan de Groot
7cc2b222d9
[welcome] Present RTL (country) annotations better
...
- The (RTL) text "Arabiy (Misr)" should be entirely RTL, so
make the parenthetical insert -- which would otherwise be LTR
and so mess up the placing of those parenthesis around the country --
explicitly RTL.
- Since there are no RTL languages in Calamares right now with
country-local translations, this isn't visible.
2018-04-19 07:42:43 -04:00
Adriaan de Groot
7c944760fc
[welcome] Only show (country) in list if the locale suggests it
...
- A locale suggests it is country-specific by having the form <lang>_<country>
- This mostly fixes locale "ar" being presented as "Arabiy (Misr)" when
there is no need to (and the RTL is messed up then, too).
2018-04-19 07:19:10 -04:00
Adriaan de Groot
59537d86d6
[welcome] Present languages in native format
...
- Introduce intermediate data class for building up the list
of languages to present.
- Sort on the English names, with en_US at the top (ugh).
- Show the native names.
2018-04-19 07:15:25 -04:00
Adriaan de Groot
b8b607c421
[locale] Fix QString-vs-char* confusion
2018-04-18 18:28:37 -04:00
Andrius Štikonas
1b21668bff
[partition] Switch to scoped Device enums.
2018-04-18 23:59:15 +03:00
Adriaan de Groot
6930400b67
DEBUG logging
2018-04-18 11:34:09 -04:00
Adriaan de Groot
4b7465696d
[welcome] Refactor the code that picks a locale to use
...
- Much like std::find_if, but slightly muddled because there's
no iterator that we can sensibly use.
- Scan the ComboBox for a locale that matches a predicate.
- Log more as the search for a good locale progresses.
- Don't mix matching the locale with filling the ComboBox
(even though that's slightly more efficient).
2018-04-18 11:33:49 -04:00
Adriaan de Groot
522adf766a
[locale] Switch HTTP GET test to KDE servers
...
- Use the official name of the KDE GeoIP service
- Log the URL *before* the check, in case one fails
2018-04-17 07:45:27 -04:00
Adriaan de Groot
5acf67a057
[locale] Fix tests with spaces in zone names
...
- "North Dakota" -> "North_Dakota" following the change that fixes up
dodgy names automatically.
2018-04-17 07:40:38 -04:00
Adriaan de Groot
b4e4b691fd
[locale] Accomodate more dodgy GeoIP providers
...
- Force spaces to _
- Document the bits
FIXES #933
2018-04-17 07:32:27 -04:00
Adriaan de Groot
3ef0fbe892
[locale] Add tests for a bunch of GeoIP providers
...
- Since these tests use network resources, they are not enabled by default.
Set the environment variable TEST_HTTP_GET to actually do them.
- Do one request for each provider and check that they are all consistent.
(This works for me, yielding Europe/Amsterdam for all).
2018-04-16 09:17:18 -04:00
Adriaan de Groot
0f5e061c4a
[locale] Support multi-level selection from JSON data
...
- Some providers don't provide a single flat JSON object
(e.g. "{time_zone: foo}") but a nested structure
(e.g. "{location: {time_zone: foo}}"), so allow dots
in the selector to do multi-level selection.
2018-04-16 09:13:06 -04:00
Adriaan de Groot
6545d5d022
Merge branch 'expand-geoip'
...
- Allow configurable TZ selector string, to allow for more variation in providers
2018-04-16 07:53:25 -04:00
Adriaan de Groot
d04e243c4e
[locale] Auto-clean up time zone data
...
- Some providers return weirdly escaped data; strip out useless
escaping before splitting (there are no characters in correct
time zone names that need escaping)
- Add some tests for TZ splitting
2018-04-16 05:49:08 -04:00
Adriaan de Groot
fa5d40006c
[locale] Fix interpretation of configured selector
...
- In GeoIP handler constructors that take a string (to configure the
selector to use), interpret the empty string (which generally isn't
a meaningful selector) as meaning "use the default".
- Drop the no-argument constructors in favor of a default-argument
which is empty.
2018-04-16 05:32:22 -04:00
Adriaan de Groot
352b385b12
[locale] Make the selector configurable via the config file
2018-04-16 05:32:22 -04:00
Adriaan de Groot
b1b59b27b2
[locale] Expand tests for alternate selectors
...
- Check that the alternate selectors are used
2018-04-16 05:32:22 -04:00
Adriaan de Groot
fe20416a54
[locale] Make the selector configurable
...
- GeoIP gets a string selector; the interpretation is up to derived classes.
- GeoIPXML and GeoIPJSON use the selector to select an element by tag
or an attribute, respectively.
2018-04-16 04:55:37 -04:00
Adriaan de Groot
79a6d7ccbd
[locale] Make file and class consistent GeoIPXML
...
- Rename the class to match the filename.
2018-04-16 04:35:32 -04:00
Adriaan de Groot
2cd4461b57
[locale] Rename JSON handler
...
- The handler for JSON data should be called that, not named
specially after the original provider it was implemented for.
- Make filename and classname consistent, GeoIPJSON.
2018-04-16 04:32:49 -04:00
Calamares CI
8ba4de6d0a
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-04-13 10:25:38 -04:00
Adriaan de Groot
ec113e3df3
[locale] Log GeoIP attempt URL, use possibly-modified form
2018-04-13 09:42:28 -04:00
Adriaan de Groot
d6f082752d
[locale] On GeoIP failure, log URL
2018-04-13 09:36:39 -04:00
Adriaan de Groot
47b7040897
[locale] Adjust to Calamares 3.2 idiom
2018-04-13 09:24:59 -04:00
Adriaan de Groot
3ea5a06157
Merge branch '3.1.x-stable'
2018-04-13 08:50:17 -04:00
Adriaan de Groot
14fcc2fad6
[plasmalnf] Continue fighting with layout
...
- The screenshot stays one size, but different ThemeWidgets may overlap
partially when you shrink the screen or have more than three / four
themes listed.
- Probably needs work in the surrounding container and overall better
page-scrollbar support.
2018-04-13 08:44:02 -04:00
Adriaan de Groot
c9928c99c8
Merge remote-tracking branch 'origin/3.1.x-stable' into 3.1.x-stable
2018-04-12 17:13:34 -04:00
Adriaan de Groot
1340613ef5
[locale] Additional test application for GeoIP processing
2018-04-12 16:55:24 -04:00
Adriaan de Groot
76e37402b3
[locale] Extend tests with negative results
2018-04-12 16:23:54 -04:00
Adriaan de Groot
0c1453ff18
[locale] Fix string value handled by XML parser
2018-04-12 16:23:54 -04:00
Adriaan de Groot
eea421f499
[locale] Add tests for GeoIP handlers
...
- One sample JSON result
- Two sample XML results
2018-04-12 16:23:54 -04:00
Adriaan de Groot
6b7c8a694a
[locale] Make the style of GeoIP retrieval selectable
...
- Unchanged config files will continue to use the weird addition
of /json, and interpret JSON data.
- Allow to specify full URL with data format through one of
geoipStyle: json
geoipStyle: xml
- XML support is optional
2018-04-12 14:37:38 -04:00
Adriaan de Groot
5b98e58ae7
[locale] Refactor GeoIP handlers
...
- Read the data in the caller of the handler, instead of in the callers
2018-04-12 12:22:43 -04:00
Adriaan de Groot
939cdff93b
[locale] Add alternate GeoIP data format
2018-04-12 12:18:43 -04:00
Adriaan de Groot
aaae1507cd
[locale] Convenience function for TZ splitting
2018-04-12 11:51:50 -04:00
Adriaan de Groot
3636226425
[locale] Document change to the way GeoIPURL is handled.
2018-04-12 10:18:15 -04:00
Adriaan de Groot
fe98b789f0
[locale] Document the settings in locale.conf
...
- The geoipUrl is weird, because it is not a complete URL.
Document that, and what kind of data is expected.
FIXES #920
2018-04-12 10:15:19 -04:00
Adriaan de Groot
d5623af8ef
[locale] Refactor geoip handling
...
- Configuration **must** be a complete URL. The implementation no
longer appends /json to the URL.
2018-04-12 10:11:48 -04:00
Adriaan de Groot
c0d5a153d4
[locale] Refactor GeoIP handler
...
- Move GeoIP to its own cpp file
- Provide a default implementation of the URL mangler
2018-04-12 09:54:22 -04:00
Adriaan de Groot
445f181cc3
[locale] Start refactoring geoip handling
...
- Introduce a handler interface for GeoIP providers
- Move the implementation of FreeGeoIP into a struct of its own
2018-04-12 09:45:48 -04:00
Adriaan de Groot
fa933b9a16
[plasmalnf] Search for theme screenshots
...
- Search in branding dir, and ., for relative paths,
- Absolute paths used as-is.
- Document search as such.
2018-04-10 08:54:47 -04:00
Adriaan de Groot
bfb37e6b37
[plasmalnf] Avoid use of 'uint'
2018-04-09 11:39:45 -04:00
Adriaan de Groot
cb616ec1bb
[plasmalnf] Keep fixed size of screenshots (relative to font size)
2018-04-09 11:39:05 -04:00
Adriaan de Groot
5ab01eba9f
[plasmalnf] Don't even try to load an empty filename for screenshot.
...
- Avoid one attempt-to-load if the filename is empty, and one
re-creating of the Pixmap.
2018-04-09 11:26:43 -04:00
Adriaan de Groot
00a5baa3d9
[libcalamares] Improve process logging
...
- Don't insert a space before the output of a process
- To do this, suppress space and quoting on the output, and to do
that move the labeling-output for warnings and errors into
the constructor (so that an idiomatic .nospace() does the right thing).
2018-04-05 05:17:21 -04:00
Adriaan de Groot
b5c3fc8cf6
[libcalamares] Improve process logging
...
- Log output on crash
- If debugging is on (-d) then also log output on success
FIXES #925
2018-04-05 04:51:51 -04:00
Adriaan de Groot
4d459f7fc0
[libcalamares] Move non-UI stuff from libcalamaresui
...
- Settings is just a settings class, no UI involved, so
move to libcalamares where it can be used also from
system helpers.
- YAML utilities are useful at a lower level of the stack, too.
2018-04-05 04:31:13 -04:00
Adriaan de Groot
7e5c91aae6
[locale] Reduce debugging bla bla
2018-04-04 11:42:38 -04:00
Adriaan de Groot
032b33f56f
[libcalamaresui] Improve logging.
...
- Put the (constant) 'Calamares will now quit' on its own debug line.
- Tell the user what the search paths are if a module is not found
(prompted by a mis-configuration in a Neon live image).
2018-04-04 11:25:28 -04:00
Adriaan de Groot
ddbb9eaebc
Merge branch 'improve-logging'
2018-04-04 11:10:51 -04:00
Adriaan de Groot
9fe85e592f
Merge branch '3.1.x-stable'
2018-04-04 11:10:34 -04:00
Adriaan de Groot
b8e6144553
[locale] Document how the locale entry in Global Storage works.
...
- Make the BCP47 value explicitly lower-case.
- Add some constness and encapsulation.
- Fix up documentation in the packages module explaining the
format of the ${LOCALE} replacement (now forced to lower-case,
but it is also only the language part, not e.g. en-UK).
FIXES #922
2018-04-03 13:07:36 -04:00
Adriaan de Groot
4c04260b97
[packages] Don't change the global package list.
...
- Count only the packages that will be changed, given the current
locale settings.
- Preserve global storage unchanged (don't remove any locale-packages).
2018-04-03 08:28:29 -04:00
Adriaan de Groot
36aede52ef
[packages] Example configuration installs a localization package
2018-04-03 08:20:01 -04:00
Adriaan de Groot
fd1279dbe3
[welcome] Make the example configuration less strict
2018-04-03 08:19:45 -04:00
Adriaan de Groot
9cdb6734bf
[packages] If locale is empty, pretend it is 'en'.
...
- Otherwise packages like vi-$LOCALE will be retained in the
package list, which will cause install problems.
2018-04-03 08:02:16 -04:00
Adriaan de Groot
240efd30f1
[libcalamares] Add support for formatted, table-like output
...
- Use DebugRow for one-row-at-a-time output with continuations.
- Use DebugList for one-item-per-line with continuations.
- Use DebugMap for one-row-at-a-time output of a QVariantMap.
2018-03-30 17:18:45 -04:00
Adriaan de Groot
20e9c2c8e3
Merge branch '3.1.x-stable'
2018-03-29 17:35:36 -04:00
Adriaan de Groot
32a1c84935
[locale] Document the settings in locale.conf
...
- The geoipUrl is weird, because it is not a complete URL.
Document that, and what kind of data is expected.
FIXES #920
2018-03-29 16:50:02 -04:00
Adriaan de Groot
fb93a8288e
[plasmalnf] Simplify showAll handling
...
- Only need the showAll parameter once, when passing in the list
of themes to show.
2018-03-29 10:09:45 -04:00
Adriaan de Groot
b0828faadb
[plasmalnf] New setting to show all installed LnF themes
...
- This enables working in three modes:
- No themes listed; all are shown without screenshots,
- Themes listed, showAll false; only those are shown,
- Themes listed, showAll true; the installed-but-not-listed
themes are shown after the listed ones, and have limited info.
2018-03-29 09:57:19 -04:00
Adriaan de Groot
c2efae765d
[plasmalnf] Add auto-detection of Plasma theme.
...
- Although it's not necessarily accurate for an extensively-modified
Plasma configuration, we can read the Look-and-Feel from the
configuration files. Allows auto-detection.
2018-03-29 08:49:22 -04:00
Adriaan de Groot
11652c5856
[plasmalnf] Add pre-selected theme
...
- For OEM modes where there is already a theme, add a preselect:
key to pick a specific theme and have that one come up as already-
selected in the list.
- Don't re-run the lnftool if an already-selected theme is clicked
again. Use toggled() instead of clicked().
2018-03-29 07:59:16 -04:00
Adriaan de Groot
94000b6847
[plasmalnf] Improve wording of LnF explanation.
2018-03-29 04:33:55 -04:00
Adriaan de Groot
6bb72d173d
[libcalamares] Drop generic cLog()
...
- Use cWarning or cError() for errors
- Use cDebug(level) for other uses (but there aren't any)
2018-03-28 09:31:45 -04:00
Adriaan de Groot
ad6227ce21
[libcalamares] Remove internal functions from the logging API
2018-03-28 09:27:11 -04:00
Adriaan de Groot
3e30bb682e
[libcalamaresui] Use cError() for logging errors, not cLog()
2018-03-28 09:22:37 -04:00
Adriaan de Groot
e2b8fb0afe
[welcome] Log if no translations matched at all
2018-03-28 07:47:13 -04:00
Adriaan de Groot
cdf80615b8
[libcalamares] Rename the log file
2018-03-28 07:20:19 -04:00
Adriaan de Groot
0f289e2552
[calamares]: Improve startup logging
...
- Don't bother with the address of the main thread
- Do put a marker on restart into the log file
- Do put the Calamares version into the log file (previously, the version
was printed through cDebug() before the log file was opened, so it was
lost to the on-disk log).
2018-03-28 05:01:07 -04:00
Adriaan de Groot
789bbe48f8
Merge branch 'master' into secureboot
2018-03-12 10:19:26 -04:00
Calamares CI
1791ac2d43
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-03-09 11:34:30 -05:00
Adriaan de Groot
70fe023347
Merge branch 'branding'
...
Documentation lives both in Calamares and in the calamares-branding
repo. Whether a slideshow has navigation arrows or not is up to the
slideshow / branding component author, but Calamares now ships some
support QML to make that easy.
FIXES #841
FIXES #904
2018-03-09 11:24:50 -05:00
Adriaan de Groot
2f66aa9b07
[plasmalnf] Change to IgnoreAspectRatio
...
It is the distro's responsibility to produce screenshots that look
good; previously I chose to preserve the aspect ratio on the grounds
that this would keep the look of the screenshot even if the distro
had done one in a weird size. This makes the screenshot part
of the LNF selection look weird, though, since then you get
blank parts.
Switch to ignoring the aspect ration; distro's should produce
screenshots in a 12x8 (i.e. 3:2) aspect ratio, preferrably at
least 120x80 pixels -- but keep in mind hiDPI and the default
font sizes of the distro, which may make other sizes look better.
(this follows discussion with BlueStar Linux)
2018-03-09 11:24:41 -05:00
Adriaan de Groot
986c5f5a9a
CMake: improve branding component macros
...
- document preferred component layout
- simplify parameters to the branding macros
- allow structured branding components with SUBDIRECTORIES
2018-03-09 11:03:42 -05:00
Adriaan de Groot
f29da8e39e
Branding: document preference for standalone branding
2018-03-09 08:48:24 -05:00
Adriaan de Groot
25b9663a40
Branding: remove fancy/ and samegame/ examples
...
The examples of branding have moved to the calamares-branding repo.
2018-03-09 08:44:20 -05:00
Adriaan de Groot
e4cca9b830
Branding: document how to translate branding
2018-03-09 07:22:36 -05:00
Adriaan de Groot
75df6a4f88
Branding: add example translations to fancy/
2018-03-09 07:22:30 -05:00
Adriaan de Groot
f8bc195fb4
[libcalamaresui] Improve warning when branding has no translation
2018-03-09 07:21:16 -05:00
Adriaan de Groot
c1bb5e708b
QML: apply translation to the slide counter
2018-03-09 07:21:16 -05:00
Adriaan de Groot
97eff28383
QML: Remove binding for quit key in presentation
2018-03-09 07:21:16 -05:00
Adriaan de Groot
8125698696
Branding: expand documentation
...
- Auto-advance the default presentation
- Add more example slides to the fancy presentation
- Expand README.md explaining what the default classes can do
2018-03-08 12:57:50 +01:00
Adriaan de Groot
e7849c5ed0
Branding: fix reference error
2018-03-08 12:19:02 +01:00
Adriaan de Groot
3b8673fb99
Branding: update example, use NavButtons
2018-03-08 12:14:45 +01:00
Adriaan de Groot
7ab79a944b
Branding: add example SVGs from Quassel
2018-03-08 12:14:44 +01:00
Adriaan de Groot
b6fd8de126
QML: Use QtQuick 2.5 consistently
2018-03-08 12:14:44 +01:00
Adriaan de Groot
3d89828fe1
QML: drop potentially confusing shortcuts
...
Removed these features that make sense in a presentation slideshow
(e.g. during a talk) but that are potentially confusing during
a passive slideshow like Calamares has:
- Using 'c' blanks the slideshow.
- Entering a slide number + enter changes slides.
2018-03-08 12:14:44 +01:00
Adriaan de Groot
c116dba2e8
QML: add navigation items
...
- Add a NavButton, which shows a directional arrow, and fades in on hover.
It can be used left- or right- by setting an image source
and click handler.
- Specialize NavButton to Forward and BackButton.
- Add a SlideCounter navigation aid.
2018-03-08 12:13:44 +01:00
Adriaan de Groot
74080c31f5
Branding: add a fancy branding example
2018-03-07 06:18:18 -05:00
Adriaan de Groot
c7629182e4
Merge branch 'master' into requirements-checking
2018-03-06 17:06:35 +01:00
Adriaan de Groot
1e0ecbcc18
[contextualprocess] Warnings-- by dropping destructor
2018-03-06 16:24:12 +01:00
Adriaan de Groot
583cc06f7c
[keyboard] Warnings-- for nullptr
2018-03-06 16:23:44 +01:00
Adriaan de Groot
51ccd6be4d
[license] Warnings-- by making the one default case explicit
2018-03-06 16:23:29 +01:00
Adriaan de Groot
e2f6d160f8
[tracking] Reduce compile warnings
...
The fallthrough construction in a switch is a bit confusing
to read, and generates compile warnings too, so break it up.
2018-03-06 16:11:50 +01:00
Adriaan de Groot
defc7d4df8
[welcome] Compile warnings--
2018-03-06 16:10:53 +01:00
Adriaan de Groot
a9e751bb31
[users] Compile warnings--
2018-03-06 16:10:31 +01:00
Adriaan de Groot
a72bdfac52
Merge branch 'master' into requirements-checking
2018-03-06 14:57:17 +01:00
Adriaan de Groot
903e77a908
[bootloader] Adjust documentation
2018-03-06 07:11:10 -05:00
AlmAck
58952b685c
the first character must be a comment
...
to original code would match both lines:
zen_US.UTF-8 UTF-8
#en_US.UTF-8 UTF-8
introducing "#" should check only the commented lines
2018-03-03 14:30:08 +01:00
AlmAck
382c193afa
Enable the correct language in the locale.gen list
...
the original code does not distinguish the document comments inside the locale.gen file from the real locale list. The language was then enabled from the header comments of the file instead of the correct value in the list.
The new code verify tha the complete locale string is just after the first character of the string, enablig only the correct value of the locale list.
An example:
# en_US.UTF-8 UTF-8 --> document header, should not be enabled
#en_US.UTF-8 UTF-8 --> correct section to enable
Related to this request:
https://code.chakralinux.org/tools/calamares-chakra/issues/2
2018-03-03 12:56:03 +01:00
Calamares CI
1762d5e5d6
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-03-01 15:42:24 +01:00
Adriaan de Groot
09f30194d7
CMake: revert un-versioning of libcalamares*.so
...
The install-bits branch commit 83639b182b
dropped .so-versioning for libcalamares and the creation of the Python-
support symlink. This broke KDE Neon dev-unstable because the embedded
Python can no longer find libcalamares.
Installing unversioned .so's straight to LIBDIR is also not a good thing
(according to Debian), so revert to the original scheme with versioned
.so and a Python-support symlink.
Medium-term fix is to install unversioned straight into LIBDIR/calamares
and fix up the RPATH for the executable.
2018-03-01 12:37:52 +01:00
Adriaan de Groot
73a5e0bbcd
[libcalamares] Fix up debugging
...
Using plain cLog() is weird, it doesn't attach a debugging level
so it seems like it's level 0, beyond-critical.
2018-02-27 01:09:43 +01:00
Adriaan de Groot
36ef4556b4
Merge branch 'install-bits'
...
FIXES #729
2018-02-21 10:15:58 -05:00
Adriaan de Groot
56ce22908e
CMake: drop empty calamaresUi
...
- Empty variable and some unused wrappings doing nothing.
2018-02-21 10:01:23 -05:00
Adriaan de Groot
db0c1ffd6d
CMake: just install unversioned .so
...
- Applies to libcalamares and libcalamaresui.so, install with no
version, just the bare .so. Since Calamares doesn't do versioning
anyway, and its plugins should be re-compiled for any change,
putting them in lib as unversioned .so's should make Calamares
happy and silence lintian.
2018-02-21 09:52:56 -05:00
Adriaan de Groot
06536b6a66
[bootloader] Refactor method for safe efi label
2018-02-20 10:47:14 -05:00
Adriaan de Groot
de1710a9f3
[calamares] Refactor argument-handling
...
- Move parameter handling out of main
- Give -D an argument (log level)
2018-02-20 07:47:06 -05:00
Adriaan de Groot
a1cbb161ee
[libcalamares] Make setup of log-level explicit
...
- Replace the implicit setting of a logging level
(the first time logging is called) with explicit
setupLogLevel().
2018-02-20 07:47:06 -05:00
Adriaan de Groot
7f53e970fc
[bootloader] Add secure-boot efiBootLoader
...
- add configuration option
- check for sensible combinations of firmware, bootloader,
and complain if it isn't.
2018-02-20 05:10:32 -05:00
Adriaan de Groot
247a0e3a56
[umount] Make a pretty_name()
2018-02-20 04:49:51 -05:00
Adriaan de Groot
060990bdd0
Python: use warning() method in modules
2018-02-20 04:42:56 -05:00
Adriaan de Groot
84d599625f
[libcalamares] Give Python jobs a warning()
...
- Add libcalamares.utils.warning() alongside debug() for
Python modules to output warnings.
2018-02-20 04:28:45 -05:00
Adriaan de Groot
dbbec4f76d
[libcalamares] Use cDebug, polish messages
2018-02-19 17:23:05 -05:00
Adriaan de Groot
d62c7b93c6
[libcalamares] Polish weird namespace use
2018-02-19 17:17:03 -05:00
Adriaan de Groot
0c16bf1179
[finished] Remove useless debugging
2018-02-19 16:55:34 -05:00
Adriaan de Groot
092529da45
[partition] WIP: EFI partition search
...
- Add some logging (not even sure it compiles) because
my openSUSE Krypton Secureboot-enabled VM says
"no EFI system partitions found".
2018-02-19 10:25:00 -05:00
Adriaan de Groot
cf02f7aab5
[libcalamares] Avoid nullptr crashes
...
- The Python testmodule script can end up calling in to System
methods (via System::instance()). This is unusual, and the
System instance has not been created at that point.
Now, create an instance and warn about it.
2018-02-19 09:47:15 -05:00
Adriaan de Groot
94014a52d4
Merge branch 'context-wildcard'
...
FIXES #906
2018-02-19 07:04:43 -05:00
Adriaan de Groot
713add5795
[contextualprocess] Add tests
...
- Tests showed issues with memory management, fixed in previous commits.
2018-02-19 07:04:21 -05:00
Adriaan de Groot
f0ec6c02a3
[shellprocess] ECM has already been searched-for
2018-02-19 07:03:43 -05:00
Adriaan de Groot
23a23a01f1
[contextualprocess] Cleanup destructors
...
- ValueCheck shouldn't own the pointer, since it's just a QPair
and there are temporary copies made (e.g. in
ContextualProcessBinding::append() ) and we get double-deletes.
- Do deletion by hand; going full unique_ptr would be a bit overkill.
2018-02-19 06:58:42 -05:00
Adriaan de Groot
87e2f13dc2
[contextualprocess] Helper methods for counting checks
2018-02-19 06:42:13 -05:00
Adriaan de Groot
8664400ee9
[contextualprocess] Warn if (global) variable not found.
2018-02-19 06:34:52 -05:00
Adriaan de Groot
699b42a756
[contextualprocess] Add wildcard
...
- Re-build the structures for doing value-checks, is now more tree-like.
- Document pointer ownership.
- Introduce wildcard matches ("*")
- Don't drop empty command-lists, since they can be used to avoid
wildcard matches. (E.g. "in this case, do nothing, but don't
fall through to wildcard").
2018-02-19 06:18:08 -05:00
Adriaan de Groot
2fa6361d63
[branding] Expand documentation
...
- Make CMakeLists a little more resilient
- Format docs source
- Add documentation for the examples
2018-02-19 05:10:17 -05:00
Adriaan de Groot
04de4a0b02
[plasmalnf] Properly scale the image
...
- Since the image size isn't known a priori (due to sizing based on fonts),
load the image and then resize in all code paths.
- Use the right resizing flags.
- .. and actually use the resulting scaled pixmap.
Thanks to Jeff Hodd.
2018-02-14 11:23:53 -05:00
Adriaan de Groot
83639b182b
CMake: try installing outside of regular lib/
...
- Install unversioned libraries
- Install to lib/calamares instead of directly to lib/
2018-02-14 08:55:30 -05:00
Adriaan de Groot
958aee1d41
[libcalamaresui] Switch text on 'next' button
...
- If the next step will be an install-step (e.g. hit the optional
confirmation step) then change the text on the 'next' button to
'install'.
- Do a little refactoring to make that more pleasant.
FIXES #905
2018-02-13 08:11:11 -05:00
Adriaan de Groot
e9d9efce20
Merge branch 'sanitize-logging'
2018-02-13 12:00:17 +01:00
Adriaan de Groot
3ae126f589
[modules] Use cError() as well
...
- Switch KPMHelpers to using Calamares logging instead of qDebug()
2018-02-13 11:59:38 +01:00
Calamares CI
b33e3294e1
i18n: [dummypythonqt] Automatic merge of Transifex translations
2018-02-13 11:28:28 +01:00
Adriaan de Groot
3315df5df1
[modules] Use new convenience logging methods across the board
2018-02-13 11:07:12 +01:00
Adriaan de Groot
3f77fb1d16
[modules] Use new convenience logging methods
2018-02-12 11:58:34 -05:00
Adriaan de Groot
60f440f72b
[libcalamaresui] Use new convenience logging methods
...
- Remove a few confusing Q_FUNCINFO
2018-02-12 11:58:34 -05:00
Adriaan de Groot
df0d9dcb88
[libcalamares] Provide convenience functions for warning and error
2018-02-12 11:58:34 -05:00
Adriaan de Groot
79d81700b3
[libcalamares] Use -D for just debug-level setting
...
- Original flag -d sets debugging but also changes behavior
- New -D just sets debugging
- Simplify QStringList (use C++ 11)
2018-02-12 10:39:09 -05:00
Adriaan de Groot
ae5511c2f3
[libcalamares] Rationalize logging
...
- Move logging-levels to an enum
- (re-)Order logging-levels so that the normal debug statement is
not the most-important (lowest level).
- Drop using namespace std;
2018-02-12 10:37:25 -05:00
Adriaan de Groot
6693f81375
[plasmalnf] Document configuration
...
- Improve documentation, explain necessity of theme: and image: keys
- Scale screenshot up with font size (numbers picked arbitrarily)
2018-02-12 10:24:33 +01:00
Adriaan de Groot
874514a4e4
i18n: drop orphaned #undefs (thanks Kevin Kofler)
2018-02-08 10:33:40 +01:00
Adriaan de Groot
f49e0f6d92
i18n: update extracted English message files
2018-02-08 10:10:33 +01:00
Adriaan de Groot
0b03d56a40
i18n: Massage code to help lupdate understand
2018-02-07 17:43:26 +01:00
Adriaan de Groot
d27675d660
i18n: drop superfluous QObject* parent
...
These additional pointers were introduced for translations,
and needed their own tricks to get lupdate to recognize the
strings. Using QCoreApplication::translate() removes the
need to a QObject to provide context. Drop the now-unneeded
parameters.
2018-02-07 17:43:26 +01:00
Adriaan de Groot
c71385e93f
i18n: fix broken translation in CommandList
2018-02-07 17:43:26 +01:00
Adriaan de Groot
f954496acf
i18n: avoid translation tricks, use QCoreApplication::translate
...
Instead of using tr and some macro hacks to get lupdate to
recognize the translation, instead use QCoreApplication::translate()
which takes its own context for translation.
2018-02-07 17:43:26 +01:00
Calamares CI
7c8a70c9a1
[dummypythonqt] Automatic merge of Transifex translations
2018-02-07 13:44:18 +01:00
Adriaan de Groot
ad89dd7cc4
[interactiveterminal] Document config
2018-02-07 12:03:13 +01:00
Adriaan de Groot
051edb462f
[packages] Add pisi package manager (based on some guesses)
2018-02-01 09:14:54 +01:00
Adriaan de Groot
533031b3ca
[bootloader] print() does not log
...
- use the right logging method; print just vanishes.
2018-01-30 11:26:29 +01:00
Adriaan de Groot
f869a0f263
[bootloader] Log the EFI fallback action
2018-01-30 11:22:36 +01:00
Adriaan de Groot
78108c5cda
[bootloader] Allow skipping the EFI fallback
2018-01-29 22:55:07 +01:00
Adriaan de Groot
aed904e3b4
Merge branch 'i897-timeout'
...
FIXES #897
2018-01-29 22:12:36 +01:00
Adriaan de Groot
9a7e766391
Merge branch 'i895-setroot-context'
...
FIXES #895
2018-01-29 22:12:23 +01:00
Adriaan de Groot
c2aca1f5c6
[shellprocess] Implement timeout setting
...
- For both shellprocess and contextualprocess, add a top-level key
"timeout" that defaults to 10 seconds (which it already did).
- Allows setting "global" timeout for command-lists, while still
allowing individual timeouts per-command.
- Setting timeout per global variable in contextualprocess is not
supported; that would restrict the possible space of comparisions,
while not supporting a global setting timeout seems reasonable enough.
Use instances if you need wildly variable timeouts and don't want to
set them individually.
2018-01-29 22:08:12 +01:00
Adriaan de Groot
2da430fa36
[libcalamares] Allow CommandLine to have unset timeout
...
- Introduce enum for the appropriate constant
- If the timeout isn't set, then defer to the timeout set
on the commandlist when running the commands.
2018-01-29 21:25:18 +01:00
Adriaan de Groot
c641f5dec6
[libcalamares] Implement object-style command line
...
- handle command: and timeout: entries
- test for setting the values
2018-01-29 21:08:42 +01:00
Adriaan de Groot
72bac332be
FIXUP document
2018-01-29 20:59:58 +01:00
Adriaan de Groot
4917b5c778
[shellprocess] Add test for future feature
...
- proposed syntax for command+timeout configuration, both for single-
entry and for lists.
- test it already
2018-01-29 17:40:29 +01:00
Adriaan de Groot
fe2be46d3f
[libcalamares] Extend command-list with timeouts
...
- Replace plain StringList with a list of <String, timeout> pairs,
and run that instead. All code paths still use the default 10sec
timeout and there's no way to change that.
2018-01-29 17:10:56 +01:00
Adriaan de Groot
ea179eaef4
[contextualprocess] Document command lists
...
- Show that a command list is also allowed, not just a single
command. Refer to shellprocess for more documentation.
2018-01-29 17:10:56 +01:00
Adriaan de Groot
6335084aa3
[libcalamares] Determine what's checked and what's required first.
...
- warn for required checks that are not carried out.
2018-01-29 15:29:25 +01:00
Adriaan de Groot
778feb50e8
[libcalamares] Additional convenience for doubles
2018-01-29 14:45:42 +01:00
Adriaan de Groot
54a9bbb949
[libcalamares] Don't eat output on timeout.
...
- Copy stdout from timed-out process into the output variable,
instead of just dumping it into the log file. This will
improve the user experience, too, because they will get some
feedback / explanation of what the process has done.
2018-01-26 18:19:38 +01:00
Adriaan de Groot
d6731efdfd
[packages] fix typo in docs
2018-01-25 10:44:48 +01:00
Adriaan de Groot
1d6dca062c
[users] Make state of 'reuse password for root' available in globals.
2018-01-24 16:19:41 +01:00
Adriaan de Groot
26dfd56f6d
[libcalamares] Additional convenience function extracting int
2018-01-24 16:19:22 +01:00
Adriaan de Groot
188a434a10
[dummycpp] more verbose debug log
2018-01-24 16:19:22 +01:00
Adriaan de Groot
b828580464
Merge remote-tracking branch 'origin/simplify-plugin'
2018-01-24 14:22:35 +01:00
Adriaan de Groot
32b10f72e9
Merge branch 'i896-password-quality'
...
FIXES #896
2018-01-24 14:21:59 +01:00
Adriaan de Groot
b0fe7b0682
i18n: apply some more tricks to make lupdate / transifex happy
2018-01-24 14:13:50 +01:00
Adriaan de Groot
399256ba99
[users] Use explanation of password error from libpwquality
...
- add license file from libpwquality for provenance
- translate pwquality_strerror() into the PWSettingsHolder convenience class
- use Qt translations, since we'd otherwise also have to wire up, and
wire in, libpwquality gettext translations.
2018-01-24 14:13:50 +01:00
Adriaan de Groot
ed58d540b3
[users] Implement password checking through libpwquality
...
- Use shared_ptr and a helper class to hide away raw pointer use
from libpwquality. Provide a convenience C++ API.
- Simplify configuration through helper class.
2018-01-24 14:13:50 +01:00
Adriaan de Groot
354cb79cb1
[users] sample config and stub function for libpwquality
2018-01-24 14:13:50 +01:00
Adriaan de Groot
27e1de6548
[users] Use libpwquality for additional password checks
...
- add cmake module to find libpwquality
- move checking functions to their own file
- some Transifex hackery
- stub out the libpwquality check
2018-01-24 14:13:50 +01:00
Adriaan de Groot
eae52a3e65
CMake: build modules alphabetically
2018-01-24 14:13:13 +01:00
Adriaan de Groot
9a9c6da6db
i18n: try to trick Transifex into recognizing these strings
2018-01-23 12:11:34 +01:00
Adriaan de Groot
9c9486bb78
[libcalamares] When ViewManager is destroyed, reset instance pointer
2018-01-17 09:17:40 -05:00
Adriaan de Groot
845986d48f
[libcalamaresui] Mark virtual QObject destructors override
2018-01-17 09:17:40 -05:00
Adriaan de Groot
97fb83c743
[libcalamares] Change debug logging of how job name is derived
2018-01-17 09:17:36 -05:00
Adriaan de Groot
abc6914528
[libcalamares] Enforce singleton-ness of CalamaresPython::Helper
...
- unset instance pointer on destruction
- make constructor private, and the instance accessor
should create an instance if there isn't one.
2018-01-17 06:18:43 -05:00
Adriaan de Groot
3b3e80b334
[branding] Add a totally different branding example
...
Use the samegame example from the Qt Quick demos as a branding "slideshow".
Instead of watching slides go by, you can play samegame! Click on
"new game" to start, and then click on groups of same-colored balls to make
them go away -- at least two same-colored balls must be touching.
Once the exec step is done, the game vanishes automatically.
This is an additional example for #841
2018-01-16 17:05:29 +01:00
Adriaan de Groot
86b899566e
[libcalamares] Silence compiler warnings about PluginFactories
...
- d_ptr shadows QObject d_ptr, which clang complains about
- rename, and don't use Q_D and similar because it messes with internals.
2018-01-16 13:23:51 +01:00
Adriaan de Groot
510af704d8
[libcalamares] Improve documentation
...
- reference to _WITH_JSON is bogus copy-replace from other code
- fix style of sample code.
2018-01-16 13:23:51 +01:00
Adriaan de Groot
0020fd885c
[libcalamares] Remove unused extern declaration
2018-01-16 13:23:51 +01:00
Adriaan de Groot
a2bdc12f25
[libcalamares] Drop unused plugin defines
...
- Remove some superfluous intermediate defines
- baseFactory was not used (always Calamares::PluginFactory)
- Move DECLARATION and DEFINITIONS apart
- CALAMARES_PLUGIN_FACTORY_DEFINITION was redefined (identically)
- CALAMARES_PLUGIN_FACTORY_DECLARATION was redefined (identically)
- __VA_ARGS__ was constant
2018-01-16 13:23:09 +01:00
Calamares CI
8f1f397c95
[dummypythonqt] Automatic merge of Transifex translations
2018-01-15 10:55:42 -05:00
Adriaan de Groot
be45171638
[finished] Make the *restart now* checkbox more visible.
...
- Issue asks to make the setting more visible, which seems sensible to
me. It **is** kind of hidden away for those distro's that make
the setting visible (not everyone does).
- While here, add a tooltip explaining what it does.
FIXES #893
2018-01-15 09:33:33 -05:00
Adriaan de Groot
15d4245074
Merge branch 'scripting'
2018-01-15 09:05:30 -05:00
Adriaan de Groot
d6cbda5ed7
[contextualprocess] Implement contextual processes
...
Allow running one or more commands based on the value of
a global configuration variable. This could, of course,
be done in a Python module with some custom code,
but for simple cases this is more straightforward
to configure through module instances.
Uses the CommandList developed for the ShellProcess
module to do the actual work.
FIXES #874
2018-01-15 08:57:34 -05:00
Adriaan de Groot
f01c7cda6b
[libcalamares] Fix debug output classname
2018-01-15 08:41:24 -05:00
Adriaan de Groot
913690650f
[libcalamares] Move CommandList into libcalamares
...
- Move CommandList so it can be used from more modules than
just ShellProcess
- Allow a CommandList to run itself. This centralizes
code for executing one or more commands and simplifies
the ShellProcess module.
Various small cleanups:
- mention instance id in log message
- code formatting / style
2018-01-15 06:52:55 -05:00
Adriaan de Groot
60f4dd7b3b
[libcalamares] Improve explanation of failed processes.
2018-01-15 05:51:58 -05:00
Adriaan de Groot
8571fd800e
[shellprocess] Make explicit that an error code has been ignored, by logging it.
2018-01-15 05:26:20 -05:00
Adriaan de Groot
e48767eaa6
[shellprocess] Make CommandList chroot-aware
...
This is prep-work for moving commandlist to libcalamares, where
it can be re-used by more modules.
2018-01-15 04:57:41 -05:00
Adriaan de Groot
8bd40fdcd5
[shellprocess] Warn when there's no script
2018-01-15 04:20:37 -05:00
Adriaan de Groot
2bc394656d
[welcome] Make libparted optional
...
- This turns off the space-available check in the welcome module;
without libparted, always fail that check.
- Allows running the welcome module on OS without libparted.
2018-01-13 21:41:07 +01:00
Adriaan de Groot
b0c4fbc1bb
Clang: reduce warnings
...
- mark some things override
- make conversion of 0 to flags explicit
2018-01-13 21:40:46 +01:00
Adriaan de Groot
fdb3fc1ef8
[shellprocess] Execute the command list
2018-01-12 10:38:40 -05:00
Adriaan de Groot
b7fb24837a
[shellprocess] Improve CommandList
...
- Also allow a single string instead of a list
- Add count() method to CommandList
- Drop over-engineering, add more logging
- Expand tests with some more examples
2018-01-12 10:38:01 -05:00
Adriaan de Groot
5f8fb655c4
[shellprocess] Stub of a shell process module.
...
This is basically dummyprocess, except with an expanded configuration
interface so you can run 1 or more shell commands in the live
or target system with a suitable configuration file and instance
of shellprocess in settings.conf.
It can replace downstream modules that implement their own
process modules with a command, by an instance of shellprocess.
2018-01-12 10:33:51 -05:00
Adriaan de Groot
4ff1a0d5ea
[libcalamares] another convenience for running commands
...
Back targetEnvCommand() with a more general runCommand()
that takes an argument selecting the location to run
the command in. This allows us also to use the same
API for running processes in the host during install,
as we do for running them in the target system.
One reason for this change is wanting to run (user-specified)
commands and independently from the global dontChroot setting,
run those commands in the live system or the target.
This changes the ABI of the DLL, since targetEnvCommand()
is no longer exported. Plugins will need to be recompiled.
- refactor targetEnvCommand() into more general runCommand().
- While here, allow host system commands to run even if
there is no global storage.
- provide convenience accessors for ProcessResult members
- Move explanation of process errors out of ProcessJob
- Move from ProcessJob to ProcessResult, so it can be
reused outside of ProcessJob (e.g. from ShellProcessJob).
- Add some convenience functions, too.
2018-01-12 10:32:42 -05:00
Adriaan de Groot
6e01bb0fa4
CMake: factor out explanation of skipped modules.
...
Make a function out of explaining-skipped-modules, and call it
not only after collecting all the modules, but also after
the feature summary, so that it's quite clear which modules
are skipped.
2018-01-10 09:20:49 -05:00
Adriaan de Groot
58252fc16d
[partition] Handle missing requirements by disabling the module
2018-01-10 09:05:15 -05:00
Adriaan de Groot
e3b7a2884b
[partition] Relax check with UI-level warning message, too
2018-01-09 11:15:30 -05:00
Adriaan de Groot
637d6ad752
[partition] Find Esp partition with modern flags.
2018-01-09 11:12:13 -05:00
Adriaan de Groot
94b6c95c44
[partition] Introduce function for checking various flag-combinations for ESP boot.
2018-01-09 10:53:33 -05:00
Adriaan de Groot
3ff68bce98
[keyboard] Correct guessing for Arabic variants
2018-01-09 16:24:55 +01:00
Adriaan de Groot
05967311de
[partition] Be defensive against no device-device-available.
...
Scenario is this: you have no suitable installation devices on
your system (everything is mounted, or HDD has died), click through
to partition page, where you have all the buttons available, but no
devices in the list. The following actions then cause a crash:
- clicking "back"
- clicking any button
Prevent that:
- you can click "back", but if there is no device selected
nothing happens to the device state (no nullptr deref,
and no crash)
- button code is now more resilient to this scenario
- buttons are hidden until a device is available, so you
can't even click on them to trigger the code.
2018-01-09 06:58:46 -05:00
Adriaan de Groot
a35a7b108f
Merge pull request #883 from agaida/hack-unpackfs
...
[unpackfs] skip error check when rm of tmp folder fails
2018-01-09 10:53:52 +01:00
Adriaan de Groot
7249b41e3e
[keyboard] Explain table format, add more edge cases
2018-01-08 11:02:20 -05:00
Adriaan de Groot
0d56b9b9c5
Merge branch 'master' into i689-kayboard-layout
2018-01-08 16:19:27 +01:00
Adriaan de Groot
28d61c406e
[bootloader] Improve description of *efiBootloaderId* option
2018-01-08 16:14:28 +01:00
Adriaan de Groot
2a0a2a26bc
[umount] Don't raise when copying log file fails.
2018-01-03 05:01:38 -05:00
Adriaan de Groot
6f7b5a0510
[umount] Move module documentation into config file, fix wording
...
FIXES #831
2018-01-03 04:33:20 -05:00
Adriaan de Groot
a7d7f3a83b
[welcome] Make link to Calamares site https
2018-01-03 04:20:21 -05:00
Adriaan de Groot
308441ee3a
Merge branch '3.1.x-stable'
2018-01-02 15:44:34 +01:00
Adriaan de Groot
41e6f0e06c
[calamares] Allow WM close button
...
- remove hide-close-button hack
- refactor code in viewmanager for confirming quit
- hook up confirm-and-quit to WM close button
- also works for alt-F4 and other quit methods
- while here, update copyright year
FIXES #870
2018-01-02 14:58:08 +01:00
Adriaan de Groot
5593be125f
[calamares] Reduce font-related debug output on startup.
2018-01-02 14:43:48 +01:00
Adriaan de Groot
1a42b8af41
Merge branch 'kpmcore-3.2'
...
- Bumps requireed KPMCore to 3.3 (in spite of the branch name)
- Cleans up some dependencies
Thanks to Andrius Stikonas.
2018-01-02 13:25:11 +01:00
Philip
be650d7986
[initcpiocfg] search just for 'lvm2' in partition[fs]
2017-12-30 05:01:25 -05:00
Philip
5a83024698
[initcpiocfg] add 'lvm2' hook as needed
2017-12-30 05:00:59 -05:00
Andrius Štikonas
2027a5538e
Fix propagation of new partition table to global storage.
2017-12-27 14:11:11 +00:00
Alf Gaida
784bbd3bc8
finally !must! never fail unhandled
...
but it does without help
2017-12-26 22:25:40 +01:00
Philip
1cffa9fafc
[partition] Rename slots, to avoid recursion
...
- see also https://github.com/calamares/calamares/issues/880
- missed within 7ce52ecda7
2017-12-25 15:50:37 -05:00
Philip
8f32aad3fa
[partition] Rename slots, to avoid recursion
...
- see also https://github.com/calamares/calamares/issues/880
- missed within 7ce52ecda7
2017-12-25 15:48:55 -05:00
Adriaan de Groot
03dd487fc2
Merge branch '3.1.x-stable'
2017-12-24 16:23:35 -05:00
Adriaan de Groot
661789825a
[plasmalnf] Make the module optional
...
- Check for presence of KDE Frameworks for Plasma & Package
- Explain when module is skipped
2017-12-24 16:15:04 -05:00
Adriaan de Groot
2e1f389997
CMake: explain which modules are skipped
...
Modules may be skipped for different reasons: SKIP_MODULES
is the traditional approach to suppress some, but other modules
may have unmet build requirements (e.g. Plasma Look-and-Feel,
or the Partitioning module) and should be able to opt-out
of being built. For all those skipped, log it explicitly after
all the modules have been examined.
Only CMake-based (e.g. C++) modules support opting-out in this way.
2017-12-24 16:14:58 -05:00
Adriaan de Groot
dc255e161e
[partition] Rename slots, to avoid recursion
2017-12-24 03:34:34 -05:00
Andrius Štikonas
806b84973a
Convert CreatePartitionTableJob to KPMcore operation.
2017-12-22 15:25:39 +00:00
Andrius Štikonas
1b3ce39ffb
Convert FormatPartitionJob to KPMcore's CreateFileSystemOperation.
2017-12-22 15:25:39 +00:00
Andrius Štikonas
638117efa0
Cleanup unnecessary kpmcore includes.
2017-12-22 15:25:39 +00:00
Adriaan de Groot
7ce52ecda7
[partition] Rename slots, to avoid recursion
2017-12-22 16:20:35 +01:00
Adriaan de Groot
980b39961d
[calamares] Unset application name
...
Unset the application name so that you don't get -- Calamares
in the window title.
Reported by: sitter
FIXES #877
2017-12-22 06:47:12 -05:00
Adriaan de Groot
f8a53f9646
[libcalamares] Refactor explanation of process-job errors
2017-12-21 16:30:13 +01:00
Adriaan de Groot
c6ab4195c7
[contextualprocess] Stub of a contextual-process job
...
This is meant to run one or more jobs based on specific global
configuration values; if could also be done by a Python
module with just some if's, but this one can be used with
just the config file and covers a bunch of use-cases.
2017-12-20 09:12:27 -05:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Adriaan de Groot
c582ff0d6b
Merge branch '3.1.x-stable'
2017-12-20 08:13:55 -05:00
Adriaan de Groot
d42210eb93
Merge branch '3.1-pinebook' into 3.1.x-stable
2017-12-19 11:13:21 -05:00
Adriaan de Groot
d5b46dfb86
[plasmalnf] Improve theme-listing handling
...
- if key is missing or badly typed, enable all (explicitly)
- document settings and code
2017-12-19 12:51:56 +01:00
Adriaan de Groot
f2aeecf546
[plasmalnf] Improve screenshot view
...
- make screenies smaller
- use view-preview to indicate no-screenshot-specified
2017-12-19 12:28:42 +01:00
Adriaan de Groot
10e71bab30
[plasmalnf] Add Breeze 'view-preview' icon for missing screenshots
2017-12-19 12:21:05 +01:00
Adriaan de Groot
e73d54767d
[plasmalnf] Expand explanation, drop CSS
2017-12-18 07:57:19 -05:00
Adriaan de Groot
cf39dddbf3
[plasmalnf] Prevent duplicate widgets
...
- Only create widgets for themes once
- Update visible texts as needed
2017-12-18 07:25:59 -05:00
Adriaan de Groot
3f258d4bd9
[plasmalnf] Fallback for image-not-found
...
- calculate a hash of the filename, and use that
- makes it possible to distinguish different screenshots
even when the image file is missing / badly configured
- most colors will be dreadful
2017-12-18 07:07:47 -05:00
Adriaan de Groot
cc15dd9ec7
Merge branch 'master' into kpmcore-3.2
...
- Pull in Master, merge README, to simplify merging this
branch into master (soon-ish, once kpmcore 3.3 becomes available
in builders)
2017-12-15 07:18:05 -05:00
Andrius Štikonas
a2e3af2b3d
Require KPMcore 3.3
2017-12-15 11:38:38 +00:00
Adriaan de Groot
2db485bb33
[plasmalnf] Improve layout of theme widget
2017-12-14 17:04:16 -05:00
Adriaan de Groot
244919d6fe
[plasmalnf] Add description to theme widget
2017-12-14 17:01:59 -05:00
Adriaan de Groot
55ed2ba4c0
[partition] Introduce convenience translation for progress.
2017-12-14 16:11:46 -05:00
Adriaan de Groot
5c4286eebf
[partition] Switch to convenience function for MiB
2017-12-14 16:11:46 -05:00
Adriaan de Groot
38688bab47
[partition] code style (minor followup to #872 )
2017-12-14 15:55:23 -05:00
Adriaan de Groot
0729bdd0be
Merge pull request #872 from stikonas/3.1.x-stable
...
Use KPMcore SetPartFlags operation.
2017-12-14 15:53:35 -05:00
Adriaan de Groot
8b3f71af40
[plasmalnf] Widget for showing theme info
...
- Radio button + group for button action
- Use a (still very primitive) widget for displaying theme information
2017-12-13 11:04:34 -05:00
Adriaan de Groot
755c0cba18
[plasmalnf] Prep-work for UI changes
2017-12-13 09:55:54 -05:00
Adriaan de Groot
11fc3e0507
[plasmalnf] minor documentation
...
- Code documentation
- Add another broken example theme, as test for winnowing
2017-12-13 09:53:41 -05:00
Adriaan de Groot
afbdcc3782
[hwclock] Be more lenient.
...
Patch by Gabriel C. (@abucodonosor).
- use libcalamares functions
- no need to copy /etc/adjtime over we can run hwclock in chroot
since we have /proc , /sys , /dev , /run/* already bind mounted.
- added RTC and ISA probing methode ( see issue #873 )
- we probe default from /dev/rtc* ,
- fall back to ISA
- still doesn't work we just print a BIOS/Kernel BUG message and continue
- NOTE: issue #873 is about broken ArchLinux kernel config but there
are HP boxes with real RTC problems no matter what kernel config
is used so let us be nice and don't error out..
FIXES #873
2017-12-13 06:27:04 -05:00
Adriaan de Groot
29e532a790
[partition] Insert annoying 3-sec delay
...
This is intended for testing -- it helps debug where a slow
requirement check blocks the UI.
2017-12-12 07:17:16 -05:00
Adriaan de Groot
748ccf94e9
[plasmalnf] Enrich config file
...
- Extend the config file format to allow theme, image pairs
as well as just naming the themes.
- Reduce verbosity when querying Plasma themes.
2017-12-12 06:59:25 -05:00
Andrius Štikonas
139f5a9e86
Use KPMcore SetPartFlags operation.
2017-12-06 14:51:54 +00:00
Adriaan de Groot
6bd8c67ca9
[plasmalnf] Allow filtering the selectable lnf themes
...
- empty list allows all of them
- always suppress hidden, invalid themes, and those named
2017-12-04 12:27:30 -05:00
Adriaan de Groot
ad69eda337
[plasmalnf] Complain again if poorly configured
2017-12-04 11:54:33 -05:00
Adriaan de Groot
98b9f67e39
[plasmalnf] Complain more loudly (and more often) when badly configured
2017-12-04 11:51:16 -05:00
Adriaan de Groot
ee979d79ee
Merge branch '3.1-pinebook'
2017-12-04 11:45:01 -05:00
Adriaan de Groot
02dfe51d55
[welcome] Improve error reporting from requirements checker
2017-12-04 10:47:26 -05:00
Adriaan de Groot
e628ddfdbf
[plasmalnf] Try to get back to the live user before changing themes
2017-12-04 09:37:34 -05:00
Adriaan de Groot
b10b19e9ee
[plasmalnf] C++ style and reduce includes
2017-12-04 09:11:10 -05:00
Adriaan de Groot
eb92755b0a
[plasmalnf] Enable translations
...
- Move tool-running to the view-step
- Enable translations by showing name instead of theme-id
- More verbose logging
2017-12-04 06:40:13 -05:00
Adriaan de Groot
71966b5330
[plasmalnf] Wait longer for the tool to finish
2017-12-03 16:09:34 -05:00
Adriaan de Groot
1de2e94fd0
[plasmalnf] Simplify code, reduce copies of lnftool setting
2017-12-03 15:41:52 -05:00
Adriaan de Groot
fe8ff3ab05
[plasmalnf] Simplify code, remove redundant implementations
2017-12-03 15:34:06 -05:00
Adriaan de Groot
4e2e55a935
[plasmalnf] Needs to run as target user in all cases
2017-12-03 15:24:39 -05:00
Adriaan de Groot
e005c2d02d
Merge branch '3.1-pinebook'
...
- Also document the config file some more.
2017-12-03 15:17:03 -05:00
Adriaan de Groot
ac92d4911d
Compatibility: revert conveniences from master
2017-12-03 12:58:54 -05:00
Adriaan de Groot
3a94f02547
CMake: look for ECM at top-level, add to search path if found.
2017-12-03 12:48:23 -05:00
Adriaan de Groot
cddc4699aa
[plasmalnf] Import Plasma Look-and-Feel module independently
2017-12-03 12:47:41 -05:00
Adriaan de Groot
1f49f764a6
[libcalamares] Allow retrieving chroot mode from system (as well as settings)
2017-12-03 12:46:33 -05:00
Adriaan de Groot
388399f256
[plasmalnf] Fix command-line options, run in target user environment
2017-12-03 12:42:44 -05:00
Adriaan de Groot
7e5970324f
[plasmalnf] Reset layout along with theme
2017-12-03 11:05:14 -05:00
Adriaan de Groot
81128923e6
[plasmalnf] Disable applying in the target (user|system) for now.
2017-12-03 10:56:39 -05:00
Adriaan de Groot
3bdfa63a79
[plasmalnf] Preserve environment, so that DISPLAY gets to the tool
2017-12-03 10:38:32 -05:00
Adriaan de Groot
d3ef6b07d5
[plasmalnf] Run the lnftool in the target (user|system)
2017-12-03 10:22:46 -05:00
Adriaan de Groot
8a053f3c9b
[libcalamares] Allow retrieving chroot mode from system (as well as settings)
2017-12-03 10:09:00 -05:00
Adriaan de Groot
b3d299bbf1
[plasmalnf] Replace hard-coded path with configurable one
2017-12-03 09:51:13 -05:00
Adriaan de Groot
62623a2376
[plasmalnf] Make an actual job of setting the theme
...
- Job doesn't actually run lookandfeeltool in the target system yet.
2017-12-03 09:26:59 -05:00
Adriaan de Groot
2d3defcca3
[plasmalnf] Hammer in theme-changing
...
- Tool is currently a hard-coded path.
2017-12-03 09:18:18 -05:00
Adriaan de Groot
8c65ee5481
[plasmalnf] Get available LNF
...
- Implement various ways of getting the LNF; the process-based one
uses a recent CLI-tool from the Plasma developers.
- Fill the UI with (meaningless) LNF package IDs.
2017-12-03 08:48:41 -05:00
Adriaan de Groot
98d758b4be
[plasmalnf] Hammer out the most primitive UI
2017-12-03 07:08:54 -05:00
Adriaan de Groot
e0634a4056
Merge pull request #869 from V3n3RiX/master
...
new module : openrcdmcryptcfg - auto unlock encrypted partitions with OpenRC
2017-12-03 04:54:44 -05:00
Adriaan de Groot
839c039168
Merge remote-tracking branch 'origin/plasma-lnf'
2017-12-03 04:43:55 -05:00
Adriaan de Groot
298ff0cbeb
Merge branch '3.1.x-stable'
2017-12-03 04:43:23 -05:00
V3n3RiX
7cecfceaa7
add openrcdmcryptcfg module
2017-12-02 19:47:34 +00:00
Adriaan de Groot
4566e53d01
[partition] Delay requirements checking until pmcore is initialized
2017-12-02 12:11:56 -05:00
Adriaan de Groot
ba21a221df
[partition] C++ style
2017-12-02 11:43:20 -05:00
Adriaan de Groot
16fbe4dc8c
[partition] Sample of requirement checking
...
- There should be at least device to select, overwise we can't continue.
The check currently **always** fails, so it blocks installation.
2017-12-02 11:42:56 -05:00
Adriaan de Groot
c8e42e6909
[welcome] Implement requirements checking at module level.
...
- Hook up the requirements checker (which only checks) to the module-and-viewstep
method called to do the checking.
2017-12-02 11:30:26 -05:00
Adriaan de Groot
bd27dda474
[welcome] Restructure requirements checking
...
- Move widget behavior into its own container / widget class
- Change the RequirementsChecker class to just check the
requirements, returning a results list
- Connect from the module manager to the results widget.
2017-12-02 11:30:26 -05:00
Adriaan de Groot
b6fed964ce
[libcalamaresui] Defer requirements checking of ViewModules to their ViewSteps
2017-12-02 11:30:26 -05:00
Adriaan de Groot
27b921bde1
[libcalamaresui] Move requirements information out of welcome module.
...
- Move type and rename it; put in Calamares namespace
- Emit signals from the viewmanager as results come in
- Remove state changing from welcome view step based on its internal
requirements checking (for now this breaks progressing past the
welcome page)
- Log checking of the requirements
2017-12-02 10:59:33 -05:00
Adriaan de Groot
24e04645b6
[libcalamaresui] Stub requirements checking.
...
Introduce a method checkRequirements() into the module system so that
individual modules can do their own checking (as opposed to stuffing
it all into the welcome module).
2017-12-02 09:26:22 -05:00
Adriaan de Groot
c8a6ebe404
Testing: expand the testmodule script.
...
Do a better job determining what the arguments could mean; this supports
lazy devlopers who don't want to pass in full paths to all kinds of things.
Simple invocation can now be:
testmodule.py <modulename> - +
to read <modulename>.conf from src/modules/<modulename>/
2017-12-02 06:43:12 -05:00
Adriaan de Groot
65a236cd60
[packages] Fix previous.
...
This, kids, is why you don't switch writing C++ and Python too often.
The C++ code isn't a syntax error in Python, although this would fail
at runtime.
2017-12-02 06:14:17 -05:00
Adriaan de Groot
3e3cd08ff3
[packages] Fix previous (false vs False)
2017-12-02 05:20:13 -05:00
Adriaan de Groot
150007c138
[packages] Feature: skip if no internet.
...
Update documentation, add a new key *skip_if_no_internet* to support
systems that **recommend** having an internet connection (but don't
require it), and which also use the packages module. This prevents
a long delay while the package manager tries to access the internet
and times out (repeatedly).
Existing configurations are unchanged.
2017-12-02 05:17:15 -05:00
Adriaan de Groot
7b145c2a36
[packages] Improve message when no packages are processed at all.
2017-12-01 16:48:02 -05:00
Adriaan de Groot
517dbfab06
[libcalamares] The script namespace is actually a dict
...
Use dict methods, in particular d.get(k, v), to retrieve
the pretty_name() function (or None if it isn't there).
Using getattr() on a dict will not return values in the
dict.
2017-12-01 16:42:56 -05:00
Adriaan de Groot
fe61925f31
[packages] Update module documentation
2017-12-01 13:46:59 -05:00
Adriaan de Groot
d63f8f6922
[welcome] Document welcome.conf
...
- explain requirements keys
- document show-buttons keys
2017-11-29 09:46:19 -05:00
Adriaan de Groot
5a07f6ef8a
Merge branch 'master' into requirements-checking
2017-11-29 09:02:07 -05:00
Adriaan de Groot
0d413ba750
Merge branch '3.1.x-stable'
2017-11-29 08:58:32 -05:00
Adriaan de Groot
12369abaa4
[libcalamares] Refactor to reduce compiler warnings
2017-11-29 08:49:44 -05:00
Adriaan de Groot
53036be418
Merge branch 'i865-error-reporting'
2017-11-28 11:48:25 -05:00
Adriaan de Groot
ae4508011c
[tracking] swap out PNG for SVG icons
2017-11-28 11:47:51 -05:00
Adriaan de Groot
c284304872
[libcalamares] Adjust copyright lines
2017-11-28 11:41:17 -05:00
Adriaan de Groot
cc195eb3d4
[libcalamares] Improve reporting of CalledProcessError
...
For called processes, replace the not-very-useful type message
with the command-explanation, and replace the value (previously
command-explanation) by the stderr of the failed command.
FIXES #865
2017-11-28 11:38:26 -05:00
Adriaan de Groot
9df796a3fd
[libcalamares] Log earlier, warnings--
2017-11-28 11:26:59 -05:00
Adriaan de Groot
1e27c6438a
[libcalamares] Special-case CalledProcessError
2017-11-28 11:21:42 -05:00
Adriaan de Groot
a0a8ab0048
[libcalamares] Refactor Python target_env calls
...
This is why the whole refactoring started: to get the process output
and exit code in one spot so we can attach the process output
to the (Python exception) CalledProcessError in all the code
paths, not just those that are explicitly looking for output.
2017-11-28 10:55:53 -05:00
Adriaan de Groot
6693d91152
[libcalamares] Refactor bp:list -> QStringList
2017-11-28 10:42:00 -05:00
Adriaan de Groot
9d31380980
[libcalamares] Refactor target-environment calls
...
- Add a more general targetEnvCommand() that returns both
error code and process output.
- Change existing targetEnvCall() and targetEnvOutput()
to use general form while discarding some data.
2017-11-28 10:27:24 -05:00
Adriaan de Groot
f5aec1ad8a
[libcalamares] Add output to CalledProcessError
...
- Refactor, internal _handle_check_target_env_call_error doesn't need
to be in header or visible.
- Add optional output (of the command) to the Python exception.
2017-11-28 08:53:40 -05:00
Adriaan de Groot
1f3f6111f7
[libcalamares] Log output from failed commands
2017-11-28 08:40:12 -05:00
Adriaan de Groot
b4d4351825
[libcalamares] Better Python traceback handling:
...
- log the whole error message as plain text
- convert to HTML only for the ui
2017-11-28 08:33:32 -05:00
Adriaan de Groot
a25445a58c
i18n: update (English) source translation files
2017-11-28 06:47:33 -05:00
Adriaan de Groot
d06e29b1c5
[interactiveterminal] refactor again to keep Transifex happy
2017-11-28 06:45:56 -05:00
Calamares CI
cd2ae5ab0e
[dummypythonqt] Automatic merge of Transifex translations
2017-11-28 06:00:08 -05:00
Adriaan de Groot
3cb6fd839b
[interactiveterminal] Refactor error message
...
- refactor error message
- ifx capitalisation problem
- remove editorializing in comments
FIXES #866
2017-11-28 05:05:28 -05:00
Adriaan de Groot
3ae65d5771
Merge branch '3.1.x-stable'
2017-11-24 09:28:35 -05:00
Adriaan de Groot
93ab6432c4
[netinstall] Special-case the root node.
...
Root is always selected, can't be unselected, and has its own explicit
constructor and name. This resolves issue reported where unchecking
all *visible* groups caused the root to be unchecked, after which
hidden-but-still-selected subgroups were not installed.
Reported by crazy@
2017-11-24 07:52:52 -05:00
Adriaan de Groot
e29cd7ab54
Merge branch 'usertracking'
...
Adds a "tracking" module which allows configuring phone-home,
machine and user tracking. Additional machine-tracking types
could be defined depending on distro needs.
This is not the final version -- there is still polishing to
do on the icons, perhaps layout.
Tested in KDE Neon devunstable by keeping an existing partition
which had an older Neon running. New machine-id is generated
and sed'ded into place.
FIXES #783
2017-11-23 17:38:30 +01:00
Adriaan de Groot
858372d93e
[tracking] Remove derp.
2017-11-23 17:38:06 +01:00
Adriaan de Groot
8aa94ef01e
[branding] Fix up example URLs
2017-11-23 13:15:55 +01:00
Adriaan de Groot
8e79ad1a14
[tracking] Implement Neon machine tracking configuration
2017-11-22 08:04:37 -05:00
Adriaan de Groot
6cb88c86f1
[tracking] Improve phrasing
2017-11-22 07:49:06 -05:00
Adriaan de Groot
22f5a121cb
[tracking] stub implementation of neon machine feedback configuration
2017-11-22 07:39:52 -05:00
Adriaan de Groot
4a96e83203
[tracking] Adjust wording, drop page title
2017-11-22 07:21:58 -05:00
Adriaan de Groot
9a3ba75c2c
[tracking] Switch icons to sensible names
2017-11-22 13:04:18 +01:00
Adriaan de Groot
cb8f698ce0
[tracking] Switch to VDG icons (version 1)
2017-11-22 13:01:41 +01:00
Adriaan de Groot
93052311aa
[tracking] Switch UI to use radio buttons
...
Following KDE Pholio M116, switch to using a radio button; instead
of 4 individually toggle-able settings, use a "level" indicator
to select none, install, machine, user .. each of which implies
the previous levels. Each level is individually enable-able from
the distro side.
2017-11-22 06:52:14 -05:00
Adriaan de Groot
188050a77c
Merge branch 'master' into usertracking
2017-11-21 07:29:49 -05:00
bill-auger
452cefd482
use orphaned Branding::ProductLogo as sidebar image
2017-11-21 07:25:39 -05:00
Adriaan de Groot
aa0fa37492
[netinstall] Hidden groups follow selectedness of parents.
...
If a subgroup is hidden, then it should be considered
selected if its parent is selected or partially-selected.
If the parent group is totally unselected, then the hidden
subgroup shouldn't be installed either. This allows putting
required-packages into a group, without cluttering the
interface.
FIXES #864
2017-11-21 06:16:30 -05:00
Adriaan de Groot
71e80f680e
[netinstall] Only update selectedness of parents with children.
...
While walking up the tree, only switch the selectedness states
of parents with children. This avoids the case where a parent
has a first subgroup that is hidden -- in which case the
parent ends up with no children, and is unselected even though
it is marked as selected in the config file.
FIXES #864
2017-11-21 05:36:38 -05:00
Adriaan de Groot
495f94dde8
[calamares] Silence QBasicTimer warning message.
...
Relying on auto-qobject deletion on shutdown generates a warning message
17:23:44 [0]: QBasicTimer::start: QBasicTimer can only be used
with threads started with QThread
which is annoying. Since we're in shutdown, just skip deletion
entirely, and leave the model unparented.
FIXES #472
2017-11-21 04:22:28 -05:00
Adriaan de Groot
185f46e2c4
[calamares] reduce compile warnings
2017-11-20 12:00:06 -05:00
Adriaan de Groot
3e4b1a7c46
[calamares] Avoid possible uninit-pointer or memory leak
2017-11-20 11:59:15 -05:00
Adriaan de Groot
0c0f0fc8b4
[requirements] Check window minimum size, not preferred size.
...
FIXES #863
2017-11-20 09:14:35 -05:00
Adriaan de Groot
1d18ea264d
[libcalamaresui] Switch to using three state icons for requirements
2017-11-20 09:04:26 -05:00
Adriaan de Groot
65cf28b716
[libcalamaresui] Provide access to the breeze SVGs
2017-11-20 09:04:26 -05:00
Adriaan de Groot
fbe1976c11
[libcalamaresui] Add breeze SVGs under LGPLv3
2017-11-20 08:59:10 -05:00
Adriaan de Groot
7d916f649d
[requirements] Document code
2017-11-20 08:18:39 -05:00
Adriaan de Groot
cc83e40fb7
Documentation: polish plymouth docs
2017-11-14 05:27:37 -05:00
Adriaan de Groot
b3b5240e66
Merge branch 'master' of https://github.com/rajudev/calamares into rajudev-master
2017-11-14 05:17:47 -05:00
Adriaan de Groot
dddc1191a1
[kcrash] Point to a better submission URL
2017-11-14 05:17:04 -05:00
Adriaan de Groot
579b1061e6
[kcrash] Configure more robustly
2017-11-13 11:39:00 -05:00
Adriaan de Groot
4d7f70a28f
[kcrash] Remove duplicate 'Tools' tab
2017-11-13 07:35:37 -05:00
Adriaan de Groot
e8e284f724
Merge remote-tracking branch 'origin/kcrash'
2017-11-13 13:18:53 +01:00
Adriaan de Groot
f4368d05f9
[tracking] Fix install-tracking HTTP GET
2017-11-13 05:13:19 -05:00
Chantara Tith
2a785bdf89
Disable newPartitionTableButton for LVM device.
2017-11-11 21:47:30 +00:00
Andrius Štikonas
652ffaedd5
Remove unnecessary kpmcore includes.
2017-11-11 21:34:10 +00:00
Andrius Štikonas
1620f6a668
Merge branch 'master' into lvm2
2017-11-11 21:30:49 +00:00
Adriaan de Groot
9a43b8a0e8
[tracking] hook the install-tracking job into the build.
...
(it doesn't work yet, though .. multi-threading issues).
2017-11-09 05:45:25 -05:00
Adriaan de Groot
a0b1410a50
[tracking] Do the install-tracking ping with QNAM
2017-11-09 05:19:24 -05:00
Adriaan de Groot
ff8af7d5e2
[tracking] Switch to typedef for job list
2017-11-08 09:59:40 -05:00
Adriaan de Groot
fbfb103b5f
[tracking] Fix deduced type
...
'auto' doesn't pick up the reference-type returned from tracking(),
and 'auto&' reads funny to me, so make the type explicit.
2017-11-08 09:51:46 -05:00
Adriaan de Groot
7311204572
[tracking] Step 1 of getting the install-tracking URL
...
- document substitutions
- build URL when creating jobs
2017-11-08 09:51:46 -05:00
Adriaan de Groot
a0e8f76348
[tracking] Enable policy websites
...
Each kind of tracking has an associated webpage / URL describing
the policy for that tracking. The Calamares User Guide has some
generic information. When the user clicks on the Help (?) button
in a tracking-option block, go to that URL.
2017-11-08 09:51:46 -05:00
Adriaan de Groot
7a7e2b16cb
[libcalamares] Some extra system-information functions
2017-11-08 09:51:46 -05:00
Adriaan de Groot
e83b4d33f8
[libcalamares] Another convenience config-extraction function
2017-11-08 07:40:44 -05:00
Adriaan de Groot
c7120277ca
[tracking] Polish UI some more
...
- Enable translations, substitute ShortProductName into string,
- Simplify code for enabling tracking option blocks,
- Set checkboxes based on configuration,
- Read checkboxes when leaving page,
- Don't stretch the tracking option blocks.
2017-11-08 05:01:26 -05:00
Adriaan de Groot
20a2465cc7
[tracking] Polish UI a bit
...
- add icons for graphical display of actions
- extend description of tracking options
- add debug logging
- enable next button
- show/hide tracking options based on configuration
2017-11-08 04:03:38 -05:00
Adriaan de Groot
806799ece4
[tracking] Fix configuration file.
...
- The sample configuration file didn't use sub-maps, but list items.
2017-11-07 07:49:44 -05:00
Adriaan de Groot
28315db43b
Merge branch 'master' into usertracking
2017-11-07 07:49:13 -05:00
Gabriel Craciunescu
d1c10837d1
[netinstall]: some more debug
...
- change the debug output when the errors occurs so
we have a clue what may go wrong
2017-11-06 19:46:26 +01:00
Adriaan de Groot
62c03d6857
Merge branch '3.1.x-stable'
2017-11-06 05:43:29 -05:00
Adriaan de Groot
51c74c6abb
[netinstall] Convenience typedefs
2017-11-06 05:42:13 -05:00
Adriaan de Groot
91e949f8fc
[netinstall] Apply Calamares C++ style
2017-11-06 05:34:57 -05:00
Adriaan de Groot
f424af36d3
[netinstall] Avoid crash when do groups are available
...
- m_groups is only set to a non-nullptr value when data is received
and fully processed,
- avoid nullptr dereference when paging *back* from a netinstall
page that hasn't loaded groups data.
FIXES #859
2017-11-06 05:33:01 -05:00
Adriaan de Groot
ee0b3b85dc
[netinstall] Improve 'next' button handling
...
- Document netinstall.conf a little,
- Add setting *required* which influences whether next is enabled or not
in case of missing or corrupt data,
- Enable *next* button only once some (any!) data is received.
This can be used to disallow stepping past the netinstall step when
there is no data (e.g. internet has failed between the welcome page
and the netinstall page).
2017-11-06 05:33:01 -05:00
Adriaan de Groot
f3eb557fdb
[libcalamares] Provide some convenience functions for extracting configuration data
2017-11-03 11:02:06 -04:00
Adriaan de Groot
2d31e987c0
[libcalamaresui] Unrelated typedef for JobList
2017-11-03 11:02:06 -04:00
Adriaan de Groot
eed207ae2e
CMake: ensure configuration-test can #include yamlcpp headers
2017-11-02 12:38:36 +01:00
rajudev
b3b3777b6e
Merge branch 'master' of github.com:calamares/calamares
2017-11-01 20:41:44 +05:30
Adriaan de Groot
0d4bd59818
[tracking] Document the configuration file format
...
- switch to 'enabled' and 'default' settings, independently.
- document user-tracking as unimplemented.
2017-11-01 09:10:25 -04:00
Adriaan de Groot
30d08f3312
Merge pull request #852 from abucodonosor/docs
...
locale.conf: explain what all the settings are about
2017-11-01 08:55:32 -04:00
Adriaan de Groot
a90f15081c
Merge branch 'master' into usertracking
2017-11-01 06:58:10 -04:00
Adriaan de Groot
35f5612ec1
[locale] Fix GeoIP (reported by demm, crazy)
...
- data has already been read, don't try to read more from the QNM reply
- regression introduced in 7e25909e
2017-11-01 11:07:18 +01:00
Adriaan de Groot
41e8fdd362
[plasmalnf] Search for LNF themes like the KCM does
2017-11-01 05:50:04 -04:00
Adriaan de Groot
6c873f0b70
[plasmalnf] Initial stub module
2017-11-01 05:50:04 -04:00
Adriaan de Groot
105e06798e
CMake: look for ECM at top-level, add to search path if found.
2017-11-01 05:50:04 -04:00
Adriaan de Groot
1456375a12
Merge pull request #854 from abucodonosor/modules
...
Document users.conf
2017-11-01 05:26:13 -04:00
Gabriel Craciunescu
477a9855f6
users.conf: made requested changes
2017-10-31 13:09:34 +01:00
Adriaan de Groot
b303acf12a
Merge branch '3.1.x-stable'
...
- KPMCore code moved
- Small fixes
2017-10-31 06:44:14 -04:00
Gabriel Craciunescu
599f9d48ae
users.conf: document some things
2017-10-30 23:20:43 +01:00
Gabriel Craciunescu
3749beb4e5
modules/users: warn when fallback groups is used
...
- Warn here since it may not be what the Distributor want.
Having wrong groups may result in broken permissions for
created user.
- explain what defaultGroups is for in users.conf
2017-10-30 20:44:51 +01:00
Gabriel Craciunescu
71da7b3a48
RequirementsChecker.cpp: rearrange cDebug() output
2017-10-30 20:11:11 +01:00
Gabriel Craciunescu
fc53438be9
locale.conf: fix localeGenPath comment
2017-10-30 19:21:51 +01:00
Gabriel Craciunescu
2e80ab98d7
locale.conf: explain what all the settings are about
2017-10-30 18:49:03 +01:00
Adriaan de Groot
5474dc6d2b
[partition] allow KPMcore 3.0.2 (with warning)
2017-10-30 11:43:37 -04:00
Adriaan de Groot
a179c6c765
Merge pull request #846 from stikonas/3.1.x-stable
...
Use KPMcore Resize Operation.
2017-10-30 11:22:53 -04:00
Adriaan de Groot
e09f179d76
Coverity: repair previous commit
2017-10-30 08:43:09 -04:00
Adriaan de Groot
a138eb501c
Coverity: fix issues reported in QJsonModel
...
- Also reported upstream, in the MIT-licensed version of same.
This is a re-hash of b348a45834
,
adding memory-leak prevention when load() is called.
2017-10-30 08:20:08 -04:00
Philip
b15d970845
[bootloader] fix regression introduced with d179a9e
...
- see also #840
2017-10-28 03:41:29 -04:00
Gabriel Craciunescu
d2ea83a0b2
NetInstallPage.cpp: fix displaying for Name and Description
...
- fixes 1d7ad9e045
which sets
both header's labels to 0 so 'Name' was always overridden
by Description and Description never displayed
2017-10-28 02:18:36 +02:00
rajudev
84581155bd
Added an explanation of the module and what it does when used, or when used incorrectly.
2017-10-28 02:09:48 +05:30
Andrius Štikonas
fb1522f6ca
Use KPMcore Resize Operation.
2017-10-27 14:00:32 +01:00
Andrius Štikonas
274025d04e
Fix reported partition size.
2017-10-27 02:51:44 +01:00
Adriaan de Groot
2aa5a14b51
Merge pull request #843 from Bezzy1999/cleanup-bitness
...
Clean up bitness check (ignoring CI error because the CI is broken right now).
2017-10-26 05:40:00 -04:00
Bezzy1999
17fb91cda5
added my name
2017-10-25 18:47:23 +01:00
Bezzy1999
cc6db5b808
pep8
2017-10-25 18:45:58 +01:00
Adriaan de Groot
c2c2793be5
[branding] correct documentation of productIcon sizes
2017-10-25 08:56:38 -04:00
crispg72
d179a9e3b1
Tidied up bitness check
2017-10-24 20:32:15 +01:00
Adriaan de Groot
fe0cb88d70
Linking: be a little more relaxed in linking to dependent libs
2017-10-24 12:56:02 -04:00
Adriaan de Groot
ad2edf4f82
Linking: Reduce library dependencies in welcome module
...
Welcome is only interested in checking partitions, not
in resizing them, so stick to one library. This will
become moot when the checks move to partitionmanager
and KPMCore can do the things.
2017-10-24 12:53:55 -04:00
Adriaan de Groot
5e101bcbf9
Document KPMCore versions that make sense
...
- KPMCore 3.0.2 works, but contains specific bugs
2017-10-24 12:53:55 -04:00
Adriaan de Groot
055d416321
Merge branch '3.1.x-stable'
2017-10-24 07:54:30 -04:00
Adriaan de Groot
e6e1e2226c
[netinstall] logging about the number of packages to process
2017-10-24 06:44:37 -04:00
Adriaan de Groot
41f17892d6
[packages] Document run_operations() some more
2017-10-24 06:44:37 -04:00
Philip
df84208abc
[bootloader] use generic file names instead of grub
...
- this fixes #839
2017-10-23 12:53:34 -04:00
Philip
10ede796f8
[bootloader] use generic file names instead of grub
...
- this fixes #839
2017-10-23 12:52:40 -04:00
Adriaan de Groot
c15db95046
Merge branch '3.1.x-stable' (netinstall fixes)
2017-10-23 11:53:30 -04:00
Adriaan de Groot
9b5772c482
Keyboard: warn about missing ckbcomp, thanks @abucodonosor
2017-10-23 11:52:11 -04:00
Adriaan de Groot
36a711c87f
Netinstall: fix misleading message (thanks to @abucodonosor)
2017-10-23 11:52:11 -04:00
Adriaan de Groot
58414666c8
Netinstall: optimize structure for packages
...
- If there's no scripts involved in a package for netinstall, just
name it without the scripts; this lets the packages module
optimize to fewer package manager calls.
2017-10-23 11:23:14 -04:00
Adriaan de Groot
4314f2c4ad
Netinstall: fix datatype passed to packages module
...
- Each element of the (list) packageOperations needs to be a
package operation, which is a dictionary with keys (identifying actions)
and lists of packages (which may be strings or script-info dictionaries).
2017-10-23 11:23:14 -04:00
Adriaan de Groot
174fa98695
Documentation: minor polishing on netinstall
2017-10-23 06:30:43 -04:00
Adriaan de Groot
e7c51aa00b
Document defaultFileSystemType
...
- this applies to new partitions; existing documentation erroneously
said this happens with Replace as well,
- follow up on Andrius manual-partition PR with documentation that
manual mode doesn't switch to this FS when editing existing partitions.
2017-10-23 06:23:19 -04:00
Adriaan de Groot
b3723371c8
Merge pull request #838 from stikonas/master
...
Clarify defaultFileSystem documentation.
2017-10-23 07:13:38 -03:00
Adriaan de Groot
acd2d9f006
Testing: be more verbose about what files are loaded.
2017-10-23 11:57:11 +02:00
Adriaan de Groot
5db8a8f65c
Testing: refactor python-test tool to allow independent use.
...
- Improve documentation
- Allow '-' as filename (for empty)
2017-10-23 11:53:10 +02:00
Andrius Štikonas
38c3f8bb52
Clarify defaultFileSystem documentation.
2017-10-20 20:18:52 +01:00
Andrius Štikonas
ceba157459
Use KPMcore DeleteOperation to delete partitions.
2017-10-12 19:33:34 +01:00
Andrius Štikonas
70573543f2
Use KPMcore NewOperation to create partitions.
2017-10-12 19:33:19 +01:00
Adriaan de Groot
9f84519e87
Merge branch '3.1.x-stable'
...
- pull in northern-locations fixes
- pull in testing yaml-config
2017-10-12 14:00:24 -03:00
Adriaan de Groot
e9205125ea
Testing: add test to check the shipped config-files for correctness.
2017-10-12 12:55:07 -03:00
Adriaan de Groot
8b76b861ad
Code-formatting, add (unused for now) overload of getLocationPosition()
2017-10-12 12:26:50 -03:00
Adriaan de Groot
00fa7bff1c
Code-formatting, add copyright notice
2017-10-12 07:08:21 -07:00
Gabriel C
c10d7470bb
finished: fix configuration file syntax
...
- fixes commit 74c19fc02d
- fixes #829
2017-10-12 07:05:28 -07:00
Gabriel C
8135aa9a4c
finished: fix configuration file syntax
...
- fixes commit 74c19fc02d
- fixes #829
2017-10-11 23:16:22 +02:00
Adriaan de Groot
78031636af
Correct for distortion of globe.
...
In the timezone widget, locations in the far north -- Inuvik,
Thule, Longyearbyen -- were displayed too far south, because the
map location calculation assumes a linear gradient, which places
90 degrees north at about 70 degrees. Change calculation to
pretend the world is flat south of 62 degrees north, and then
'bend' the remaining 28 degrees of latitude to the top of the
image. This puts most places in the right spot, although Yellowknife
is now on the south shore of Great Slave.
Fort Nelson should be north of Dawson Creek, too -- the math still
needs a little work.
While here, put Antarctica in the south, otherwise Rothera keeps
showing up in Greenland.
2017-10-09 13:14:53 -07:00
Andrius Štikonas
4912d8a6c2
Fix create partition job to work with LVM devices.
2017-10-09 17:31:22 +01:00
Adriaan de Groot
3f739563ef
Drop KService requirements (it's still there in InteractiveTerminal)
2017-10-04 08:46:12 -04:00
Adriaan de Groot
8599c2800f
Document finished.conf some more
2017-10-04 08:36:07 -04:00
Gabriel C
30e56e1566
finished: use generic shutdown command
...
- it doesn't make any sense to have restartNowCommand and fallback
set to the same command.
- also fallback should be something generic every init supports
2017-10-04 13:13:33 +02:00
Adriaan de Groot
1491a02802
Documentation for the branding variables
2017-10-04 06:37:44 -04:00
Adriaan de Groot
7adb963ba9
Merge pull request #826 from bill-auger/master
...
use orphaned Branding::ProductLogo as sidebar image
2017-10-04 11:33:30 +02:00
Adriaan de Groot
b1bae4152a
Missing import; thanks to crazy on IRC
2017-10-04 05:32:23 -04:00
bill-auger
8d341ed53d
use orphaned Branding::ProductLogo as sidebar image
2017-10-03 18:27:14 -04:00
Calamares CI
1eaeb6025f
[dummypythonqt] Automatic merge of Transifex translations
2017-10-03 06:46:36 -04:00
Adriaan de Groot
d01a35e288
Missing import; thanks to crazy on IRC
2017-10-03 10:29:03 +02:00
Andrius Štikonas
68e940f0bf
Remove unnecessary KIO and KIconThemes dependencies.
2017-09-30 18:18:25 +01:00
Andrius Štikonas
9f05c236d8
KPMcore: Pass QStringList to fs->name() instead of QString.
2017-09-30 16:27:13 +01:00
Adriaan de Groot
ff2947060d
KPMCore: use the translation system for filesystem names from KPMCore
2017-09-30 17:04:35 +02:00
Adriaan de Groot
96c3f7def3
KPMCore: drop conditional code
2017-09-30 16:50:02 +02:00
Adriaan de Groot
ca037af6ca
KPMCore: update required version to 3.2
...
- drop extra checks for blkid and atasmart, those are kpmcore's
concern, not ours (and it might have other backends, anyway)
2017-09-30 16:48:37 +02:00
Calamares CI
7129b125af
[dummypythonqt] Automatic merge of Transifex translations
2017-09-28 11:09:41 -04:00
Adriaan de Groot
33f78b375d
Merge branch 'master' into kcrash
2017-09-27 09:52:01 -04:00
Adriaan de Groot
8917d153da
Drop the (inter-)module dependencies system.
...
- Was marked incomplete and unused; none of the existing modules
set any requirements, and the descriptors are not set up to
hold the requirements information anyway.
- Dependencies are generally through globalStorage values, or if
there are dependent jobs they should be created in-order by one
source (e.g. though a View or a subclass of CppJob which overrides
jobs() ).
- It is the responsibility of deployers to formulate a settings.conf
that includes all the required modules.
- A 'real' dependency system is going to lead to the introduction
of interface-definitions and a great deal of complexity, for a
use case that can be handled with careful deployment instead.
2017-09-27 05:34:06 -04:00
Adriaan de Groot
d2cce926de
Merge pull request #821 from calamares/luks-colors
...
Use the LUKS filesystem's outer UUID for the color index.
2017-09-26 17:40:36 +02:00
Adriaan de Groot
6704121946
Keyboard: try a little harder to match keyboard layouts with selected system language
2017-09-26 11:32:52 -04:00
Adriaan de Groot
bd4ee9320d
Clang: warnings--, drop unused WindowFlags parameter
2017-09-26 11:51:11 +02:00
Adriaan de Groot
9b9801d48d
Code-style: format the keyboard module
2017-09-26 11:22:51 +02:00
Adriaan de Groot
ea07d9e1d8
Merge branch 'master' into i689-kayboard-layout
2017-09-26 11:20:17 +02:00
Adriaan de Groot
aa26ac5dd9
Clang: warnings--
2017-09-26 11:07:15 +02:00
Adriaan de Groot
72bbac7e22
Merge branch 'master' into usertracking
2017-09-26 10:42:07 +02:00
Adriaan de Groot
dcc66c2793
Clang: for gcc, don't produce empty COMPILE_FLAGS
2017-09-25 17:08:09 +02:00
Adriaan de Groot
574bb61592
Code-style: format the finished module
2017-09-25 16:35:58 +02:00
Adriaan de Groot
6924bd7d23
Clang: produce fewer warnings (all caused by boost headers)
2017-09-25 16:33:48 +02:00
Adriaan de Groot
866d338894
Clang: warnings--
2017-09-25 16:28:08 +02:00
Adriaan de Groot
7f00073e7f
Clang: warnings--
2017-09-25 16:23:47 +02:00
Adriaan de Groot
74c19fc02d
Finished: make notification optional
...
FIXES #811
2017-09-25 16:22:03 +02:00
Adriaan de Groot
2a4d8faa3b
Presentation: re-implement looping, keyboard-nav
2017-09-25 13:52:55 +02:00
Adriaan de Groot
6f00dd761b
Licensing: add header to slideshow copyright
2017-09-25 13:32:35 +02:00
Adriaan de Groot
420f135628
Licensing: Re-import GPLv2.1 slideshow
...
Re-import presentation code (commercial, LGPLv2.1 or GPLv3), with licensing
info. Calamares chooses LGPLv2.1 for the QML "library" code.
- Digia LGPL Exception obtained from:
Repo: https://raw.githubusercontent.com/meta-qt5/meta-qt5/master/licenses/Digia-Qt-LGPL-Exception-1.1
Rev: 48ebff679e5dc084d395b861a1fc4cb21790d51b
- Presentation QML obtained from:
Repo: https://github.com/qt-labs/qml-presentation-system
Rev: 4071343a4dffffc4b05d777faa9c5cf54f2b4f08
2017-09-25 13:31:47 +02:00
Adriaan de Groot
a4a05acc61
Remove more crashreporter references
2017-09-20 09:25:05 +02:00
Adriaan de Groot
af2643cdfc
Clang: warnings-- (unused, init-order)
2017-09-20 09:24:33 +02:00
Philip
d20285d4f2
[modules] displaymanager: try to fix regression introduced with c8fd11b
2017-09-21 13:08:13 -04:00
Adriaan de Groot
40c49bd50d
Clang: be more explicit about marking third-party code.
...
- This is only a partial solution to warnings caused by third-party
code, since #including the headers from other sources won't apply
the warning-suppressions.
- Flags are not applied when building the source as part of a larger
target, but are on re-building just one object (it seems -- CMake
issue to track down).
2017-09-21 04:53:09 -04:00
Adriaan de Groot
d89b17a244
Clang: partman_devices.c is not, in fact, C++ code
2017-09-21 04:16:35 -04:00
Adriaan de Groot
e3e519c06f
Clang: reduce warnings, nullptr, unused parameters
2017-09-21 04:04:01 -04:00
Adriaan de Groot
34761c4214
Clang: reduce 0-as-nullptr warnings
2017-09-20 09:24:22 -04:00
Adriaan de Groot
337903db09
Clang: reduce warnings about overriden destructors
2017-09-20 09:11:18 -04:00
Adriaan de Groot
9693d7a5bd
Memory: clean up interface used to get memory (RAM) size
2017-09-20 09:11:02 -04:00
Adriaan de Groot
0c129f2460
Reduce third-part warnings a better way.
...
Thanks to Kevin Kofler for pointing out what I'd forgotten about
source-file flags. While at it, introduce a generic mechanism for
suppressing warnings in third-party code.
Mostly reverts 4930484931
2017-09-19 16:49:14 +02:00
Adriaan de Groot
b04a890798
Fix code using re-imported imageregistry
2017-09-19 16:49:14 +02:00
Adriaan de Groot
6010805935
Licensing: add header to imageregistry copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:26 +02:00
Adriaan de Groot
a65bc7d756
Licensing: re-import ImageRegistry
...
- include full license headers,
- copied from
- repo: https://github.com/tomahawk-player/tomahawk/
- rev: 00f602e10203b76fc28b4615868c567e6bd4ced4
- path: src/libtomahawk/utils/ImageRegistry.cpp
2017-09-19 16:26:26 +02:00
Adriaan de Groot
d23818b27c
Fix code using re-imported spinner
2017-09-19 16:26:26 +02:00
Adriaan de Groot
d2d59e6206
Licensing: add header to QtWaitingSpinner copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:26 +02:00
Adriaan de Groot
553a66b326
Licensing: re-import QtWaitingSpinner
...
- include full license headers,
- copied from
- repo: https://github.com/snowwlex/QtWaitingSpinner
- rev: bb8f8987ca19406dc75704eb382ab52e981b773f
This revision *does not build* because the files have been renamed.
2017-09-19 16:26:26 +02:00
Adriaan de Groot
24f26ee7c8
Licensing: add header to QJsonModel copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:23 +02:00
Adriaan de Groot
e5c0854e66
Licensing: re-import GPLv3 version of QJsonItem
...
- include full license headers,
- copied from
- repo: https://github.com/dridk/QJsonmodel
- rev: fbd4fb3b1c1311f69cd8ada9bbb7a89fd6fe171e
2017-09-19 15:57:46 +02:00
Adriaan de Groot
13807ceabf
Licensing: add self
...
- to all the files I've touched recently
- to (very incomplete) AUTHORS list
Licensing: add license info to top-level CMakeLists.txt
2017-09-19 15:57:25 +02:00
Adriaan de Groot
6d880b5631
Replace memory-size detection.
...
- drop use of dmidecode to determine exact physical memory size
- use sysinfo() to find memory size (assumes linux 2.3.48 or later)
2017-09-19 15:57:25 +02:00
Adriaan de Groot
1c52f961a6
Refactor password-errors-indication (again)
...
- set message and status icon in one go
- only check until an error is found
- Mark TODO for passwordRequirements
2017-09-19 15:57:13 +02:00
Adriaan de Groot
d839f8e0b3
Passwords: introduce password-checking
...
- Introduce a map 'passwordRequirements' in users.conf,
which is a list of named requirements. There are only
two settings right now, min and max length, but
additional checks can easily be added in UsersPage.cpp
by defining additional lambda's to check the given
password string.
- Add PasswordCheck instances as needed, with functions
to check acceptability and to produce messages on rejection.
- Documentation in the users.conf file itself.
- In passing, refactor setting of pixmaps on labels.
FIXES #790
2017-09-19 00:12:44 +02:00
Adriaan de Groot
ddb6455365
Revert be2338ff0
(intended just to reduce warnings)
...
- keep the calamaresstyle formatting changes,
- drop shadowing and nullptr changes.
FIXES #805
2017-09-18 15:11:18 +02:00
Adriaan de Groot
a14e98ce95
Crashreporter: remove further reference to removed lib
2017-09-18 15:02:35 +02:00
Adriaan de Groot
4930484931
CMake: massage build of libcalamares
...
- Build also two OBJECT libraries,
- Allow changing Clang warnings for third-party code.
2017-09-18 14:59:53 +02:00
Adriaan de Groot
eede92646d
CMake: shuffle includes, drop useless (empty) QT_INCLUDE_DIR
2017-09-18 12:32:37 +02:00
Adriaan de Groot
ddf7b7fc90
CMake: remove superfluous indirection
2017-09-18 12:12:10 +02:00
Adriaan de Groot
a266ecb133
CMake: simplify definitions, distinguish kinds of sources
2017-09-17 06:48:07 -04:00
Adriaan de Groot
e5b59d472e
Clang: warnings--
2017-09-16 10:36:40 -04:00
Adriaan de Groot
c8fd11b103
Replace scandir with listdir, simplify loop
...
FIXES: ??
2017-09-16 07:01:55 -04:00
Adriaan de Groot
ca60a7fc16
Clang: warnings--
2017-09-14 07:02:24 -04:00
Adriaan de Groot
342b819a1d
Fix build (warnings--, but breakage++ is not good)
2017-09-14 06:59:34 -04:00
Adriaan de Groot
c6297f1db5
Clang: warnings--
2017-09-14 06:34:31 -04:00
Adriaan de Groot
9f1cca5ec7
FS: use untranslated name to identify filesystem
...
Resolves issue where 'linuxswap' is translated to 'Linux-Swap',
for instance. FileSystem::name() provides a translated name,
not an untranslated one.
This should move to KPMCore.
FIXES #797
2017-09-14 06:34:18 -04:00
Adriaan de Groot
8b61b3ddc3
Merge pull request #802 from abucodonosor/pr-autologin2
...
CreateUserJob: do not force any autologin group
2017-09-14 03:28:34 -04:00
Adriaan de Groot
c9f4bc0cc8
Check for crypt(3), also on FreeBSD
2017-09-13 22:32:21 +02:00
Adriaan de Groot
edb1dbaa6e
Clang: warnings--
2017-09-13 22:32:21 +02:00
Gabriel C
5d241f8e09
CreateUserJob: do not force any autologin group
...
There is no need to force folks haing a random group
bc that is a Distro think. SDDM/GDM works just fine without
having a group for the user to autologin.
Just setup a group in users.conf .. is why we have a configuration
option for that.
2017-09-13 21:44:15 +02:00
Adriaan de Groot
da4fa6a63a
Fix link / library name
2017-09-13 19:03:56 +02:00
Adriaan de Groot
bd37572fd8
Clang: reduce warnings
2017-09-13 19:03:56 +02:00
Adriaan de Groot
03d9dbe099
Clean up CMakeLists, linking
2017-09-13 18:29:56 +02:00
Adriaan de Groot
be2338ff08
Clang: reduce warnings
2017-09-13 08:03:18 -04:00
Adriaan de Groot
ec86922839
Find KPMCore 3.2 quietly, less frightening
2017-09-13 07:01:19 -04:00
Adriaan de Groot
d8a47bb8be
Simplify dict() construction for fstab-lines
2017-09-13 06:13:28 -04:00
Gabriel C
b82042a078
fstab: fix btrfs with LUKS and systemd we forgot to fix that in #730 tested with efi/BIOS+LUKS+btrfs , efi/BIOS+btrfs
2017-09-13 10:58:33 +02:00
Adriaan de Groot
cb57de2e65
Clang: float -> qreal where it matches Qt API
2017-09-11 11:07:32 +02:00
Adriaan de Groot
297e97da19
Clang: tidy up warnings in logger
2017-09-11 11:03:25 +02:00
Adriaan de Groot
25de3aca6e
Clang: don't shadow global int timezone
2017-09-11 09:42:21 +02:00
Philip
d2964cc71c
[locale] default to the states
...
- see also 239c7534d2
2017-09-10 22:33:25 +01:00
Adriaan de Groot
9116718448
Clang: warnings-reduction
2017-09-10 15:19:36 -04:00
Adriaan de Groot
463615a1c0
Clang: don't shadow local variable names
2017-09-10 13:22:54 -04:00
Adriaan de Groot
764fb742ba
Clang: clean up documentation markup
2017-09-10 13:22:54 -04:00
Adriaan de Groot
0b39e50cdc
Clang: explicit char-initialization of ByteArray
2017-09-10 13:22:54 -04:00
Adriaan de Groot
3527c82327
Clang: make private internal class less visible
2017-09-10 13:22:54 -04:00
Adriaan de Groot
bd3786ebeb
Clang: reduce warnings in various places
2017-09-10 13:22:32 -04:00
Adriaan de Groot
a06911e9aa
Clang: refactor units-converters, reduce warnings
2017-09-10 13:22:32 -04:00
Adriaan de Groot
31fa9e4251
Clang: fix warnings on partition splitter
...
- initialize all the fields
- member-initialization order
- silence warnings about double<->int
- drop unused parameter to setSplitPartition
2017-09-10 06:17:28 -04:00
Adriaan de Groot
3aa540a69e
Clang: static constant usage strings
2017-09-10 06:17:28 -04:00
Calamares CI
5b97d2367a
[dummypythonqt] Automatic merge of Transifex translations
2017-09-07 05:45:03 -04:00
Adriaan de Groot
3e5916157f
A mounted partition cannot be resized or replaced
...
- add check for isMounted()
- a device with a mounted partition cannot be (entirely) erased
FIXES #639
2017-09-07 04:55:44 -04:00
Adriaan de Groot
851379628c
Reduce Qt runtime warnings.
...
- deleteLater() doesn't like nullptr (produces a warning, but is harmless)
- reparenting across threads doesn't work, comment on that but leave
it in, since this may be relevant for memory management.
2017-09-07 04:24:08 -04:00
Adriaan de Groot
cec7132d2c
Swap + LUKS configuration.
...
Based on patches from crazy@frugalware.org and V3n3RiX.
(presumably) FIXES #730
2017-09-07 03:43:42 -04:00
Adriaan de Groot
cc26fc085a
Merge pull request #787 from stikonas/master
...
kpmcore now requires passing sector size to FileSystem.
2017-09-06 07:54:06 -04:00
Adriaan de Groot
7e25909e18
YAML: refactor YAML-exception reporting
...
- both NetInstall (group data) and Locale (GeoIP) use network
data returned as a source of YAML data. Try to explain
parsing errors for both.
FIXES #786
2017-09-06 07:51:22 -04:00
Andrius Štikonas
252006ea25
kpmcore now requires passing sector size to FileSystem.
2017-09-06 12:24:51 +01:00
Adriaan de Groot
09decf8e06
YAML-NetInstall: log data errors.
...
When NetInstall receives YAML data, handle parser errors more gracefully:
show line and column, but because it's network data (not in a local file),
do some work to print out the actual data received.
FIXES #786
2017-09-06 05:47:11 -04:00
Adriaan de Groot
6c5199c9cc
YAML: on error, report filename along with location
2017-09-06 05:10:33 -04:00
Adriaan de Groot
9096a9ebcd
Remove overly-verbose debugging
2017-09-06 04:55:08 -04:00
Adriaan de Groot
73a75e837b
Auto-resize the main window.
...
If the summary widget is large, it gets a scrollbar. This looks really
weird, so prefer to grow the installer window instead. Discussed with
@sitter and settled on this solution.
ViewSteps can signal the ViewManager that they need more space (in pixels),
which may or may not be honored.
FIXES #778
2017-09-05 10:51:54 -04:00
Adriaan de Groot
ec265c073a
One more have_dracut check (thanks to @crazy)
2017-09-05 06:09:50 -04:00
Adriaan de Groot
360a114ed4
Be more explicit on why a device is winnowed from the list
2017-09-05 06:09:50 -04:00
Adriaan de Groot
78ef69af02
i18n: update source translations
2017-09-04 08:17:38 -04:00
Adriaan de Groot
e9e6834dd8
Locale: translate OK, Cancel buttons in language selection (reported on IRC)
2017-09-04 07:57:20 -04:00
Adriaan de Groot
e13f7898ac
Make check for dracut more readable
2017-09-04 06:42:51 -04:00
Adriaan de Groot
47dcbefe2c
Apply patch from V3n3RiX.
...
https://gitlab.com/redcore/redcore-desktop/raw/master/app-admin/calamares/files/calamares-3.1.1-luks-fstab-write-devmapper.patch
Fixes #772
2017-09-04 06:33:01 -04:00
Adriaan de Groot
b22bd67a5f
Avoid race condition around libparted device use.
...
FIXES #782
2017-08-31 05:28:58 -04:00
Adriaan de Groot
798640be0d
PEP8 whining
2017-08-31 04:51:34 -04:00
Adriaan de Groot
11ff935453
Merge branch 'valgrind'
2017-08-31 04:16:31 -04:00
Adriaan de Groot
0e96621b94
Don't leak memory when winnowing disk devices
...
- Improve logging a little
- Don't leak Device*, but delete the raw pointer when erasing
- Document that DeviceInfo takes ownership and doesn't leak
2017-08-31 04:14:52 -04:00
Adriaan de Groot
e26d5ab206
Don't leak memory for allocated modules
2017-08-31 04:13:52 -04:00
Adriaan de Groot
d5dca07e22
Fix uninitialized values (valgrind report)
2017-08-31 04:13:18 -04:00
Adriaan de Groot
a4f4d417a2
Packages module: improve translated progress reporting
...
- Reduce number of strings a bit
- Less confusing translation requirements (I hope)
- Report on progress between groups
2017-08-31 03:51:18 -04:00
Adriaan de Groot
a31c4b4cb3
Packages module: better progress reporting
...
- introduce multiple modes (remove, install) to
distinguish progress messages
- handle plurals via gettext
- fix PEP8 whining from previous
2017-08-30 17:37:04 -04:00
Adriaan de Groot
e1a93987d0
Packages module: add progress reporting
...
Adds i18n to the module (but these strings are not yet extracted),
and reports progress as each group of packages is installed.
FIXES #781
2017-08-30 10:09:28 -04:00
Adriaan de Groot
8dd1b7ed4a
Merge branch 'distro-example'
...
This was WIP, working on the fstab / UUID problem, but stands on its
own; since others are zooming in on the fstab / UUID problem, close
down the branch.
2017-08-30 08:18:12 -04:00
Adriaan de Groot
1ea79efce8
Uninitialized value
2017-08-29 14:00:48 -04:00
Adriaan de Groot
162de207c8
Package module: extensive documentation of options
2017-08-29 10:34:38 -04:00
Adriaan de Groot
1926399378
Telemetry stub.
...
This is experimental, off-by-default, code for developing a telemetry /
tracking configuration module. It is preliminary work for issue #628 ,
but also for KDE Neon configuration. Any telemetry should conform to
the KDE Telemetry Policy [1] or similar Free Software telemetry policy
(e.g. the Mozilla one).
[1] https://community.kde.org/Policies/Telemetry_Policy
Initial idea is to distinguish three kinds of tracking:
- installs. This tracks that OS <foo> has been installed somewhere.
It might send some machine information to a remote server.
- machines. This enables some kind of machine tracking in the
installed system, for instance it could enable popcon on
Debian, or periodic phone-home-pings.
- users. This enables some kind of telemetry / tracking on the
installed user in the system.
A simple and transparent setting is to enable install-tracking and set
it to opt-in, and disable machine and user tracking. Explain to the
user that <foo> would like to know when <foo> is installed, and that
the following information <d1>, <d2> will be sent to <url> in accordance
to the <foo> telemetry policy at <url2>.
Work in this branch is subject to VDG review for the visuals, and
privacy oversight by whatever group is responsible for <foo> privacy.
Note that this module makes it *possible* for telemetry configuration
to be visible inside the installer; what distro's do with telemetry
already is entirely outside the scope of this configuration module.
2017-08-29 08:00:37 -04:00
Adriaan de Groot
3799a26b3c
Package module: optimize & fix
...
- Expand example configurations
- Optimize commoon case of just listing package names
- Do locale substitution in both kinds of cases
2017-08-29 06:58:30 -04:00
Adriaan de Groot
6c36534206
Package module: fix packages-could-be-objects code
...
- Check for 'list' when it's actually a 'dict' is strange.
Reverse logic to consider 'str' a package name and everything
else is special.
- Refactor to handle the difference between package names and
packages-with-script-data in one place.
- Add code and config documentation.
- Switch sample configurations to dummy-backend.
2017-08-29 05:51:30 -04:00
Adriaan de Groot
d66434985e
Package module: refactor package-manager into multiple classes
2017-08-29 05:51:29 -04:00
Adriaan de Groot
913521d022
Testing: set more locale-globals in testing-script.
...
When testing Python modules, passing option --lang should also
set the global 'locale' (to a BCP47 string, but hey) like it
already sets localeConf.LANG.
2017-08-29 05:51:29 -04:00
Adriaan de Groot
c5abfd6371
Having a mounted partition should not disqualify the entire device.
...
FIXES #780
(should reopen #639 for double-checking)
2017-08-28 06:01:11 -04:00
Adriaan de Groot
85595b4e04
#780 : check for isMounted(), not for where-would-it-be-mounted
2017-08-28 05:54:04 -04:00
Adriaan de Groot
7791c3cb19
DeviceInfo: refactor translation of DeviceInfoPage
...
- For Boot and Device info widgets, add a retranslateUi() method,
since the labels change not only in response to translation
events but also UI events.
FIXES #779
2017-08-28 05:44:43 -04:00
Adriaan de Groot
7e66499f36
Refactor check for EFI system.
...
The TODO stands, to delegate this to KPMCore.
2017-08-28 05:36:45 -04:00
Adriaan de Groot
186f6cd1e2
initcpiocfg: accept (but warn) for missing config file in the host
2017-08-23 17:33:03 -04:00
Adriaan de Groot
106f18e074
Log process output of failed commands
...
FIXES #612
2017-08-23 16:44:09 -04:00
Adriaan de Groot
63f9c25611
Update unpackfs.conf examples and documentation
2017-08-23 06:57:11 -04:00
Adriaan de Groot
3188a47fba
Bump version numbers on the example distro
2017-08-23 06:51:45 -04:00
Adriaan de Groot
89c2c8a76e
Suppress success-notification on failure
2017-08-23 05:25:07 -04:00
Adriaan de Groot
2c81fceacb
Python: KeyError because pretty_name may not exist
2017-08-23 04:59:04 -04:00
Calamares CI
2f5638c34e
[dummypythonqt] Automatic merge of Transifex translations
2017-08-22 05:08:39 -04:00
Adriaan de Groot
52f1ac63e3
Update translation sources
2017-08-21 17:58:06 -04:00
Calamares CI
704901762e
[dummypythonqt] Automatic merge of Transifex translations
2017-08-21 17:51:44 -04:00
Adriaan de Groot
b3a46c7506
Merge branch 'i18n-pythonjob'
2017-08-21 17:50:16 -04:00
Adriaan de Groot
93115b7385
Popup notification when the installation is done.
...
- Use DBus and FreeDesktop interface to popup message
- Code style / formatting
FIXES #599
2017-08-21 17:49:38 -04:00
Adriaan de Groot
5dc70ac261
Python-i18n: apply C++-coding style
2017-08-21 12:36:04 -04:00
Adriaan de Groot
538c59adb9
Python-i18n: add /usr/local/share/locale to search
2017-08-21 12:34:38 -04:00
Adriaan de Groot
d6d5f54d00
Python-i18n: clarify debugging
2017-08-21 10:37:35 -04:00
Adriaan de Groot
22fd428664
Python-i18: avoid duplicate path entries
2017-08-18 14:22:59 -04:00
Adriaan de Groot
48cc1f0461
Python-i18n: adjust for changed API
2017-08-18 14:19:50 -04:00
Adriaan de Groot
3a1d5ed533
Python-i18n: (inefficiently) search for suitable gettext dirs
2017-08-18 13:06:44 -04:00
Adriaan de Groot
34230276e3
Python-i18n: extend test-script with language setting
2017-08-16 16:51:56 +02:00
Adriaan de Groot
78b3c8ed32
Python-i18n: allow None as a gettext path (searches default)
2017-08-16 16:45:34 +02:00
Adriaan de Groot
74be2fd098
Python-i18n: implement gettext functions in libcalamares.utils
...
- remove Job.gettextPath
- add libcalamares.utils.gettext_path()
- add libcalamares.utils.gettext_lang()
- modify examples in main.py
- add some gettext debug-output from dummypython
- correct namespace mis-labeling
- provide two forms of GlobalStorage
- regular use, has a JobQueue with storage
- testing use, creates GlobalStorage separately, provide
independent access to that for Python.
2017-08-16 10:53:11 +02:00
Adriaan de Groot
5326e9ee06
Python-style: sharp-eyed KK spots a typo
2017-08-15 14:10:56 +02:00
Adriaan de Groot
d4c714c400
Python: fix up testing script
...
- Didn't run at all (at least since v3.1) because of mismatch between
GlobalStorage constructor arguments and use; special-case None
in the C++ code to allocate a new GlobalStorage object.
2017-08-15 13:58:43 +02:00
Adriaan de Groot
f509000215
Python-style: cut-and-paste accident
2017-08-15 13:36:51 +02:00
Adriaan de Groot
49384ef01f
Python-style: fix derpy workaround for PEP8
2017-08-15 13:29:39 +02:00
Adriaan de Groot
6370898154
Python-i18n: make it compile again
2017-08-15 13:21:17 +02:00
Adriaan de Groot
cbfdd8690d
Python-i18n: WIP, moving API to libcalamares.utils
2017-08-15 12:31:47 +02:00
Adriaan de Groot
1dbe7c29e2
Python-i18n: prepare for move of API to libcalamares.utils, be less verbose
2017-08-15 12:30:19 +02:00
Adriaan de Groot
fdb4be8189
Python-i18n: be explicit about parameters
2017-08-15 11:46:25 +02:00
Adriaan de Groot
c694792e4f
Python-style: pep8 fixes
2017-08-15 11:39:58 +02:00
Adriaan de Groot
d523a44407
Merge branch 'master' into i18n-pythonjob
2017-08-10 16:06:39 -04:00
Adriaan de Groot
40c3b3dd04
Modules: initramfscfg copy files from own install-dir
...
FIXES #770
2017-08-10 16:04:02 -04:00
Adriaan de Groot
f0a143cd5c
PythonJob: switching between C++ and Python is hard
2017-08-10 15:45:38 -04:00
Adriaan de Groot
58b2abc9ac
Merge pull request #771 from n3rdopolis/patch-1
...
Correct update-initramfs command (add -t for cases where there already is one on disk)
2017-08-10 15:43:13 -04:00
Calamares CI
8052b6d6f6
[dummypythonqt] Automatic merge of Transifex translations
2017-08-10 15:39:24 -04:00
Adriaan de Groot
33bc669591
Python-i18n: trivial example adding _ to python jobs
...
- add to dummypython
- also add to machineid
2017-08-10 15:39:24 -04:00
Adriaan de Groot
b922d88b0f
Python-i18n: add a gettext_path for python job modules
2017-08-10 15:39:24 -04:00
Adriaan de Groot
34c3bc6c85
CMake: shuffle translations macros into CMakeModules/
2017-08-10 10:40:41 -04:00
Adriaan de Groot
be04b12597
Modules: tidy debugging in dummypython
2017-08-09 11:02:25 -04:00
Adriaan de Groot
2dc019493d
Modules: docs for users.conf
2017-08-09 10:59:14 -04:00
Calamares CI
6537a054de
[dummypythonqt] Automatic merge of Transifex translations
2017-08-09 07:20:44 +09:00
Adriaan de Groot
ca3b10002b
Modules: minor cleanup + docs
2017-08-09 05:45:09 +09:00
Adriaan de Groot
9737041e66
Locale: extend prettyStatus()
...
Add description of language and number formats to pretty status.
This is shown in the summary page. Refactor a little to produce
the strings only in one place. Constify methods.
FIXES : #564
2017-08-08 17:29:44 +04:30
Adriaan de Groot
a718eb76cb
Docs: code-documentation about summary page
2017-08-08 07:54:38 -04:00
Calamares CI
c00350551f
[dummypythonqt] Automatic merge of Transifex translations
2017-08-08 03:21:32 -04:00
Adriaan de Groot
61865a8e11
i18n: fix encoding of dummy translations -- not ASCII, but UTF-8
2017-08-07 15:39:02 -04:00
n3rdopolis
05e48d4357
Remove whitespace
2017-08-06 12:20:26 -04:00
n3rdopolis
aac783ed3a
Try to correct character per line count
2017-08-06 12:07:12 -04:00
n3rdopolis
086a019d19
Correct update-initramfs command
...
This allows it to create a new initramfs, and replace it.
This will better ensure that calamares generated initramfs is used
2017-08-06 11:43:24 -04:00
Adriaan de Groot
c860270751
i18n: mark python example-string as translatable
2017-08-02 14:43:21 -04:00
Adriaan de Groot
f0894b471b
i18n: mark non-translatable string as such
2017-08-02 14:40:26 -04:00
Adriaan de Groot
2fdccdf090
Merge branch 'simplify-module-desc'
2017-08-02 11:29:58 -04:00
Adriaan de Groot
46636bdf65
Modules: documentation of CMake, module.desc, etc.
2017-08-02 11:05:32 -04:00
Adriaan de Groot
445fdace36
Modules: remove another boilerplate module.desc
2017-08-02 11:05:32 -04:00
Adriaan de Groot
196b1567db
Modules: remove boilerplate module.desc
2017-08-02 11:05:32 -04:00
Adriaan de Groot
e3008657c4
Modules: accept 'viewmodule' as alias of 'view', improve logging on error.
2017-08-02 11:05:32 -04:00
Adriaan de Groot
445a7fc62a
CMake: remove welcome-module desc, since it's generated
2017-08-02 11:05:32 -04:00
Adriaan de Groot
e6e91546e4
Do not use deprecated type
2017-08-02 07:44:04 -04:00
Adriaan de Groot
f50d12445a
Merge pull request #766 from stikonas/master
...
Port away from deprecated qSort.
2017-08-02 04:04:44 -04:00
Adriaan de Groot
a23b7c2a00
CMake: be more verbose about choice of webkit vs engine
2017-07-25 09:44:34 +02:00
Andrius Štikonas
1131fdce4c
Port away from deprecated qSort.
2017-07-17 22:53:09 +01:00
Adriaan de Groot
4a5cee133f
About: adjust to the system font size.
...
FIXES #433
2017-07-12 07:43:47 -04:00
Adriaan de Groot
55a63a1f67
RemoveUser: fix bad PEP8-ing
...
FIXES #577
2017-07-12 07:07:53 -04:00
Adriaan de Groot
3cd18fd285
Partitions: extend getDevices() with minimum size.
...
This is preparatory work for making the available-space check consistent with
what the partition module will allow for installation. Right now, the check
for available space will allow a mounted drive, even /, to satisfy the check.
2017-07-12 06:40:54 -04:00
Adriaan de Groot
18a1f459db
Partition: reduce code duplications
2017-07-12 05:54:22 -04:00
Adriaan de Groot
7d49255a78
Partitions: use an enum with clear semantics instead of bool
2017-07-12 05:41:29 -04:00
Adriaan de Groot
730e0d885f
Partitions: use KPMCore-defined default backend
2017-07-12 05:17:34 -04:00
Adriaan de Groot
55c6cfa1ca
Partitions: improve wording of debug messages
2017-07-12 04:57:22 -04:00
Adriaan de Groot
102bed1805
Partitions: split device-listing (and winnowing) into separate source file.
...
The grab-list-of-writable-devices code is usable for the partition module, but
also useful for welcome module, so reduce its footprint.
2017-07-12 04:52:52 -04:00
Adriaan de Groot
33bca6d71d
Merge commit 'partitions'
2017-07-11 17:46:47 -04:00
Adriaan de Groot
594bc37d67
Coverity: uninitialized member
2017-07-11 09:32:09 -04:00
Adriaan de Groot
5bf03cc515
Partitions: shuffle some device-detection code off to PartUtils.cpp
2017-07-11 06:27:19 -04:00
Adriaan de Groot
aeb0cd0d3f
Partitions: drop devices with mounted partitions.
...
FIXES #639
2017-07-11 06:27:19 -04:00
Adriaan de Groot
cc7631dd99
Partitions: code-formatting
2017-07-11 06:27:19 -04:00
Adriaan de Groot
c66807282b
CMake: remove editorializing from CMakeLists.txt
2017-07-11 06:26:56 -04:00
Adriaan de Groot
6fb40c517a
CMake: collect all the Find-modules at top-level
2017-07-11 06:26:56 -04:00
Adriaan de Groot
ce11c7ab6d
LightDM: fix type (thanks Kevin Kofler)
2017-07-10 14:43:13 -04:00
Adriaan de Groot
8ca94db0fa
Merge branch 'python-bits'
2017-07-10 12:03:33 -04:00
Adriaan de Groot
ae6a9cd822
Python: move unsquash documentation to the config file
2017-07-10 11:58:58 -04:00
Adriaan de Groot
34b96148ae
Python: at beginning of job, if pretty status has changed, emit progress to update it in the UI.
2017-07-10 11:58:57 -04:00
Adriaan de Groot
fcde28ca9d
Python: tidy description of hwclock module
2017-07-10 11:58:57 -04:00
Adriaan de Groot
11e5a6cbe0
Python: trim description to the first line of run.__doc__
2017-07-10 11:58:57 -04:00
Adriaan de Groot
9561bac1c8
SUSE DM: add special case configuring autologin in sysconfig (openSUSE)
...
FIXES #582
2017-07-10 10:14:28 -04:00
Adriaan de Groot
984a83deb9
LightDM: if lightdm.conf doesn't exist (for autologin), create it
...
FIXES #568
2017-07-10 09:27:56 -04:00
Lisa Vitolo
9be15e68b6
Change both size box suffices to MiB.
2017-07-09 18:20:00 +01:00
Lisa Vitolo
925d3a61a7
Add "MB" suffix to the "edit partition" size box.
...
Makes it easier to know which unit Calamares is using when
resizing a partition. The "Create partition" dialog has
it already.
2017-07-09 10:10:04 -04:00
Adriaan de Groot
96ef18c2c4
CMake: help find libparted
2017-07-05 11:08:41 -04:00
Adriaan de Groot
db105079ba
CMake: drop meta-include CalamaresUse
2017-07-05 10:37:49 -04:00
Adriaan de Groot
d74627b705
CMake: remove superfluous module-path-setting
2017-07-05 10:21:25 -04:00
Adriaan de Groot
a72cc0eeb4
Python: use the module run().__doc__ as a pretty description.
2017-07-05 06:46:29 -04:00
Adriaan de Groot
f12ae5db3b
Python: get docstring from run() method
2017-07-05 06:46:29 -04:00
Adriaan de Groot
e43f41a402
Python: separate description of dummy module from docs of run()
2017-07-05 06:46:29 -04:00
Adriaan de Groot
10eaf06f60
Python: Be more descriptive when modules can't be loaded.
2017-07-05 06:30:23 -04:00
Calamares CI
1897b62538
[dummypythonqt] Automatic merge of Transifex translations
2017-07-05 00:42:16 +00:00
Adriaan de Groot
57031a4c15
Merge branch 'ui-tweaks'
2017-07-04 08:53:21 -04:00
Adriaan de Groot
3c3c0f99f8
C++ trickery, part two: shorten code
2017-07-04 08:42:14 -04:00
Adriaan de Groot
5a3bbe8088
FinishedPage: show message instead of details on failure
2017-07-04 08:16:28 -04:00
Adriaan de Groot
d3f624f818
FinishedPage: no modal pop-ups in a slot
...
Switch the failure popup to non-modal, and quit the application when
the pop-up is closed. This allows signals to be delivered to other
slots connected to JobQueue::failed.
2017-07-04 08:14:30 -04:00
Adriaan de Groot
232bbe18bc
Be more verbose while scanning devices
2017-07-04 05:32:05 -04:00
Adriaan de Groot
ef065c1183
Merge branch 'master' into annoy-sitter
2017-07-04 04:32:02 -04:00
Adriaan de Groot
44e6955f19
Feature: allow disable welcome-logo resizing
2017-07-04 04:30:08 -04:00
Adriaan de Groot
c4f955874d
QLabel::setPixmap() isn't virtual, don't make it so.
2017-07-04 03:36:42 -04:00
Calamares CI
77fd8be881
[dummypythonqt] Automatic merge of Transifex translations
2017-07-04 01:22:28 +00:00
Adriaan de Groot
ee4e4dfccc
C++ trickery to make the code shorter to read.
2017-07-03 18:07:18 -04:00
Adriaan de Groot
3ecd2f2ff6
Add self to copyright notice
2017-07-03 15:39:21 -04:00
Adriaan de Groot
09a7988622
FinishedPage: add copyright, reduce warnings
2017-07-03 11:36:36 -04:00
Adriaan de Groot
72659dc6e1
FinishedPage: don't reboot on failure
...
If installation fails, and you end up on the last page, suppress the
reboot-now checkbox.
FIXES #605
2017-07-03 11:32:47 -04:00
Kai Dohmen
6f680c0269
Fix unknown partition-type Fat32 at mount and in fstab
...
Only the string "fat32" and "fat16" will be replaced with vfat. If an
case sensitive "Fat32" some problems occure:
- mount: partition cannot be mounted (e.g. a fat32 efi partition)
- fstab: system won't even boot because fstab does not know the type "Fat32"
2017-07-03 17:20:02 +02:00
Adriaan de Groot
da75035654
Cleanup: summary module description
2017-07-03 10:26:59 -04:00
Adriaan de Groot
79595eb532
Coverity: explicitly initialize
2017-07-03 09:21:05 -04:00
Adriaan de Groot
43e7ea6265
Merge branch 'no-rcc'
2017-07-03 05:48:50 -04:00
Adriaan de Groot
9b3af4aac3
i18n: translate yes/no buttons, don't rely on Qt translations
2017-07-03 05:46:33 -04:00
Calamares CI
6291cc9db1
[dummypythonqt] Automatic merge of Transifex translations
2017-07-03 02:51:00 +00:00
Calamares CI
314282731b
[dummypythonqt] Automatic merge of Transifex translations
2017-07-03 00:40:53 +00:00
Calamares CI
c583e4c21b
[dummypythonqt] Automatic merge of Transifex translations
2017-07-02 02:50:59 +00:00
Calamares CI
955c20c8d7
[dummypythonqt] Automatic merge of Transifex translations
2017-07-02 00:40:16 +00:00
Calamares CI
a9b89d1b25
[dummypythonqt] Automatic merge of Transifex translations
2017-07-01 03:09:55 +00:00
Calamares CI
b3fbfec997
[dummypythonqt] Automatic merge of Transifex translations
2017-07-01 01:01:58 +00:00
Calamares CI
6b7a03ea97
[dummypythonqt] Automatic merge of Transifex translations
2017-06-30 03:26:52 +00:00
Calamares CI
418974c0ea
[dummypythonqt] Automatic merge of Transifex translations
2017-06-30 01:23:26 +00:00
Adriaan de Groot
75b5303b49
i18n: stop trying to install Qt translations
2017-06-29 06:29:29 -04:00
Adriaan de Groot
61c0ab4534
Clang: fix the right conversions (thanks KKofler)
2017-06-29 06:18:52 -04:00
Calamares CI
0b6e43c899
[dummypythonqt] Automatic merge of Transifex translations
2017-06-29 02:49:05 +00:00
Philip Müller
f64266a294
Merge pull request #758 from manjaro/lightdm-greeters
...
[displaymanager] check for installed lightdm greeter and configure accordingly
2017-06-28 17:04:40 +02:00
Bernhard Landauer
a1173bccc2
[displaymanager] check for installed lightdm greeter and configure accordingly
...
- no matter if for example slick-greeter is installed as "lightdm-slick-greeter" or whatever.
tested with lightdm-deepin-greeter and slick-greeter.
- plus some little simplifications
- added Copyright
https://github.com/calamares/calamares/issues/756
2017-06-28 16:43:07 +02:00
Adriaan de Groot
5cd328dad3
Clang: if we're going to crash on purpose, crash the C++ way
2017-06-28 08:44:59 -04:00
Adriaan de Groot
4561849c39
UI: add tooltip to Cancel / Quit button
...
Change 'Quit' at the end to 'Done', because we're done -- and Quit
is sometimes interpreted as cancelling. Tooltip for additional
explanation.
2017-06-28 07:48:51 -04:00
Adriaan de Groot
d669df625a
Clang: static QString -> literal
2017-06-28 06:35:41 -04:00
Adriaan de Groot
c0b3f3fe9d
Clang: reduce warnings; make enum-switch explicit
2017-06-28 05:49:53 -04:00
Adriaan de Groot
2905a9969d
SDDM-config: allow poorly formatted SDDM config
...
SDDM itself doesn't trip over duplicate sections or keys, but
the Python config-parser does (in strict mode). Relax a bit.
FIXES #579
2017-06-28 03:57:01 -04:00
Adriaan de Groot
90e8a6cff9
Shrink upper padding.
...
FIXES #591
2017-06-28 02:46:24 -04:00
Calamares CI
a2a94af984
[dummypythonqt] Automatic merge of Transifex translations
2017-06-28 02:49:02 +00:00
Calamares CI
d2058df677
[dummypythonqt] Automatic merge of Transifex translations
2017-06-28 00:37:14 +00:00
Adriaan de Groot
a41a23a230
Merge pull request #757 from manjaro/deepin-greeter
...
fix #756 .. good catch
2017-06-27 09:44:30 -04:00
Adriaan de Groot
cea9f0fb33
Clang: stick with integers
2017-06-27 09:28:32 -04:00
Bernhard Landauer
72cfb83873
fix https://github.com/calamares/calamares/issues/756
2017-06-27 14:50:53 +02:00
Adriaan de Groot
3b0b05186a
Clang: reduce warnings
2017-06-27 07:36:46 -04:00
Adriaan de Groot
0d884869e5
Clang: reduce warnings about code-documentation
2017-06-27 07:17:40 -04:00
Adriaan de Groot
f2d2218070
Clang: fix warning about implict copy-ctor with explicit move-ctor
2017-06-27 07:15:31 -04:00
Adriaan de Groot
09b25ab3e9
Clang: make ViewManager instance a proper singleton.
2017-06-27 06:46:59 -04:00
Adriaan de Groot
6a3aa01564
Clang: reduce warnings
2017-06-27 06:11:26 -04:00
Adriaan de Groot
2add7f6f86
Clang: type-annotate float literal
2017-06-27 06:08:07 -04:00
Adriaan de Groot
3b5955900e
Coverity: explicit initialization
2017-06-27 06:05:26 -04:00
Calamares CI
aba0f6f8ca
[dummypythonqt] Automatic merge of Transifex translations
2017-06-27 02:49:21 +00:00
Calamares CI
02ba6cb66b
[dummypythonqt] Automatic merge of Transifex translations
2017-06-27 00:37:07 +00:00
Calamares CI
14c5b57fcc
[dummypythonqt] Automatic merge of Transifex translations
2017-06-26 02:49:04 +00:00
Calamares CI
dac25a2000
[dummypythonqt] Automatic merge of Transifex translations
2017-06-26 00:37:32 +00:00
Calamares CI
00f2aaba85
[dummypythonqt] Automatic merge of Transifex translations
2017-06-25 02:48:46 +00:00
Calamares CI
91c746ada8
[dummypythonqt] Automatic merge of Transifex translations
2017-06-24 02:49:37 +00:00
Calamares CI
cf0f815284
[dummypythonqt] Automatic merge of Transifex translations
2017-06-24 00:37:01 +00:00
Calamares CI
849edba14c
[dummypythonqt] Automatic merge of Transifex translations
2017-06-23 02:49:12 +00:00
Calamares CI
0ee309f354
[dummypythonqt] Automatic merge of Transifex translations
2017-06-23 00:37:26 +00:00
Calamares CI
43fbc42d47
[dummypythonqt] Automatic merge of Transifex translations
2017-06-22 02:52:03 +00:00
Calamares CI
c69cfde0b1
[dummypythonqt] Automatic merge of Transifex translations
2017-06-22 00:37:01 +00:00
Adriaan de Groot
8ea14d7957
Release: add copyright to files I've touched
2017-06-21 08:27:10 -04:00
Adriaan de Groot
12a0edfa50
Clang: reduce warnings
2017-06-21 07:28:38 -04:00
Adriaan de Groot
2148538fac
Clang: reduce warnings
2017-06-21 07:28:38 -04:00
Adriaan de Groot
1f458ac067
Merge branch 'screen-size'
2017-06-21 06:53:10 -04:00
Adriaan de Groot
b0c4cc1481
Screensize: warn the user if the screen is too small to show the installer nicely.
...
Also document the welcome screen requirements-checks.
FIXES #751
2017-06-21 06:52:14 -04:00
Adriaan de Groot
d9ea22a486
Screensize: refactor, move screen-size constants into global constexpr
...
Also drop the minimum size a tiny bit, to 1024x520.
2017-06-21 06:51:51 -04:00
Adriaan de Groot
f9ee774d4e
Screensize: on small screens, crush the sidebar.
...
This still isn't enough to show the whole timezone or keyboard widget,
but does make more of it visible.
2017-06-21 04:42:02 -04:00
Calamares CI
31c08eef6b
[dummypythonqt] Automatic merge of Transifex translations
2017-06-21 02:48:45 +00:00
Calamares CI
49fa7ab078
[dummypythonqt] Automatic merge of Transifex translations
2017-06-21 01:03:09 +00:00
Adriaan de Groot
0edf041b31
Screensize: on small screens, be smaller.
...
On 1024x768, limit to 1024x520.
On 800x600, limit to 800x520. This is too small to show everything in the
timezone widget and keyboard, so it needs some more work.
2017-06-20 18:18:56 -04:00
Adriaan de Groot
742ccf02a7
Merge branch 'salt'
2017-06-20 17:47:05 -04:00
Adriaan de Groot
9f526be198
Salt: add test for salt format
2017-06-20 17:43:50 -04:00
Adriaan de Groot
de45f43640
Salt: add copyright info
2017-06-20 17:18:12 -04:00
Adriaan de Groot
6616315269
Partitionmanager: minor docs edit
2017-06-20 10:03:44 -04:00
Adriaan de Groot
4c9703ad27
Merge branch 'master' into salt
2017-06-20 09:46:41 -04:00
Adriaan de Groot
22ccf920d7
Merge branch 'pm-tests' of github.com:calamares/calamares
2017-06-20 09:45:48 -04:00
Adriaan de Groot
8708260689
Partitionmanager: fix PM-tests build
2017-06-20 09:45:32 -04:00
Adriaan de Groot
7ebbcc33b2
Partitionmanager: remove unused code files
2017-06-20 07:23:04 -04:00
Adriaan de Groot
ea44021cb4
Partitionmanager: partly fix PM-tests build
2017-06-20 07:10:29 -04:00
Adriaan de Groot
f1ab9df7ee
Salt: improve saltiness.
2017-06-20 04:39:04 -04:00
Calamares CI
e9aea41a25
[dummypythonqt] Automatic merge of Transifex translations
2017-06-20 02:49:51 +00:00
Calamares CI
287dbad807
[dummypythonqt] Automatic merge of Transifex translations
2017-06-20 00:38:45 +00:00
Adriaan de Groot
4405790253
Displaymanager: simplify gdm configuration.
...
Replace calling out to shell to run echo redirected to a file by
opening the file and writing to it.
2017-06-19 18:20:24 -04:00
Adriaan de Groot
70af29672d
Displaymanager: check alternative locations for kdmrc.
...
FIXES #578
2017-06-19 18:05:34 -04:00
Adriaan de Groot
582e4354a7
Displaymanager: refactor a little, don't bail out at the first DM that doesn't configure
2017-06-19 18:00:10 -04:00
Adriaan de Groot
ae34d99f10
Netinstall: remove no-longer-used icons and qrc
2017-06-19 16:58:56 -04:00
Adriaan de Groot
e9ab78cd52
Keyboard: special-case, pc+latin interpreted as us,
...
instead of as unknown which selects the first layout in the list.
2017-06-19 11:12:23 -04:00
Adriaan de Groot
6ef2f5d769
Keyboard: code-docs, copyright
2017-06-19 10:46:30 -04:00
Adriaan de Groot
59605d552e
Keyboard: simplify execution of setxkbmap.
...
Use QProcess::execute() with the 'safer' argument-list, rather than
escaping and de-escaping strings. Also reduce noise by only passing
a variant if there is one.
2017-06-19 10:41:56 -04:00
Adriaan de Groot
444aa24a04
Increate the maximum allowed length of a hostname.
...
The hostname madagascarsteenplaatschildpad (.uva.nl) doesn't fit in 24,
and hostname(1) accepts up to 64 characters. The RFCs vary, but 63 +
terminating NUL or length-octet + data maximum 64 bytes seen to be
the common ground.
FIXES #514
2017-06-19 05:16:54 -04:00
Calamares CI
fe15b11520
[dummypythonqt] Automatic merge of Transifex translations
2017-06-19 02:48:58 +00:00
Calamares CI
c4ed76b1d0
[dummypythonqt] Automatic merge of Transifex translations
2017-06-19 00:37:26 +00:00
Calamares CI
ea64341a87
[dummypythonqt] Automatic merge of Transifex translations
2017-06-18 02:48:40 +00:00
Calamares CI
3753a802e0
[dummypythonqt] Automatic merge of Transifex translations
2017-06-18 00:37:15 +00:00
Adriaan de Groot
ce6997d214
Coverity: fix some uninitialized members
2017-06-17 15:14:02 -04:00
Calamares CI
ce2fb6e3c5
[dummypythonqt] Automatic merge of Transifex translations
2017-06-17 02:48:52 +00:00
Calamares CI
04d477f5b3
[dummypythonqt] Automatic merge of Transifex translations
2017-06-17 00:58:59 +00:00
Calamares CI
09d1131003
[dummypythonqt] Automatic merge of Transifex translations
2017-06-16 02:48:57 +00:00
Calamares CI
85a7215526
[dummypythonqt] Automatic merge of Transifex translations
2017-06-16 00:39:24 +00:00
Calamares CI
8209e305de
[dummypythonqt] Automatic merge of Transifex translations
2017-06-15 02:48:49 +00:00
Calamares CI
bf093dc743
[dummypythonqt] Automatic merge of Transifex translations
2017-06-15 00:59:52 +00:00
Adriaan de Groot
46a2503c87
PartitionModule: skip nullptr devices, and report count
...
FIXES #686
2017-06-14 12:24:32 -04:00
Adriaan de Groot
92a2c7aa70
PartitionModule: avoid nullptr crashes
...
Fix up iterator code so that it handles nullptr better.
This avoids part of #686 .
2017-06-14 12:24:32 -04:00
Adriaan de Groot
3677708d3e
PartitionModule: look for atasmart and blkid, to avoid link-time failure.
...
This just puts a warning in the cmake log, but will help diagnose
situations where libatasmart.so.4 is installed, but libatasmart.so
is not -- in which case -latasmart fails.
2017-06-14 12:23:33 -04:00
Calamares CI
81421db073
[dummypythonqt] Automatic merge of Transifex translations
2017-06-14 02:48:54 +00:00
Calamares CI
fbd8ce124e
[dummypythonqt] Automatic merge of Transifex translations
2017-06-14 01:41:08 +00:00
Calamares CI
6f8b9d768f
[dummypythonqt] Automatic merge of Transifex translations
2017-06-13 02:48:57 +00:00
Calamares CI
e507528cc2
[dummypythonqt] Automatic merge of Transifex translations
2017-06-13 00:58:52 +00:00
Adriaan de Groot
201a015bd4
Docs: welcomeStyleCalamares documentation / example
2017-06-12 15:31:23 -04:00
Adriaan de Groot
f1cfde36d6
Allow different welcome message.
...
FIXES #592
2017-06-12 15:25:54 -04:00
Adriaan de Groot
e92d82c5db
Cleanup: add copyright lines
2017-06-12 09:59:04 -04:00
Adriaan de Groot
5f38da9d30
Docs: styles in the branding file
2017-06-12 09:55:39 -04:00
Adriaan de Groot
b7a0b3930f
Reduce minimum-width to 800px
...
Tested in a VirtualBox setup with screen set to 800x600,
all of the Generic Linux RT components are visible, and
the buttons are too (which fall off the screen otherwise).
FIXES #731
2017-06-12 12:36:48 +02:00
Adriaan de Groot
fc5522741a
Bump required KPMCore to 3.0.3
...
The newer release resolves (upstream) a problem with NVMe encryption.
FIXES #697
2017-06-12 12:36:45 +02:00
Adriaan de Groot
aea73b982e
Cleanup: require ECM 5.10 or later (released 2015)
2017-06-12 05:14:27 -04:00
Adriaan de Groot
5382a510a9
Cleanup: switch to C++11 user-defined literals
2017-06-12 04:51:55 -04:00
Adriaan de Groot
4fab3c93c2
Docs: document effect of ensureSuspendToisk more thoroughly
2017-06-12 04:19:31 -04:00
Adriaan de Groot
829f72363e
Cleanup: remove duplicate #define
2017-06-12 03:32:22 -04:00
Calamares CI
99b00229b6
[dummypythonqt] Automatic merge of Transifex translations
2017-06-12 02:48:41 +00:00
Calamares CI
8de4b7fdd1
[dummypythonqt] Automatic merge of Transifex translations
2017-06-12 00:36:38 +00:00
Calamares CI
5c5a35081d
[dummypythonqt] Automatic merge of Transifex translations
2017-06-11 02:49:18 +00:00
Calamares CI
d3b70da243
[dummypythonqt] Automatic merge of Transifex translations
2017-06-10 02:48:43 +00:00
Calamares CI
17b421a16d
[dummypythonqt] Automatic merge of Transifex translations
2017-06-10 00:36:26 +00:00
Calamares CI
b53a21af3f
[dummypythonqt] Automatic merge of Transifex translations
2017-06-09 02:48:59 +00:00
Calamares CI
56d7d32f0d
[dummypythonqt] Automatic merge of Transifex translations
2017-06-09 00:58:32 +00:00
Adriaan de Groot
bfe7334812
Branding: add example setting, document fallback behavior
2017-06-08 06:21:06 -04:00
Adriaan de Groot
daf5b025ce
Branding: fall back to original app palette
2017-06-08 06:17:24 -04:00
Adriaan de Groot
14912d6c63
Merge branch 'master' of https://github.com/AOSC-Dev/calamares into AOSC-Dev-master
2017-06-08 04:54:06 -04:00
Adriaan de Groot
88715b9a0f
Keyboard: guess at layout based on locale
...
Split locale into <language>_<country> and go looking for keyboard
layouts that match. Do that in reverse, so look for country first.
- known weakness is el_CY (should get layout gr) because CY and el
don't name any keyboard layout.
- known weakness are Hausa, Igbo .. which are ha_NG and ig_NG. They select
keyboard layout ng, which is labeled "English (Nigeria)"; they ought
to select ng(hausa) and ng(igbo), which are the right variant keyboard
layouts to use.
- similar selecting a locale in Canada (en_CA, fr_CA, iu_CA ...) will
select keyboard layout ca, which is for French-speaking Canada.
Locale en_CA should select keyboard en -- e.g. en(us). But iu_CA
(Inuktituk) needs layout ca(ike).
2017-06-08 10:15:30 +02:00
Adriaan de Groot
8d9f75ffba
Keyboard: refactor type declaration
2017-06-08 10:15:30 +02:00
Calamares CI
38ff1a9753
[dummypythonqt] Automatic merge of Transifex translations
2017-06-08 02:48:57 +00:00
Calamares CI
27e1983a2c
[dummypythonqt] Automatic merge of Transifex translations
2017-06-08 00:36:11 +00:00
adriaandegroot
2c0802d18e
Merge pull request #742 from siduction/pep8-displaymanager
...
Fixed pep8 whining in module displaymanager
2017-06-07 03:27:19 -04:00
adriaandegroot
ca76199705
Merge pull request #740 from siduction/pep8-services
...
Fixed pep8 whining in module services
2017-06-07 03:19:16 -04:00
Calamares CI
df8067d767
[dummypythonqt] Automatic merge of Transifex translations
2017-06-07 02:48:51 +00:00
Calamares CI
2e5aed22dd
[dummypythonqt] Automatic merge of Transifex translations
2017-06-07 00:36:26 +00:00
Adriaan de Groot
56dec8f575
Merge branch 'locale-fixes'
2017-06-07 03:59:46 +06:00
adriaandegroot
aa75fda9f2
Merge pull request #738 from siduction/pep8-unpackfs
...
Fixed pep8 whining in module unpackfs
2017-06-06 14:59:22 -07:00
Adriaan de Groot
e1a5af6529
Locale: when entering page, guess language.
...
If user picks an installer language on the welcome page, then
the system language follows that setting -- but only after the
first action where Calamares must guess the system language
based on location. So guess on entry, so that system language
follows installer language.
FIXES #688 .
2017-06-07 03:52:44 +06:00
Alf Gaida
f9695cabac
Fixed pep8 whining in module displaymanager
...
Added myself to copyright
2017-06-06 20:35:07 +02:00
Alf Gaida
48b3699a0f
Fixed pep8 whining in module services
...
Added myself to copyright
2017-06-06 18:26:29 +02:00
Alf Gaida
5f7b1dda26
Fixed pep8 whining in module unpackfs
...
Added myself to copyright
2017-06-06 17:44:53 +02:00
Adriaan de Groot
d545904f5c
Locale: don't overwrite explicit choice
...
If the user selects a language from the dialog (by clicking 'change'),
then preserve that explicit choice even when clicking on another
location which would reset the language based on the installer-
language.
2017-06-06 21:08:15 +06:00
Adriaan de Groot
89753a35f0
Locale: double-click to close locale-selection dialog
2017-06-06 09:31:22 -05:00
Adriaan de Groot
f1bb16c4df
Merge branch 'locale-fixes'
2017-06-06 09:26:26 -04:00
Adriaan de Groot
4df0de200b
Locale: refactor to update labels in one place only
2017-06-06 09:22:21 -04:00
Adriaan de Groot
e0988a5e19
Timezones: make some TZ+0 pixels transparent, since otherwise it claims Amsterdam
2017-06-06 09:22:21 -04:00
Adriaan de Groot
3ae12f2573
Keyboard: avoid multiple connects
...
When selecting keyboard layout, pause, then select another, the
QTimer wasn't being disconnected from the previously selected
language, so the second selection would fire the timeout, and
then call *two* slots .. and then three, ... Disconnect when
the timer fires, too.
2017-06-06 09:22:21 -04:00
Adriaan de Groot
d29acf4a06
Logging: add a global storage dump method
2017-06-06 09:22:21 -04:00
Adriaan de Groot
17b8a9d884
Logging: format the multi-line warning about no-supported-languages
2017-06-06 09:10:13 -04:00
Adriaan de Groot
14cba59ab3
Logging: distinguish different failures in module instantiation.
2017-06-06 09:10:13 -04:00
adriaandegroot
eb2c14b7f6
Merge pull request #739 from siduction/pep8-grubcfg
...
Fixed pep8 whining in module grubcfg
2017-06-06 12:20:46 +02:00
Adriaan de Groot
29d91a4fbf
Python-style: refactor calculating target path of hook-script
2017-06-06 16:18:26 +06:00
adriaandegroot
a752df2db0
Merge pull request #741 from siduction/pep8-initramfscfg
...
Fixed pep8 whining in module initramfscfg
2017-06-06 12:11:05 +02:00
Calamares CI
edfb87a0e6
[dummypythonqt] Automatic merge of Transifex translations
2017-06-06 02:48:53 +00:00
Calamares CI
c0a427bde8
[dummypythonqt] Automatic merge of Transifex translations
2017-06-06 00:36:16 +00:00
adriaandegroot
af303c9961
Merge pull request #737 from siduction/pep8-networkcfg
...
Fixed pep8 whining in module networkcfg
2017-06-05 12:25:37 -06:00
Calamares CI
7ba1580461
[dummypythonqt] Automatic merge of Transifex translations
2017-06-05 02:48:44 +00:00
Calamares CI
325e90c186
[dummypythonqt] Automatic merge of Transifex translations
2017-06-05 00:36:00 +00:00
Alf Gaida
9e9e1e6550
Fixed pep8 whining in module initramfscfg
...
added myself to copyright
2017-06-04 16:18:17 +02:00
Adriaan de Groot
231a83cf6b
Python-style: actually add the new copyright headers
2017-06-04 15:01:25 +02:00
adriaandegroot
cc8f19dd7c
Merge pull request #718 from siduction/pep8-fstab
...
Fixed pep8 whining for module fstab
2017-06-04 14:54:56 +02:00
Adriaan de Groot
0b1577ace4
Fixed pep8-whining in module luksbootkeyfile
...
Based on PR 736 (so add Alf to copyright as well)
2017-06-04 14:51:35 +02:00
Alf Gaida
4eb0e70984
Fixed pep8 whining in module grubcfg
...
added myself to copyright
2017-06-04 13:57:49 +02:00
Alf Gaida
748135ae12
Fixed pep8 whining in module networkcfg
...
added myself to copyright
2017-06-04 13:31:08 +02:00
adriaandegroot
1dfc12e276
Merge pull request #733 from siduction/pep8-initramfs
...
Fixed pep8 whining in modulde initramfs
2017-06-04 12:06:43 +02:00
Adriaan de Groot
3804e4df68
Python-style: follow-up to PR 735, remove non-idiomatic use of 'is'
2017-06-04 11:37:12 +02:00
adriaandegroot
084e304c07
Merge pull request #735 from siduction/pep8-initcpiocfg
...
Fixed pep8 whining in module initcpiocfg
2017-06-04 11:35:15 +02:00
adriaandegroot
42f4162338
Merge pull request #734 from siduction/pep8-luksopenswaphookcfg
...
Fixed pep8 whininig in module luksopenswaphookcfg
2017-06-04 11:13:24 +02:00
adriaandegroot
65834b019c
Merge pull request #717 from siduction/pep8-mount
...
Fixed pep8 whining in module mount
2017-06-04 11:12:03 +02:00
adriaandegroot
c19ae0e247
Merge pull request #732 from siduction/pep8-hwclock
...
Fixed pep8 whining in module hwclock
2017-06-04 11:09:15 +02:00
Calamares CI
cd517e9879
[dummypythonqt] Automatic merge of Transifex translations
2017-06-04 02:48:40 +00:00
Calamares CI
ef334961d1
[dummypythonqt] Automatic merge of Transifex translations
2017-06-04 00:35:55 +00:00
Calamares CI
3f4d42756a
[dummypythonqt] Automatic merge of Transifex translations
2017-06-03 02:48:41 +00:00
Calamares CI
53ea4a5b6a
[dummypythonqt] Automatic merge of Transifex translations
2017-06-03 00:39:35 +00:00
Alf Gaida
b7488b611b
Fixed pep8 whining in module initcpiocfg
...
Added myself to copyright
2017-06-02 22:26:58 +02:00
Alf Gaida
97c48a2e5d
Fixed pep8 whininig in module luksopenswaphookcfg
...
added myself to copyright
2017-06-02 22:16:25 +02:00
Alf Gaida
536054b0cd
Fixed pep8 whining in modulde initramfs
...
added myself to copyright
2017-06-02 21:53:31 +02:00
Alf Gaida
4dbb097fd3
Fixed pep8 whining for module fstab
...
compact the fstab line
added myself to copyright
2017-06-02 20:55:26 +02:00
Alf Gaida
80b87d712b
Fixed pep8 whining in module hwclock
...
Added myself to copyright
2017-06-02 20:14:10 +02:00
Alf Gaida
5ed51bc5b0
reworked intendation
2017-06-02 19:58:36 +02:00
Adriaan de Groot
bc4cbd7964
Merge branch 'allow-empty-configs'
2017-06-02 16:19:50 +02:00
Adriaan de Groot
367fe716b3
Configs: empty config files are ok.
...
The default umount.conf contains no keys -- so it isn't a map,
but it is a valid config file. Avoid the warning by accepting
empty files.
FIX 707
2017-06-02 16:10:08 +02:00
Adriaan de Groot
7e87e3ccb5
Configs: fix trivial spelling error
2017-06-02 15:43:07 +02:00
adriaandegroot
84f13f295c
Merge pull request #722 from shadeslayer/cleanup
...
Add additional variables to help improve readability
2017-06-02 12:11:28 +02:00
adriaandegroot
f93a7fbd28
Merge pull request #719 from siduction/pep8-packages
...
Fixed pep8 whining in module packages
2017-06-02 12:04:59 +02:00
Calamares CI
4954c751af
[dummypythonqt] Automatic merge of Transifex translations
2017-06-02 02:48:36 +00:00
Calamares CI
2e12ff4acf
[dummypythonqt] Automatic merge of Transifex translations
2017-06-02 00:37:01 +00:00
Calamares CI
db1d4ba27a
[dummypythonqt] Automatic merge of Transifex translations
2017-06-01 02:48:49 +00:00
Calamares CI
88671675ba
[dummypythonqt] Automatic merge of Transifex translations
2017-06-01 00:36:48 +00:00
Calamares CI
ad0a916ab3
[dummypythonqt] Automatic merge of Transifex translations
2017-05-31 02:51:07 +00:00
Calamares CI
4e94383c14
[dummypythonqt] Automatic merge of Transifex translations
2017-05-30 02:49:07 +00:00
Calamares CI
0f10543324
[dummypythonqt] Automatic merge of Transifex translations
2017-05-30 00:36:34 +00:00
Calamares CI
2adf4f3bdc
[dummypythonqt] Automatic merge of Transifex translations
2017-05-29 02:48:50 +00:00
Calamares CI
a963709b1c
[dummypythonqt] Automatic merge of Transifex translations
2017-05-29 00:37:33 +00:00
Calamares CI
020be45bea
[dummypythonqt] Automatic merge of Transifex translations
2017-05-28 02:48:53 +00:00
Calamares CI
3fbe0a7672
[dummypythonqt] Automatic merge of Transifex translations
2017-05-28 00:37:01 +00:00
Calamares CI
8c3d7a34fa
[dummypythonqt] Automatic merge of Transifex translations
2017-05-27 02:48:31 +00:00
Calamares CI
aad4292457
[dummypythonqt] Automatic merge of Transifex translations
2017-05-27 00:36:38 +00:00
Calamares CI
f0ea716867
[dummypythonqt] Automatic merge of Transifex translations
2017-05-26 02:48:38 +00:00
Calamares CI
443593a56b
[dummypythonqt] Automatic merge of Transifex translations
2017-05-26 00:36:55 +00:00
Calamares CI
929898ab8b
[dummypythonqt] Automatic merge of Transifex translations
2017-05-25 02:48:31 +00:00
Calamares CI
04985e1216
[dummypythonqt] Automatic merge of Transifex translations
2017-05-25 00:36:58 +00:00
Calamares CI
ff29fbd9f1
[dummypythonqt] Automatic merge of Transifex translations
2017-05-24 02:48:48 +00:00
Calamares CI
8215825294
[dummypythonqt] Automatic merge of Transifex translations
2017-05-24 00:36:33 +00:00
Calamares CI
ceb554824b
[dummypythonqt] Automatic merge of Transifex translations
2017-05-23 02:48:32 +00:00
Calamares CI
dde3ce461a
[dummypythonqt] Automatic merge of Transifex translations
2017-05-23 00:58:40 +00:00
Calamares CI
6ae1ef6638
[dummypythonqt] Automatic merge of Transifex translations
2017-05-22 02:48:31 +00:00
Calamares CI
bce6a5d413
[dummypythonqt] Automatic merge of Transifex translations
2017-05-22 00:36:35 +00:00
Calamares CI
2a240c6531
[dummypythonqt] Automatic merge of Transifex translations
2017-05-21 02:48:37 +00:00
Calamares CI
a678d5dce7
[dummypythonqt] Automatic merge of Transifex translations
2017-05-21 00:36:28 +00:00
Calamares CI
a0e1d6cba0
[dummypythonqt] Automatic merge of Transifex translations
2017-05-20 02:48:27 +00:00
Calamares CI
b34503a2b3
[dummypythonqt] Automatic merge of Transifex translations
2017-05-20 00:36:53 +00:00
Calamares CI
dae740da3e
[dummypythonqt] Automatic merge of Transifex translations
2017-05-19 02:48:41 +00:00
Calamares CI
7b45928a66
[dummypythonqt] Automatic merge of Transifex translations
2017-05-19 00:36:28 +00:00
Calamares CI
b15de8869f
[dummypythonqt] Automatic merge of Transifex translations
2017-05-18 02:48:44 +00:00
Calamares CI
322b279b05
[dummypythonqt] Automatic merge of Transifex translations
2017-05-18 00:36:28 +00:00
Calamares CI
9ce20bc84d
[dummypythonqt] Automatic merge of Transifex translations
2017-05-17 02:48:36 +00:00
Calamares CI
19259b2e3b
[dummypythonqt] Automatic merge of Transifex translations
2017-05-17 00:57:03 +00:00
Calamares CI
95730ee762
[dummypythonqt] Automatic merge of Transifex translations
2017-05-16 02:48:43 +00:00
Calamares CI
c563c5d264
[dummypythonqt] Automatic merge of Transifex translations
2017-05-16 00:39:57 +00:00
Calamares CI
2ea55804d6
[dummypythonqt] Automatic merge of Transifex translations
2017-05-15 02:48:30 +00:00
Calamares CI
c9e91bbe42
[dummypythonqt] Automatic merge of Transifex translations
2017-05-15 00:38:54 +00:00
Calamares CI
64e026909b
[dummypythonqt] Automatic merge of Transifex translations
2017-05-14 02:48:57 +00:00
Calamares CI
2cae6acfd0
[dummypythonqt] Automatic merge of Transifex translations
2017-05-14 00:38:34 +00:00
Calamares CI
ed499c4db6
[dummypythonqt] Automatic merge of Transifex translations
2017-05-13 02:48:40 +00:00
Calamares CI
6a83997ef3
[dummypythonqt] Automatic merge of Transifex translations
2017-05-13 00:38:45 +00:00
Calamares CI
fbb38af52b
[dummypythonqt] Automatic merge of Transifex translations
2017-05-12 02:48:28 +00:00
Calamares CI
2401cd1d47
[dummypythonqt] Automatic merge of Transifex translations
2017-05-12 00:37:58 +00:00
Calamares CI
4441efab46
[dummypythonqt] Automatic merge of Transifex translations
2017-05-11 02:48:29 +00:00
Calamares CI
9dc87b386f
[dummypythonqt] Automatic merge of Transifex translations
2017-05-11 00:37:34 +00:00
Calamares CI
925b280638
[dummypythonqt] Automatic merge of Transifex translations
2017-05-10 02:48:46 +00:00
Calamares CI
6ba8786eab
[dummypythonqt] Automatic merge of Transifex translations
2017-05-10 00:40:09 +00:00
Calamares CI
1489d47cab
[dummypythonqt] Automatic merge of Transifex translations
2017-05-09 02:48:58 +00:00
Calamares CI
3e0f3317b4
[dummypythonqt] Automatic merge of Transifex translations
2017-05-09 00:37:28 +00:00
Calamares CI
e6394162ed
[dummypythonqt] Automatic merge of Transifex translations
2017-05-08 02:48:51 +00:00
Calamares CI
5631cf70b0
[dummypythonqt] Automatic merge of Transifex translations
2017-05-07 02:48:25 +00:00
Calamares CI
5679965ad2
[dummypythonqt] Automatic merge of Transifex translations
2017-05-07 00:37:43 +00:00
Calamares CI
0b36ce4bae
[dummypythonqt] Automatic merge of Transifex translations
2017-05-06 02:48:17 +00:00
Calamares CI
961c6e35e7
[dummypythonqt] Automatic merge of Transifex translations
2017-05-06 00:37:32 +00:00
Calamares CI
96642e6557
[dummypythonqt] Automatic merge of Transifex translations
2017-05-05 02:48:24 +00:00
Calamares CI
dda1d28ca0
[dummypythonqt] Automatic merge of Transifex translations
2017-05-05 00:57:58 +00:00
Calamares CI
9b099dd616
[dummypythonqt] Automatic merge of Transifex translations
2017-05-04 02:48:33 +00:00
Calamares CI
5e9e0e76a7
[dummypythonqt] Automatic merge of Transifex translations
2017-05-04 00:37:21 +00:00
Calamares CI
2210b9c05c
[dummypythonqt] Automatic merge of Transifex translations
2017-05-03 02:48:33 +00:00
Calamares CI
ae5b689f77
[dummypythonqt] Automatic merge of Transifex translations
2017-05-03 00:37:13 +00:00
Calamares CI
7c78cac3b2
[dummypythonqt] Automatic merge of Transifex translations
2017-05-02 02:48:32 +00:00
Calamares CI
3b25fedfc9
[dummypythonqt] Automatic merge of Transifex translations
2017-05-02 00:37:17 +00:00
Calamares CI
4b487b227c
[dummypythonqt] Automatic merge of Transifex translations
2017-05-01 02:48:22 +00:00
Calamares CI
4bcf55e6e3
[dummypythonqt] Automatic merge of Transifex translations
2017-05-01 00:36:58 +00:00
Calamares CI
8c4c1a9d7d
[dummypythonqt] Automatic merge of Transifex translations
2017-04-30 02:48:29 +00:00
Calamares CI
b7afca6c0f
[dummypythonqt] Automatic merge of Transifex translations
2017-04-30 00:36:48 +00:00
Calamares CI
1aad44a076
[dummypythonqt] Automatic merge of Transifex translations
2017-04-29 02:48:44 +00:00
Calamares CI
e456591f17
[dummypythonqt] Automatic merge of Transifex translations
2017-04-28 02:48:36 +00:00
Calamares CI
9cdf69b5d9
[dummypythonqt] Automatic merge of Transifex translations
2017-04-28 00:36:54 +00:00
Calamares CI
66108bdf0f
[dummypythonqt] Automatic merge of Transifex translations
2017-04-27 02:48:30 +00:00
Calamares CI
ffa0ea4e23
[dummypythonqt] Automatic merge of Transifex translations
2017-04-27 00:57:40 +00:00
Calamares CI
ace56ff5ed
[dummypythonqt] Automatic merge of Transifex translations
2017-04-26 02:48:38 +00:00
Calamares CI
407f9f85c2
[dummypythonqt] Automatic merge of Transifex translations
2017-04-25 02:48:35 +00:00
Calamares CI
0f1b1c47eb
[dummypythonqt] Automatic merge of Transifex translations
2017-04-25 00:39:05 +00:00
Calamares CI
0d69ba1cff
[dummypythonqt] Automatic merge of Transifex translations
2017-04-24 02:48:21 +00:00
Calamares CI
e6f75622e6
[dummypythonqt] Automatic merge of Transifex translations
2017-04-24 00:36:08 +00:00
Calamares CI
f56b873d24
[dummypythonqt] Automatic merge of Transifex translations
2017-04-23 02:48:16 +00:00
Calamares CI
301d012e4f
[dummypythonqt] Automatic merge of Transifex translations
2017-04-23 00:36:10 +00:00
Calamares CI
0710fe8b4b
[dummypythonqt] Automatic merge of Transifex translations
2017-04-22 02:49:02 +00:00
Calamares CI
f5ed99ccca
[dummypythonqt] Automatic merge of Transifex translations
2017-04-22 00:37:18 +00:00
Calamares CI
79e00070bd
[dummypythonqt] Automatic merge of Transifex translations
2017-04-21 02:48:21 +00:00
Calamares CI
2da7954225
[dummypythonqt] Automatic merge of Transifex translations
2017-04-21 00:36:04 +00:00
Calamares CI
3fb52f8776
[dummypythonqt] Automatic merge of Transifex translations
2017-04-20 02:48:29 +00:00
Calamares CI
a3d2075eb4
[dummypythonqt] Automatic merge of Transifex translations
2017-04-20 00:36:05 +00:00
Rohan Garg
bba2f65079
Add additional variables to help improve readability
2017-04-20 01:38:30 +02:00
Calamares CI
8268393ddc
[dummypythonqt] Automatic merge of Transifex translations
2017-04-19 02:48:09 +00:00
Calamares CI
1cfb85e4a2
[dummypythonqt] Automatic merge of Transifex translations
2017-04-19 00:36:04 +00:00
Alf Gaida
fe14559f2f
refine warn_text coding
...
fixed superfluous whitespace
2017-04-18 18:13:36 +02:00
Calamares CI
a67a4d80e8
[dummypythonqt] Automatic merge of Transifex translations
2017-04-18 02:48:17 +00:00
Calamares CI
5a25420e30
[dummypythonqt] Automatic merge of Transifex translations
2017-04-18 00:36:08 +00:00
Calamares CI
a1ef676711
[dummypythonqt] Automatic merge of Transifex translations
2017-04-17 02:48:34 +00:00
Calamares CI
6561672174
[dummypythonqt] Automatic merge of Transifex translations
2017-04-17 00:36:05 +00:00
Calamares CI
cd1b80afe9
[dummypythonqt] Automatic merge of Transifex translations
2017-04-16 02:48:22 +00:00
Calamares CI
7e87bc6b84
[dummypythonqt] Automatic merge of Transifex translations
2017-04-16 00:57:48 +00:00
Calamares CI
be9b816c24
[dummypythonqt] Automatic merge of Transifex translations
2017-04-15 02:48:24 +00:00
Calamares CI
afab75e50e
[dummypythonqt] Automatic merge of Transifex translations
2017-04-15 00:36:00 +00:00
Calamares CI
3b7a8e74fc
[dummypythonqt] Automatic merge of Transifex translations
2017-04-14 02:48:17 +00:00
Calamares CI
9bf503e156
[dummypythonqt] Automatic merge of Transifex translations
2017-04-14 00:36:37 +00:00
Calamares CI
5c685e6b2e
[dummypythonqt] Automatic merge of Transifex translations
2017-04-13 02:48:18 +00:00
Calamares CI
27c83662f9
[dummypythonqt] Automatic merge of Transifex translations
2017-04-13 00:39:59 +00:00
Calamares CI
ed508c6589
[dummypythonqt] Automatic merge of Transifex translations
2017-04-12 02:48:15 +00:00
Calamares CI
fc8e55b9ec
[dummypythonqt] Automatic merge of Transifex translations
2017-04-12 00:37:17 +00:00
Calamares CI
31520c3c5e
[dummypythonqt] Automatic merge of Transifex translations
2017-04-11 02:48:25 +00:00
Calamares CI
c067006ddf
[dummypythonqt] Automatic merge of Transifex translations
2017-04-11 00:37:30 +00:00
Alf Gaida
91c29defdf
Introduced help_desc = "foo"
2017-04-10 13:32:12 +02:00
Calamares CI
ad437b5fca
[dummypythonqt] Automatic merge of Transifex translations
2017-04-10 02:48:32 +00:00
Calamares CI
ab5a0720c4
[dummypythonqt] Automatic merge of Transifex translations
2017-04-10 00:37:22 +00:00
Calamares CI
a3de3de42d
[dummypythonqt] Automatic merge of Transifex translations
2017-04-09 02:48:33 +00:00
Calamares CI
6ce0c8581d
[dummypythonqt] Automatic merge of Transifex translations
2017-04-09 00:37:39 +00:00
Calamares CI
c753fb0544
[dummypythonqt] Automatic merge of Transifex translations
2017-04-08 02:48:30 +00:00
Calamares CI
49f2b4600e
[dummypythonqt] Automatic merge of Transifex translations
2017-04-08 00:37:37 +00:00
Calamares CI
db69b37646
[dummypythonqt] Automatic merge of Transifex translations
2017-04-07 02:48:28 +00:00
Calamares CI
2c4a851e1a
[dummypythonqt] Automatic merge of Transifex translations
2017-04-07 00:39:20 +00:00
Calamares CI
6f30d59a31
[dummypythonqt] Automatic merge of Transifex translations
2017-04-06 02:48:38 +00:00
Calamares CI
b7ef27c76b
[dummypythonqt] Automatic merge of Transifex translations
2017-04-06 00:37:47 +00:00
Calamares CI
1746cd2016
[dummypythonqt] Automatic merge of Transifex translations
2017-04-05 02:48:38 +00:00
Calamares CI
91214a5d76
[dummypythonqt] Automatic merge of Transifex translations
2017-04-05 00:37:39 +00:00
Calamares CI
9968d87fe5
[dummypythonqt] Automatic merge of Transifex translations
2017-04-04 02:48:35 +00:00
Calamares CI
38aa530d09
[dummypythonqt] Automatic merge of Transifex translations
2017-04-04 00:38:27 +00:00
Calamares CI
47c3a1340f
[dummypythonqt] Automatic merge of Transifex translations
2017-04-03 02:50:06 +00:00
Calamares CI
9fddbcfd0e
[dummypythonqt] Automatic merge of Transifex translations
2017-04-03 00:38:41 +00:00
Calamares CI
cffd665347
[dummypythonqt] Automatic merge of Transifex translations
2017-04-02 02:50:43 +00:00
Calamares CI
cf715fffde
[dummypythonqt] Automatic merge of Transifex translations
2017-04-02 00:37:32 +00:00
Calamares CI
7cf5a4e90b
[dummypythonqt] Automatic merge of Transifex translations
2017-04-01 02:48:35 +00:00
Calamares CI
743f98aaa4
[dummypythonqt] Automatic merge of Transifex translations
2017-04-01 01:01:09 +00:00
Philip Müller
a79a0b57ee
Merge pull request #709 from siduction/pep8-bootloader
...
Fixed two typos that leads to pep8 whining
2017-03-31 08:05:28 +02:00
Calamares CI
9a87c47a6f
[dummypythonqt] Automatic merge of Transifex translations
2017-03-31 02:48:38 +00:00
Calamares CI
59219cf171
[dummypythonqt] Automatic merge of Transifex translations
2017-03-31 00:37:47 +00:00
Calamares CI
81e8f9d90f
[dummypythonqt] Automatic merge of Transifex translations
2017-03-30 02:48:29 +00:00
Calamares CI
85742b28be
[dummypythonqt] Automatic merge of Transifex translations
2017-03-30 00:37:18 +00:00
Alf Gaida
33b5cefebb
Fixed pep8 whining in module mount
...
Added myself to copyright
2017-03-29 21:09:25 +02:00
Alf Gaida
c80fd08539
Fixed removeuser
...
Added missed bracket
2017-03-29 20:42:32 +02:00
Alf Gaida
122667f9a7
Fixed pep8 whining in module packages
2017-03-29 20:37:00 +02:00
Alf Gaida
d62eecd71e
Fixed two typos that leads to pep8 whining
2017-03-29 20:19:41 +02:00
Rohan Garg
65b5d67a08
Merge pull request #703 from agaida/pep8-dummypythonqt
...
Fix pep8 whining in module dummypythonqt
2017-03-29 12:22:10 +02:00
Rohan Garg
3851537a02
Merge pull request #700 from agaida/pep8-removeuser
...
Fixed pep8 whining in module removeuser
2017-03-29 12:14:30 +02:00
Rohan Garg
0d869fb1d9
Merge pull request #701 from agaida/pep8-machineid
...
Fixed pep8 whining in module machineid
2017-03-29 12:14:11 +02:00
Rohan Garg
8de97bc247
Merge pull request #704 from agaida/pep8-dummypython
...
Fixed pep8 whining in module dummypython
2017-03-29 12:11:52 +02:00
Rohan Garg
c1dacf93d9
Merge pull request #696 from siduction/fix-bootloader
...
WIP: fixes #692 bootloader module fails when /EFI/Boot exists
2017-03-29 12:11:29 +02:00
Calamares CI
a29338d04c
[dummypythonqt] Automatic merge of Transifex translations
2017-03-29 02:48:38 +00:00
Calamares CI
07fbb55327
[dummypythonqt] Automatic merge of Transifex translations
2017-03-29 00:37:39 +00:00
Calamares CI
c5b77e5c4d
[dummypythonqt] Automatic merge of Transifex translations
2017-03-28 02:48:26 +00:00
Calamares CI
89d29afe14
[dummypythonqt] Automatic merge of Transifex translations
2017-03-28 00:37:32 +00:00
Calamares CI
17d2afb65d
[dummypythonqt] Automatic merge of Transifex translations
2017-03-27 02:48:37 +00:00
Calamares CI
a7301b1233
[dummypythonqt] Automatic merge of Transifex translations
2017-03-27 00:58:28 +00:00
Calamares CI
7a65b1cec7
[dummypythonqt] Automatic merge of Transifex translations
2017-03-26 02:48:50 +00:00
Calamares CI
fd54eb177b
[dummypythonqt] Automatic merge of Transifex translations
2017-03-26 00:37:54 +00:00
Calamares CI
4edadcf4f0
[dummypythonqt] Automatic merge of Transifex translations
2017-03-25 02:48:31 +00:00
Calamares CI
48699f79dc
[dummypythonqt] Automatic merge of Transifex translations
2017-03-25 00:38:14 +00:00
Alf Gaida
c12f7f1d4c
fix mkdirs -> makedirs
2017-03-24 16:39:25 +01:00
Calamares CI
e0138641ba
[dummypythonqt] Automatic merge of Transifex translations
2017-03-24 02:48:27 +00:00
Calamares CI
f15e4b7b51
[dummypythonqt] Automatic merge of Transifex translations
2017-03-24 00:37:42 +00:00
Calamares CI
0956435d8f
[dummypythonqt] Automatic merge of Transifex translations
2017-03-23 02:48:32 +00:00
Calamares CI
fdde00239e
[dummypythonqt] Automatic merge of Transifex translations
2017-03-23 00:37:24 +00:00
Calamares CI
b4a6756425
[dummypythonqt] Automatic merge of Transifex translations
2017-03-22 02:48:25 +00:00
Calamares CI
418a97d7f2
[dummypythonqt] Automatic merge of Transifex translations
2017-03-22 00:37:43 +00:00
Alf Gaida
6273518cb1
Fixed pep8 whining in module removeuser
...
added myself to copyright
2017-03-21 23:06:51 +01:00
Alf Gaida
6adaa21a25
Fixed pep8 whining in module machineid
...
added myself to copyright
2017-03-21 22:45:12 +01:00
Alf Gaida
2f45dc0f5d
Fixed pep8 whining in module dummypython
...
added myself to copyright
2017-03-21 21:38:33 +01:00
Alf Gaida
9fbc1c462c
Fix pep8 whining in module dummypythonqt
...
added myself to copyright
2017-03-21 21:29:26 +01:00
Alf Gaida
1977a6ff70
Fixed pep8 whining in module plymouthcfg
...
added myself to copyright
2017-03-21 12:44:05 +01:00
Alf Gaida
5b7c237839
Fixed pep8 whining in module dracut
...
added myself to copyright
2017-03-21 12:33:26 +01:00
Calamares CI
76604d9821
[dummypythonqt] Automatic merge of Transifex translations
2017-03-21 02:48:31 +00:00
Calamares CI
2f41387636
[dummypythonqt] Automatic merge of Transifex translations
2017-03-21 00:37:37 +00:00
Alf Gaida
50cefe2ca8
fixes #692 bootloader module fails when /EFI/Boot exists
...
- to make it short - it doesn't help much if one try to find and process any
EFI related things in the live system. The better approach is to search in
the chroot.
- use python builtins for mkdir and cp
- replacing some subprocess calls
- Some PEP8 changes
- added myself to the copyright section
2017-03-20 14:47:39 +01:00
Calamares CI
1e26078459
[dummypythonqt] Automatic merge of Transifex translations
2017-03-20 02:48:32 +00:00