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
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
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
a732ce11bc
[libcalamares] Warn more about badly-formed config
2018-06-11 08:35:35 -04:00
Adriaan de Groot
a626e52bf3
[libcalamares] Introduce more descriptive type name
2018-06-08 17:36:29 -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
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