Commit Graph

2774 Commits

Author SHA1 Message Date
Adriaan de Groot
10eaf06f60 Python: Be more descriptive when modules can't be loaded. 2017-07-05 06:30:23 -04:00
Adriaan de Groot
854e6d3883 C++ trickery, part two: shorten code 2017-07-05 09:12:28 +02:00
Adriaan de Groot
f6cbf48b17 C++ trickery to make the code shorter to read. 2017-07-05 09:12:14 +02:00
Adriaan de Groot
843706e38d FinishedPage: show message instead of details on failure 2017-07-05 08:59:49 +02:00
Adriaan de Groot
a5604aa978 FinishedPage: no modal pop-ups in a slot
Switch the failure popup to non-modal, and quit the application when
the pop-up is closed. This allows signals to be delivered to other
slots connected to JobQueue::failed.
2017-07-05 08:59:33 +02:00
Adriaan de Groot
5be4a00f62 Be more verbose while scanning devices 2017-07-05 08:59:17 +02:00
Adriaan de Groot
0a278ca546 QLabel::setPixmap() isn't virtual, don't make it so. 2017-07-05 08:58:29 +02:00
Adriaan de Groot
ce1caeaf63 FinishedPage: add copyright, reduce warnings 2017-07-05 08:58:05 +02:00
Adriaan de Groot
5d7db27c06 FinishedPage: don't reboot on failure
If installation fails, and you end up on the last page, suppress the
reboot-now checkbox.

FIXES #605
2017-07-05 08:57:48 +02:00
Calamares CI
1897b62538 [dummypythonqt] Automatic merge of Transifex translations 2017-07-05 00:42:16 +00:00
Adriaan de Groot
57031a4c15 Merge branch 'ui-tweaks' 2017-07-04 08:53:21 -04:00
Adriaan de Groot
3c3c0f99f8 C++ trickery, part two: shorten code 2017-07-04 08:42:14 -04:00
Adriaan de Groot
5a3bbe8088 FinishedPage: show message instead of details on failure 2017-07-04 08:16:28 -04:00
Adriaan de Groot
d3f624f818 FinishedPage: no modal pop-ups in a slot
Switch the failure popup to non-modal, and quit the application when
the pop-up is closed. This allows signals to be delivered to other
slots connected to JobQueue::failed.
2017-07-04 08:14:30 -04:00
Kai Dohmen
7991e4548b Fix unknown partition-type Fat32 at mount and in fstab
Only the string "fat32" and "fat16" will be replaced with vfat. If an
case sensitive "Fat32" some problems occure:
- mount: partition cannot be mounted (e.g. a fat32 efi partition)
- fstab: system won't even boot because fstab does not know the type "Fat32"
2017-07-04 13:55:55 +02:00
Adriaan de Groot
232bbe18bc Be more verbose while scanning devices 2017-07-04 05:32:05 -04:00
Adriaan de Groot
ef065c1183 Merge branch 'master' into annoy-sitter 2017-07-04 04:32:02 -04:00
Adriaan de Groot
44e6955f19 Feature: allow disable welcome-logo resizing 2017-07-04 04:30:08 -04:00
Adriaan de Groot
c4f955874d QLabel::setPixmap() isn't virtual, don't make it so. 2017-07-04 03:36:42 -04:00
Calamares CI
77fd8be881 [dummypythonqt] Automatic merge of Transifex translations 2017-07-04 01:22:28 +00: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
09a7988622 FinishedPage: add copyright, reduce warnings 2017-07-03 11:36:36 -04:00
Adriaan de Groot
72659dc6e1 FinishedPage: don't reboot on failure
If installation fails, and you end up on the last page, suppress the
reboot-now checkbox.

