641 Commits (0738af04ca152f59a5627c9e940aa54056d053bf)

Author SHA1 Message Date
Teo Mrnjavac 8575240b95 Capture by-val in Retranslator macro. 12 years ago
Teo Mrnjavac 688cc8f798 Use Retranslator in KeyboardPage. 12 years ago
Rohan Garg fb92697a93 Make sure our return value is correct 12 years ago
Teo Mrnjavac 99114e04d8 Merge pull request #147 from kkofler/fix-issue-31
keyboard: Write the keyboard model and layout settings to the root mount point.
12 years ago
Teo Mrnjavac 1d9535053a Use Retranslator in GreetingPage. 12 years ago
Teo Mrnjavac e5c3888be2 Allow multiple CALAMARES_RETRANSLATE blocks in the same widget. 12 years ago
Teo Mrnjavac 945b59748a Add RETRANSLATE macro to CalamaresUtils::Retranslator. 12 years ago
Kevin Kofler 3e9de2a05a keyboard: Allow absolute paths for the xOrgConfFileName setting.
This should ensure it works on all distributions.
12 years ago
Rohan Garg 2c8aa950a3 Update README.md 12 years ago
Kevin Kofler 86d51b4a9c keyboard: Pass settings directly, not through GlobalStorage.
Pass the settings from keyboard.conf directly to the
SetKeyboardLayoutJob rather than through GlobalStorage.
12 years ago
Kevin Kofler 2fec6e3202 keyboard: kbd-model-map: Add link to the original.
In particular, to the upstream git log for the file.
12 years ago
Kevin Kofler bfdcf0dbc0 keyboard: Coding style fixes. 12 years ago
Teo Mrnjavac 6f3898a73d Use Retranslator in LocalePage. 12 years ago
Teo Mrnjavac 08b90e975b Add retranslator class to CalamaresUtils. 12 years ago
demmm 53da965bb1 make gummiboot kernel/distro agnostic
add hibernate option to .conf
create a fallback entry in gummiboot menu
re-add firmware to globalstorage, simplifies this module, will be needed to add more OS to gummi
12 years ago
Kevin Kofler 4f9f7d7858 keyboard: Write the keyboard model and layout settings to the root mount point.
This is implemented as a new SetKeyboardLayout job that does the work.

Portions of the code are adapted from systemd-localed's source code,
which is under a compatible license (LGPLv2.1+, can be converted to our
GPLv3+ license). I ported it from C to to C++/Qt and made some minor
tweaks to the mapping logic (from X11 to vconsole layouts) though.

Fixes #31.

