Commit Graph

1410 Commits

Author SHA1 Message Date
Teo Mrnjavac
78808251b9 Fix sizeHint calculation, useless padding is useless. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
ccc93d2c64 Better partition label square size. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
25e388aa29 Add CalamaresUtils::defaultFont() 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
93c515ccef Add documentation for partition table types. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
83cbe16918 Fixup preview height. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
84c254ced2 Use DeviceInfoWidget in ChoicePage. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
17f1f5f61f Load those icons. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
d4117b333c New icons for DeviceInfoWidget. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
9d9de792e5 New DeviceInfoWidget to educate the user. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
4c90a68241 Make choice text refer to the currently selected device. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
b31ac92d7e And make it build. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
3bf1fe716f Yank out compact mode, refactor layout, fix strings. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
c6a7c54904 Preview widget height. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
c717a08d6d Unbreak 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
abfc009872 Actually apply changes. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
2320ce9c04 Layout fixes. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
47b5c6eeb4 Use ReplaceWidget in ChoicePage. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
26ac809d6e Don't instantiate ReplacePage in PVS any more. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
46fcca63c3 Refactor ReplacePage into new ReplaceWidget. 2015-12-30 17:27:13 +01:00
Teo Mrnjavac
351c69c300 Remove obsolete code.
CAL-340 #close
2015-12-30 17:27:02 +01:00
Teo Mrnjavac
742b2013f9 Sleep for 3, not 30s. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
0fa19cca68 Fix the last page fix. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
51d0d9f9b4 Disable next on last page. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
22470ba4af Disallow next if the root password is not reused or provided.
CAL-344 #close
2015-12-30 17:27:02 +01:00
Teo Mrnjavac
8a6dcfbe2f Move ReplacePartition operation to PartitionActions. 2015-12-30 17:27:02 +01:00
demmm
f267410dbb different names 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
a79575afe8 Create erase button in a separate method. 2015-12-30 17:27:02 +01:00
demmm
c89bd1db23 implement https://calamares.io/bugs/browse/CAL-341 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
e0b1290b8c Update the bootloader picker when the chosen device changes. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
a65be8bfda Add the expanded signal to ExpandableRadioButton. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
526180dde2 Use ExpandableRadioButton in ChoicePage for Erase on MBR. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
02c345e3be Use QGridLayout in ExpandableRadioButton to align widget with label. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
40ee57bed1 Useless margin is useless. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
94eda832f6 Build it. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
32e97c6ef2 Initial commit for ExpandableRadioButton.
ExpandableRadioButton extends PrettyRadioButton with an optional
user-provided QWidget at the bottom, which only shows up when the
button is checked.
2015-12-30 17:27:02 +01:00
Teo Mrnjavac
e83fdfbd13 Make PrettyRadioButton inheritable. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
368d3fe747 Apply partitioning action choice separately from preview, and update. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
e59418e880 Add crash utility to CalamaresUtils. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
391b52427a Properly handle the edge case of a PCM::revert and null deviceModel. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
9b2f04daf6 Add reverted signal to PCM. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
36aa8f736a Wrap choice items in a ScrollArea. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
0a72f22a34 WIP: go to next page on next if erase selected. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
32fd12d501 Add label to PCM state preview. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
65fd43729c Use PartitionActions in ChoicePage for Erase.
Document ChoicePage because it's quite long and confusing.
Add PCM state preview and update it when a choice is selected.
Smaller icons.
Update strings.
2015-12-30 17:27:02 +01:00
Teo Mrnjavac
2e9e1782cf Remove EraseDiskPage from PartitionViewStep. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
9167a34f2e Kill EraseDiskPage, add PartitionActions. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
6de8158bec It is a good idea to initialize pointer members in the ctor. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
eeceed91eb Refactor ChoicePage workflow, use rescanned state for Preview widget. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
d9421f586f Sync layout with PartitionPage. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
c031ed677f String fix. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
8858ea7854 Show preview widget for unknown disklabels or no disklabel. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
7adaa65795 Move preview up. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
26c2c08c47 Constant for unknown disklabel color. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
fadfc67015 Split up ChoicePage loading, support preview and disk chooser. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
9a67f6372c Continue asynchronously loading PartitionViewStep after config load. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
3ba058d5b7 Add compact mode default. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
201cba6c77 UIfy ChoicePage. 2015-12-30 17:27:02 +01:00
Teo Mrnjavac
e58fe43a03 Try out GUI options for having a preview in the choice phase. 2015-12-30 17:27:02 +01:00
codeworkx
b412937699 don't set default "users" group on home dirs
Fixes CAL-345.