FIXES #605
2017-07-03 11:32:47 -04:00
Kai Dohmen
6f680c0269 Fix unknown partition-type Fat32 at mount and in fstab
Only the string "fat32" and "fat16" will be replaced with vfat. If an
case sensitive "Fat32" some problems occure:
- mount: partition cannot be mounted (e.g. a fat32 efi partition)
- fstab: system won't even boot because fstab does not know the type "Fat32"
2017-07-03 17:20:02 +02:00
Adriaan de Groot
da75035654 Cleanup: summary module description 2017-07-03 10:26:59 -04:00
Adriaan de Groot
79595eb532 Coverity: explicitly initialize 2017-07-03 09:21:05 -04:00
Adriaan de Groot
43e7ea6265 Merge branch 'no-rcc' 2017-07-03 05:48:50 -04:00
Adriaan de Groot
9b3af4aac3 i18n: translate yes/no buttons, don't rely on Qt translations 2017-07-03 05:46:33 -04:00
Calamares CI
6291cc9db1 [dummypythonqt] Automatic merge of Transifex translations 2017-07-03 02:51:00 +00:00
Calamares CI
314282731b [dummypythonqt] Automatic merge of Transifex translations 2017-07-03 00:40:53 +00:00
Calamares CI
c583e4c21b [dummypythonqt] Automatic merge of Transifex translations 2017-07-02 02:50:59 +00:00
Calamares CI
955c20c8d7 [dummypythonqt] Automatic merge of Transifex translations 2017-07-02 00:40:16 +00:00
Calamares CI
a9b89d1b25 [dummypythonqt] Automatic merge of Transifex translations 2017-07-01 03:09:55 +00:00
Calamares CI
b3fbfec997 [dummypythonqt] Automatic merge of Transifex translations 2017-07-01 01:01:58 +00:00
Bernhard Landauer
47ba304b0c branding corrections 2017-06-30 22:55:19 +02:00
Calamares CI
6b7a03ea97 [dummypythonqt] Automatic merge of Transifex translations 2017-06-30 03:26:52 +00:00
Calamares CI
418974c0ea [dummypythonqt] Automatic merge of Transifex translations 2017-06-30 01:23:26 +00:00
Adriaan de Groot
75b5303b49 i18n: stop trying to install Qt translations 2017-06-29 06:29:29 -04:00
Adriaan de Groot
61c0ab4534 Clang: fix the right conversions (thanks KKofler) 2017-06-29 06:18:52 -04:00
Calamares CI
0b6e43c899 [dummypythonqt] Automatic merge of Transifex translations 2017-06-29 02:49:05 +00:00
Philip Müller
f64266a294 Merge pull request #758 from manjaro/lightdm-greeters
[displaymanager] check for installed lightdm greeter and configure accordingly
2017-06-28 17:04:40 +02:00
Bernhard Landauer
a1173bccc2 [displaymanager] check for installed lightdm greeter and configure accordingly
- no matter if for example slick-greeter is installed as "lightdm-slick-greeter" or whatever.
  tested with lightdm-deepin-greeter and slick-greeter.
- plus some little simplifications
- added Copyright
https://github.com/calamares/calamares/issues/756
2017-06-28 16:43:07 +02:00
Philip
a377c3234e [displaymanager] fix typo 2017-06-28 16:25:14 +02:00
Philip
bccb9443b0 [displaymanager] PEP8ify it 2017-06-28 16:21:16 +02:00
Philip
b3488f8e85 [displaymanager] use a better routine to detect .desktop files 2017-06-28 15:35:43 +02:00
Bernhard Landauer
8de9849e9a rm trailing whitespace 2017-06-28 15:35:35 +02:00
Adriaan de Groot
5cd328dad3 Clang: if we're going to crash on purpose, crash the C++ way 2017-06-28 08:44:59 -04:00
Adriaan de Groot
4561849c39 UI: add tooltip to Cancel / Quit button
Change 'Quit' at the end to 'Done', because we're done -- and Quit
is sometimes interpreted as cancelling. Tooltip for additional
explanation.
2017-06-28 07:48:51 -04:00
Philip
9d906e7964 [displaymanager] fix issue with tuple for string 2017-06-28 13:29:27 +02:00
Adriaan de Groot
d669df625a Clang: static QString -> literal 2017-06-28 06:35:41 -04:00
Adriaan de Groot
c0b3f3fe9d Clang: reduce warnings; make enum-switch explicit 2017-06-28 05:49:53 -04:00
Philip
cc5adb6586 [displaymanagers] fix sed routine 2017-06-28 11:44:26 +02:00
Philip
f048772020 [displaymanager] PEP8ify it for better reading 2017-06-28 11:12:08 +02:00
Philip
faf065205b [displaymanager] PEP8tify it 2017-06-28 11:07:00 +02:00
Philip
38f5af3c82 [displaymanager] error out the right way 2017-06-28 11:06:52 +02:00
Philip
e57107187c [displaymanager] re-add lightdm_conf_path to 'if lightdm' 2017-06-28 11:06:43 +02:00
Philip
82626d7639 [displaymanager] fix issues 2017-06-28 11:06:35 +02:00
Philip
ac179343d6 [displaymanager] fix typo 2017-06-28 11:06:27 +02:00
Philip
c75dbd83e0 [displaymanager] add filter for .desktop file 2017-06-28 11:06:19 +02:00
Philip
cd3e631027 [displaymanager] simplify code 2017-06-28 11:06:10 +02:00
Adriaan de Groot
59588672ed SDDM-config: allow poorly formatted SDDM config
SDDM itself doesn't trip over duplicate sections or keys, but
the Python config-parser does (in strict mode). Relax a bit.