Tested on a Fedora Remix (Kannolo 21) with the default module settings
(finds the converted X11 keymaps for the virtual console) and with
convertedKeymapPath: "" (does the legacy keymap conversion as expected).
12 years ago
Rohan Garg 2b26be4162 Fix copyright holder 12 years ago
Rohan Garg ce96b13c0d Add a initramfs module that updates the initramfs post install 12 years ago
Teo Mrnjavac dec452f9b5 Make LocalePage retranslatable. 12 years ago
Teo Mrnjavac 2617ef369e Use retranslate pattern in GreetingPage. 12 years ago
Teo Mrnjavac 9e9a922498 Language selector + focus fix in GreetingPage. 12 years ago
Teo Mrnjavac 78075d7412 Use the new CalamaresUtils::installTranslator. 12 years ago
Teo Mrnjavac 058be8beb2 Ensure viewpages will have focus. To choose a focused widget inside it,
a viewpage should override void focusInEvent( QFocusEvent* ).
12 years ago
Teo Mrnjavac 8b343ace4a QTranslator switching in CalamaresUtils. 12 years ago
Teo Mrnjavac fc4ce3d23b Make progress view unfocusable. 12 years ago
Teo Mrnjavac 0849a5983c Actually build translations qrc. 12 years ago
Rohan Garg d3d9ea130c Fix build, last merge was a bit broken 12 years ago
Teo Mrnjavac 294d6a34ca Merge pull request #142 from shadeslayer/github_master
Make sure we also write to the /etc/hosts file
12 years ago
Rohan Garg 7a2fe5e647 Make sure we also write to the /etc/hosts file 12 years ago
Manjaro Linux 36e8ed5f46 adjust LXDE startup scripts
- add LXQT support
- add LXDE 0.5 changes in Archlinux
12 years ago
Teo Mrnjavac 7c89613332 Merge pull request #140 from kkofler/detect-sddm-session-type
displaymanager: Detect SDDM session type
12 years ago
Kevin Kofler 8512e43405 displaymanager: Set Session= for sddm autologin.
Detect the correct value using find_desktop_environment.
12 years ago
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.
12 years ago
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.
12 years ago
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.
12 years ago
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).
12 years ago
Teo Mrnjavac 1df44eddba Fix displaymanager sddm config call. 12 years ago
demmm 3828eb6d2a add the define 12 years ago
demmm a186c7e44b Missing define, check_chroot_call replaced
not really needed here, subprocess.call well tested
12 years ago
Teo Mrnjavac 486f160ca9 Merge pull request #134 from calamares/sddm
Generate sddm.conf if not present.
12 years ago
demmm 49bdb25f30 remove erronous line line, wrongly left in 12 years ago
Teo Mrnjavac fef448833e And some more debug output readability improvements. 12 years ago
Teo Mrnjavac f2f73b2e87 More meaningful debug output. 12 years ago
Teo Mrnjavac a51251fdc6 Expose list of build-time available translation languages. 12 years ago
Teo Mrnjavac aaa696f543 Even less debug noise. 12 years ago
Teo Mrnjavac 5b01925d99 Remove debug noise. 12 years ago
Teo Mrnjavac 8026a287d3 Shut up Qt lupdate warnings. 12 years ago
Teo Mrnjavac 10ca85338d Yet another Qt 5.4 fix. 12 years ago
Teo Mrnjavac 519ba038cf Fix build on Qt 5.4, again. 12 years ago
Teo Mrnjavac 633c8512c2 Try to make compile on Qt 5.4 12 years ago
demmm 8cefd1dcb8 remove indent 12 years ago
demmm e26335d2da proper check for existing sddm.conf
second set of if/else is obsolete with this, sddm.conf always exists at this point
12 years ago
Teo Mrnjavac a97297a3fe Attempt to fix #125 12 years ago
demmm 231c93a513 missed colon 12 years ago
demmm f26406daa4 actually create a sddm.conf 12 years ago
Rohan Garg 6a9c9cbaae Fix typo 12 years ago
Teo Mrnjavac 8b0ad2f675 Merge pull request #129 from shadeslayer/master
Add support to set the hostname
12 years ago
Rohan Garg fdd84d1f99 Don't crash when packageOperations is empty 12 years ago
demmm 972fe23131 create sddm.conf if not present 12 years ago
Rohan Garg a0a3b4dc49 Style fixes
Run calamaresstyle over new classes
12 years ago
Teo Mrnjavac ee2ed0921e Allow mounting a Fedora image.
Fixes #127
12 years ago
Rohan Garg 4a4dc74f5c Drop useless line 12 years ago
Rohan Garg b587a0ff00 Add support to set the hostname 12 years ago
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
12 years ago
Rohan Garg 8a623cc118 Fix function call 12 years ago
Teo Mrnjavac 97867af2aa Autopep8 pass on bootloader module. 12 years ago
Teo Mrnjavac 8f250311e8 Allow links in Greeting page. 12 years ago
Teo Mrnjavac c2d6237d31 Merge pull request #119 from calamares/efi
adding new bootloader job
12 years ago
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.
12 years ago
Rohan Garg b8b2c2b735 Properly break lines in Python 12 years ago
Teo Mrnjavac 2e2bd78deb Use Branding in partition viewmodule. 12 years ago
Teo Mrnjavac 4c51d320f6 Use branding in Prepare viewmodule. 12 years ago
Teo Mrnjavac 8e38a03cca Branding in greeting module. 12 years ago
Teo Mrnjavac 90e10f63fa Use Branding in main window. 12 years ago
Teo Mrnjavac 7594c85f2e Add ImageRegistry support to Branding. 12 years ago
Teo Mrnjavac 5e8ab97de4 Actually load branding data from default component. 12 years ago
Rohan Garg 6513c6400e Handle line breaks properly 12 years ago
Teo Mrnjavac fc60bcb313 Update partitionmanager submodule. 12 years ago
demmm 58bc7c86c1 remove globalstorage entry for efi 12 years ago
Rohan Garg f9bd0dfcfc Make sure the hwinfo executable exists before calling it 12 years ago
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.
12 years ago
Teo Mrnjavac 9c10b49802 Check if the filesystem to be resized actually supports grow/shrink. 12 years ago
demmm 7a310ef27b rename grub to bootloader calls 12 years ago
demmm c1a1399958 adding new bootloader job
options are to use grub for BIOS, gummiboot for efi
set extra mountpoint when efi is found
12 years ago
Teo Mrnjavac a58857baa6 Hook up the branding component code path in CalamaresApplication. 12 years ago
Teo Mrnjavac 2182918476 Groundwork for branding loader/manager. 12 years ago
Teo Mrnjavac 97cf2a796c Load branding component name from Settings. 12 years ago
Teo Mrnjavac f952b44922 Works better when you actually add it to CMakeLists.txt. 12 years ago
Teo Mrnjavac 8618d85b8f Dummy default branding component. 12 years ago
Teo Mrnjavac 006f0e3eef Make sure the window doesn't grow out of QScreen bounds. 12 years ago
Teo Mrnjavac 9e84581354 Only add wheel to sudoers if a wheel group is defined in conf. 12 years ago
Teo Mrnjavac ad68ce0187 Make default groups, users group and autologin group configurable. 12 years ago
Teo Mrnjavac 0d1fb79ec8 New config file for users module. 12 years ago
Teo Mrnjavac ce407a5ec4 Use good old C++ template instead of auto parameter which needs C++1y. 12 years ago
Teo Mrnjavac 961eadada4 New UI and logic for Alongside autopartitioning+install. 12 years ago
Teo Mrnjavac 08a2ab94e7 Use PMUtils::findPartitionByPath in PVS + fix back button in Alongside. 12 years ago
Teo Mrnjavac 2347ead200 Remove bad debug feature. 12 years ago
Teo Mrnjavac 6d60ca5e63 Fix item order in ChoicePage 12 years ago
Teo Mrnjavac 6bd5736d35 Add findPartitionByPath to PMUtils 12 years ago
Teo Mrnjavac 51d12b2b35 The vfat driver apparently supports FAT16 too, be consistent. 12 years ago