Commit Graph

3005 Commits

Author SHA1 Message Date
Adriaan de Groot
f2fd8c744b Clang: improve usefullness of clang-warnings
- don't check c++98 compatibility
 - don't show warnings on third-party code
 - don't check for padding
2017-06-21 14:31:28 +02:00
Adriaan de Groot
69f51cb909 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 14:31:02 +02:00
Adriaan de Groot
17f1f0f0b8 Screensize: refactor, move screen-size constants into global constexpr
Also drop the minimum size a tiny bit, to 1024x520.
2017-06-21 14:30:30 +02:00
Adriaan de Groot
d0c7577fb4 Screensize: on small screens, crush the sidebar.
This still isn't enough to show the whole timezone or keyboard widget,
but does make more of it visible.
2017-06-21 14:30:24 +02:00
Adriaan de Groot
ea7a45baa6 Screensize: on small screens, be smaller.
On 1024x768, limit to 1024x520.
On 800x600, limit to 800x520. This is too small to show everything in the
  timezone widget and keyboard, so it needs some more work.
2017-06-21 14:30:14 +02:00
Adriaan de Groot
b1ce6c3df1 Cleanup: add copyright lines 2017-06-21 14:30:07 +02:00
Adriaan de Groot
b140080eff Reduce minimum-width to 800px
Tested in a VirtualBox setup with screen set to 800x600,
all of the Generic Linux RT components are visible, and
the buttons are too (which fall off the screen otherwise).

FIXES #731
2017-06-21 14:29:55 +02:00
Philip
019fd67992 [Bump] v3.1.0.2 2017-06-21 08:35:03 +02:00
Adriaan de Groot
d682ee20de Partitionmanager: minor docs edit 2017-06-21 08:32:32 +02:00
Adriaan de Groot
1479fc974e Partitionmanager: fix PM-tests build 2017-06-21 08:32:18 +02:00
Adriaan de Groot
49e0d0d504 Partitionmanager: remove unused code files 2017-06-21 08:32:05 +02:00
Adriaan de Groot
8373620cca Partitionmanager: partly fix PM-tests build 2017-06-21 08:31:54 +02:00
Adriaan de Groot
ffb599ff36 Salt: add test for salt format 2017-06-21 08:31:42 +02:00
Adriaan de Groot
8e28df0f22 Salt: add copyright info 2017-06-21 08:31:30 +02:00
Adriaan de Groot
f93bff0a5f Salt: improve saltiness. 2017-06-21 08:31:16 +02:00
Adriaan de Groot
c7a323e466 Displaymanager: simplify gdm configuration.
Replace calling out to shell to run echo redirected to a file by
opening the file and writing to it.
2017-06-20 00:37:13 +02:00
Adriaan de Groot
182c3bdcd0 Displaymanager: check alternative locations for kdmrc.
FIXES #578
2017-06-20 00:36:59 +02:00
Adriaan de Groot
df819f2efb Displaymanager: refactor a little, don't bail out at the first DM that doesn't configure 2017-06-20 00:36:34 +02:00
Alf Gaida
76aa860b73 Fixed pep8 whining in module displaymanager
Added myself to copyright
2017-06-20 00:36:30 +02:00
Adriaan de Groot
af582c104f Netinstall: remove no-longer-used icons and qrc 2017-06-20 00:32:26 +02:00
Adriaan de Groot
e57579c92f Keyboard: special-case, pc+latin interpreted as us,
instead of as unknown which selects the first layout in the list.
2017-06-19 18:26:16 +02:00
Adriaan de Groot
7f08ea9d15 Keyboard: code-docs, copyright 2017-06-19 18:26:10 +02:00
Adriaan de Groot
35c1ab61bf Keyboard: simplify execution of setxkbmap.
Use QProcess::execute() with the 'safer' argument-list, rather than
escaping and de-escaping strings. Also reduce noise by only passing
a variant if there is one.
2017-06-19 18:25:53 +02:00
Adriaan de Groot
70b098a2b0 Increate the maximum allowed length of a hostname.
The hostname madagascarsteenplaatschildpad (.uva.nl) doesn't fit in 24,
and hostname(1) accepts up to 64 characters. The RFCs vary, but 63 +
terminating NUL or length-octet + data maximum 64 bytes seen to be
the common ground.

