Commit Graph

624 Commits

Author SHA1 Message Date
Rohan Garg
ce96b13c0d Add a initramfs module that updates the initramfs post install 2014-11-10 15:42:31 +01:00
Teo Mrnjavac
dec452f9b5 Make LocalePage retranslatable. 2014-11-10 14:56:29 +01:00
Teo Mrnjavac
2617ef369e Use retranslate pattern in GreetingPage. 2014-11-10 14:36:18 +01:00
Teo Mrnjavac
9e9a922498 Language selector + focus fix in GreetingPage. 2014-11-10 12:40:00 +01:00
Teo Mrnjavac
78075d7412 Use the new CalamaresUtils::installTranslator. 2014-11-10 12:26:39 +01:00
Teo Mrnjavac
058be8beb2 Ensure viewpages will have focus. To choose a focused widget inside it,
a viewpage should override void focusInEvent( QFocusEvent* ).
2014-11-10 12:26:03 +01:00
Teo Mrnjavac
8b343ace4a QTranslator switching in CalamaresUtils. 2014-11-10 12:26:03 +01:00
Teo Mrnjavac
fc4ce3d23b Make progress view unfocusable. 2014-11-10 12:26:03 +01:00
Teo Mrnjavac
0849a5983c Actually build translations qrc. 2014-11-07 17:58:47 +01:00
Rohan Garg
d3d9ea130c Fix build, last merge was a bit broken 2014-11-07 16:06:14 +01:00
Teo Mrnjavac
294d6a34ca Merge pull request #142 from shadeslayer/github_master
Make sure we also write to the /etc/hosts file
2014-11-07 15:23:52 +01:00
Rohan Garg
7a2fe5e647 Make sure we also write to the /etc/hosts file 2014-11-07 15:19:55 +01:00
Manjaro Linux
36e8ed5f46 adjust LXDE startup scripts
- add LXQT support
- add LXDE 0.5 changes in Archlinux
2014-11-07 14:04:15 +01:00
Teo Mrnjavac
7c89613332 Merge pull request #140 from kkofler/detect-sddm-session-type
displaymanager: Detect SDDM session type
2014-11-07 11:50:28 +01:00
Kevin Kofler
8512e43405 displaymanager: Set Session= for sddm autologin.
Detect the correct value using find_desktop_environment.
2014-11-07 04:09:54 +01:00
Kevin Kofler
467d78dde6 displaymanager: Use a regex to match User= in sddm.conf.
This ensures we really only match the User= line and not the
RememberLastUser= one.
2014-11-07 04:09:54 +01:00
Kevin Kofler
e365864c05 displaymanager: Detect the KDE Plasma (5 and 4) and GNOME desktop environments.
Add them to the front of the list of desktop environments because users
are more likely to expect those as the default if they have them
installed.
2014-11-07 04:09:54 +01:00
Kevin Kofler
4990b8e3f8 displaymanager: Refactor the desktop environment detection to eliminate the copy&paste.
This also fixes some issues with the previous code:

* The code for LightDM only supported Xfce.

* The case where multiple desktop environments are installed was not
  handled in a good way.

* We now also check that the xsession definition actually exists. This
  allows handling the case where upstream changed the xsession
  definition's name without renaming the invoked binary.
