Adriaan de Groot
a2b70ee1d4
Fix code using re-imported spinner
2017-09-21 02:46:51 -04:00
Adriaan de Groot
92fa40b922
Replace memory-size detection.
...
- drop use of dmidecode to determine exact physical memory size
- use sysinfo() to find memory size (assumes linux 2.3.48 or later)
2017-09-21 02:46:27 -04:00
Adriaan de Groot
57e5e9582f
Refactor password-errors-indication (again)
...
- set message and status icon in one go
- only check until an error is found
- Mark TODO for passwordRequirements
2017-09-21 02:46:10 -04:00
Adriaan de Groot
ab67b7d2f1
Passwords: introduce password-checking
...
- Introduce a map 'passwordRequirements' in users.conf,
which is a list of named requirements. There are only
two settings right now, min and max length, but
additional checks can easily be added in UsersPage.cpp
by defining additional lambda's to check the given
password string.
- Add PasswordCheck instances as needed, with functions
to check acceptability and to produce messages on rejection.
- Documentation in the users.conf file itself.
- In passing, refactor setting of pixmaps on labels.
FIXES #790
2017-09-21 02:45:56 -04:00
Adriaan de Groot
decf83d403
Replace scandir with listdir, simplify loop
...
FIXES: ??
2017-09-21 02:45:23 -04:00
Adriaan de Groot
a4a05acc61
Remove more crashreporter references
2017-09-20 09:25:05 +02:00
Adriaan de Groot
af2643cdfc
Clang: warnings-- (unused, init-order)
2017-09-20 09:24:33 +02:00
Adriaan de Groot
81db2bad5f
CMake: refactor boost.python search
...
- improve description of Python dependencies
- refactor search per python-version-style
- report on features and found boost modules the standard way
2017-09-23 10:22:41 -04:00
Adriaan de Groot
6f1f08f728
Restore Boost.Python detection.
...
FIXES #817
2017-09-23 02:57:26 -04:00
Philip
d20285d4f2
[modules] displaymanager: try to fix regression introduced with c8fd11b
2017-09-21 13:08:13 -04:00
Adriaan de Groot
aa789bc8e9
CMake: improve reporting on dependencies
2017-09-21 06:47:58 -04:00
Adriaan de Groot
40c49bd50d
Clang: be more explicit about marking third-party code.
...
- This is only a partial solution to warnings caused by third-party
code, since #including the headers from other sources won't apply
the warning-suppressions.
- Flags are not applied when building the source as part of a larger
target, but are on re-building just one object (it seems -- CMake
issue to track down).
2017-09-21 04:53:09 -04:00
Adriaan de Groot
d89b17a244
Clang: partman_devices.c is not, in fact, C++ code
2017-09-21 04:16:35 -04:00
Adriaan de Groot
e3e519c06f
Clang: reduce warnings, nullptr, unused parameters
2017-09-21 04:04:01 -04:00
Adriaan de Groot
34761c4214
Clang: reduce 0-as-nullptr warnings
2017-09-20 09:24:22 -04:00
Adriaan de Groot
337903db09
Clang: reduce warnings about overriden destructors
2017-09-20 09:11:18 -04:00
Adriaan de Groot
9693d7a5bd
Memory: clean up interface used to get memory (RAM) size
2017-09-20 09:11:02 -04:00
Adriaan de Groot
0c129f2460
Reduce third-part warnings a better way.
...
Thanks to Kevin Kofler for pointing out what I'd forgotten about
source-file flags. While at it, introduce a generic mechanism for
suppressing warnings in third-party code.
Mostly reverts 4930484931
2017-09-19 16:49:14 +02:00
Adriaan de Groot
b04a890798
Fix code using re-imported imageregistry
2017-09-19 16:49:14 +02:00
Adriaan de Groot
6010805935
Licensing: add header to imageregistry copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:26 +02:00
Adriaan de Groot
a65bc7d756
Licensing: re-import ImageRegistry
...
- include full license headers,
- copied from
- repo: https://github.com/tomahawk-player/tomahawk/
- rev: 00f602e10203b76fc28b4615868c567e6bd4ced4
- path: src/libtomahawk/utils/ImageRegistry.cpp
2017-09-19 16:26:26 +02:00
Adriaan de Groot
d23818b27c
Fix code using re-imported spinner
2017-09-19 16:26:26 +02:00
Adriaan de Groot
d2d59e6206
Licensing: add header to QtWaitingSpinner copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:26 +02:00
Adriaan de Groot
553a66b326
Licensing: re-import QtWaitingSpinner
...
- include full license headers,
- copied from
- repo: https://github.com/snowwlex/QtWaitingSpinner
- rev: bb8f8987ca19406dc75704eb382ab52e981b773f
This revision *does not build* because the files have been renamed.
2017-09-19 16:26:26 +02:00
Adriaan de Groot
24f26ee7c8
Licensing: add header to QJsonModel copyright
...
- mention that this is shipped as part of Calamares
- SPDX info
2017-09-19 16:26:23 +02:00
Adriaan de Groot
e5c0854e66
Licensing: re-import GPLv3 version of QJsonItem
...
- include full license headers,
- copied from
- repo: https://github.com/dridk/QJsonmodel
- rev: fbd4fb3b1c1311f69cd8ada9bbb7a89fd6fe171e
2017-09-19 15:57:46 +02:00
Adriaan de Groot
13807ceabf
Licensing: add self
...
- to all the files I've touched recently
- to (very incomplete) AUTHORS list
Licensing: add license info to top-level CMakeLists.txt
2017-09-19 15:57:25 +02:00
Adriaan de Groot
6d880b5631
Replace memory-size detection.
...
- drop use of dmidecode to determine exact physical memory size
- use sysinfo() to find memory size (assumes linux 2.3.48 or later)
2017-09-19 15:57:25 +02:00
Adriaan de Groot
1c52f961a6
Refactor password-errors-indication (again)
...
- set message and status icon in one go
- only check until an error is found
- Mark TODO for passwordRequirements
2017-09-19 15:57:13 +02:00
Adriaan de Groot
d839f8e0b3
Passwords: introduce password-checking
...
- Introduce a map 'passwordRequirements' in users.conf,
which is a list of named requirements. There are only
two settings right now, min and max length, but
additional checks can easily be added in UsersPage.cpp
by defining additional lambda's to check the given
password string.
- Add PasswordCheck instances as needed, with functions
to check acceptability and to produce messages on rejection.
- Documentation in the users.conf file itself.
- In passing, refactor setting of pixmaps on labels.
FIXES #790
2017-09-19 00:12:44 +02:00
Adriaan de Groot
c2a69ea943
i18n: cleanup after txpull
...
- remove extra .desktop files created in lang/
- remove annoyingly-doubled # Translations comment
2017-09-18 15:50:00 +02:00
Calamares CI
6271dd39e9
[python] Automatic merge of Transifex translations
2017-09-18 15:50:00 +02:00
Calamares CI
299e7b16d5
[desktop] Automatic merge of Transifex translations
2017-09-18 15:50:00 +02:00
Calamares CI
f309e777c7
[core] Automatic merge of Transifex translations
2017-09-18 15:19:24 +02:00
Adriaan de Groot
ddb6455365
Revert be2338ff0
(intended just to reduce warnings)
...
- keep the calamaresstyle formatting changes,
- drop shadowing and nullptr changes.
FIXES #805
2017-09-18 15:11:18 +02:00
Adriaan de Groot
a14e98ce95
Crashreporter: remove further reference to removed lib
2017-09-18 15:02:35 +02:00
Adriaan de Groot
4930484931
CMake: massage build of libcalamares
...
- Build also two OBJECT libraries,
- Allow changing Clang warnings for third-party code.
2017-09-18 14:59:53 +02:00
Adriaan de Groot
eede92646d
CMake: shuffle includes, drop useless (empty) QT_INCLUDE_DIR
2017-09-18 12:32:37 +02:00
Adriaan de Groot
ddf7b7fc90
CMake: remove superfluous indirection
2017-09-18 12:12:10 +02:00
Adriaan de Groot
5f213c0ec4
CMake: tidy way of adding Clang warnings
2017-09-17 07:01:59 -04:00
Adriaan de Groot
a266ecb133
CMake: simplify definitions, distinguish kinds of sources
2017-09-17 06:48:07 -04:00
Philip
1e00813341
[branding] don't use minor version
2017-09-16 14:02:13 -04:00
Adriaan de Groot
e5b59d472e
Clang: warnings--
2017-09-16 10:36:40 -04:00
Adriaan de Groot
706ac47111
Clang: reduce warning settings
...
- turn off warnings for missing prototypes (for now) because of MOC
- turn off warnings about docs
2017-09-16 10:36:24 -04:00
Adriaan de Groot
c8fd11b103
Replace scandir with listdir, simplify loop
...
FIXES: ??
2017-09-16 07:01:55 -04:00
Gabriel C
eaea0e93ce
CreateUserJob: do not force any autologin group
...
There is no need to force folks haing a random group
bc that is a Distro think. SDDM/GDM works just fine without
having a group for the user to autologin.
Just setup a group in users.conf .. is why we have a configuration
option for that.
2017-09-14 08:15:51 -04:00
Adriaan de Groot
fa6728b47c
FS: use untranslated name to identify filesystem
...
Resolves issue where 'linuxswap' is translated to 'Linux-Swap',
for instance. FileSystem::name() provides a translated name,
not an untranslated one.
This should move to KPMCore.
FIXES #797
2017-09-14 08:15:00 -04:00
Philip
174800b262
Revert "[modules] work on #797 and #796 "
...
This reverts commit 80b1a7e0b6
.
2017-09-14 08:13:40 -04:00
Philip
ca4dd17139
Revert "[modules] work on #797 and #796 "
...
This reverts commit fcc23b98d2
.
2017-09-14 08:12:56 -04:00
Philip
c53e3c2c54
Revert "[fstab] work on #797 and #796 "
...
This reverts commit 084a7ea651
.
2017-09-14 08:12:21 -04:00