Commit Graph

2698 Commits

Author SHA1 Message Date
Adriaan de Groot
9860922496 SUSE DM: add special case configuring autologin in sysconfig (openSUSE)
FIXES #582
2017-07-11 11:20:38 +02:00
Adriaan de Groot
c150c61c59 LightDM: if lightdm.conf doesn't exist (for autologin), create it
FIXES #568
2017-07-11 11:20:20 +02:00
Lisa Vitolo
4f71b9741e Change both size box suffices to MiB. 2017-07-11 11:20:02 +02:00
Lisa Vitolo
a7e59f8656 Add "MB" suffix to the "edit partition" size box.
Makes it easier to know which unit Calamares is using when
resizing a partition. The "Create partition" dialog has
it already.
2017-07-11 11:19:52 +02:00
Adriaan de Groot
8bb6dc6d36 Python: use the module run().__doc__ as a pretty description. 2017-07-11 11:19:20 +02:00
Adriaan de Groot
7ff814790d Python: get docstring from run() method 2017-07-11 11:19:06 +02:00
Adriaan de Groot
b28edfdc8e Python: separate description of dummy module from docs of run() 2017-07-11 11:18:51 +02:00
Adriaan de Groot
3f2bba4e33 Python: Be more descriptive when modules can't be loaded. 2017-07-11 11:18:36 +02:00
Adriaan de Groot
ce11c7ab6d LightDM: fix type (thanks Kevin Kofler) 2017-07-10 14:43:13 -04:00
Adriaan de Groot
8ca94db0fa Merge branch 'python-bits' 2017-07-10 12:03:33 -04:00
Adriaan de Groot
ae6a9cd822 Python: move unsquash documentation to the config file 2017-07-10 11:58:58 -04:00
Adriaan de Groot
34b96148ae Python: at beginning of job, if pretty status has changed, emit progress to update it in the UI. 2017-07-10 11:58:57 -04:00
Adriaan de Groot
fcde28ca9d Python: tidy description of hwclock module 2017-07-10 11:58:57 -04:00
Adriaan de Groot
11e5a6cbe0 Python: trim description to the first line of run.__doc__ 2017-07-10 11:58:57 -04:00
Adriaan de Groot
9561bac1c8 SUSE DM: add special case configuring autologin in sysconfig (openSUSE)
FIXES #582
2017-07-10 10:14:28 -04:00
Adriaan de Groot
984a83deb9 LightDM: if lightdm.conf doesn't exist (for autologin), create it
FIXES #568
2017-07-10 09:27:56 -04:00
Lisa Vitolo
9be15e68b6 Change both size box suffices to MiB. 2017-07-09 18:20:00 +01:00
Lisa Vitolo
925d3a61a7 Add "MB" suffix to the "edit partition" size box.
Makes it easier to know which unit Calamares is using when
resizing a partition. The "Create partition" dialog has
it already.
2017-07-09 10:10:04 -04:00
Adriaan de Groot
96ef18c2c4 CMake: help find libparted 2017-07-05 11:08:41 -04:00
Adriaan de Groot
db105079ba CMake: drop meta-include CalamaresUse 2017-07-05 10:37:49 -04:00
Adriaan de Groot
d74627b705 CMake: remove superfluous module-path-setting 2017-07-05 10:21:25 -04:00
Adriaan de Groot
a72cc0eeb4 Python: use the module run().__doc__ as a pretty description. 2017-07-05 06:46:29 -04:00
Adriaan de Groot
f12ae5db3b Python: get docstring from run() method 2017-07-05 06:46:29 -04:00
Adriaan de Groot
e43f41a402 Python: separate description of dummy module from docs of run() 2017-07-05 06:46:29 -04:00
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