2014-11-07 04:09:54 +01:00
Kevin Kofler
5a4ae7f62c displaymanager: Run "sddm --example-config > /etc/sddm.conf" in a shell.
Otherwise, the output redirection cannot work (and the argument was also
misinterpreted as part of the command name).
2014-11-07 01:09:33 +01:00
Teo Mrnjavac
1df44eddba Fix displaymanager sddm config call. 2014-11-06 10:44:53 +01:00
demmm
3828eb6d2a add the define 2014-11-05 22:42:58 -05:00
demmm
a186c7e44b Missing define, check_chroot_call replaced
not really needed here, subprocess.call well tested
2014-11-05 22:26:10 -05:00
Teo Mrnjavac
486f160ca9 Merge pull request #134 from calamares/sddm
Generate sddm.conf if not present.
2014-11-04 09:51:36 +01:00
demmm
49bdb25f30 remove erronous line line, wrongly left in 2014-10-30 14:30:53 -04:00
Teo Mrnjavac
fef448833e And some more debug output readability improvements. 2014-10-30 17:36:56 +01:00
Teo Mrnjavac
f2f73b2e87 More meaningful debug output. 2014-10-30 17:30:13 +01:00
Teo Mrnjavac
a51251fdc6 Expose list of build-time available translation languages. 2014-10-30 17:26:03 +01:00
Teo Mrnjavac
aaa696f543 Even less debug noise. 2014-10-30 17:25:16 +01:00
Teo Mrnjavac
5b01925d99 Remove debug noise. 2014-10-30 16:26:54 +01:00
Teo Mrnjavac
8026a287d3 Shut up Qt lupdate warnings. 2014-10-29 13:06:52 +01:00
Teo Mrnjavac
10ca85338d Yet another Qt 5.4 fix. 2014-10-28 18:38:27 +01:00
Teo Mrnjavac
519ba038cf Fix build on Qt 5.4, again. 2014-10-28 18:30:37 +01:00
Teo Mrnjavac
633c8512c2 Try to make compile on Qt 5.4 2014-10-28 18:20:28 +01:00
demmm
8cefd1dcb8 remove indent 2014-10-28 11:18:10 -04:00
demmm
e26335d2da proper check for existing sddm.conf
second set of if/else is obsolete with this, sddm.conf always exists at this point
2014-10-28 11:15:35 -04:00
Teo Mrnjavac
a97297a3fe Attempt to fix #125 2014-10-28 12:02:08 +01:00
demmm
231c93a513 missed colon 2014-10-27 14:00:35 -04:00
demmm
f26406daa4 actually create a sddm.conf 2014-10-27 13:53:34 -04:00
Rohan Garg
6a9c9cbaae Fix typo 2014-10-27 18:39:11 +01:00
Teo Mrnjavac
8b0ad2f675 Merge pull request #129 from shadeslayer/master
Add support to set the hostname
2014-10-27 17:00:33 +01:00
Rohan Garg
fdd84d1f99 Don't crash when packageOperations is empty 2014-10-27 16:58:42 +01:00
demmm
972fe23131 create sddm.conf if not present 2014-10-27 11:57:32 -04:00
Rohan Garg
a0a3b4dc49 Style fixes
Run calamaresstyle over new classes
2014-10-27 16:53:57 +01:00
Teo Mrnjavac
ee2ed0921e Allow mounting a Fedora image.
Fixes #127
2014-10-27 11:02:09 +01:00
Rohan Garg
4a4dc74f5c Drop useless line 2014-10-22 15:54:07 +02:00
Rohan Garg
b587a0ff00 Add support to set the hostname 2014-10-21 19:06:27 +02:00
demmm
c84a98c23c set option to select higlighted text color
keep it independent from background color, should make it easier to add a color section option to branding
2014-10-18 19:41:53 -04:00
Rohan Garg
8a623cc118 Fix function call 2014-10-17 11:52:29 +02:00
Teo Mrnjavac
97867af2aa Autopep8 pass on bootloader module. 2014-10-16 21:08:18 +02:00
Teo Mrnjavac
8f250311e8 Allow links in Greeting page. 2014-10-16 21:05:57 +02:00
Teo Mrnjavac
c2d6237d31 Merge pull request #119 from calamares/efi
adding new bootloader job
2014-10-16 21:08:30 +02:00
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
demmm
58bc7c86c1 remove globalstorage entry for efi 2014-10-14 10:47:21 -04: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
demmm
7a310ef27b rename grub to bootloader calls 2014-10-12 18:21:28 -04:00
demmm
c1a1399958 adding new bootloader job
options are to use grub for BIOS, gummiboot for efi
set extra mountpoint when efi is found
2014-10-12 13:45:02 -04: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
006f0e3eef Make sure the window doesn't grow out of QScreen bounds. 2014-10-09 18:10:11 +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
Teo Mrnjavac
ef703b0859 Add page for erase+install operation. 2014-10-07 16:07:28 +02:00
Teo Mrnjavac
dab5a05116 Add isDirty check to PartitionCoreModule 2014-10-07 16:07:27 +02:00
Teo Mrnjavac
4cadbf9b98 Expose icon and tooltip in DeviceModel. 2014-10-07 16:07:27 +02:00