Changing group of home dir to the default "users" group might be a security risk
because every user which belongs to the default "users" group
might be able to access private data on home dirs of other users.
2015-11-29 11:10:01 +01:00
Teo Mrnjavac
33ab4ee663 Enable Restart Now checkBox if required. 2015-11-06 14:58:27 +01:00
Teo Mrnjavac
c1ea86c48e Add new users to a group with the same name. 2015-10-16 16:47:23 +02:00
Teo Mrnjavac
bbd8fe6203 Allow reusing the user password as root password. 2015-10-16 14:26:26 +02:00
Teo Mrnjavac
cb83e22ded Make sure the FullName is not empty. 2015-10-15 13:24:27 +02:00
Teo Mrnjavac
baa3553db5 Add CalamaresUtils::obscure. 2015-09-25 15:24:59 +02:00
Teo Mrnjavac
5f54a56513 PMUtils is now KPMHelpers. Also fixup after PartUtils refactor. 2015-09-18 15:41:07 +02:00
Teo Mrnjavac
95e87391a4 Refactor Osprober and resizability logic out ot PartitionViewStep. 2015-09-18 15:39:49 +02:00
Teo Mrnjavac
c5f9397d18 Keep UUID when clearing swap.
CAL-156 #comment I've just pushed a fix attempt for this, please test.
2015-09-17 15:16:24 +02:00
Teo Mrnjavac
4b57749945 Use PluginFactory in License module. 2015-09-15 17:21:19 +02:00
Philip
43438b633c [services] fix target_env adjustment 2015-09-15 16:51:15 +02:00
Teo Mrnjavac
1c5f9ce320 Add sample custom instance configuration file to WebView module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
c824172f37 Refactor Summary page to use new workflow to get operations list. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
007ad9abae Add debug information as a tooltip to ViewStepItem if running with -d 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
490875cdb4 There is no prepare phase any more. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
5e87e01374 Refactor view module workflow in ViewManager. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
2a0eb9e481 Fix debug window. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
461ef79170 ViewStep should know their own instance keys. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
fb44fb97b6 Massive refactor of module loading, configuration, startup, management. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
c74c67805e Remember to update CMakeLists. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
834299f785 There are no Phases any more, just a ModuleAction for a module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
9cb4e60b31 Namespace fixage. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
9042616a8a Refactor configuration file loading to allow multiple instances. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
9facef63c6 PluginFactory in InteractiveTerminal module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
e120f2a74c PluginFactory in Locale module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
90b156f97f PluginFactory in Keyboard module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
7e6c626a0b PluginFactory in Partition module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
316909303c PluginFactory in Summary module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
0bd64163a5 PluginFactory in Users module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
bc9c451f33 PluginFactory in WebView module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
420c2cf7c4 PluginFactory in Welcome module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
d91f00f334 PluginFactory in Finished module. 2015-09-15 16:48:42 +02:00
Teo Mrnjavac
4f84e9ad14 InstallationViewStep is now ExecutionViewStep.
It also uses JobQueue directly.
2015-09-15 16:48:42 +02:00
Teo Mrnjavac
f836019f49 Add Calamares::PluginFactory to allow multiple instances of a Qt Plugin. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
6ec2b07ca7 Install icon 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
3b56c5c9e8 Use safe QTimer::singleShot connection. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
49c03bbf2c interactiveterminal ViewModule, based on the Konsole KPart. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
05292241c4 Let's just try ways to escape or not escape until something sticks. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
daee5b7148 Escape the encrypted password after calling crypt with the right salt. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
1534b0a27c Try to fix dontChroot command execution. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
a4ea7e65a2 Try running no-chroot commands in env rather than sh -c. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
8573bebc58 Escape relevant password hash characters. 2015-09-15 16:48:41 +02:00
Rohan Garg
ca393d0a44 Set the default rootMountPoint when not chroot'ing 2015-09-15 16:48:41 +02:00
Rohan Garg
18218b250e Adjust /etc/timezone if it exists 2015-09-15 16:48:41 +02:00
Rohan Garg
a98742c32c Use timedatectl provided by systemd to set the time on the target
Use tools provided by systemd to set the time and fall back to
manually doing it via linking /etc/localtime
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
7212aaec74 Fix the last fix. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
d8818e0280 Fix non-chroot target env call. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
42e465aa10 CalamaresUtils::System is now a class. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
0803d86c40 Don't duplicate code. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
2e3751ffa7 If dont-chroot is set, don't chroot target env calls. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
10ce42f35c Use target_env calls in Python modules. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
bf885d65db chroot calls are now generic "target env" calls. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
4f2eddd146 Exclude read-only devices from partitioning backend scan. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
26715d4281 Correct name of libparted backend. 2015-09-15 16:48:41 +02:00
Teo Mrnjavac
e8de570acb Build against partresizerwidget and related in KPMcore. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
adc23b99b6 Move CalaPM init into PMUtils. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
c2eef9ac30 The Humongous Include Fixage For KPMcore Headers. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
a49c339dcd Fixup tests directory because we don't have a project statement. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
93352cf4be Set up linking against kpmcore. 2015-09-15 16:48:40 +02:00
Teo Mrnjavac
80ff27a804 Remove partitionmanager submodule. 2015-09-15 16:48:40 +02:00
demmm
2372e45a8a better spaced layout, most will use less then 3 2015-09-14 18:51:42 -04:00
demmm
031ff75630 Update License screenshot 2015-09-14 11:36:33 -04:00
Teo Mrnjavac
69b35da6bf Fix up README.md. 2015-09-14 16:51:04 +02:00
demmm
c1ee36946c New License module, based on KaOS license module.
See README.md for details.
2015-09-14 16:51:04 +02:00
Teo Mrnjavac
8064736580 Add clearLayout to CalamaresUtilsGui. 2015-09-14 16:51:04 +02:00
Bhushan Shah
f15320f4f4 Add example disable service 2015-08-31 20:22:02 +05:30
Bhushan Shah
829ae3e9e4 Allow to disable services
There might be some services that are enabled in live environment but
not useful for the installed environment and needs disabling by default
2015-08-31 17:58:51 +05:30
Teo Mrnjavac
44d2c602e3 Do not build modules listed in SKIP_MODULES. 2015-08-28 17:38:36 +02:00
Teo Mrnjavac
de8e713b31 Update defaults. 2015-08-19 12:51:40 +02:00
Teo Mrnjavac
4ae55d0108 Allow setting the default for autologin/no autologin. 2015-08-19 12:51:06 +02:00
Rohan Garg
f75f6b51cb Fix copyrights and make it so that one can go back when using webview 2015-08-17 09:46:14 +02:00
Rohan Garg
d99ad8fab9 Add a webview module
Add a webview module so that calamares can load a webpage.
This is useful when configuring webservices on your device such as
ownCloud.
2015-08-17 09:46:05 +02:00
Teo Mrnjavac
a2a6d2f243 Update submodule. 2015-07-29 13:15:47 +02:00
Teo Mrnjavac
4b8a85f66f Update submodule. 2015-07-23 15:46:17 +02:00
Teo Mrnjavac
866ca49bdc Update partitionmanager submodule. 2015-07-23 10:50:35 +02:00
Teo Mrnjavac
1a39d2a6e1 Always provide this as context for a signal connection with a lambda. 2015-07-15 17:49:25 +02:00
Teo Mrnjavac
b75b13b466 Make sure to update GlobalStorage on every timezone change. 2015-07-15 17:48:59 +02:00
Teo Mrnjavac
45aac4ea78 Reset filesystem combo box to current filesystem if going back to "Keep" 2015-07-15 13:35:07 +02:00
Teo Mrnjavac
49f470b503 Update non-mountable list in CreatePartitionDialog. 2015-07-15 13:26:13 +02:00
Teo Mrnjavac
2ec2b4ab86 Disallow mounting non-mountable filesystem types. 2015-07-15 13:25:52 +02:00
Teo Mrnjavac
9bc77fe386 Minimum width. 2015-07-15 13:02:42 +02:00
Teo Mrnjavac
9f2086a648 Allow changing the filesystem type when editing a partition. 2015-07-15 12:51:35 +02:00
Teo Mrnjavac
a878d9763f Don't do grubcfg if we're not installing any boot loader. 2015-07-07 19:21:13 +02:00
Teo Mrnjavac
881bf67d22 Add a "do not install boot loader" value to the boot loader picker. 2015-07-07 19:16:22 +02:00
Teo Mrnjavac
8c537daadc Do not try to install the bootloader if a path is not defined. 2015-07-07 19:15:48 +02:00
Teo Mrnjavac
87edd61278 Use availableGeometry instead of screenGeometry to compute maximum size. 2015-07-07 16:44:01 +02:00
Teo Mrnjavac
ad5e837b75 Print Calamares version string in debug output. 2015-07-07 12:20:57 +02:00
Teo Mrnjavac
3326ec4ace Clear mountPoint string when selecting a non-mountable filesystem type.
CAL-249 #close I pushed a fix, please test and reopen if still broken.
2015-07-02 12:18:26 +02:00
Teo Mrnjavac
b85e2d777e If we don't ask for a root password, allow going forward without it.
CAL-248 #close Should be fixed, please test.
2015-07-02 11:21:46 +02:00
Teo Mrnjavac
42316fe6dc Do ask for confirmation if quitting during install phase. 2015-06-29 10:49:16 +02:00
Teo Mrnjavac
851f175ae7 Only load QML when the install page is activated. 2015-06-29 10:49:16 +02:00
Teo Mrnjavac
27309619d3 Optionally do not allow a swap partition smaller than physical RAM. 2015-06-26 15:49:02 +02:00
Teo Mrnjavac
35f4db9316 Read ensureSuspendToDisk from partition.conf. 2015-06-26 15:48:12 +02:00
Ramon Buldó
92736c3486 Change how swap is calculated in automatic installation.
It uses same values as Thus/Anaconda.
Takes into account available disk space (don't use more than 10% of it)
2015-06-26 15:36:15 +02:00
Teo Mrnjavac
683cc893e4 Remove unreachable code. 2015-06-21 01:55:15 +02:00
Teo Mrnjavac
506e51598d Do not dereference a nullptr. 2015-06-21 01:39:28 +02:00
Teo Mrnjavac
845dd761d9 Do not dereference a nullptr. 2015-06-21 01:27:02 +02:00
Teo Mrnjavac
d96cfb725b Do not dereference a nullptr. 2015-06-21 01:21:28 +02:00
Teo Mrnjavac
c987235bb8 Scan for type 82 partitions and clear them regardless of swapon status. 2015-06-20 20:38:40 +02:00
Teo Mrnjavac
91cf3950df Clear swap partitions after swapoffing them. 2015-06-20 19:31:09 +02:00
Teo Mrnjavac
b636d69a45 Scale Welcome image correctly, adjust layouts throughout Welcome page. 2015-06-20 01:05:55 +02:00
Teo Mrnjavac
80c76c549f New FixedAspectRatioLabel for pixmaps. 2015-06-20 01:04:54 +02:00
Teo Mrnjavac
161046af43 Use ProductWelcome branding image, if available. 2015-06-20 00:19:12 +02:00
Teo Mrnjavac
a47fc0a897 Update default branding component. 2015-06-20 00:18:36 +02:00
Teo Mrnjavac
75cf3f08c6 Add ProductWelcome image to Branding. 2015-06-20 00:18:14 +02:00
Teo Mrnjavac
3545e4fb86 Layout improvement. 2015-06-20 00:17:50 +02:00
Teo Mrnjavac
3bf0500f4e Lay out optional Welcome buttons horizontally. 2015-06-19 23:24:34 +02:00
Teo Mrnjavac
7e70e4c137 TextTreeItem is no more. 2015-06-19 22:50:48 +02:00
Teo Mrnjavac
6de46fcd25 There are no Category items any more.
As of this commit, the ProgressTree{Model,View} behaves like a flat
list model/view.
2015-06-19 22:47:39 +02:00
Teo Mrnjavac
02a8226b76 Eliminate Prepare as a step. 2015-06-19 22:47:39 +02:00
Philip
3b38aee1dd [displaymanager] adopt to Cinnamon 2.6.8 2015-06-18 07:02:16 +02:00
Teo Mrnjavac
bd7dd43c90 Hardcode Calamares logo in About.
CAL-241 #close
2015-06-16 02:38:07 +02:00
Teo Mrnjavac
bc112889ea Update submodule. 2015-06-16 02:15:00 +02:00
Gormogon
26156a242e Rename so that the variable does not shadow the function name 2015-06-14 08:33:05 -04:00
Gormogon
9f8a8f6a64 PEP and Unused Import 2015-06-14 08:22:35 -04:00
Gormogon
bc66502fda Some more PEP 2015-06-14 07:25:37 -04:00
Gormogon
db7577b9f8 More PEP 2015-06-14 07:04:52 -04:00
Gormogon
beb911863b A little more PEP 2015-06-14 06:56:56 -04:00
Gormogon
99c4b59f64 Fixed GDM auto-login bug due to typo 2015-06-13 23:12:35 -04:00
Gormogon
a4a22e3ad0 PEP Cleanup 2015-06-13 23:08:52 -04:00
Teo Mrnjavac
1e5e44e01b Merge pull request #222 from Gormogon/master
Small Python IO Cleanup
2015-06-14 03:35:47 +02:00
Gormogon
6a7e219021 Small Python IO Cleanup 2015-06-13 21:00:42 -04:00
Teo Mrnjavac
83e368fbc4 Initialize all the things. 2015-06-14 02:19:34 +02:00
Teo Mrnjavac
aeac85d176 Avoid keeping dead code. 2015-06-14 01:18:51 +02:00
Teo Mrnjavac
11f5b729a8 Avoid dereferencing nullptr. 2015-06-14 01:10:50 +02:00
Teo Mrnjavac
df9daf8fec Avoid accessing nullptr. 2015-06-14 01:02:50 +02:00
Teo Mrnjavac
88719d961f Initialize all members in ChoicePage. 2015-06-14 00:55:26 +02:00
Teo Mrnjavac
003f8bb956 File descriptor must be positive. 2015-06-14 00:53:35 +02:00
Teo Mrnjavac
624e4f9421 Initialize all members in PartitionModel. 2015-06-14 00:48:51 +02:00
Teo Mrnjavac
23c21074af Initialize all the things in PartitionSplitterWidget. 2015-06-14 00:45:38 +02:00
Teo Mrnjavac
8633999997 Useless member is useless. 2015-06-14 00:33:32 +02:00
Teo Mrnjavac
f3956ff11d Initialize all the things. 2015-06-14 00:29:06 +02:00
Teo Mrnjavac
233d759a00 Initialize all members even in private ctor. 2015-06-13 21:41:49 +02:00
Teo Mrnjavac
94a1f44fd7 Initialize all members and use nullptr instead of 0. 2015-06-13 21:33:20 +02:00
Teo Mrnjavac
9bded2dcfc Initialize all members. 2015-06-13 21:33:00 +02:00
Teo Mrnjavac
46dcb51f62 Initialize all members and make dtor virtual. 2015-06-13 21:32:34 +02:00
Teo Mrnjavac
8e16bea3d9 Remove unused members. 2015-06-13 21:32:06 +02:00
Teo Mrnjavac
326671a3d6 Remove dead (unreachable) code. 2015-06-13 21:31:32 +02:00
Teo Mrnjavac
b9dbf668f3 Initialize previously uninitialized scalar. 2015-06-13 21:31:06 +02:00
Teo Mrnjavac
30a840ceb0 Fix issue with changed() never being emitted on remove in GS. 2015-06-13 21:30:25 +02:00
Teo Mrnjavac
b348a45834 Fix memory leak in QJsonModel. 2015-06-13 20:31:41 +02:00
Teo Mrnjavac
2a0ad54fd5 Add prettyStatusMessage to all partitioning jobs.
CAL-235 #comment Improved status messages for jobs while installing.
2015-06-13 02:30:09 +02:00
Teo Mrnjavac
3855998fe5 Add prettyStatusMessage to Clear* and Check* partitioning jobs. 2015-06-13 02:24:58 +02:00
Teo Mrnjavac
eae237211f Add prettyStatusMessage to {Python,Process}Job. 2015-06-13 02:23:11 +02:00
Teo Mrnjavac
079fa3624b Update pretty{Description,StatusMessage} for users module jobs. 2015-06-13 02:22:03 +02:00
Teo Mrnjavac
b0d52fb928 Use it in JobQueue. 2015-06-13 02:03:57 +02:00
Teo Mrnjavac
18a9e0db48 Add optional prettyStatusMessage to Job. 2015-06-13 02:03:35 +02:00
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