FIXES #579
2017-06-28 11:05:03 +02:00
Adriaan de Groot
2905a9969d SDDM-config: allow poorly formatted SDDM config
SDDM itself doesn't trip over duplicate sections or keys, but
the Python config-parser does (in strict mode). Relax a bit.

FIXES #579
2017-06-28 03:57:01 -04:00
Adriaan de Groot
36950f6dd9 Shrink upper padding.
FIXES #591
2017-06-28 09:14:27 +02:00
Philip
7ea82be77a [displaymanager] PEP8ify it 2017-06-28 09:10:06 +02:00
Adriaan de Groot
90e8a6cff9 Shrink upper padding.
FIXES #591
2017-06-28 02:46:24 -04:00
Calamares CI
a2a94af984 [dummypythonqt] Automatic merge of Transifex translations 2017-06-28 02:49:02 +00:00
Bernhard Landauer
7f7ab50356 [displaymanager] check for installed lightdm greeter and configure accordingly
- no matter if for example slick-greeter is installed as "lightdm-slick-greeter" or whatever.
  tested with lightdm-deepin-greeter and slick-greeter.
- plus some little simplifications
- added Copyright
https://github.com/calamares/calamares/issues/756
2017-06-28 03:11:14 +02:00
Calamares CI
d2058df677 [dummypythonqt] Automatic merge of Transifex translations 2017-06-28 00:37:14 +00:00
Adriaan de Groot
a41a23a230 Merge pull request #757 from manjaro/deepin-greeter
fix #756 .. good catch
2017-06-27 09:44:30 -04:00
Adriaan de Groot
cea9f0fb33 Clang: stick with integers 2017-06-27 09:28:32 -04:00
Bernhard Landauer
d4e8e4f472 fix https://github.com/calamares/calamares/issues/756 2017-06-27 15:05:03 +02:00
Bernhard Landauer
72cfb83873 fix https://github.com/calamares/calamares/issues/756 2017-06-27 14:50:53 +02:00
Adriaan de Groot
3b0b05186a Clang: reduce warnings 2017-06-27 07:36:46 -04:00
Adriaan de Groot
0d884869e5 Clang: reduce warnings about code-documentation 2017-06-27 07:17:40 -04:00
Adriaan de Groot
f2d2218070 Clang: fix warning about implict copy-ctor with explicit move-ctor 2017-06-27 07:15:31 -04:00
Adriaan de Groot
09b25ab3e9 Clang: make ViewManager instance a proper singleton. 2017-06-27 06:46:59 -04:00
Adriaan de Groot
6a3aa01564 Clang: reduce warnings 2017-06-27 06:11:26 -04:00
Adriaan de Groot
2add7f6f86 Clang: type-annotate float literal 2017-06-27 06:08:07 -04:00
Adriaan de Groot
3b5955900e Coverity: explicit initialization 2017-06-27 06:05:26 -04:00
Calamares CI
aba0f6f8ca [dummypythonqt] Automatic merge of Transifex translations 2017-06-27 02:49:21 +00:00
Calamares CI
02ba6cb66b [dummypythonqt] Automatic merge of Transifex translations 2017-06-27 00:37:07 +00:00
Calamares CI
14c5b57fcc [dummypythonqt] Automatic merge of Transifex translations 2017-06-26 02:49:04 +00:00
Calamares CI
dac25a2000 [dummypythonqt] Automatic merge of Transifex translations 2017-06-26 00:37:32 +00:00
Calamares CI
00f2aaba85 [dummypythonqt] Automatic merge of Transifex translations 2017-06-25 02:48:46 +00:00
Calamares CI
91c746ada8 [dummypythonqt] Automatic merge of Transifex translations 2017-06-24 02:49:37 +00:00
Calamares CI
cf0f815284 [dummypythonqt] Automatic merge of Transifex translations 2017-06-24 00:37:01 +00:00
Philip
aea947a517 [mhwdcfg] PEP8 Modification 2017-06-23 13:22:13 +02:00
Philip
96c9d744e4 [Merge] with upstream and development changes 2017-06-23 13:10:17 +02:00
Calamares CI
849edba14c [dummypythonqt] Automatic merge of Transifex translations 2017-06-23 02:49:12 +00:00
Calamares CI
0ee309f354 [dummypythonqt] Automatic merge of Transifex translations 2017-06-23 00:37:26 +00:00
Calamares CI
43fbc42d47 [dummypythonqt] Automatic merge of Transifex translations 2017-06-22 02:52:03 +00:00
Calamares CI
c69cfde0b1 [dummypythonqt] Automatic merge of Transifex translations 2017-06-22 00:37:01 +00:00
Adriaan de Groot
5614c897ec Clang: reduce warnings 2017-06-21 14:31:44 +02:00
Adriaan de Groot
61e2f285ed Clang: reduce warnings 2017-06-21 14:31:38 +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
Adriaan de Groot
8ea14d7957 Release: add copyright to files I've touched 2017-06-21 08:27:10 -04:00
Adriaan de Groot
12a0edfa50 Clang: reduce warnings 2017-06-21 07:28:38 -04:00
Adriaan de Groot
2148538fac Clang: reduce warnings 2017-06-21 07:28:38 -04:00
Adriaan de Groot
1f458ac067 Merge branch 'screen-size' 2017-06-21 06:53:10 -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
d9ea22a486 Screensize: refactor, move screen-size constants into global constexpr
Also drop the minimum size a tiny bit, to 1024x520.
2017-06-21 06:51:51 -04:00
Adriaan de Groot
f9ee774d4e 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 04:42:02 -04: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
Calamares CI
31c08eef6b [dummypythonqt] Automatic merge of Transifex translations 2017-06-21 02:48:45 +00:00
Calamares CI
49fa7ab078 [dummypythonqt] Automatic merge of Transifex translations 2017-06-21 01:03:09 +00:00
Adriaan de Groot
0edf041b31 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-20 18:18:56 -04:00
Adriaan de Groot
742ccf02a7 Merge branch 'salt' 2017-06-20 17:47:05 -04:00
Adriaan de Groot
9f526be198 Salt: add test for salt format 2017-06-20 17:43:50 -04:00
Adriaan de Groot
de45f43640 Salt: add copyright info 2017-06-20 17:18:12 -04:00
Adriaan de Groot
6616315269 Partitionmanager: minor docs edit 2017-06-20 10:03:44 -04:00
Adriaan de Groot
4c9703ad27 Merge branch 'master' into salt 2017-06-20 09:46:41 -04:00
Adriaan de Groot
22ccf920d7 Merge branch 'pm-tests' of github.com:calamares/calamares 2017-06-20 09:45:48 -04:00
Adriaan de Groot
8708260689 Partitionmanager: fix PM-tests build 2017-06-20 09:45:32 -04:00
Adriaan de Groot
7ebbcc33b2 Partitionmanager: remove unused code files 2017-06-20 07:23:04 -04:00
Adriaan de Groot
ea44021cb4 Partitionmanager: partly fix PM-tests build 2017-06-20 07:10:29 -04:00
Adriaan de Groot
f1ab9df7ee Salt: improve saltiness. 2017-06-20 04:39:04 -04:00
Calamares CI
e9aea41a25 [dummypythonqt] Automatic merge of Transifex translations 2017-06-20 02:49:51 +00:00
Calamares CI
287dbad807 [dummypythonqt] Automatic merge of Transifex translations 2017-06-20 00:38:45 +00: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
4405790253 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-19 18:20:24 -04:00
Adriaan de Groot
70af29672d Displaymanager: check alternative locations for kdmrc.
FIXES #578
2017-06-19 18:05:34 -04:00
Adriaan de Groot
582e4354a7 Displaymanager: refactor a little, don't bail out at the first DM that doesn't configure 2017-06-19 18:00:10 -04:00
Adriaan de Groot
ae34d99f10 Netinstall: remove no-longer-used icons and qrc 2017-06-19 16:58:56 -04: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
Adriaan de Groot
e9ab78cd52 Keyboard: special-case, pc+latin interpreted as us,
instead of as unknown which selects the first layout in the list.
2017-06-19 11:12:23 -04:00
Adriaan de Groot
6ef2f5d769 Keyboard: code-docs, copyright 2017-06-19 10:46:30 -04:00
Adriaan de Groot
59605d552e 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 10:41:56 -04:00
Adriaan de Groot
444aa24a04 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 05:16:54 -04:00
Calamares CI
fe15b11520 [dummypythonqt] Automatic merge of Transifex translations 2017-06-19 02:48:58 +00:00
Calamares CI
c4ed76b1d0 [dummypythonqt] Automatic merge of Transifex translations 2017-06-19 00:37:26 +00:00
Calamares CI
ea64341a87 [dummypythonqt] Automatic merge of Transifex translations 2017-06-18 02:48:40 +00:00
Calamares CI
3753a802e0 [dummypythonqt] Automatic merge of Transifex translations 2017-06-18 00:37:15 +00:00
Adriaan de Groot
ce6997d214 Coverity: fix some uninitialized members 2017-06-17 15:14:02 -04:00
Calamares CI
ce2fb6e3c5 [dummypythonqt] Automatic merge of Transifex translations 2017-06-17 02:48:52 +00:00
Calamares CI
04d477f5b3 [dummypythonqt] Automatic merge of Transifex translations 2017-06-17 00:58:59 +00:00
Calamares CI
09d1131003 [dummypythonqt] Automatic merge of Transifex translations 2017-06-16 02:48:57 +00:00
Calamares CI
85a7215526 [dummypythonqt] Automatic merge of Transifex translations 2017-06-16 00:39:24 +00:00
Calamares CI
8209e305de [dummypythonqt] Automatic merge of Transifex translations 2017-06-15 02:48:49 +00:00
Calamares CI
bf093dc743 [dummypythonqt] Automatic merge of Transifex translations 2017-06-15 00:59:52 +00: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
46a2503c87 PartitionModule: skip nullptr devices, and report count
FIXES #686
2017-06-14 12:24:32 -04:00
Adriaan de Groot
92a2c7aa70 PartitionModule: avoid nullptr crashes
Fix up iterator code so that it handles nullptr better.
This avoids part of #686.
2017-06-14 12:24:32 -04:00
Adriaan de Groot
3677708d3e 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 12:23:33 -04:00
Calamares CI
81421db073 [dummypythonqt] Automatic merge of Transifex translations 2017-06-14 02:48:54 +00:00
Calamares CI
fbd8ce124e [dummypythonqt] Automatic merge of Transifex translations 2017-06-14 01:41:08 +00:00
Calamares CI
6f8b9d768f [dummypythonqt] Automatic merge of Transifex translations 2017-06-13 02:48:57 +00:00
Calamares CI
e507528cc2 [dummypythonqt] Automatic merge of Transifex translations 2017-06-13 00:58:52 +00:00
Adriaan de Groot
201a015bd4 Docs: welcomeStyleCalamares documentation / example 2017-06-12 15:31:23 -04:00
Adriaan de Groot
f1cfde36d6 Allow different welcome message.
FIXES #592
2017-06-12 15:25:54 -04:00
Adriaan de Groot
e92d82c5db Cleanup: add copyright lines 2017-06-12 09:59:04 -04:00
Adriaan de Groot
5f38da9d30 Docs: styles in the branding file 2017-06-12 09:55:39 -04:00
Adriaan de Groot
b7a0b3930f 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-12 12:36:48 +02:00
Adriaan de Groot
fc5522741a Bump required KPMCore to 3.0.3
The newer release resolves (upstream) a problem with NVMe encryption.