FIXES #514
2017-06-19 18:25:37 +02:00
Adriaan de Groot
47a79b9cd9 Coverity: fix some uninitialized members 2017-06-19 18:25:14 +02:00
Philip
742fa9a75b [CMakeModules] fix routine 2017-06-18 21:57:26 +02:00
Philip
f4d0ab47ec [CMakeModules] fix if loops 2017-06-18 21:57:15 +02:00
Philip
e8d803b866 [CMakeModules] fix if loops 2017-06-18 21:40:02 +02:00
Philip
11f9c588d2 [CMakeModules] fix if loops 2017-06-18 21:25:59 +02:00
Philip
9817dba3af [CMakeModules] search for v3.1+ PythonQT 2017-06-18 21:21:37 +02:00
Philip
971a77bdcd [CMakeModules] adopt to pythonqt v3.2 so-name changes 2017-06-18 10:24:43 +02:00
Philip
1591a1c8cf [Bump] v3.1.0.1 2017-06-17 15:10:56 +02:00
Adriaan de Groot
b99fa43e6a PartitionModule: skip nullptr devices, and report count
FIXES #686
2017-06-14 18:46:25 +02:00
Adriaan de Groot
8823938c8f PartitionModule: avoid nullptr crashes
Fix up iterator code so that it handles nullptr better.
This avoids part of #686.
2017-06-14 18:46:14 +02:00
Adriaan de Groot
2dbcee346d PartitionModule: look for atasmart and blkid, to avoid link-time failure.
This just puts a warning in the cmake log, but will help diagnose
situations where libatasmart.so.4 is installed, but libatasmart.so
is not -- in which case -latasmart fails.
2017-06-14 18:46:03 +02:00
Adriaan de Groot
839a34dacf Bump required KPMCore to 3.0.3
The newer release resolves (upstream) a problem with NVMe encryption.

FIXES #697
2017-06-14 18:45:39 +02:00
Adriaan de Groot
9b2778eecc Cleanup: bump CMake requirement, so we have better C++14 build support 2017-06-14 18:45:32 +02:00
Allen Welkie
33040dbec0 Fix nested lists in README
The nesting wasn't displaying properly in github.
2017-06-14 18:45:23 +02:00
Adriaan de Groot
8f6d08d23e Logging: add a global storage dump method 2017-06-07 00:19:07 +02:00
Adriaan de Groot
06739955bb Logging: format the multi-line warning about no-supported-languages 2017-06-07 00:18:57 +02:00
Adriaan de Groot
7195054bfd Logging: distinguish different failures in module instantiation. 2017-06-07 00:18:49 +02:00
Adriaan de Groot
9ad46eca55 Locale: when entering page, guess language.
If user picks an installer language on the welcome page, then
the system language follows that setting -- but only after the
first action where Calamares must guess the system language
based on location. So guess on entry, so that system language
follows installer language.

FIXES #688.
2017-06-07 00:15:38 +02:00
Adriaan de Groot
49cdaf10d6 Locale: don't overwrite explicit choice
If the user selects a language from the dialog (by clicking 'change'),
then preserve that explicit choice even when clicking on another
location which would reset the language based on the installer-
language.
2017-06-07 00:15:19 +02:00
Adriaan de Groot
98d58215ad Locale: double-click to close locale-selection dialog 2017-06-07 00:15:03 +02:00
Adriaan de Groot
945a96bb51 Locale: refactor to update labels in one place only 2017-06-07 00:14:41 +02:00
Adriaan de Groot
6adb590f5d Timezones: make some TZ+0 pixels transparent, since otherwise it claims Amsterdam 2017-06-07 00:14:04 +02:00
Adriaan de Groot
ae15c17060 Keyboard: avoid multiple connects
When selecting keyboard layout, pause, then select another, the
QTimer wasn't being disconnected from the previously selected
language, so the second selection would fire the timeout, and
then call *two* slots .. and then three, ... Disconnect when
the timer fires, too.
2017-06-07 00:13:23 +02:00
Adriaan de Groot
1415ec69be Configs: empty config files are ok.
The default umount.conf contains no keys -- so it isn't a map,
but it is a valid config file. Avoid the warning by accepting
empty files.

FIX 707
2017-06-03 23:07:54 +02:00
Adriaan de Groot
0659fc72b8 Configs: fix trivial spelling error 2017-06-03 23:07:43 +02:00
udeved
24c877b36e chrootcfg: rank mirrors fasttrack on host
The ranking at boot is too unreliable
2017-05-30 19:20:21 +02:00