Artem Grinev
996c82160e
[keyboard] fixed typo
4 years ago
Adriaan de Groot
4a3273d634
[keyboard] Remove superfluous variable (set to true, never changed)
4 years ago
Artem Grinev
bfc60ad2cf
[keyboard] Implemented X11 config writing for additional layout
4 years ago
Artem Grinev
0dd027af90
[keyboard] Fixed condition bug
4 years ago
Artem Grinev
19b1fb3358
[keyboard] Added explanatory comment for xkbmap_query_grp_option
4 years ago
Artem Grinev
384b1ba8c6
[keyboard] Swapped primary and additional layouts in selection
4 years ago
Artem Grinev
354dc1613a
[keyboard] Removed unnecessary repacking in xkbmap_layout_args
4 years ago
Artem Grinev
09b5e42734
[keyboard] Minor additional layout info rework
4 years ago
Artem Grinev
17b9647016
[keyboard] Support for additional layout if current layout is not ASCII-
...
capable in live system
4 years ago
Adriaan de Groot
8cf3bd23b9
[keyboardq] Remove superfluous variable (set to true, never changed)
4 years ago
Adriaan de Groot
734dbece8a
[keyboardq] Fix include style, remove unnecessary declarations
4 years ago
Adriaan de Groot
0947cd8354
[keyboard] Migrate to Config::onActivate() which is badly-named
4 years ago
Adriaan de Groot
0ffa500432
[keyboard] Remove unused code
...
- this has already migrated to Config but had not been removed locally
4 years ago
Adriaan de Groot
35a2bd3f0f
[keyboard] Use Config's own finalize()
4 years ago
Adriaan de Groot
14c079d1d6
[keyboard] Replace own copy of status by the one from Config
4 years ago
Adriaan de Groot
acb5190217
[keyboard] Use Config methods rather than own copy
...
- this continues the port of the keyboard module to use the Config
object, which was horribly botched earlier.
4 years ago
Adriaan de Groot
679f613955
[keyboard] Rename mysterious Config::init() to descriptive name
4 years ago
Adriaan de Groot
a940be2bb4
[keyboardq] Load configuration into Config object
4 years ago
Adriaan de Groot
8142d6f86c
[keyboardq] Drop unnecessary variable -- just use the Config status
4 years ago
Adriaan de Groot
83b06fe3cb
Changes: credits for this round
4 years ago
Adriaan de Groot
98c7cec732
CMake: restore NOTREACHED, without the macro-mess
...
- gcc (up to at least version 10) is worse at recognizing that all
cases have been handled, so it complains about all the switches
that cover enum values.
4 years ago
demmm
f6e6774f92
[keyboardq] fix build
4 years ago
Adriaan de Groot
fea403186f
[libcalamares] Search for balance between warnings and annotations
...
- CI's gcc is too old to analyse a switch() for completeness,
so the CI build fails.
4 years ago
Adriaan de Groot
478c394d99
[partition] Don't needlessly expose a test symbol
4 years ago
Andrius Štikonas
f629826d40
README: switch to C++17.
4 years ago
Adriaan de Groot
2b9fa0f982
CMake: drop the NOTREACHED macro
...
- both clang and g++ support __builtin_unreachable(); (as Kevin
Kofler pointed out) so we don't need the macro to do different things;
- the compilers have gotten better at detecting unreachable code,
so instead of inserting macros or fiddly bits, just drop them
and the unreachable code they comment.
4 years ago
Adriaan de Groot
9a2fca7f5b
CMake: prefer normal C++17 [[fallthrough]] annotation
4 years ago
Adriaan de Groot
364d50679f
CMake: don't put linker flags in compile-flags variables
4 years ago
Adriaan de Groot
7fa1c1b787
[libcalamares] Avoid object-slice
...
g++ warns that error_already_set is polymorphic, and we're catching
by-value (although we don't use that value). Avoid that.
4 years ago
Adriaan de Groot
84936a95fc
[libcalamaresui] Warnings-- for Qt 5.15 deprecations
...
Introduce a GUI-oriented compatibility header that introduces aliases
for some enum values that are deprecated in Qt 5.15
4 years ago
Adriaan de Groot
b28a50de6f
[libcalamares] Remove useless variable
...
- describe() is for debugging purposes, doesn't need to calculate
whether the requirements are accepted.
4 years ago
Adriaan de Groot
6c7d295712
CMake: simplify C and C++ flags
...
- reduce the difference between clang and g++ builds, factor
common flags out of the CMake-if
- drop special boost-warning-suppression, we do that differently
most of the time in the affected source files
4 years ago
Adriaan de Groot
00fa911f72
CMake: switch to C++17
4 years ago
Adriaan de Groot
27f6eaaf75
[partition] Remove unused variables
4 years ago
Adriaan de Groot
89b1f8d96b
[partition] Warnings-- in tests related to virtual destructors
4 years ago
Adriaan de Groot
01b75ef4b5
[partition] Use C++-style cast
4 years ago
Adriaan de Groot
6605e11394
[partition] Warnings-- in test: don't expose internal variable
4 years ago
Adriaan de Groot
cb2b53ebf3
Merge remote-tracking branch 'origin/issue-1515' into calamares
4 years ago
Adriaan de Groot
d7e64de24a
[partition] Adjust docs to function
...
- @params referring to things that don't exist
- @brief that is 3 lines long
4 years ago
Adriaan de Groot
eb8e95bb87
[partition] Warnings--, explain why we're using a void*
4 years ago
Adriaan de Groot
9910b23152
[partition] Avoid uninitialized variable
...
- if the partition size is invalid, then warn about it but do
not print the (uninitialized) size of the partition.
- shuffle code to continue earlier, allowing the "good path"
code to be out-dented.
4 years ago
Adriaan de Groot
687a795b71
[partition] Warnings-- by initialization order
4 years ago
Adriaan de Groot
44a11bd93b
[partition] Initialize in the initializer list, if possible
4 years ago
Adriaan de Groot
51b47862cd
[partition] Mark destructors `override`
...
This reduces compiler warnings related to virtual-overriding
functions: all the destructors are virtual.
4 years ago
Adriaan de Groot
697ee6f65f
CI: accept clang-format90 (FreeBSD naming style)
4 years ago
Adriaan de Groot
aa6109d470
[machineid] Improve config-documentation
4 years ago
Adriaan de Groot
daeee09fdb
[machineid] Simplify loading of the list of entropy-files
4 years ago
Adriaan de Groot
275e6b9342
Merge pull request #1542 from gportay/fix-message-if-no-option-available
...
[partition] Fix message user if no option available
4 years ago
Adriaan de Groot
9e624c7bd5
[unpackfs] Fix schema validation
...
- the *weight* key was introduced without a corresponding schema
change, so the examples didn't validate anymore.
4 years ago
Adriaan de Groot
0d4d3e3c4d
[users] Set up GS rootMountPoint for test
4 years ago