Commit Graph

264 Commits

Author SHA1 Message Date
Adriaan de Groot
d63f8f6922 [welcome] Document welcome.conf
- explain requirements keys
 - document show-buttons keys
2017-11-29 09:46:19 -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
ad2edf4f82 Linking: Reduce library dependencies in welcome module
Welcome is only interested in checking partitions, not
in resizing them, so stick to one library. This will
become moot when the checks move to partitionmanager
and KPMCore can do the things.
2017-10-24 12:53:55 -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
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
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
Adriaan de Groot
2fdccdf090 Merge branch 'simplify-module-desc' 2017-08-02 11:29:58 -04:00
Adriaan de Groot
445a7fc62a CMake: remove welcome-module desc, since it's generated 2017-08-02 11:05:32 -04:00
Adriaan de Groot
4a5cee133f About: adjust to the system font size.
FIXES #433
2017-07-12 07:43:47 -04:00
Adriaan de Groot
6fb40c517a CMake: collect all the Find-modules at top-level 2017-07-11 06:26:56 -04:00
Adriaan de Groot
96ef18c2c4 CMake: help find libparted 2017-07-05 11:08:41 -04:00
Adriaan de Groot
d74627b705 CMake: remove superfluous module-path-setting 2017-07-05 10:21:25 -04:00
Adriaan de Groot
44e6955f19 Feature: allow disable welcome-logo resizing 2017-07-04 04:30:08 -04:00
Adriaan de Groot
ee4e4dfccc C++ trickery to make the code shorter to read. 2017-07-03 18:07:18 -04:00
Adriaan de Groot
3ecd2f2ff6 Add self to copyright notice 2017-07-03 15:39:21 -04:00
Adriaan de Groot
90e8a6cff9 Shrink upper padding.
FIXES #591
2017-06-28 02:46:24 -04:00
Adriaan de Groot
cea9f0fb33 Clang: stick with integers 2017-06-27 09:28:32 -04:00
Adriaan de Groot
b0c4cc1481 Screensize: warn the user if the screen is too small to show the installer nicely.
Also document the welcome screen requirements-checks.

FIXES #751
2017-06-21 06:52:14 -04:00
Adriaan de Groot
f1cfde36d6 Allow different welcome message.
FIXES #592
2017-06-12 15:25:54 -04:00
Teo Mrnjavac
8215a633e2 Add fallback check for internet connection.
This only kicks in if QNAM's check is inconclusive. It sends a request
and tries to read data from a user-provided URL.
CAL-404 #close Should be fixed in master, please test.
2017-02-03 15:21:53 +01:00
Teo Mrnjavac
afd7ae3938 Update about text. 2017-01-20 16:18:23 +01:00
Teo Mrnjavac
f4dc81b0bc Write hasInternet to GlobalStorage.
CAL-431 #close
2016-12-12 13:37:18 +01:00
Teo Mrnjavac
e2b2d761c2 Do not LINK_PUBLIC by default. 2016-12-07 16:37:29 +01:00
Kevin Kofler
f08739cd15 [welcome] Use QNetworkAccessManager in checkHasInternet.
Use QNetworkAccessManager instead of raw QtDBus queries to
NetworkManager in RequirementsChecker::checkHasInternet(). This is much
simpler (i.e., less error-prone) and should be more portable (to, e.g.,
ConnMan).
2016-11-05 22:11:57 +01:00
Kevin Kofler
6eb512ab49 [welcome] Fix RequirementsChecker::checkHasInternet().
The NetworkManager property is called "State", not "state". The call
was always failing, and the method was always returning true as a
result.
2016-11-05 20:34:13 +01:00
Teo Mrnjavac
a48dadf757 Warning in debug output when the RequirementsChecker is misconfigured.
CAL-390 #close
2016-09-16 10:54:39 +02:00
Andrius Štikonas
9f0ca042fe Port away from most cases of Q_FOREACH to C++11 ranged for loop.
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
2016-09-01 16:46:14 +01:00
Teo Mrnjavac
0521f8a3b9 Be sure to always write hasInternet into GlobalStorage. 2016-08-18 15:28:55 +02:00
Teo Mrnjavac
6926f239f7 Write hasInternet into GlobalStorage. 2016-08-18 11:27:53 +02:00
Teo Mrnjavac
a9c87e2f14 Fix bug with RAM/storage required settings being ignored if set as int. 2016-05-02 18:08:29 +02:00
Teo Mrnjavac
c54ab3aa59 Add translators credit. 2016-03-29 13:40:23 +02:00
Teo Mrnjavac
420c2cf7c4 PluginFactory in Welcome module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
42e465aa10 CalamaresUtils::System is now a class. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
b636d69a45 Scale Welcome image correctly, adjust layouts throughout Welcome page. 2015-06-20 01:05:55 +02:00
Teo Mrnjavac
161046af43 Use ProductWelcome branding image, if available. 2015-06-20 00:19:12 +02:00
Teo Mrnjavac
3545e4fb86 Layout improvement. 2015-06-20 00:17:50 +02:00
Teo Mrnjavac
3bf0500f4e Lay out optional Welcome buttons horizontally. 2015-06-19 23:24:34 +02:00
Teo Mrnjavac
bd7dd43c90 Hardcode Calamares logo in About.
CAL-241 #close
2015-06-16 02:38:07 +02:00
Teo Mrnjavac
83e368fbc4 Initialize all the things. 2015-06-14 02:19:34 +02:00
Teo Mrnjavac
003f8bb956 File descriptor must be positive. 2015-06-14 00:53:35 +02:00
Teo Mrnjavac
adad3535a8 Use the new physical memory checker. 2015-06-10 00:06:45 +02:00
Teo Mrnjavac
43698b18f5 Rearrange WelcomePage checker layout to make more space for reports. 2015-06-09 02:35:22 +02:00
Teo Mrnjavac
02f4ab1501 Check for root privileges. 2015-06-09 02:13:22 +02:00
Teo Mrnjavac
320a96423f Add a 5% grace to the RAM check because Linux MemTotal is unreliable. 2015-06-08 19:28:52 +02:00
Teo Mrnjavac
994db0973f Try removing the centered icon from CheckerWidget 2015-05-18 12:47:11 +02:00
Teo Mrnjavac
235d0058c9 Set dialog title. 2015-05-16 19:42:51 +02:00
Teo Mrnjavac
e09976d91c Add details dialog to requirements widget. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
2fd84fc9f7 Layout fixes in Welcome page. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
51f74315f6 Refactor CheckerWidget for better integration with Welcome page. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
7622abce94 Add negated text to requirement entries. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
f0dc3d5ae6 Layout fixes in welcome page. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
43992c5251 Hook up RequirementsChecker with the WelcomeViewStep. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
e19264632d Merge prepare config file into welcome.conf. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
ceedc1166b Merge prepare module into welcome, and repurpose it as a req checker. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
3dd1d7932f Fix up identifiers + use QComboBox instead of QListView. 2015-05-15 18:15:22 +02:00
Teo Mrnjavac
7bcb060967 The greeting module is now welcome. 2015-05-15 18:15:22 +02:00