5307 Commits (7d0874e23b439aa1c873da0092a5778e701e5efc)
 

Author SHA1 Message Date
Adriaan de Groot a1e08d2236 [keyboard] Don't use useless rvalue-ref
- Weird && usage here made redundant through RVO, just return
   something normally instead.
6 years ago
Adriaan de Groot 123c774a47 Use new automoc options 6 years ago
Adriaan de Groot bdb7bf71a8 Reduce warnings from moc-generated code
- The auto-generated code produces a lot of warnings from
   Clang 8; this obscures the more meaningful warnings from
   actual Calamares code, so tone the warnings down.
 - For Clang, set CALAMARES_MOC_OPTIONS.
 - Add convenience CMake function for automoccing. It applies
   the options as needed to a given target.
6 years ago
Adriaan de Groot cef2f50510 Reduce warnings about extra ;
- Trailing ; after Q_UNUSED
 - Trailing ; after CALAMARES_RETRANSLATE
6 years ago
Adriaan de Groot c83395ff6d Reduce warnings for yaml-cpp
- Use only utils/YamlUtils.h to pull in yaml-cpp and supporting code.
 - When compiling with clang, turn off warnings that the system header
   for yaml-cpp would generate.
6 years ago
Adriaan de Groot 27140ff5bb [libcalamares] Reduce warnings in KDAB code
- This is an older copy of kdsingleapplicationguard, now updated for
   C++11 warnings; removed __ in header guards, fixed up last of 0-for-
   nullptr, signedness mismatch.
6 years ago
Arnaud Ferraris 123222c0a8 Add global checks for partition layout
This commit adds several checks while reading the configuration of the
`partition` module, in case the partition layout configuration is
misformed. If an error is encountered, an message is printed to the
console and the module reverts to the default partition layout.

Checks are also added when implementing the partition layout, in case a
problem occurs that couldn't be anticipated (for example, when a
partition size is in %, checking its absolute value require knowing the
total device size, which is not the case when the configuration is
being read).

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
6 years ago
Arnaud Ferraris d32733bf59 Switch to using PartSize class for partition sizes
Every call of `ParseStringSize` is replaced by using an instance of the
`PartUtils::PartSize` class.

This commit also removes the now-unused previous size parsing functions.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
6 years ago
Arnaud Ferraris 3a58ae5e8b Introduce new partition size class based on NamedSuffix
In order to maintain consistency, and make use, create a new PartSize
class in the PartUtils namespace, which inherits from NamedSuffix for
easier parsing and handling of size strings.

The switch to using this class instead of the previous functions will be
done in a follow-up commit.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
6 years ago
Arnaud Ferraris 680b0bc472 Add missing header to NamedEnum
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
6 years ago
Adriaan de Groot 92b60dac65 [libcalamares] Warnings-- over extra ; 6 years ago
Adriaan de Groot 620940c75b [libcalamaresui] Drop now-unused sortKey from LocaleLabel
- sortKey is unused
 - add englishLabel for reverse-i18n
6 years ago
The feren OS Dev a7ac046b3d
Update copyright headers 6 years ago
The feren OS Dev 9cafd0a495
Update copyright headers 6 years ago
The feren OS Dev 455505ba78
Update copyright header 6 years ago
The feren OS Dev 825c92582a
Update ViewManager.cpp 6 years ago
The feren OS Dev 700e6f0ec6
Update Settings.h 6 years ago
The feren OS Dev 6d6c152f70
Update Settings.cpp 6 years ago
The feren OS Dev d31f2d2116
Update Settings.cpp 6 years ago
The feren OS Dev 02d6e1a946
Update Settings.cpp 6 years ago
The feren OS Dev 08249af716
Add 'dont-cancel' to settings.conf 6 years ago
The feren OS Dev 3a8a8d3f17
Update CHANGES 6 years ago
The feren OS Dev a79dfa4135
Added myself to the copyright header 6 years ago
The feren OS Dev c0d61b666d
Made amendments based on review
Fixed 'prepend' terminology in comments, restored old loop as it seems to work for me now in overwriting the file as one overall multiline instead of overwriting the file with each line at a time, code simplification based on review comments... credits-adding will come in the next commit.
6 years ago
Adriaan de Groot 5e951466df [libcalamaresui] Sort languages by ISO code
- this puts the Englishes together, and is less confusing than
   sorting with American first.
6 years ago
Adriaan de Groot 5994e9b4ce Changes: document what this branch will do 6 years ago
Adriaan de Groot 1f66062c81 CMake: bump version, new stub in CHANGES 6 years ago
Adriaan de Groot c6d51f2527 CHANGES: Fix release date of 3.2.5 6 years ago
Adriaan de Groot 44de004068 CHANGES: Fix up Caio's name 6 years ago
Adriaan de Groot 329bd36929 [libcalamares] Sanitize logging 6 years ago
Adriaan de Groot 93be1a6582 [partition] Remove confusing spaces in logging 6 years ago
Adriaan de Groot dbac9ecf7b [partition] Remove unused code
- The name table is in PartitionActions::Choices
6 years ago
Adriaan de Groot d2404851cd [partition] Reduce warnings (shadow, ;, types) 6 years ago
Adriaan de Groot 1a4a265262 [partition] Refactor check for ISO9660 6 years ago
Adriaan de Groot 75f1a05fec [partition] No copy-constructor for CDebug 6 years ago
Adriaan de Groot 009dfd7de5 [locale] Reduce warnings (shadowed global) 6 years ago
The feren OS Dev 3ecd031d9d
Better LightDM Autologin Support
This change fixes a few issues and adds a few improvements to the LightDM Autologin configuration process:

Fixes:

- Fixes malforming of configuration file out of the box, as without `[SeatDefaults]`, `[Seat:*]` or similar in the configuration file LightDM will break on a lot of distributions using LightDM

- Preserves the intended lightdm.conf file settings outside of `autologin-user` if the distribution has an /etc/lightdm/lightdm.conf file of its own

Misc. changes:

- Small spelling fix
6 years ago
Adriaan de Groot 094110dccf CI: make the release script more flexible 6 years ago
Calamares CI 189b33a376 i18n: [python] Automatic merge of Transifex translations 6 years ago
Calamares CI b1a8043ee7 i18n: [calamares] Automatic merge of Transifex translations 6 years ago
Adriaan de Groot ef3b4c387c [libcalamaresui] Remove unused AbstractPage 6 years ago
Adriaan de Groot 4fec6731ba [calamares] [libcalamaresui] Improve includes
- avoid useless ../
 - sort alphabetically and by kind
6 years ago
Adriaan de Groot 7efcc1e52e Merge branch 'logging-consistency' 6 years ago
Adriaan de Groot 520478847c Make logging more consistent.
- Across all the C++ modules, use Logger::SubEntry for sub/continues
   log lines, instead of somewhat-random indent strings.
6 years ago
Adriaan de Groot d6cf0617f6 [libcalamaresui] Make logging more consistent 6 years ago
Adriaan de Groot aaeea16871 [libcalamares] Make logging more consistent 6 years ago
Adriaan de Groot 8bb07528e2 [calamares] Make logging output more consistent
- Use Logger::SubEntry instead of various indents
 - Improve wording of message
6 years ago
Adriaan de Groot 5677a4bb28 [finished] Fix up string arguments
- The "set up" message only uses one argument.
6 years ago
Adriaan de Groot 81bd173b7e Merge branch 'improve-logger' 6 years ago
Adriaan de Groot 63b317902d [libcalamares] [partition] Adjust to logging changes
- Use the un-paren'ed Continuation and SubEntry
6 years ago