Commit Graph

599 Commits

Author SHA1 Message Date
Rohan Garg
34befb9cb8 Refactor CPU detection code to be more reliable
Instead of parsing hwinfo output, which might or might be present
on systems, just parse the /proc/cpuinfo file, it's much more
reliable.
2014-10-16 19:34:43 +02:00
Rohan Garg
b8b2c2b735 Properly break lines in Python 2014-10-16 19:00:44 +02:00
Teo Mrnjavac
2e2bd78deb Use Branding in partition viewmodule. 2014-10-16 17:00:08 +02:00
Teo Mrnjavac
4c51d320f6 Use branding in Prepare viewmodule. 2014-10-16 16:59:29 +02:00
Teo Mrnjavac
8e38a03cca Branding in greeting module. 2014-10-16 16:58:58 +02:00
Teo Mrnjavac
90e10f63fa Use Branding in main window. 2014-10-16 16:58:36 +02:00
Teo Mrnjavac
7594c85f2e Add ImageRegistry support to Branding. 2014-10-16 16:57:52 +02:00
Teo Mrnjavac
5e8ab97de4 Actually load branding data from default component. 2014-10-16 16:15:31 +02:00
Rohan Garg
6513c6400e Handle line breaks properly 2014-10-15 12:51:43 +02:00
Teo Mrnjavac
fc60bcb313 Update partitionmanager submodule. 2014-10-15 10:29:53 +02:00
Teo Mrnjavac
068c6e9f8a Don't set CMP0043 on old CMake, take 3. 2014-10-14 17:17:41 +02:00
Teo Mrnjavac
b49b05f209 Make compile with old CMake. 2014-10-14 17:14:15 +02:00
Teo Mrnjavac
e648f23e18 CMP0043 doesn't apply <3.0.0 2014-10-14 17:11:04 +02:00
Teo Mrnjavac
0436aa0ea0 Merge pull request #121 from shadeslayer/master
Make sure executables and paths exist before using them
2014-10-14 15:43:22 +02:00
Rohan Garg
f9bd0dfcfc Make sure the hwinfo executable exists before calling it 2014-10-14 15:41:20 +02:00
Rohan Garg
eed387f7a4 Make sure to check things exist before actually modifying them
This fixes crashes when a system does not have squashfs-tools or
a grub dir does not exist.
2014-10-14 15:09:38 +02:00
Teo Mrnjavac
9c10b49802 Check if the filesystem to be resized actually supports grow/shrink. 2014-10-14 11:48:19 +02:00
Teo Mrnjavac
a58857baa6 Hook up the branding component code path in CalamaresApplication. 2014-10-10 18:18:59 +02:00
Teo Mrnjavac
2182918476 Groundwork for branding loader/manager. 2014-10-10 18:18:35 +02:00
Teo Mrnjavac
97cf2a796c Load branding component name from Settings. 2014-10-10 18:13:02 +02:00
Teo Mrnjavac
f952b44922 Works better when you actually add it to CMakeLists.txt. 2014-10-10 18:11:27 +02:00
Teo Mrnjavac
8618d85b8f Dummy default branding component. 2014-10-10 18:10:50 +02:00
Teo Mrnjavac
d010d69c61 Branding component choice in settings.conf. 2014-10-10 18:09:26 +02:00
Teo Mrnjavac
d53643f7cc New CalamaresAddBrandingSubdirectory macro. 2014-10-10 18:07:41 +02:00
Teo Mrnjavac
006f0e3eef Make sure the window doesn't grow out of QScreen bounds. 2014-10-09 18:10:11 +02:00
Teo Mrnjavac
734b606dee Add Transifex repo config. 2014-10-09 16:27:20 +02:00
Teo Mrnjavac
9e84581354 Only add wheel to sudoers if a wheel group is defined in conf. 2014-10-08 15:35:27 +02:00
Teo Mrnjavac
ad68ce0187 Make default groups, users group and autologin group configurable. 2014-10-08 15:05:23 +02:00
Teo Mrnjavac
0d1fb79ec8 New config file for users module. 2014-10-08 15:02:27 +02:00
Teo Mrnjavac
ce407a5ec4 Use good old C++ template instead of auto parameter which needs C++1y. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
961eadada4 New UI and logic for Alongside autopartitioning+install. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
08a2ab94e7 Use PMUtils::findPartitionByPath in PVS + fix back button in Alongside. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
2347ead200 Remove bad debug feature. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
6d60ca5e63 Fix item order in ChoicePage 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
6bd5736d35 Add findPartitionByPath to PMUtils 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
51d12b2b35 The vfat driver apparently supports FAT16 too, be consistent. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
482b2c0da2 Fix fstype names for mount -t syntax. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
e7995ad540 Improve Osprober logic to immediately check if entries are resizable. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
9ebc881223 Prevent segfault on exit when module not found. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
045d9cdf8c Fix layout in partitioning choice page. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
faa39e1746 Enable resize+alongside radiobutton if osprober reports multiple lines. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
0801756cd1 Stub for Alongside page, and logic to detect if alongside is possible. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
dbd6573ed4 Write required disk space into GlobalStorage. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
c070b1c836 Const correctness. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
c6eb0721d9 Check for root mount point before going ahead. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
aeb20761cc Add preview and partitioning operations to Erase+Autopartition code path 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
8a50685c75 Add clearJobs to PCM 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
b7f2d5d9d3 Fix page flow issue in partition module. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
a943d55063 Size policy on erase page. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
fdaea27475 Attempt at a window size fix. 2014-10-07 16:07:28 +02:00