Adriaan de Groot
6dfcbd757b
[welcome] Remove superfluous call to QColor::value()
2019-11-26 17:34:25 +01:00
bill-auger
ee85f6bfa7
replace hard-coded bg color of requirements failure notice with relative tint
2019-11-12 09:17:11 -05:00
Adriaan de Groot
b8bad1c0b4
[welcome] Drop unused includes
2019-08-22 16:16:29 +02:00
Adriaan de Groot
e065008631
[welcome] Switch to the network service
...
- simplify configuration
- use existing ping- and hasInternet()
2019-08-20 10:57:34 -04:00
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>
2019-08-12 15:48:48 +02:00
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.
2019-05-06 16:39:14 +02:00
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
2019-05-06 16:31:23 +02:00
Adriaan de Groot
30a306f1b4
[welcome] Make check consistent with verbiage
...
SEE #1129
2019-05-06 16:18:19 +02:00
Adriaan de Groot
cef2f50510
Reduce warnings about extra ;
...
- Trailing ; after Q_UNUSED
- Trailing ; after CALAMARES_RETRANSLATE
2019-04-18 12:06:09 +02:00
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.
2019-04-11 12:29:17 +02:00
Arnaud Ferraris
866afcfe47
[welcome] Adjust checker-messages for setup mode
...
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
2019-04-08 13:42:15 +02:00
Adriaan de Groot
8ee2375ee6
[welcome] Adjust welcome message to setup-mode
2019-04-01 06:16:37 -04:00
Adriaan de Groot
bc26c3e009
[welcome] Remove unused method
...
- This **should** be used, though. See #1104 . It should be used
somewhere else.
2019-03-11 17:25:21 -04:00
Adriaan de Groot
4d8acdf425
[welcome] Code-formatting
...
- Update copyright headers
- Apply calamaresstyle
2019-02-26 06:26:20 -05:00
Adriaan de Groot
54ba0aaf13
[welcome] Use convenience function
...
- Introduce a hasDetails() for RequirementEntry, which is just
a short-cut, but makes code more readable.
2019-02-26 06:20:20 -05:00
Adriaan de Groot
bfb5a4efb9
[welcome] Chase file renaming
...
- Rename classes inside
- Rename include guards
2019-02-26 06:05:34 -05:00
Adriaan de Groot
1240f63a39
[welcome] Rename files to reflect their purpose
2019-02-26 05:09:54 -05:00
Adriaan de Groot
ba9a6981b3
[welcome] Fix SEGV
...
- In the retranslate function, need to check if the waiting
widget still exists.
- Tighten up lifetime of the CheckerWidget.
2019-02-26 05:08:07 -05:00
Adriaan de Groot
33bd6c67c0
[welcome] Without libparted, don't even check size available
2019-02-25 10:07:21 -05:00
Adriaan de Groot
9889bd6cbe
[welcome] Be louder when libparted is disabled
2019-02-25 08:54:35 -05:00
Adriaan de Groot
c508e3ed4d
[welcome] Show progress during requirements checking
2019-02-24 09:07:44 -05:00
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.
2019-02-23 17:14:52 -05:00
Adriaan de Groot
a19d81e38c
[welcome] Chase renaming of files
...
- Rename the classes to match
- Drop some unused includes
2019-02-23 12:29:59 -05:00
Adriaan de Groot
c1cd88d5fa
[welcome] Rename files before class-rename
2019-02-23 12:22:08 -05:00
Adriaan de Groot
18efcf2200
[welcome] Drop unnecessary parameter
2019-02-18 09:42:22 -05:00
Adriaan de Groot
d33752c66c
[libcalamaresui] Refactor Requirements classes
...
- improve naming of member variables
- expand documentation
2019-02-15 20:53:55 +01:00
Adriaan de Groot
bf40f3bd23
Merge branch 'master' into requirements-checking
2018-08-10 12:02:57 -04:00
Adriaan de Groot
240efd30f1
[libcalamares] Add support for formatted, table-like output
...
- Use DebugRow for one-row-at-a-time output with continuations.
- Use DebugList for one-item-per-line with continuations.
- Use DebugMap for one-row-at-a-time output of a QVariantMap.
2018-03-30 17:18:45 -04:00
Adriaan de Groot
c7629182e4
Merge branch 'master' into requirements-checking
2018-03-06 17:06:35 +01:00
Adriaan de Groot
defc7d4df8
[welcome] Compile warnings--
2018-03-06 16:10:53 +01:00
Adriaan de Groot
a72bdfac52
Merge branch 'master' into requirements-checking
2018-03-06 14:57:17 +01:00
Adriaan de Groot
3f77fb1d16
[modules] Use new convenience logging methods
2018-02-12 11:58:34 -05:00
Adriaan de Groot
6335084aa3
[libcalamares] Determine what's checked and what's required first.
...
- warn for required checks that are not carried out.
2018-01-29 15:29:25 +01:00
Adriaan de Groot
2bc394656d
[welcome] Make libparted optional
...
- This turns off the space-available check in the welcome module;
without libparted, always fail that check.
- Allows running the welcome module on OS without libparted.
2018-01-13 21:41:07 +01:00
Adriaan de Groot
762ad54344
Documentation: change http links to GitHub to https
2017-12-20 08:39:09 -05:00
Adriaan de Groot
ee979d79ee
Merge branch '3.1-pinebook'
2017-12-04 11:45:01 -05:00
Adriaan de Groot
02dfe51d55
[welcome] Improve error reporting from requirements checker
2017-12-04 10:47:26 -05:00
Adriaan de Groot
bd27dda474
[welcome] Restructure requirements checking
...
- Move widget behavior into its own container / widget class
- Change the RequirementsChecker class to just check the
requirements, returning a results list
- Connect from the module manager to the results widget.
2017-12-02 11:30:26 -05:00
Adriaan de Groot
27b921bde1
[libcalamaresui] Move requirements information out of welcome module.
...
- Move type and rename it; put in Calamares namespace
- Emit signals from the viewmanager as results come in
- Remove state changing from welcome view step based on its internal
requirements checking (for now this breaks progressing past the
welcome page)
- Log checking of the requirements
2017-12-02 10:59:33 -05:00
Adriaan de Groot
0c0f0fc8b4
[requirements] Check window minimum size, not preferred size.
...
FIXES #863
2017-11-20 09:14:35 -05:00
Adriaan de Groot
1d18ea264d
[libcalamaresui] Switch to using three state icons for requirements
2017-11-20 09:04:26 -05:00
Adriaan de Groot
7d916f649d
[requirements] Document code
2017-11-20 08:18:39 -05:00
Gabriel Craciunescu
71da7b3a48
RequirementsChecker.cpp: rearrange cDebug() output
2017-10-30 20:11:11 +01: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
34761c4214
Clang: reduce 0-as-nullptr warnings
2017-09-20 09:24:22 -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
bd3786ebeb
Clang: reduce warnings in various places
2017-09-10 13:22:32 -04:00
Adriaan de Groot
a06911e9aa
Clang: refactor units-converters, reduce warnings
2017-09-10 13:22:32 -04:00
Adriaan de Groot
b22bd67a5f
Avoid race condition around libparted device use.
...
FIXES #782
2017-08-31 05:28:58 -04:00
Adriaan de Groot
d5dca07e22
Fix uninitialized values (valgrind report)
2017-08-31 04:13:18 -04:00