Commit Graph

1105 Commits

Author SHA1 Message Date
Teo Mrnjavac
659a388688 Improve job status reporting. 2015-06-13 01:16:11 +02:00
Teo Mrnjavac
0dab164e9c Really fix on old GCC 2015-06-11 20:07:55 +02:00
Teo Mrnjavac
16805f1098 Fixup. 2015-06-11 19:05:44 +02:00
Teo Mrnjavac
1c0a5ea334 Try to fix build with GCC 4.8.4.
CAL-236 #comment Please test with current master.
2015-06-11 18:53:23 +02:00
Teo Mrnjavac
46e90ccda2 Add setRootPassword option to the Users module.
If set to true, the user must set a root password. Otherwise, the
user won't be asked and a root password will not be set.
2015-06-11 04:02:06 +02:00
Teo Mrnjavac
d6441bbcb4 LVM2 unmounting and disabling support in ClearMountsJob. 2015-06-11 03:18:22 +02:00
Teo Mrnjavac
7dd4104009 Replace Gummiboot with systemd-boot. 2015-06-11 00:32:50 +02:00
Teo Mrnjavac
8dc90d0cca Update README.md 2015-06-10 22:54:44 +02:00
Teo Mrnjavac
617d6d018c Clarify. 2015-06-10 00:17:59 +02:00
Teo Mrnjavac
35e859e66e Automatically create a swap partition if there's enough space. 2015-06-10 00:06:45 +02:00
Teo Mrnjavac
adad3535a8 Use the new physical memory checker. 2015-06-10 00:06:45 +02:00
Teo Mrnjavac
5e2f6ff2b8 Detect physical memory, with dmidecode and meminfo as backup. 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
b07fd97103 Merge pull request #220 from dgikiller/master
Improving support for Gentoo based distros
2015-06-08 19:34:01 +02:00
skullbocks
57406f3bc9 [modules/packages] Added support for Portage and Entropy 2015-06-08 19:29:51 +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
8885a7e5f6 Fix bug with KPM enum which prevented logical partition creation. 2015-06-07 03:24:00 +02:00
Teo Mrnjavac
fa2b577236 Meaningful text from BootLoaderModel. 2015-06-06 23:45:54 +02:00
Teo Mrnjavac
30408d34a1 Try to find a more reliable way to read new partition UUIDs. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
fff0f6f023 Debug output. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
cf5e137947 Correct operations order in EraseDiskPage. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
25c2b7265b Fixup operations order when autopartitioning. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
0426d7fd35 Bump EFI system partition default size to 300M. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
7a69aae0cb Correct operation order in EraseDiskPage for EFI. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
d499fed8a0 Add EFI detection support to Alongside page. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
e3ef61a7f2 Move onPartitionSelected into a slot instead of a huge lambda. 2015-06-05 18:02:14 +02:00
Teo Mrnjavac
195b585282 Disable alongside and replace features on EFI system without ESP. 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
b507a0e2b9 Rebase ReplacePage on top of EFI support in PCM. 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
f4a13b2041 Add EFI System Partition scanning support to PartitionCoreModule. 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
67b96f750a Code style. 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
905835295a Move osprober management out of ctor. 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
a2f1d49983 Remove debug spam. 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
a2c5bcd0ee Fixed m_isEfi falsely false in ReplacePage. 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
d54f314394 Add debug spam to ReplacePage.cpp 2015-06-05 18:02:13 +02:00
Teo Mrnjavac
18eb0c7b96 Add ESP detection and choice to ReplacePage. 2015-06-04 02:28:12 +02:00
Teo Mrnjavac
94e9c659d1 Add generic search function to iterate over partitions for convenience. 2015-06-04 02:28:12 +02:00
Teo Mrnjavac
04f977d28f Add ESP related UI elements to ReplacePage. 2015-06-04 02:28:12 +02:00
Teo Mrnjavac
ccab867d19 Update submodule. 2015-06-04 02:27:58 +02:00
Teo Mrnjavac
d5a42a65f6 Update KPM submodule. 2015-05-20 12:13:08 +02:00
Teo Mrnjavac
994db0973f Try removing the centered icon from CheckerWidget 2015-05-18 12:47:11 +02:00
demmm
5a07c240a9 use ShortProductName as second argument
choicepage.cpp has 2 instances where %2 is not defined
2015-05-16 19:43:27 +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
Ramon Buldó
049f711f7d [displaymanager] Add i3, move openbox to the end of the list. 2015-05-15 12:50:29 +02:00
Ramon Buldó
9b7c1ff3da [displaymanager] Add budgie and pantheon support 2015-05-15 07:07:54 +02:00
Ramon Buldó
bbe06aa587 Fix ssd detection for MMC devices. 2015-05-08 10:37:54 +02:00
demmm
28695652fb Update readme with show.qml example 2015-05-07 18:08:18 -04:00
Teo Mrnjavac
ea65ede405 Update README.md 2015-05-07 16:39:16 +02:00
Teo Mrnjavac
77e205e48a Reload the slideshow on language change. 2015-05-07 16:12:19 +02:00
Teo Mrnjavac
375150347b nullptr is better than 0 2015-05-07 16:11:23 +02:00
Teo Mrnjavac
09d7cd9de6 Add translationsPathPrefix to Branding. 2015-05-07 16:10:42 +02:00
Teo Mrnjavac
d1047ab76e Use new installTranslator in GreetingPage. 2015-05-07 16:10:42 +02:00
Teo Mrnjavac
fcb6817c54 Make dummypython sleep for 30sec. 2015-05-07 16:10:42 +02:00
Teo Mrnjavac
22177be577 Use new installTranslator in CalamaresApplication. 2015-05-07 16:10:42 +02:00
Teo Mrnjavac
09ae0bcbd6 Add branding translations support to CalamaresUtils::installTranslator. 2015-05-07 16:10:42 +02:00
Teo Mrnjavac
8a02522d60 Add CALAMARES_RETRANSLATE_WIDGET 2015-05-07 16:10:42 +02:00
Daniel Hillenbrand
e4daf45c71 mount: mount efivarfs on /sys/firmware/efi/efivars
No need to bind sys to /sys/firmware/efi since it is already preset.
2015-05-01 10:42:06 +02:00
Daniel Hillenbrand
8612f427f1 bootloader: add --force argument for grub efi 2015-05-01 10:11:32 +02:00
Teo Mrnjavac
cf3359bdb4 Reset ReplacePage when going back from the next one. 2015-04-29 18:16:48 +02:00
Teo Mrnjavac
55b93091e6 Add reset method to ReplacePage. 2015-04-29 18:16:48 +02:00
Teo Mrnjavac
4b73d9579f Add PartitionPreview widget to AlongsidePage. 2015-04-28 17:42:11 +02:00
Teo Mrnjavac
0d0e3bf7bc Add hack to PCM to create a rescanned device copy to use as preview. 2015-04-28 17:40:49 +02:00
Teo Mrnjavac
6b40c8aaa1 Use a static colors cache to preserve partition colors. 2015-04-28 17:09:24 +02:00
Teo Mrnjavac
2c9d6fff17 const array is const. 2015-04-28 17:09:24 +02:00
Teo Mrnjavac
96c840e878 Use proper color for new partition in PartitionSplitterWidget. 2015-04-28 17:09:24 +02:00
Teo Mrnjavac
ae1fa0e48b Use correct palette in new partition dialog. 2015-04-28 17:09:24 +02:00
Teo Mrnjavac
9065882da4 Either count new partitions or existing partitions for colors. 2015-04-28 17:09:23 +02:00
Teo Mrnjavac
d3f4ced8c0 Use a separate palette for newly created partitions. 2015-04-24 18:10:12 +02:00
Teo Mrnjavac
c7563af1c9 New palette + don't reset count when coloring logical partitions. 2015-04-24 18:10:12 +02:00
Teo Mrnjavac
5ab7896fca Add the option of using PartitionIterator on a PartitionTable. 2015-04-24 18:10:12 +02:00
Teo Mrnjavac
6c62d6f6d2 Implement wrapping to new line for partition preview color labels. 2015-04-24 18:10:12 +02:00
Teo Mrnjavac
45d5c5bbde Only show the labels section where it's relevant. 2015-04-24 18:10:12 +02:00
Teo Mrnjavac
966ccdaafc Initial commit for adding labels to PartitionPreview. 2015-04-24 18:10:12 +02:00
Teo Mrnjavac
1ad1a64161 Code style. 2015-04-24 18:10:12 +02:00
Teo Mrnjavac
b15ccdfeef Year too. 2015-04-16 18:20:29 +02:00
Teo Mrnjavac
b7af3cde38 Fix url. 2015-04-16 18:19:15 +02:00
Teo Mrnjavac
30559baa16 Reorder entries on ChoicePage. 2015-04-16 18:14:26 +02:00
Teo Mrnjavac
9459e67ac9 Update Blue Systems tagline. 2015-04-16 18:14:26 +02:00
Teo Mrnjavac
9058c14032 Merge pull request #205 from rshipp/packages-local-install
Allow local installs with the packages module
2015-04-16 11:26:37 +02:00
Teo Mrnjavac
d894638f2f Add information about the partitioning action in the Summary page. 2015-04-15 15:36:49 +02:00
Teo Mrnjavac
06b4443e80 Const correctness. 2015-04-15 12:20:26 +02:00
Teo Mrnjavac
2846cbdcbc Report a prettyDescription for FillGlobalStorageJob. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
f8995bc8e5 Copyright header. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
fefa736501 Use <strong> instead of <b> in all instances. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
e2c133f329 Better Summary message in ResizePartitionJob. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
5c8453e4bb Better Summary message in FormatPartitionJob. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
fa83ca4469 Better Summary message for DeletePartitionJob. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
c56235df37 Better Summary message for CreatePartitionTableJob. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
3140990dbc Better Summary message for CreatePartitionJob 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
22411d2399 Never show an empty jobs label. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
a8b8a3a455 Show an "are you sure" prompt before install, if prompt-install is true. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
b86193824d Read a prompt-install variable from settings.conf. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
e6748f8656 Make the Summary page contents scrollable. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
69f6a2c73c Formatting in Summary page. 2015-04-13 14:58:34 +02:00
Teo Mrnjavac
be2083e2bf Add device node to Partitioning summary info objects. 2015-04-13 14:58:33 +02:00
Teo Mrnjavac
8568c2c816 Add prettyDescription to most Partitioning jobs. 2015-04-13 14:58:33 +02:00
Teo Mrnjavac
bf0296e155 Preliminary implementation of a summary queue for partitioning jobs. 2015-04-13 14:58:33 +02:00
Teo Mrnjavac
d45d436161 Add optional prettyDescription to Job. 2015-04-13 14:58:33 +02:00
Teo Mrnjavac
30502d49c3 Retranslate strings from uic on language change. 2015-04-09 18:16:14 +02:00
Teo Mrnjavac
fc2d15da16 Document potentially obscure code. 2015-04-08 19:17:51 +02:00
Teo Mrnjavac
2d2d5ca30c Store lambdas that call tr in ViewStepItem and TextTreeItem. 2015-04-08 19:10:24 +02:00
Teo Mrnjavac
24fc227e76 Retranslate navigation buttons. 2015-04-08 18:40:43 +02:00
Teo Mrnjavac
1f9843cc7d Retranslate window title. 2015-04-08 18:40:27 +02:00
Teo Mrnjavac
8b98b1cc24 Do not filter out LanguageChange events when in a RETRANSLATE functor. 2015-04-08 18:25:03 +02:00
Teo Mrnjavac
1211086b33 Update URL. 2015-04-08 13:59:33 +02:00
Teo Mrnjavac
9cb5a0af18 Merge pull request #213 from calamares/grubcfg-preserve-kernel-params
Preserve kernel parameters that aren't handled by grubcfg.
2015-04-03 16:58:09 +02:00
Teo Mrnjavac
654bc9f471 Add debug output to SetKeyboardLayoutJob.
CAL-206 #comment I've just pushed some debug output to master, could you please test again and post a new log?
2015-04-03 15:04:24 +02:00
Teo Mrnjavac
6395b4c8ce Use the new Disk and Partition icons. 2015-04-03 12:19:27 +02:00
Teo Mrnjavac
c9769dfd76 Add Disk and Partition icons to CalamaresUtils::defaultPixmap. 2015-04-03 11:57:01 +02:00
Teo Mrnjavac
9606b228d7 Add Disk and Partition icons to qrc. 2015-04-03 11:55:39 +02:00
Teo Mrnjavac
8625b8c5a9 Fix up regex in grubcfg to work with single quotes. 2015-04-02 20:25:41 +02:00
Teo Mrnjavac
ffc65fa07e New Partitioning icons, still being fixed up. 2015-04-02 14:21:14 +02:00
Teo Mrnjavac
b095982830 Expose new partitioning icons in CalamaresUtils::defaultPixmap. 2015-04-02 14:03:12 +02:00
Teo Mrnjavac
cf49239419 Update libcalamaresui.qrc 2015-04-02 14:02:13 +02:00
Teo Mrnjavac
debd4bc352 Fix regexp in grubcfg.
CAL-205 #comment Done some fixing, please retest when you can.
2015-04-02 13:24:47 +02:00
Teo Mrnjavac
a977b1ea40 Make sure we write the kernel config line anyway. 2015-04-02 12:53:24 +02:00
Teo Mrnjavac
41e7a9ae3c Preserve kernel parameters that aren't handled by grubcfg. 2015-04-02 12:53:24 +02:00
Teo Mrnjavac
9b516281d8 ... and use them in the Greeting page. 2015-04-02 12:50:17 +02:00
Teo Mrnjavac
506b79ef2c Add new icons to CalamaresUtils::defaultPixmap. 2015-04-02 12:49:40 +02:00
Teo Mrnjavac
e6f98393b8 Add icons to qrc. 2015-04-02 12:48:34 +02:00
Teo Mrnjavac
262ef38c0a Show/hide available links based on greeting.conf and Branding. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
23ddfaae67 Read configuration map into GreetingViewStep. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
43487198a2 The greeting module now has a config file. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
dc74e38a60 New Url entries in branding.desc 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
ec883e391d Add different kinds of Url to Branding. 2015-04-02 12:29:31 +02:00
Teo Mrnjavac
a1e643044e Make ProductUrl/ProductUrlText optional. 2015-04-01 18:11:38 +02:00
Teo Mrnjavac
00d3205ed3 Update branding.desc syntax. 2015-04-01 18:11:08 +02:00
Teo Mrnjavac
bce6ec94fd Add ProductUrl and ProductUrlText to Branding. 2015-04-01 18:03:17 +02:00
demmm
4088d9bd3b implement http://calamares.io/bugs/browse/CAL-185 2015-04-01 17:36:51 +02:00
Ramon Buldó
a253101258 [partition] Disable bootloader disk selection when installing in a efi system. 2015-03-29 17:03:26 +02:00
Teo Mrnjavac
19bcc887a8 Fix build with Qt 5.5 branch. 2015-03-27 11:59:44 +01:00
Teo Mrnjavac
5a24916fd0 Make which plymouth execute in chroot. 2015-03-26 15:53:50 +01:00
Rohan Garg
44105895f8 Use 'which' to find plymouth instead of hard coding /usr/bin
Debian ships plymouth in  /bin instead of /usr/bin, so we should use
'which' to figure out if it's installed.
2015-03-25 20:39:03 +01:00
Teo Mrnjavac
75f4f0fa04 Fix issue with splitting being allowed when it shouldn't be.
KPM docs misreport Partition::available to be in sectors, when it's
actually in bytes. Because of this, available space estimates were
completely off and resizing was allowed even when there's no room to
do it. This used to put the resize widget in all sorts of weird,
visually broken states.
CAL-188 #comment Does this still happen with current master?
2015-03-25 12:54:44 +01:00
demmm
f2c7458ebe proper align 2015-03-19 13:10:44 -04:00
Teo Mrnjavac
62f6f1d9cf Dress color codes, otherwise they are treated as YAML comments. 2015-03-19 18:03:55 +01:00
Teo Mrnjavac
e5d4c02b4a Use Branding styleStrings instead of CalamaresStyle constants. 2015-03-19 18:03:55 +01:00
Teo Mrnjavac
cc5095781d Branding::style is now ::styleString for clarity. 2015-03-19 18:03:55 +01:00
Teo Mrnjavac
9615691554 CalamaresStyle is no more. Look for color constants in Branding. 2015-03-19 18:03:55 +01:00
demmm
b982d751af adding needed Branding.cpp section
builds, but segfaults on running
2015-03-19 18:03:55 +01:00