24 Commits (ee979d79ee1be9e69f0cf60c05bfd2df216c1b9c)

Author SHA1 Message Date
Adriaan de Groot ee979d79ee Merge branch '3.1-pinebook' 8 years ago
Adriaan de Groot 02dfe51d55 [welcome] Improve error reporting from requirements checker 8 years ago
Adriaan de Groot 0c0f0fc8b4 [requirements] Check window minimum size, not preferred size.
FIXES #863
8 years ago
Gabriel Craciunescu 71da7b3a48 RequirementsChecker.cpp: rearrange cDebug() output 8 years ago
Adriaan de Groot 34761c4214 Clang: reduce 0-as-nullptr warnings 8 years ago
Adriaan de Groot 9693d7a5bd Memory: clean up interface used to get memory (RAM) size 8 years ago
Adriaan de Groot bd3786ebeb Clang: reduce warnings in various places 8 years ago
Adriaan de Groot a06911e9aa Clang: refactor units-converters, reduce warnings 8 years ago
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
8 years ago
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.
9 years ago
Teo Mrnjavac f4dc81b0bc Write hasInternet to GlobalStorage.
CAL-431 #close
9 years ago
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).
9 years ago
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.
9 years ago
Teo Mrnjavac a48dadf757 Warning in debug output when the RequirementsChecker is misconfigured.
CAL-390 #close
9 years ago
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)
9 years ago
Teo Mrnjavac 0521f8a3b9 Be sure to always write hasInternet into GlobalStorage. 9 years ago
Teo Mrnjavac 6926f239f7 Write hasInternet into GlobalStorage. 9 years ago
Teo Mrnjavac a9c87e2f14 Fix bug with RAM/storage required settings being ignored if set as int. 10 years ago
Teo Mrnjavac 42e465aa10 CalamaresUtils::System is now a class. 10 years ago
Teo Mrnjavac adad3535a8 Use the new physical memory checker. 11 years ago
Teo Mrnjavac 02f4ab1501 Check for root privileges. 11 years ago
Teo Mrnjavac 320a96423f Add a 5% grace to the RAM check because Linux MemTotal is unreliable. 11 years ago
Teo Mrnjavac 7622abce94 Add negated text to requirement entries. 11 years ago
Teo Mrnjavac ceedc1166b Merge prepare module into welcome, and repurpose it as a req checker. 11 years ago