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
Adriaan de Groot
63196ab58f
[users] Avoid crashes in tests due to nullptr GS
4 years ago
Adriaan de Groot
c412e285c2
[libcalamares] Link publicly to yaml-cpp
...
Needed on FreeBSD, where you otherwise might not get the
include paths for yaml-cpp added -- and utils/Yaml.h
expects them to be there.
4 years ago
Adriaan de Groot
cd8c3089cb
[users] Fix build: renamed moc file
4 years ago
Gaël PORTAY
d91683eec6
[partition] Fix message user if no option available
...
The button m_eraseButton is not tested while the button
m_somethingElseButton is tested twice.
4 years ago
Adriaan de Groot
89d495d5fb
[users] Rename file to match its purpose
4 years ago
Adriaan de Groot
5b4f9d0b98
[users] Adjust tests for changed API
4 years ago
Adriaan de Groot
f1772a7eae
[users] Create groups in a separate job
4 years ago
Adriaan de Groot
03541470d5
[users] Handle system-group creating specially
4 years ago
Adriaan de Groot
fa1d314b13
[users] Refactor group-creation into separate Job
4 years ago
Adriaan de Groot
3d289f345a
[users] Refactor users functionality to a static lib
...
- this makes it less fragile to share all the functionality
with usersq, since it ends up in the library which is shared
between the modules.
4 years ago
Adriaan de Groot
6560ef00a1
[usersq] Fix build of usersq after refactor elsewhere
4 years ago
Adriaan de Groot
29e6934672
[users] Factor out Sudo creation into separate job
4 years ago
Adriaan de Groot
0cb6c89876
[netinstall] Don't update selection state for items with no children
...
The special setup for nicely-named groups which have a single
hidden subgroup containing the actual packages, has the problem
that there is a non-empty subgroups item, but this results
in zero actual children: then the number of selected and partly
selected children is also zero in updateSelected() and therefore
the item ends up unselected.
Special-case this to avoid unnecessarily unselecting the item.
Reported by Vitor L.
4 years ago
Adriaan de Groot
328a5bbbfb
[users] Don't allow continuing with an empty login name
...
The status for an empty login name is '' (empty), for ok -- this is
so that there is no complaint about it. But it's not ok to
continue with an empty name.
4 years ago
Adriaan de Groot
bf50f8724d
Changes: post-release housekeeping
4 years ago
Adriaan de Groot
27dc81f8b9
[partition] Fix typo in debug message, reported by Kevin Kofler
4 years ago