Adriaan de Groot
3ade1fd84a
Merge branch 'add-automount-control' into calamares
6 years ago
Adriaan de Groot
b709ba7a5b
Merge pull request #1590 from deprov447/Back/Next_buttons_at_installation
...
Navigation buttons hideability during installation
6 years ago
Adriaan de Groot
9482935034
Merge pull request #1572 from gportay/partition-output-more-things-in-overiew
...
[partition] output more things in overiew
6 years ago
Gaël PORTAY
bf9c9a64f1
[libcalamares] Introduce new function getPartitionTable
6 years ago
Adriaan de Groot
132ff59d9c
[libcalamares] Make running commands less chatty
...
If there's no output, don't mention it; don't mention failure modes
if the command was successful.
6 years ago
Adriaan de Groot
a3eae323f1
[libcalamares] Rename test-executable: avoid clashes with 'cala<tab>'
6 years ago
Adriaan de Groot
d74bdbcfd0
[libcalamares] coding-style, logging in calautomount
6 years ago
Adriaan de Groot
3150785ff1
[libcalamares] Use shared_ptr instead of unique_ptr
...
The value inside a unique_ptr can't be opaque, it needs to be known
at any site where the pointer may be deleted. shared_ptr does not
have that (deletion is part of the shared_ptr object, which is larger
than the unique_ptr) and so can be used for opaque deletions.
6 years ago
Adriaan de Groot
1c4bf58fb4
[libcalamares] automount-manipulation test-program
6 years ago
Adriaan de Groot
f0a33a235c
[libcalamares] Make automountDisable() more flexible
6 years ago
Adriaan de Groot
9e6bddf31a
[partition] Add new AutoMount-manipulating helpers
6 years ago
Adriaan de Groot
1c285f011b
[libcalamares] Export partition-syncer symbols
6 years ago
Anubhav Choudhary
0f2320bd47
Initializing bools in settings.h
6 years ago
Anubhav Choudhary
03d1fe434c
Navigation button hideability added
6 years ago
Adriaan de Groot
f4133a97db
[libcalamares] Make test a bit more verbose (before failing)
6 years ago
Adriaan de Groot
fa7d2bda16
[libcalamares] Misplaced space in a test-filename
6 years ago
Adriaan de Groot
b4aca7e188
[libcalamares] Tidy up documentation for System::runCommand
...
- Make explicit which one runs in the host, which one is selectable.
- Document *location* parameter in the selectable version.
- Tidy up alignment of apidox.
6 years ago
Adriaan de Groot
83b2b95381
[libcalamares] Reduce object churn
...
- we don't need to allocate a new translator each time the language changes
6 years ago
Adriaan de Groot
59255c7a57
Changes: apply coding style
6 years ago
Adriaan de Groot
be7b63051e
Enable keyboard-model and layout-name translations.
...
SEE #1515
6 years ago
Adriaan de Groot
0bad5469fc
[libcalamares] Fix tests failures from JobQueue asserts
...
Some compile flags changed recently, triggering assert()
in the jobqueue when there is more than one. There's no
real reason for JobQueue to be a singleton, but it wants
to be. So clean up pointers a little more enthusiastically.
6 years ago
Adriaan de Groot
4a08fdbb92
[partition] Reduce warnings from KPMCore
...
- make KPMHelper.h an "everything include" and suppress warnings
from it, then use it in the tests.
6 years ago
Adriaan de Groot
d26fde6647
[partition] Reduce warnings
...
- Add a helper header that munges the warnings-settings so that
KPMcore headers can be included.
6 years ago
Adriaan de Groot
b72eba8157
[libcalamares] Extend the Deleter-helper with "preserve"
...
Sometimes you want to keep the thing around after all.
6 years ago
Adriaan de Groot
7659dfdb9d
[libcalamares] Expose a translations-loading function
6 years ago
Gaël PORTAY
03df5f6891
[libcalamares] Fix constness of functions
6 years ago
Gaël PORTAY
aec066359a
[libcalamares] Fix coding style
6 years ago
Adriaan de Groot
ac6c9fae4a
[libcalamares] Do not use moved-from object
6 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.
6 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.
6 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.
6 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.
6 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.
6 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
6 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.
6 years ago
Adriaan de Groot
3313a5341d
[partitions] Adapt to KPMcore 4.2 changes
6 years ago
Adriaan de Groot
81f12cb230
[libcalamares] Do GeoIP lookups with a fake User-Agent
6 years ago
Adriaan de Groot
3b14e354b0
[libcalamares] Log more HTTP errors during requests
6 years ago
Adriaan de Groot
436e1de820
[libcalamares] Be more chatty in GeoIP test application
6 years ago
Adriaan de Groot
86fd014bbd
[libcalamares] Fallback from status -> description -> name for progress
6 years ago
Adriaan de Groot
2f83d85e29
[libcalamares] Explain process failure in debug log a bit better
6 years ago
Adriaan de Groot
a955791766
Apply coding style globally again
6 years ago
Adriaan de Groot
9ce08beead
[libcalamares] Fix build
...
- The API definitions are just the symbols to define; these
are variously added through add_definitions() (needs -D)
or target_add_definitions() (doesn't).
6 years ago
Adriaan de Groot
40aa0fcaba
CMake: add a helper module for finding KPMcore
...
I think we had this (kind of) module a long time ago and it was
removed for over-complicating things; re-introduce one now that
KPMcore is used in 3 different places and all would benefit
from consistent API handling / defines.
6 years ago
Adriaan de Groot
faa496be4a
Merge pull request #1522 from kadler15/issue-1521
...
[preservefiles] Fix global storage JSON dump
6 years ago
Adriaan de Groot
44f8a7ae47
[libcalamares] Reduce chattiness again of job progress
6 years ago
Kris Adler
e92927cff9
[preservefiles] Fix global storage JSON dump
...
fixes calamares/calamares#1521
6 years ago
Adriaan de Groot
ace6323987
[libcalamares] Be even more chatty in job progress
...
This is for debugging-job-progress reports.
6 years ago
Adriaan de Groot
75b01cfc0a
[libcalamares] Some debugging output for job progress, so you can double-check that the settings are being picked up
6 years ago
Adriaan de Groot
2878c474c5
Warnings-- (~T() override)
...
Change all the places that had
virtual ~T() override
to the less redundant form without override.
6 years ago