FIXES #697
2017-06-12 12:36:45 +02:00
Adriaan de Groot
aea73b982e Cleanup: require ECM 5.10 or later (released 2015) 2017-06-12 05:14:27 -04:00
Adriaan de Groot
5382a510a9 Cleanup: switch to C++11 user-defined literals 2017-06-12 04:51:55 -04:00
Adriaan de Groot
4fab3c93c2 Docs: document effect of ensureSuspendToisk more thoroughly 2017-06-12 04:19:31 -04:00
Adriaan de Groot
829f72363e Cleanup: remove duplicate #define 2017-06-12 03:32:22 -04:00
Calamares CI
99b00229b6 [dummypythonqt] Automatic merge of Transifex translations 2017-06-12 02:48:41 +00:00
Calamares CI
8de4b7fdd1 [dummypythonqt] Automatic merge of Transifex translations 2017-06-12 00:36:38 +00:00
Calamares CI
5c5a35081d [dummypythonqt] Automatic merge of Transifex translations 2017-06-11 02:49:18 +00:00
Calamares CI
d3b70da243 [dummypythonqt] Automatic merge of Transifex translations 2017-06-10 02:48:43 +00:00
Calamares CI
17b421a16d [dummypythonqt] Automatic merge of Transifex translations 2017-06-10 00:36:26 +00:00
Calamares CI
b53a21af3f [dummypythonqt] Automatic merge of Transifex translations 2017-06-09 02:48:59 +00:00
Calamares CI
56d7d32f0d [dummypythonqt] Automatic merge of Transifex translations 2017-06-09 00:58:32 +00:00
Adriaan de Groot
bfe7334812 Branding: add example setting, document fallback behavior 2017-06-08 06:21:06 -04:00
Adriaan de Groot
daf5b025ce Branding: fall back to original app palette 2017-06-08 06:17:24 -04:00
Adriaan de Groot
14912d6c63 Merge branch 'master' of https://github.com/AOSC-Dev/calamares into AOSC-Dev-master 2017-06-08 04:54:06 -04:00
Calamares CI
38ff1a9753 [dummypythonqt] Automatic merge of Transifex translations 2017-06-08 02:48:57 +00:00
Calamares CI
27e1983a2c [dummypythonqt] Automatic merge of Transifex translations 2017-06-08 00:36:11 +00:00
adriaandegroot
2c0802d18e Merge pull request #742 from siduction/pep8-displaymanager
Fixed pep8 whining in module displaymanager
2017-06-07 03:27:19 -04:00
adriaandegroot
ca76199705 Merge pull request #740 from siduction/pep8-services
Fixed pep8 whining in module services
2017-06-07 03:19:16 -04:00
Calamares CI
df8067d767 [dummypythonqt] Automatic merge of Transifex translations 2017-06-07 02:48:51 +00:00
Calamares CI
2e5aed22dd [dummypythonqt] Automatic merge of Transifex translations 2017-06-07 00:36:26 +00: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
56dec8f575 Merge branch 'locale-fixes' 2017-06-07 03:59:46 +06:00
adriaandegroot
aa75fda9f2 Merge pull request #738 from siduction/pep8-unpackfs
Fixed pep8 whining in module unpackfs
2017-06-06 14:59:22 -07:00
Adriaan de Groot
e1a5af6529 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 03:52:44 +06:00
Alf Gaida
f9695cabac Fixed pep8 whining in module displaymanager
Added myself to copyright
2017-06-06 20:35:07 +02:00
Alf Gaida
48b3699a0f Fixed pep8 whining in module services
Added myself to copyright
2017-06-06 18:26:29 +02:00
Alf Gaida
5f7b1dda26 Fixed pep8 whining in module unpackfs
Added myself to copyright
2017-06-06 17:44:53 +02:00
Adriaan de Groot
d545904f5c 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-06 21:08:15 +06:00
Adriaan de Groot
89753a35f0 Locale: double-click to close locale-selection dialog 2017-06-06 09:31:22 -05:00
Adriaan de Groot
f1bb16c4df Merge branch 'locale-fixes' 2017-06-06 09:26:26 -04:00
Adriaan de Groot
4df0de200b Locale: refactor to update labels in one place only 2017-06-06 09:22:21 -04:00
Adriaan de Groot
e0988a5e19 Timezones: make some TZ+0 pixels transparent, since otherwise it claims Amsterdam 2017-06-06 09:22:21 -04:00
Adriaan de Groot
3ae12f2573 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-06 09:22:21 -04:00
Adriaan de Groot
d29acf4a06 Logging: add a global storage dump method 2017-06-06 09:22:21 -04:00
Adriaan de Groot
17b8a9d884 Logging: format the multi-line warning about no-supported-languages 2017-06-06 09:10:13 -04:00
Adriaan de Groot
14cba59ab3 Logging: distinguish different failures in module instantiation. 2017-06-06 09:10:13 -04:00
adriaandegroot
eb2c14b7f6 Merge pull request #739 from siduction/pep8-grubcfg
Fixed pep8 whining in module grubcfg
2017-06-06 12:20:46 +02:00
Adriaan de Groot
29d91a4fbf Python-style: refactor calculating target path of hook-script 2017-06-06 16:18:26 +06:00
adriaandegroot
a752df2db0 Merge pull request #741 from siduction/pep8-initramfscfg
Fixed pep8 whining in module initramfscfg
2017-06-06 12:11:05 +02:00
Calamares CI
edfb87a0e6 [dummypythonqt] Automatic merge of Transifex translations 2017-06-06 02:48:53 +00:00
Calamares CI
c0a427bde8 [dummypythonqt] Automatic merge of Transifex translations 2017-06-06 00:36:16 +00:00
adriaandegroot
af303c9961 Merge pull request #737 from siduction/pep8-networkcfg
Fixed pep8 whining in module networkcfg
2017-06-05 12:25:37 -06:00
Calamares CI
7ba1580461 [dummypythonqt] Automatic merge of Transifex translations 2017-06-05 02:48:44 +00:00
Calamares CI
325e90c186 [dummypythonqt] Automatic merge of Transifex translations 2017-06-05 00:36:00 +00:00
Alf Gaida
9e9e1e6550 Fixed pep8 whining in module initramfscfg
added myself to copyright
2017-06-04 16:18:17 +02:00
Adriaan de Groot
231a83cf6b Python-style: actually add the new copyright headers 2017-06-04 15:01:25 +02:00
adriaandegroot
cc8f19dd7c Merge pull request #718 from siduction/pep8-fstab
Fixed pep8 whining for module fstab
2017-06-04 14:54:56 +02:00
Adriaan de Groot
0b1577ace4 Fixed pep8-whining in module luksbootkeyfile
Based on PR 736 (so add Alf to copyright as well)
2017-06-04 14:51:35 +02:00
Alf Gaida
4eb0e70984 Fixed pep8 whining in module grubcfg
added myself to copyright
2017-06-04 13:57:49 +02:00
Alf Gaida
748135ae12 Fixed pep8 whining in module networkcfg
added myself to copyright
2017-06-04 13:31:08 +02:00
adriaandegroot
1dfc12e276 Merge pull request #733 from siduction/pep8-initramfs
Fixed pep8 whining in modulde initramfs
2017-06-04 12:06:43 +02:00
Adriaan de Groot
3804e4df68 Python-style: follow-up to PR 735, remove non-idiomatic use of 'is' 2017-06-04 11:37:12 +02:00
adriaandegroot
084e304c07 Merge pull request #735 from siduction/pep8-initcpiocfg
Fixed pep8 whining in module initcpiocfg
2017-06-04 11:35:15 +02:00
adriaandegroot
42f4162338 Merge pull request #734 from siduction/pep8-luksopenswaphookcfg
Fixed pep8 whininig in module luksopenswaphookcfg
2017-06-04 11:13:24 +02:00
adriaandegroot
65834b019c Merge pull request #717 from siduction/pep8-mount
Fixed pep8 whining in module mount
2017-06-04 11:12:03 +02:00
adriaandegroot
c19ae0e247 Merge pull request #732 from siduction/pep8-hwclock
Fixed pep8 whining in module hwclock
2017-06-04 11:09:15 +02:00
Calamares CI
cd517e9879 [dummypythonqt] Automatic merge of Transifex translations 2017-06-04 02:48:40 +00:00
Calamares CI
ef334961d1 [dummypythonqt] Automatic merge of Transifex translations 2017-06-04 00:35:55 +00: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
Calamares CI
3f4d42756a [dummypythonqt] Automatic merge of Transifex translations 2017-06-03 02:48:41 +00:00
Calamares CI
53ea4a5b6a [dummypythonqt] Automatic merge of Transifex translations 2017-06-03 00:39:35 +00:00
Alf Gaida
b7488b611b Fixed pep8 whining in module initcpiocfg
Added myself to copyright
2017-06-02 22:26:58 +02:00
Alf Gaida
97c48a2e5d Fixed pep8 whininig in module luksopenswaphookcfg
added myself to copyright
2017-06-02 22:16:25 +02:00
Alf Gaida
536054b0cd Fixed pep8 whining in modulde initramfs
added myself to copyright
2017-06-02 21:53:31 +02:00
Alf Gaida
4dbb097fd3 Fixed pep8 whining for module fstab
compact the fstab line
added myself to copyright
2017-06-02 20:55:26 +02:00