27 Commits (1452b747402928edf4ddd84431429ade859ebe82)

Author SHA1 Message Date
Adriaan de Groot 1452b74740 [welcome] Load potentially a list of URLs to check 5 years ago
Adriaan de Groot 33fec86ef6 [welcome] Improve logging of requirements-checking
- less chatty when 0-results come in
- compress the welcome debug to one output chunk
5 years ago
Adriaan de Groot a2180936ef CI: apply coding style across the entire codebase again 6 years ago
Adriaan de Groot 1cd9b93a22 REUSE: Giant boilerplate cleanup
- point to main Calamares site in the 'part of' headers instead
  of to github (this is the "this file is part of Calamares"
  opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
  this is the 3-paragraph summary of the GPL-3.0-or-later, which has
  a meaning entirely covered by the SPDX tag.
6 years ago
Adriaan de Groot 30a85668b7 REUSE: (GPL-3.0-or-later) C++ modules 6 years ago
Adriaan de Groot daf9451e69 [welcome] Warnings-- 6 years ago
Adriaan de Groot 2b0b873159 [welcome] Remove spurious logging 6 years ago
Adriaan de Groot 90f8e748ef [welcome] Improve debugging of general requirements
- distinguish 'this has not been checked' from 'checked and failed'
6 years ago
Adriaan de Groot 7d1800a0d7 [welcome] Apply coding style 6 years ago
Adriaan de Groot 8f581ca861 [welcome] Coding style
- apply coding style, add {}
 - remove unneeded includes (moved to the widgets)
 - update copyright
6 years ago
Adriaan de Groot 6b77d5db4a [welcome] Add detail messages for root and screen checks
- these were empty, so the widgets were hidden in the details
   dialog of the requirements check; which looks really strange
   if the reason the check fails is because root is required,
   and you can't see that in the details.

This commit is on a branch because it changes strings, and I want
to do a release Real Soon and not annoy the translators.
6 years ago
Adriaan de Groot 5cb0ee6cc5 [welcome] Simplify code
- Kevin Kofler pointed out there was a redundant else-if
 - Only use size for comparison if it's valid
6 years ago
Adriaan de Groot a70b7ad89e [welcome] Chase deprecations in Qt (screen geometry) 6 years ago
Adriaan de Groot b8bad1c0b4 [welcome] Drop unused includes 7 years ago
Adriaan de Groot e065008631 [welcome] Switch to the network service
- simplify configuration
 - use existing ping- and hasInternet()
7 years ago
Arnaud Ferraris 3929557a5a welcome: Fix requirements parsing
As the config files integer are now of type `QVariant::LongLong` instead
of `QVariant::Int`, requirements relying on this type were not parsed
correctly.

This patch fixes this, and adds an option to the python conversion to
take into account `QVariant::LongLong` types.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
7 years ago
Adriaan de Groot 502d43d111 [welcome] [partition] Rename GlobalStorage variable used for storage
- Change name passed into GS to use "GiB" instead of "GB", for
   consistency. This needs to be done in consumers as well.
7 years ago
Adriaan de Groot 599b34c70e [welcome] Rename GB variable to GiB
- User visible string with GiB
 - Update documentation in welcome.conf to match code
 - Rename variable because it was always GiB just named wrong
7 years ago
Adriaan de Groot cef2f50510 Reduce warnings about extra ;
- Trailing ; after Q_UNUSED
 - Trailing ; after CALAMARES_RETRANSLATE
7 years ago
Adriaan de Groot 6cfb5a9c88 [welcome] Reduce unused-parameter warnings
- Don't use this if we don't need it (QObject::tr is static).
 - C++14 allows (copy) binding to arbitrary expresstions in lambda's,
   so detach from this.
7 years ago
Arnaud Ferraris 866afcfe47 [welcome] Adjust checker-messages for setup mode
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
7 years ago
Adriaan de Groot bc26c3e009 [welcome] Remove unused method
- This **should** be used, though. See #1104. It should be used
   somewhere else.
7 years ago
Adriaan de Groot 33bd6c67c0 [welcome] Without libparted, don't even check size available 7 years ago
Adriaan de Groot 9889bd6cbe [welcome] Be louder when libparted is disabled 7 years ago
Adriaan de Groot 2cdfe35430 [welcome] Avoid threading warnings
- The NAM is being created from a method call on the GeneralRequirements
   object in the requirements-checking thread, while the GR object itself
   was created in a different thread. This cross-thread parenting
   produces a warning, and we don't need the parent relationship here
   anyway.
7 years ago
Adriaan de Groot a19d81e38c [welcome] Chase renaming of files
- Rename the classes to match
 - Drop some unused includes
7 years ago
Adriaan de Groot c1cd88d5fa [welcome] Rename files before class-rename 7 years ago