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
10 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).
10 years ago
Rohan Garg
2b26be4162
Fix copyright holder
10 years ago
Rohan Garg
ce96b13c0d
Add a initramfs module that updates the initramfs post install
10 years ago
Teo Mrnjavac
dec452f9b5
Make LocalePage retranslatable.
10 years ago
Teo Mrnjavac
2617ef369e
Use retranslate pattern in GreetingPage.
10 years ago
Teo Mrnjavac
9e9a922498
Language selector + focus fix in GreetingPage.
10 years ago
Teo Mrnjavac
78075d7412
Use the new CalamaresUtils::installTranslator.
10 years ago
Teo Mrnjavac
058be8beb2
Ensure viewpages will have focus. To choose a focused widget inside it,
...
a viewpage should override void focusInEvent( QFocusEvent* ).
10 years ago
Teo Mrnjavac
8b343ace4a
QTranslator switching in CalamaresUtils.
10 years ago
Teo Mrnjavac
fc4ce3d23b
Make progress view unfocusable.
10 years ago
Teo Mrnjavac
0849a5983c
Actually build translations qrc.
10 years ago
Rohan Garg
d3d9ea130c
Fix build, last merge was a bit broken
10 years ago
Teo Mrnjavac
294d6a34ca
Merge pull request #142 from shadeslayer/github_master
...
Make sure we also write to the /etc/hosts file
10 years ago
Rohan Garg
7a2fe5e647
Make sure we also write to the /etc/hosts file
10 years ago
Manjaro Linux
36e8ed5f46
adjust LXDE startup scripts
...
- add LXQT support
- add LXDE 0.5 changes in Archlinux
10 years ago
Teo Mrnjavac
7c89613332
Merge pull request #140 from kkofler/detect-sddm-session-type
...
displaymanager: Detect SDDM session type
10 years ago
Kevin Kofler
8512e43405
displaymanager: Set Session= for sddm autologin.
...
Detect the correct value using find_desktop_environment.
10 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.
10 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.
10 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.
10 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).
10 years ago
Teo Mrnjavac
1df44eddba
Fix displaymanager sddm config call.
10 years ago
demmm
3828eb6d2a
add the define
10 years ago
demmm
a186c7e44b
Missing define, check_chroot_call replaced
...
not really needed here, subprocess.call well tested
10 years ago
Teo Mrnjavac
486f160ca9
Merge pull request #134 from calamares/sddm
...
Generate sddm.conf if not present.
10 years ago
demmm
49bdb25f30
remove erronous line line, wrongly left in
10 years ago
Teo Mrnjavac
fef448833e
And some more debug output readability improvements.
10 years ago
Teo Mrnjavac
f2f73b2e87
More meaningful debug output.
10 years ago
Teo Mrnjavac
a51251fdc6
Expose list of build-time available translation languages.
10 years ago
Teo Mrnjavac
aaa696f543
Even less debug noise.
10 years ago
Teo Mrnjavac
5b01925d99
Remove debug noise.
10 years ago
Teo Mrnjavac
8026a287d3
Shut up Qt lupdate warnings.
10 years ago
Teo Mrnjavac
10ca85338d
Yet another Qt 5.4 fix.
10 years ago
Teo Mrnjavac
519ba038cf
Fix build on Qt 5.4, again.
10 years ago
Teo Mrnjavac
633c8512c2
Try to make compile on Qt 5.4
10 years ago
demmm
8cefd1dcb8
remove indent
10 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
10 years ago
Teo Mrnjavac
a97297a3fe
Attempt to fix #125
10 years ago
demmm
231c93a513
missed colon
10 years ago
demmm
f26406daa4
actually create a sddm.conf
10 years ago
Rohan Garg
6a9c9cbaae
Fix typo
10 years ago
Teo Mrnjavac
8b0ad2f675
Merge pull request #129 from shadeslayer/master
...
Add support to set the hostname
10 years ago
Rohan Garg
fdd84d1f99
Don't crash when packageOperations is empty
10 years ago
demmm
972fe23131
create sddm.conf if not present
10 years ago
Rohan Garg
a0a3b4dc49
Style fixes
...
Run calamaresstyle over new classes
10 years ago
Teo Mrnjavac
ee2ed0921e
Allow mounting a Fedora image.
...
Fixes #127
10 years ago
Rohan Garg
4a4dc74f5c
Drop useless line
10 years ago
Rohan Garg
b587a0ff00
Add support to set the hostname
10 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
10 years ago
Rohan Garg
8a623cc118
Fix function call
10 years ago
Teo Mrnjavac
97867af2aa
Autopep8 pass on bootloader module.
10 years ago
Teo Mrnjavac
8f250311e8
Allow links in Greeting page.
10 years ago
Teo Mrnjavac
c2d6237d31
Merge pull request #119 from calamares/efi
...
adding new bootloader job
10 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.
10 years ago
Rohan Garg
b8b2c2b735
Properly break lines in Python
10 years ago
Teo Mrnjavac
2e2bd78deb
Use Branding in partition viewmodule.
10 years ago
Teo Mrnjavac
4c51d320f6
Use branding in Prepare viewmodule.
10 years ago
Teo Mrnjavac
8e38a03cca
Branding in greeting module.
10 years ago
Teo Mrnjavac
90e10f63fa
Use Branding in main window.
10 years ago
Teo Mrnjavac
7594c85f2e
Add ImageRegistry support to Branding.
10 years ago
Teo Mrnjavac
5e8ab97de4
Actually load branding data from default component.
10 years ago
Rohan Garg
6513c6400e
Handle line breaks properly
10 years ago
Teo Mrnjavac
fc60bcb313
Update partitionmanager submodule.
10 years ago
demmm
58bc7c86c1
remove globalstorage entry for efi
10 years ago
Rohan Garg
f9bd0dfcfc
Make sure the hwinfo executable exists before calling it
10 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.
10 years ago
Teo Mrnjavac
9c10b49802
Check if the filesystem to be resized actually supports grow/shrink.
10 years ago
demmm
7a310ef27b
rename grub to bootloader calls
10 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
10 years ago
Teo Mrnjavac
a58857baa6
Hook up the branding component code path in CalamaresApplication.
10 years ago
Teo Mrnjavac
2182918476
Groundwork for branding loader/manager.
10 years ago
Teo Mrnjavac
97cf2a796c
Load branding component name from Settings.
10 years ago
Teo Mrnjavac
f952b44922
Works better when you actually add it to CMakeLists.txt.
10 years ago
Teo Mrnjavac
8618d85b8f
Dummy default branding component.
10 years ago
Teo Mrnjavac
006f0e3eef
Make sure the window doesn't grow out of QScreen bounds.
10 years ago
Teo Mrnjavac
9e84581354
Only add wheel to sudoers if a wheel group is defined in conf.
10 years ago
Teo Mrnjavac
ad68ce0187
Make default groups, users group and autologin group configurable.
10 years ago
Teo Mrnjavac
0d1fb79ec8
New config file for users module.
10 years ago
Teo Mrnjavac
ce407a5ec4
Use good old C++ template instead of auto parameter which needs C++1y.
10 years ago
Teo Mrnjavac
961eadada4
New UI and logic for Alongside autopartitioning+install.
10 years ago
Teo Mrnjavac
08a2ab94e7
Use PMUtils::findPartitionByPath in PVS + fix back button in Alongside.
10 years ago
Teo Mrnjavac
2347ead200
Remove bad debug feature.
10 years ago
Teo Mrnjavac
6d60ca5e63
Fix item order in ChoicePage
10 years ago
Teo Mrnjavac
6bd5736d35
Add findPartitionByPath to PMUtils
10 years ago
Teo Mrnjavac
51d12b2b35
The vfat driver apparently supports FAT16 too, be consistent.
10 years ago
Teo Mrnjavac
482b2c0da2
Fix fstype names for mount -t syntax.
10 years ago
Teo Mrnjavac
e7995ad540
Improve Osprober logic to immediately check if entries are resizable.
10 years ago
Teo Mrnjavac
9ebc881223
Prevent segfault on exit when module not found.
10 years ago
Teo Mrnjavac
045d9cdf8c
Fix layout in partitioning choice page.
10 years ago
Teo Mrnjavac
faa39e1746
Enable resize+alongside radiobutton if osprober reports multiple lines.
10 years ago
Teo Mrnjavac
0801756cd1
Stub for Alongside page, and logic to detect if alongside is possible.
10 years ago
Teo Mrnjavac
dbd6573ed4
Write required disk space into GlobalStorage.
10 years ago
Teo Mrnjavac
c070b1c836
Const correctness.
10 years ago
Teo Mrnjavac
c6eb0721d9
Check for root mount point before going ahead.
10 years ago
Teo Mrnjavac
aeb20761cc
Add preview and partitioning operations to Erase+Autopartition code path
10 years ago
Teo Mrnjavac
8a50685c75
Add clearJobs to PCM
10 years ago
Teo Mrnjavac
b7f2d5d9d3
Fix page flow issue in partition module.
10 years ago
Teo Mrnjavac
a943d55063
Size policy on erase page.
10 years ago
Teo Mrnjavac
fdaea27475
Attempt at a window size fix.
10 years ago
Teo Mrnjavac
ef703b0859
Add page for erase+install operation.
10 years ago
Teo Mrnjavac
dab5a05116
Add isDirty check to PartitionCoreModule
10 years ago
Teo Mrnjavac
4cadbf9b98
Expose icon and tooltip in DeviceModel.
10 years ago
Teo Mrnjavac
a98a4bb614
Add ChoicePage to partition module + OS detection with os-prober.
10 years ago
Teo Mrnjavac
73246b47c6
Prefer nullptr over 0.
10 years ago
Teo Mrnjavac
d39e77f7e8
New PrettyRadioButton, an alternative to QRadioButton with rich text.
10 years ago
Teo Mrnjavac
4d9f887c58
Make the prepare viewmodule use WaitingWidget
10 years ago
Teo Mrnjavac
8651b33843
Make the locale viewmodule use WaitingWidget.
10 years ago
Teo Mrnjavac
13ccede630
Add new icons to CalamaresUtilsGui
10 years ago
Teo Mrnjavac
41cb09ea01
Add ClickableLabel, a QLabel which emits the clicked signal.
10 years ago
Teo Mrnjavac
382317dcaf
Added WaitingWidget to libcalamaresui, wrapper for QtWaitingSpinner
10 years ago
Teo Mrnjavac
b14a715300
Add icons to qrc.
10 years ago
Teo Mrnjavac
33569085b7
Merge pull request #116 from plfiorini/packages
...
Add packages job
10 years ago
Pier Luigi Fiorini
5624132172
Add packages job
...
This job can be used to install and remove packages.
11 years ago
Teo Mrnjavac
14130ae9c0
Only allow a ViewStep to change next button status if it's active now.
11 years ago
demmm
631649ea69
1.0 Gb RAM should be a good default
11 years ago
Teo Mrnjavac
a9aa3e9aa6
Show an error or warning if there are unsatisfied requirements.
11 years ago
Teo Mrnjavac
2182fd2f0c
Add info and fail icons to libcalamaresui.
11 years ago
Teo Mrnjavac
5434a04ebc
Block the install process if an entry is required but unsatisfied.
11 years ago
Teo Mrnjavac
87711c89fc
Use common icons in users viewmodule.
11 years ago
Teo Mrnjavac
d97bb47f09
Add proper QResrouce system to libcalamaresui, finish up prepare checks
...
This also adds ImageRegistry, a SVG cache, a bunch of utility functions
for shared pixmaps in CalamaresUtilsGui and renames several qrc files
in viewmodules.
11 years ago
Teo Mrnjavac
0404413b05
Store active user in GlobalStorage as username.
11 years ago
Teo Mrnjavac
3bef0b835a
Check for mains power in prepare viewmodule.
11 years ago
Teo Mrnjavac
26419f2c8a
Check for internet connection in prepare viewmodule.
11 years ago
Teo Mrnjavac
b32bbf2b9a
Add check for enough RAM to prepare viewmodule.
11 years ago
Teo Mrnjavac
03800e2966
Newline at end of file.
11 years ago
Teo Mrnjavac
9563b2efc7
WIP: new prepare viewmodule, with free space check using libparted.
11 years ago
Teo Mrnjavac
1bb6603998
Move spinner widget to libcalamaresui.
11 years ago
Teo Mrnjavac
cbfad6f637
Merge pull request #100 from calamares/initcpiocfg
...
New initcpiocfg module, ported from Thus.
11 years ago
Teo Mrnjavac
c70071406f
Merge pull request #99 from calamares/grubcfg
...
New grubcfg module, ported from Thus.
11 years ago
Pier Luigi Fiorini
2133880fdb
dracut: Don't read settings
...
This module doesn't have settings yet so this call fails.
11 years ago
Pier Luigi Fiorini
b40f3bf4bb
Initialize globalstorage before loading custom configuration
11 years ago
Teo Mrnjavac
b51cfd6a45
Merge pull request #106 from plfiorini/settingsconf
...
Try to find settings.conf from SYSCONFDIR
11 years ago
Pier Luigi Fiorini
f0921a41b2
Try to find settings.conf from SYSCONFDIR
...
Honor SYSCONFDIR as specified by CMake arguments instead of
using a hard-coded path.
Since GNUInstallDirs set CMAKE_INSTALL_FULL_SYSCONFDIR to
CMAKE_INSTALL_PREFIX/etc we need to change the default ourselves.
11 years ago
Daniel Hillenbrand
38f32bfd56
locale: make sure /etc/localtime doesn't exist
...
If /etc/localtime exists in source image, creating a new symlink will fail
and prevent the installer from doing it's job.
11 years ago
Daniel Hillenbrand
c97251d741
unpackfs: check for supported filesystems
...
Use /proc/filesystems to check if the system
supportes the given source filesystem.
11 years ago
Daniel Hillenbrand
148a29d506
unpackfs: code dedup
11 years ago
Philip
9de863a1af
New initcpiocfg module, ported from Thus.
11 years ago
Philip
82237d1bd1
grubcfg: group variables
11 years ago
Philip
0c4e8863cf
grubcfg: set swap_uuid variable
11 years ago
Philip
5b336fc3c5
New grubcfg module, ported from Thus.
11 years ago
Teo Mrnjavac
35f0dfc76d
List all files recursively.
11 years ago
Teo Mrnjavac
8ce769184e
Check for fs name validity.
11 years ago
Philip
37426b9f7a
Replace unsquashfs with unpackfs
...
Conflicts:
src/modules/unsquashfs/unsquashfs.conf
11 years ago
Teo Mrnjavac
ea32ba6a83
Compare with None
11 years ago
Teo Mrnjavac
ec7edc4b83
Improve diacritics transliteration.
11 years ago
Philip
ba1006a965
Fix autologin in displaymanager module
11 years ago
Teo Mrnjavac
52656190af
Documentation.
11 years ago
Teo Mrnjavac
fea3b68d61
s/AutoUser/User/
11 years ago
Teo Mrnjavac
bdc3185dbe
Let's assume for now that the ISO must ship a sddm.conf.
11 years ago
Teo Mrnjavac
fd4c93c485
Create sddm.conf if it doesn't exist.
11 years ago
Teo Mrnjavac
d6d40d44ee
PEP8 displaymanager.
11 years ago
Teo Mrnjavac
d93b8b9d44
New displaymanager module, based on Thus.
11 years ago
Teo Mrnjavac
9ba06a4cfb
Merge pull request #91 from calamares/services-module
...
New services module, inspired by Thus.
11 years ago
Teo Mrnjavac
a23d7890c0
Merge pull request #92 from calamares/networkcfg-module
...
New networkcfg module, based on Thus.
11 years ago
Teo Mrnjavac
da368c49e6
Merge pull request #93 from calamares/hwclock-module
...
New hwclock module, ported from Thus.
11 years ago
Teo Mrnjavac
ee4a0f1cba
Add support for full name, and user/host autocompletion and validation.
11 years ago
Teo Mrnjavac
6295f48ab7
Add removeDiacritics function to CalamaresUtils.
11 years ago
Teo Mrnjavac
f21da0035d
Refactor layouts in users page, add full name.
11 years ago
Teo Mrnjavac
7a3ce363b3
Add option to run process jobmodules in chroot.
11 years ago
Teo Mrnjavac
24f13d3ad1
New hwclock module, ported from Thus.
11 years ago
Teo Mrnjavac
1b54ec1039
New networkcfg module, based on Thus.
11 years ago
Teo Mrnjavac
c6c5c6ebde
New services module, inspired by Thus.
11 years ago
Aurélien Gâteau
75129131bb
More todos
11 years ago
Aurélien Gâteau
97980f5fad
Make PartitionSizeController handle cloning the partition for PartResizerWidget
11 years ago
Aurélien Gâteau
df89a391c4
Do not try to dereference m_viewStep if it's invalid
11 years ago
Aurélien Gâteau
738427130b
Update partitionmanager submodule: Fix devices without partition table not being listed
11 years ago
Aurélien Gâteau
ddd8d7063c
Doc++
11 years ago
Teo Mrnjavac
eb6b8ac613
Add check_chroot_output to Python interface.
11 years ago
Teo Mrnjavac
f90bf469dd
Add chrootOutput/check_chroot_output to libcalamares utils API.
11 years ago
Aurélien Gâteau
648befb9bb
Add README.md
11 years ago
Aurélien Gâteau
044bd46ca3
Add missing license headers
11 years ago
Aurélien Gâteau
119a04ba3c
Rename jobtests to partitionjobtests
11 years ago
Aurélien Gâteau
693e9229c8
Dispatch files in core/ gui/ and jobs/ dirs
11 years ago
Aurélien Gâteau
8e2b4050e7
clean ups
11 years ago
Aurélien Gâteau
315c0f0fc5
doc++
11 years ago
Aurélien Gâteau
7978a8b279
Remove Context class
11 years ago
Aurélien Gâteau
ec1836d802
dead code--
11 years ago
Aurélien Gâteau
ddb6813d26
Update partitionmanager submodule: merged origin/master into calamares
11 years ago
Aurélien Gâteau
62470ac4cf
Update partitionmanager submodule: remove stray kcolorscheme.h include
11 years ago
Teo Mrnjavac
f5b4de67c4
Properly load module config files with an explicit config path.
11 years ago
Teo Mrnjavac
70691068cb
Fix sudoers setup in users module.
11 years ago
Aurélien Gâteau
1c9265cd21
Merge branch 'wip/resize-partition'
11 years ago
Aurélien Gâteau
9b30e27f5e
update partitionmanager submodule: Nicer rendering of PartResizerWidget
11 years ago
Aurélien Gâteau
310fdc56d9
Set proper colors in PartResizeWidget
11 years ago
Aurélien Gâteau
055904b20a
Coding style
11 years ago
Aurélien Gâteau
86481461fd
Move color handling to a separate namespace
11 years ago
Aurélien Gâteau
cf4416a171
Keep partition color if space is inserted/removed before it
11 years ago
Aurélien Gâteau
06e30b8290
Remove PartitionSizeWidget
11 years ago
Aurélien Gâteau
5c9c414988
Use PartResizerWidget in CreatePartitionDialog
11 years ago
Aurélien Gâteau
38c685dc10
Move code cloning the partition for PartResizerWidget to PMUtils
11 years ago
Aurélien Gâteau
c109059eb7
Fix crash if widgets are deleted before new ones are set
11 years ago
Aurélien Gâteau
55f4231c92
EditExistingPartitionDialog: Visual resizing of partitions
11 years ago
Teo Mrnjavac
78a3f1ce57
Merge pull request #81 from calamares/config
...
Configuration refactor
11 years ago
Teo Mrnjavac
5400afa540
Fix settings.conf loading.
11 years ago
Teo Mrnjavac
014469c849
Improve logging in Module.cpp
11 years ago
Aurélien Gâteau
c3efa65668
Make sure all PM filesystem classes are initialized early enough
...
If FileSystemFactory::init() is not called early enough, we won't get
access to some information such as the number of used sectors.
11 years ago
Teo Mrnjavac
88d5a301c9
Update Calamares modules documentation.
11 years ago
Teo Mrnjavac
83ad1fae0e
Debug output in keyboard viewmodule.
11 years ago
Aurélien Gâteau
b5c3928609
unsquashfs: Do not ignore rsync failures
11 years ago
Aurélien Gâteau
b246a95606
Coding style
11 years ago
Aurélien Gâteau
493e368bf0
update partitionmanager submodule: Build PartResizerWidget
11 years ago
Teo Mrnjavac
e9ef90990b
Correctly load globalstorage fake.
11 years ago
Teo Mrnjavac
5c8fa759b0
Update testmodule.py for new config structure.
11 years ago
Teo Mrnjavac
8f10c21e5b
Big configuration overhaul.
...
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
11 years ago
Teo Mrnjavac
75e9fd6aa3
Dracut module.
11 years ago
Aurélien Gâteau
415ad2c506
Fix empty error message
11 years ago
Aurélien Gâteau
a267ef856e
Check file system after the resize, like PM does
11 years ago
Aurélien Gâteau
f5ccc616b9
Check file system before resizing: necessary for testResizePartition:shrink to pass
11 years ago
Aurélien Gâteau
d48644a49c
Improve prettyName of all jobs, log them in execJobList()
11 years ago
Aurélien Gâteau
e2fe559f9d
testResizePartition: more reliability tests
...
- use bigger partition sizes
- write a file before resizing, test it is the same after resizing
11 years ago
Aurélien Gâteau
dac23c90a1
Implement MoveFileSystemJob: all testResizePartition tests pass
11 years ago
Aurélien Gâteau
4716b1c9b4
Coding style
11 years ago
Aurélien Gâteau
3db6d607ca
move MoveFileSystemJob to its own file
...
It's going to be bigger than the others.
11 years ago
Aurélien Gâteau
249a28910a
Make it possible to update message and details fields of a JobResult
11 years ago
Aurélien Gâteau
1314bf944f
Update partitionmanager submodule: Include CopySourceDevice and CopyTargetDevice
11 years ago
Aurélien Gâteau
f007810118
Implement SetPartGeometryJob and ResizeFileSystemJob
...
Now testResizePartition:grow and testResizePartition:shrink pass
11 years ago
Aurélien Gâteau
60a224e5cd
3MB is too small for ext4: set a bigger new size for shrink
11 years ago
Aurélien Gâteau
9dac375a31
Don't forget to queue the job!
11 years ago
Aurélien Gâteau
09c3240364
Scaffolding and tests for ResizePartitionJob
11 years ago
Aurélien Gâteau
fc3f3eaa3a
Update partitionmanager submodule: Make it possible to set partition sectors from the outside world
11 years ago
Teo Mrnjavac
84ec430729
Add some Python API docs.
11 years ago
Aurélien Gâteau
e6c80ed5bd
Coding style
11 years ago
Teo Mrnjavac
1d6c41e94d
A timezone is a file, not a directory.
11 years ago
Aurélien Gâteau
9ce55bfb83
Introduce PartitionSizeWidget to reduce duplication between dialogs
11 years ago
Aurélien Gâteau
e482481262
updatePartitionToCreate: avoid crash
...
Create the new partition before deleting the old one: otherwise the
m_partition member of dlg is dangling at the time we call createPartition()
11 years ago
Aurélien Gâteau
3d40527d29
Make it possible to "resize" (aka delete + create for now) existing partitions
11 years ago
Aurélien Gâteau
df790986ae
initcpio module, very loosely based on the one from the manjaro branch
11 years ago
Aurélien Gâteau
136d83f958
Add some test file for grub module
11 years ago
Aurélien Gâteau
6131ed212a
Import check_chroot_call separately
11 years ago
Teo Mrnjavac
01efeda801
Utils, not util.
11 years ago
Teo Mrnjavac
c964093d7c
Make libcalamares a proper package and utils a proper submodule.
11 years ago
Aurélien Gâteau
43c88567af
Use check_chroot_call
11 years ago
Aurélien Gâteau
a1b7d3639e
Some test data for fstab module
11 years ago
Aurélien Gâteau
2276ce56f4
Fix fat* filesystems translation
11 years ago
Aurélien Gâteau
87367d5abd
fstab: Refactor to be able to add ssd-specific options
11 years ago
Teo Mrnjavac
c64e229142
By default, chrootCall should never time out.
11 years ago
Teo Mrnjavac
45ac91c784
Add check_chroot_call to libcalamares Python interface.
11 years ago
Aurélien Gâteau
26e5500e33
chrootCall: Log messages on failure, as well as command outputs
11 years ago
Aurélien Gâteau
6376e1daef
Start the process before calling waitForStarted()
11 years ago
Aurélien Gâteau
70a13fc588
Make logging more useful
...
- Do not log progress percent but log job names.
- Log install failures.
11 years ago
Aurélien Gâteau
d175d199eb
Rough chroot call failure check
11 years ago
Teo Mrnjavac
271b0945c9
Create jobs in locale viewmodule.
11 years ago
Teo Mrnjavac
34c5ac3182
Add SetTimezoneJob to locale viewmodule.
11 years ago
Teo Mrnjavac
a311770e2f
Use libcalamares.utils.chroot_call in grub jobmodule.
11 years ago
Teo Mrnjavac
cc2e49c6ae
Store keyboard layout information in GlobalStorage.
11 years ago
Aurélien Gâteau
7680578b61
Simplify unsquash code
...
- Merged UnpackEntry and UnpackStatusEntry. Created a entry_for_source dict.
- Removed dead code (update_copy_progress)
11 years ago
Aurélien Gâteau
edc70c596b
unsquashfs: Fix installation dir
11 years ago
Aurélien Gâteau
45101d15b0
Store log in ~/.cache by default
11 years ago
Teo Mrnjavac
57ee5ac26b
Add autologinUser to GlobalStorage.
11 years ago
Aurélien Gâteau
1b695b7355
Fix crash when logging at exit time
11 years ago
Aurélien Gâteau
5126458040
Disable "Next" button if isNextEnabled() of first step returns false
11 years ago
Aurélien Gâteau
a75b1809d8
Do not make dummypython fail
11 years ago
Aurélien Gâteau
90670f8b46
Improve formatting of error messages
11 years ago
Teo Mrnjavac
b111027d57
Add SetPasswordJob in Users module, hook it all up.
11 years ago
Teo Mrnjavac
8e3002bfbb
Add FindCrypt in the users module.
11 years ago
Teo Mrnjavac
46f5dab7fd
CreateUserJob for Users viewmodule
11 years ago
Teo Mrnjavac
fb32432548
UI for users viewmodule.
11 years ago
Aurélien Gâteau
c655c99f67
Hide disk which contains /
...
Fixes #75
11 years ago
Aurélien Gâteau
551a6ff9ba
Fix potential memleak
11 years ago
Aurélien Gâteau
9708669ac7
Use libcalamares.utils.mount
11 years ago
Aurélien Gâteau
0946789f9e
Move mounting of special partitions from grub to mount
11 years ago
Aurélien Gâteau
8867f6bc67
Fix progress reporting
11 years ago
Aurélien Gâteau
f371ffa696
Iterate on values, not on keys
11 years ago
Aurélien Gâteau
7a0fb52c83
Damn, forgot named tuples cannot be updated. Use a class instead
11 years ago
Aurélien Gâteau
9c27add968
Use os.path.join
11 years ago
Aurélien Gâteau
22299dc585
No need for UnpackEntry.source_dir
11 years ago
Aurélien Gâteau
638a5c021c
More precise error handling
11 years ago
Aurélien Gâteau
adda405f83
Do not use os.path.join with entry["destination"]
...
if it starts with a "/" then `destination` will be equal to entry["destination"]
11 years ago
Aurélien Gâteau
ecb16dcdca
Fix line counting
11 years ago
Aurélien Gâteau
47762d3812
No more need for sourceMountPath
11 years ago
Aurélien Gâteau
75a5bdac60
Fix fuzzy edges around keys (and a warning)
11 years ago
Aurélien Gâteau
03c5a38b90
Show a summary of the partition changes on the summary page
11 years ago
Teo Mrnjavac
e7e57689d8
Make sure chrootCall with args list actually passes the args as list.
11 years ago
Teo Mrnjavac
122a6036d5
globalStorage ==> globalstorage fix
11 years ago
Teo Mrnjavac
2232c49471
Make dummypython work with current API.
11 years ago
Teo Mrnjavac
0d3a3a0b78
Fix dummypython for recent API change.
11 years ago
Teo Mrnjavac
63534f7154
Add mount and chrootCall utilities to libcalamares + Python wrappers.
11 years ago
Aurélien Gâteau
e3a333e6e6
Prettier PartitionPreview
11 years ago
Aurélien Gâteau
fe9e52ee0e
PartitionModel: Add IsFreeSpaceRole
11 years ago
Aurélien Gâteau
0ea6f1698b
First version of PartitionPreview
11 years ago
Aurélien Gâteau
93cb9fd426
New role for PartitionModel: SizeRole
11 years ago
Aurélien Gâteau
5fc07aad7c
Expose colors for Qt::DecorationRole
11 years ago
Aurélien Gâteau
5c1336f2d5
Turn PartitionModel into a tree model
...
Fixes #12
11 years ago
Aurélien Gâteau
e3a52745fc
Fix assert failure when recreating partition table
11 years ago
Teo Mrnjavac
4b1975d3e2
PEPify unsquashfs
11 years ago
Teo Mrnjavac
2b097e7f3c
PEPify umount
11 years ago
Teo Mrnjavac
2ba96d3b6b
PEPify mount
11 years ago
Teo Mrnjavac
585dd20a34
Update README.md
11 years ago
Teo Mrnjavac
1c984c7bf9
PEPify grub
11 years ago
Teo Mrnjavac
98b62808de
PEPify fstab
11 years ago
Teo Mrnjavac
906560ffee
PEPify dummypython
11 years ago
Teo Mrnjavac
637242776c
PEPify testmodule.py
11 years ago
Teo Mrnjavac
b988c3ad72
PEPify API fakes in testmodule.py
11 years ago
Teo Mrnjavac
fb328494b3
Make the libcalamares Python API better for PEP8
11 years ago
Teo Mrnjavac
5369038ed6
Add debug test to dummypython
11 years ago
Teo Mrnjavac
845ae05f7e
Added debug( str ) to the Python API.
11 years ago
Aurélien Gâteau
d30b6300ab
Unbreak locating of config file when run without --config
11 years ago
Aurélien Gâteau
289704ab90
Make it possible to override the config dir from the command line
11 years ago
Teo Mrnjavac
cb53cc41cb
Remove __init__.py from unsquashfs
11 years ago
Teo Mrnjavac
422e78236b
Make fileCopy in unsquashfs a single function
11 years ago
Teo Mrnjavac
b48a66a2e5
Improve readability.
11 years ago
Teo Mrnjavac
e937782a4e
Fix some lousy error handling
11 years ago
Teo Mrnjavac
4fc2efb7fa
Correctly report exit status from Python modules.
11 years ago
Teo Mrnjavac
87ee2b8b8c
Improve error reporting for Python jobs.
11 years ago
Teo Mrnjavac
25d37b57dd
Use named tuples in unsquashfs.
11 years ago
Teo Mrnjavac
1b4e56e97e
Better call to rsync in unsquashfs.
11 years ago
Teo Mrnjavac
c42d021b61
Unthreadify FileCopy in unsquashfs.
11 years ago
Teo Mrnjavac
f44b8eb758
Count the files in the squashfs image without piping to wc -l.
11 years ago
Teo Mrnjavac
cb2dcf7860
Use temp dir for mounting squashfs image.
11 years ago
Teo Mrnjavac
60dda7db49
Begin unsquashfs module, port copy operation from Thus.
11 years ago
Aurélien Gâteau
64f8748c49
Spaces fixes
11 years ago
Aurélien Gâteau
0b01c76687
Coding style
11 years ago
Aurélien Gâteau
9e8c02fa33
Basic fstab module
...
Misses the 'options' finetunes
Bug #66
11 years ago
Aurélien Gâteau
2d9142487b
FillGlobalStorageJob: Add the partition UUID to global storage
11 years ago
Aurélien Gâteau
62d706543b
Do not let the user pick a partition type when creating a partition of a GPT disk
...
Fixes #27
11 years ago
Teo Mrnjavac
beafcd9cc4
Consistency: calamares_main ==> run; global_storage => globalStorage
11 years ago
Aurélien Gâteau
fb6d80ccb6
Bring back tree view headers
11 years ago
Aurélien Gâteau
bf72672cce
Make double-clicking on a partition item in the list trigger edit/create
11 years ago
Aurélien Gâteau
cd99f64344
Add mnemonics to UI elements
11 years ago
Aurélien Gâteau
c3a91f1c8d
Implement Revert
...
Fixes #14
11 years ago
Aurélien Gâteau
675b07799b
Dead code--
11 years ago
Aurélien Gâteau
d476f9cba8
Make sure we show info of the first device in the device combo box
11 years ago
Aurélien Gâteau
cb546d02f9
Sort device in DeviceModel by device node
11 years ago
Aurélien Gâteau
20521f278c
Update doc
11 years ago
Aurélien Gâteau
0f23b8ad5c
Add basic grub module. Not enabled for now because it requires a rootfs to work
...
Fixes #26
11 years ago
Aurélien Gâteau
545eef5761
Refactor mount module to make its code easier to reuse
11 years ago
Aurélien Gâteau
96ede98f27
Update partitionmanager submodule: fix cmake warning
11 years ago
Aurélien Gâteau
92114576ce
Create umount module
11 years ago
Teo Mrnjavac
2a231b3532
Try to avoid passing GlobalStorage to Python by value.
11 years ago
Aurélien Gâteau
aef2b7e9e7
We can now test mount with testmodule.py: remove the test main()
11 years ago
Aurélien Gâteau
35d2a10177
Remove \t tab to avoid failure in testmodule.py
11 years ago
Aurélien Gâteau
e1877adf9c
Make testmodule.py more Pythonic
11 years ago
Aurélien Gâteau
f2ab67b28b
Create bootLoader.installPath in GlobalStorage
11 years ago
Aurélien Gâteau
06a13637b6
Store current boot loader install path in PartitionCoreModule
11 years ago
Aurélien Gâteau
ab4604258c
Rework boot loader combo box
...
List MBR of all devices
Does not loose its selection when updated
11 years ago
Aurélien Gâteau
c9c1917997
log--
11 years ago
Aurélien Gâteau
a39384eda7
Simplify
11 years ago
Aurélien Gâteau
484d7c4d15
Update partition path after partition has been created
...
Fixes #56
11 years ago
Teo Mrnjavac
da83ecfb13
libcalamares.job is of type libcalamares.Job
11 years ago
Teo Mrnjavac
ef28b7f2c1
Add job.setprogress to testmodule.py.
11 years ago
Teo Mrnjavac
78de11a412
Emit job progress from Python jobs.
11 years ago
Aurélien Gâteau
89fd6a950b
Add support for per-job progress
11 years ago
Aurélien Gâteau
e9da5cb6cb
Change signature of JobQueue::progress, add finished() signal
...
Now uses a qreal for progress instead of current and total
Also added a finished() signal because determining whether the queue is
finished should not be done by comparing a qreal with 1.0 as this is not
precise.
11 years ago
Teo Mrnjavac
2636a1273f
Add job.setprogress to Python API.
11 years ago
Teo Mrnjavac
c6c2c67560
Rewrite Python error handling to show meaningful messages.
11 years ago
Aurélien Gâteau
0234415976
Add "mount" module
11 years ago
Aurélien Gâteau
c8129898fc
Introduce FillGlobalStorageJob
11 years ago
Aurélien Gâteau
7763587c01
Move PartitionIterator to its own file
11 years ago
Teo Mrnjavac
ed0fd6d207
Merge pull request #54 from calamares/wip/job-order
...
Queue module jobs in the order they are listed in the "install" section of settings.conf
11 years ago
Aurélien Gâteau
b5b72855c3
Queue module jobs in the order they are listed in the "install" section of settings.conf
11 years ago
Teo Mrnjavac
533cba6437
[testmodule.py] File with fake global_storage contents for testing.
11 years ago
Teo Mrnjavac
4881684e18
[testmodule.py] Simulate global storage contents from a YAML file.
11 years ago
Aurélien Gâteau
1b64917385
Use findPartitionByMountPoint in updateHasRootMountPoint
11 years ago
Aurélien Gâteau
a335c1cc04
Coding style fixes
11 years ago
Aurélien Gâteau
906019facc
Add combo box to pick boot loader installation destination
11 years ago
Aurélien Gâteau
3e3329d4f2
Rework PartitionPage appearance, prior addition of boot loader UI
11 years ago
Teo Mrnjavac
81eca92418
Added testmodule.py script to test Python modules.
11 years ago
Teo Mrnjavac
73f03017fd
Spaces, not tabs.
11 years ago
Teo Mrnjavac
0753e6ccde
New GlobalStorage map. With Python API support.
11 years ago
Aurélien Gâteau
4c88603872
Fix bug with tiny disks and mbr partition tables
11 years ago
Aurélien Gâteau
26f6943f8a
Add support for formatting existing partitions
...
closes #24
11 years ago
Aurélien Gâteau
a5fcb9bcb9
Improve CreatePartitionJob::prettyName
11 years ago
Aurélien Gâteau
d374d8bad8
Introduce PartitionJob
11 years ago
Teo Mrnjavac
4516213b0b
Add some dummy configuration to dummypython, and then show it.
11 years ago
Teo Mrnjavac
d9f4c74537
Add support for config map to Python job API.
...
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
11 years ago
Teo Mrnjavac
2f03dfa43b
CalamaresPrivate ==> CalamaresPython
11 years ago
Aurélien Gâteau
568f2abd0b
Reproduce and fix bug #28
11 years ago
Aurélien Gâteau
99fe98a9cf
Unbreak test. Unfortunately it did not reproduce bug #28
11 years ago
Aurélien Gâteau
7e8c5a980c
Make Runner::run() returns a bool indicating success or failure
11 years ago
Aurélien Gâteau
eebc71257f
Nicer error messages
11 years ago
Aurélien Gâteau
26d0b52342
Unbreak build
11 years ago
Aurélien Gâteau
6f65a4b16c
Add a (failing for now) test for extended partitions
...
This reproduces bug #28
11 years ago
Aurélien Gâteau
43f29b8058
Start working on tests for partition jobs
11 years ago
Teo Mrnjavac
031c405c60
Let's not keep commented out code.
11 years ago
Teo Mrnjavac
e33e9de6f6
Symlink lib/calamares/libcalamares.so to lib/libcalamares.so for Python.
11 years ago
Teo Mrnjavac
a61a36d99d
We have a Python API for jobmodules!
...
Created a Boost.Python module interface in libcalamares.
Added a PythonJob wrapper and exposed it in the Python module.
Rename target calamareslib ==> calamares so in Python it's libcalamares.
Python-related classes in libcalamares that aren't exported as C++
symbols are now in a CalamaresPrivate namespace.
Import the libcalamares python module into every Python script before
running it.
Added Python error handling to PythonJobHelper.
Added some more testing code to dummypython module.
11 years ago
Teo Mrnjavac
c13179fdf0
Add debugMode bool to Calamares::Settings.
11 years ago
Teo Mrnjavac
6559197c4b
Expose some more version constants in CalamaresVersion.h
11 years ago
Aurélien Gâteau
9c89e68672
Get rid of partview, it's no longer useful
11 years ago
Aurélien Gâteau
0d915b4995
Always delete logical partitions first when deleting an extended partition
11 years ago
Aurélien Gâteau
d7a853ee06
Scaffolding for exiting partition reformating
11 years ago
Aurélien Gâteau
4e49f59333
Turn PartitionCoreModule::refreshPartitionModel() into refresh() and make it public
11 years ago
Aurélien Gâteau
5c594f8dd7
Fix doc
11 years ago
Aurélien Gâteau
8a64dcb270
Coding style fixes
11 years ago
Aurélien Gâteau
ec6703b9cd
Start creating EditExistingPartitionDialog
11 years ago
Aurélien Gâteau
5daa1b82e8
Refactor: PartitionInfo is no longer a class
11 years ago
Aurélien Gâteau
ff5667cb73
Turn all extra PartitionInfo fields into QObject properties of Partition
11 years ago
Aurélien Gâteau
9b57b98a93
No point doing this: editing extended partitions is not supported for now
11 years ago
Teo Mrnjavac
846812f49b
Update README.md
11 years ago
Teo Mrnjavac
32beec0243
Update README.md
11 years ago
Teo Mrnjavac
2f628cd1d4
Add dummy python jobmodule.
11 years ago
Teo Mrnjavac
50ba57a33a
Add optional Python jobmodules support to libcalamaresui.
11 years ago
Teo Mrnjavac
b924aeef2b
Add optional Python jobs support to libcalamares.
11 years ago
Teo Mrnjavac
754ef7dbbc
Fix prettyName.
11 years ago
Teo Mrnjavac
4712af05a0
Fix build in PartitionCoreModule.
11 years ago
Teo Mrnjavac
f2ed18ad4c
Alignment fix.
11 years ago
Aurélien Gâteau
8a7e6c9348
More readable job queue
11 years ago
Aurélien Gâteau
3fa3694f90
Fix crash when trying to delete an extended partition
11 years ago
Aurélien Gâteau
568dc4db0a
Init all fields when editing a partition. Disable editing of extended partitions for now.
11 years ago
Aurélien Gâteau
d500c7b480
Coding style fixes
11 years ago
Aurélien Gâteau
27b28a5bd1
Avoid potential rounding errors
11 years ago
Aurélien Gâteau
45dda6fa17
Factorize size computations
11 years ago
Aurélien Gâteau
a70ab4ad60
Refactor: move sector math from PartitionPage to CreatePartitionDialog
11 years ago
Aurélien Gâteau
7c1ecabd68
Drop now unused IsNewPartitionRole
11 years ago
Aurélien Gâteau
9216982859
Allow editing of partition mount points
11 years ago
Aurélien Gâteau
48c078acc5
Start implementing editing of newly-created partitions
...
This is the beginning of #19
11 years ago
Aurélien Gâteau
174114f09c
Add IsNewPartition role
11 years ago
Aurélien Gâteau
fa30fe147f
Add PMUtils::isPartitionNew()
11 years ago
Aurélien Gâteau
091c3c2757
Make CreatePartitionDialog.ui easier to read in Designer
11 years ago
Aurélien Gâteau
c30ed3c9c1
Let the user recreate the partition table (mbr or gpt)
...
Closes #20
11 years ago
Aurélien Gâteau
7096213206
Move partitionmanager code to src/modules/partition
11 years ago
Aurélien Gâteau
cbcd821943
Coding style fixes
11 years ago
Teo Mrnjavac
e3741c4d26
Make the locale viewmodule load the initial timezone from config.
11 years ago
Teo Mrnjavac
0a8aa66d58
Set initial timezone for the locale viewmodule in module.conf.
11 years ago
Teo Mrnjavac
df9f803572
Actually load the additional config map into the ViewStep.
11 years ago
Teo Mrnjavac
b20eaaf4f8
Add setConfigurationMap to ViewStep with empty implementation.
...
Actual module ViewSteps can reimplement it to read their own module-
specific configuration.
11 years ago
Teo Mrnjavac
2ef5df314b
Make extra configuration map protected in Module.
11 years ago
Teo Mrnjavac
c7c4e52849
Load additional module-specific configuration into a Module object.
11 years ago
Teo Mrnjavac
3879087c4a
Add YAML to QVariant conversion to YamlUtils
11 years ago
Teo Mrnjavac
63a1ab07c1
Merge pull request #22 from toudi/center-mainwindow-fix
...
fix for issue #13
11 years ago
Teo Mrnjavac
c57d99a21c
Add CalamaresAddModuleSubdirectory, a CMake function for modules that
...
do not require building through a CMakeLists.txt.
11 years ago
Teo Mrnjavac
25f44492e9
Add dummy process job module.
11 years ago
Teo Mrnjavac
2dd88344e5
Instantiate the correct type of module from module.conf.
11 years ago
Teo Mrnjavac
51e5976a99
Better error message.
11 years ago
Mateusz Mikołajczyk
91e1f8248b
update for the fix, remove QStyle dependency
11 years ago
Teo Mrnjavac
1dca92947c
Add already loaded check to ProcessJobModule
11 years ago
Mateusz Mikołajczyk
ea3b2e4461
fix for issue #13
11 years ago
Teo Mrnjavac
8d28a2ea5d
Generalized code path for Phase switching. Also load install modules.
11 years ago
Teo Mrnjavac
84bfb2aa95
Fixes for loading modules by phase.
11 years ago
Aurélien Gâteau
7ac6588090
Forget pending changes when the partition table is recreated
11 years ago
Aurélien Gâteau
f0dffb7400
Refactor: Introduce PartitionInfoProvider interface, and make DeviceInfo implement it
11 years ago
Aurélien Gâteau
61b17490eb
Refactor: group jobs and partitionModel for a device in a DeviceInfo struct
...
Makes it easier to clear all jobs for a specific device, which is necessary
when replacing a device partition table
11 years ago
Teo Mrnjavac
7034985b74
Remove MM:loadModulesPrepare.
11 years ago
Teo Mrnjavac
2e47c248ac
Load modules by phase, in preparation for actually using new settings.
11 years ago
Teo Mrnjavac
a09ab36386
Better settings format, rename a bit of stuff in module loading.
11 years ago
Aurélien Gâteau
22ff18f2cc
Update partitionmanager submodule, fixing build without KIO
11 years ago
Aurélien Gâteau
784f07cbbc
Update partitionmanager submodule: latest commits from the frameworks branch
...
@demm: This includes the btrfs fix
11 years ago
Aurélien Gâteau
83a56a6bd3
Add the ability to (re)create partition tables
11 years ago
Aurélien Gâteau
2e3f1c655c
Update partitionmanager submodule, necessary for next commit
11 years ago
Aurélien Gâteau
5d6a80deae
Factorize management of m_hasRootMountPoint
11 years ago
Aurélien Gâteau
8d3f197fde
Clean up
11 years ago
Aurélien Gâteau
c11fc3a4d2
Do not crash if a device does not have a partition table
11 years ago
Aurélien Gâteau
b1ce4afc8c
Update partitionmanager submodule
11 years ago
Teo Mrnjavac
1b4d62ef4d
Add ProcessJobModule for loading external commands.
11 years ago
Teo Mrnjavac
b3aae75bed
Add working directory to ProcessJob
11 years ago
Teo Mrnjavac
8d36a13d92
Style fix.
11 years ago
Aurélien Gâteau
8d01b9a6fd
assert--
11 years ago
Aurélien Gâteau
e792f4c9c5
Implement DeletePartitionJob::exec()
...
Closes #11
11 years ago
Aurélien Gâteau
7566221eff
Nicer error messages on failure
11 years ago
Aurélien Gâteau
165d28fc23
Abort installation when a job fails
11 years ago
Teo Mrnjavac
7894bb9462
Module type Core ==> Job, plus const correctness.
11 years ago
Teo Mrnjavac
9c8d270ddb
Add libcalamaresui to include_directories for calamares_bin and modules
11 years ago
Teo Mrnjavac
fe7a64d5ab
Add ProcessJob, a wrapper for external commands.
11 years ago
Teo Mrnjavac
dbadbf69ec
Const correctness.
11 years ago
Teo Mrnjavac
d1151d87cf
Move implementation to cpp file.
11 years ago
Aurélien Gâteau
6881fdab6e
JobResult
11 years ago
Aurélien Gâteau
d984489eea
Implement CreatePartitionJob
11 years ago
Aurélien Gâteau
04743eb4be
Basic JobQueue implementation
11 years ago
Aurélien Gâteau
191f37f5fa
Fake CreatePartitionJob::exec() implementation
11 years ago
Teo Mrnjavac
f1ba2e1270
Add prettyStatus to Locale module.
11 years ago
Teo Mrnjavac
e622fe4f99
Add prettyStatus to Keyboard module.
11 years ago
Teo Mrnjavac
c339ac8cfc
Add status info to Summary page. Still needs work to make it nice.
...
Also added onActivate/onLeave to ViewStep and ViewManager.
11 years ago
Teo Mrnjavac
49b91608e3
Stub for Summary viewmodule.
11 years ago
Aurélien Gâteau
4fe50d4569
Add InstallationViewStep::jobs()
11 years ago
Aurélien Gâteau
57d89175dc
Merge branch 'master' into wip/install-step2
11 years ago
Aurélien Gâteau
2f774e6c46
Implement PartitionViewStep::jobs()
11 years ago
Aurélien Gâteau
b465121e26
Remove RowType enum and associated role
11 years ago
Aurélien Gâteau
a84b551ab0
Rename CategoryItem to TextTreeItem
11 years ago
Aurélien Gâteau
cb6a25c2ce
Show an InstallationStep at the end of the preparation process
11 years ago
Aurélien Gâteau
023ed99aca
Coding style
11 years ago
Aurélien Gâteau
36b3de7107
Enable/disable Next button based on whether we have a root mount point
11 years ago
Teo Mrnjavac
b98c071f94
Prepare for late enqueuing of jobs to the JobQueue.
11 years ago
Teo Mrnjavac
52028d95f9
Clean up overuse of literals for GUI constants.
...
Add CalamaresStyle for colors and other style constants and helpers.
Add static functions for font size.
11 years ago
Aurélien Gâteau
f10f2026ad
Update partitionmanager submodule
11 years ago
demmm
c3d40b9428
add ECM to CMakeLists,
...
remove obsolete CONFIG
11 years ago
Aurélien Gâteau
15c5142d09
Redo partition type UI and enable/disable mount point UI when appropriate
11 years ago
Aurélien Gâteau
f27ff4c717
We want to format partitions we create
11 years ago
Aurélien Gâteau
467d89f56f
Remove PartitionInfo if we remove a Partition
11 years ago
Aurélien Gâteau
3ed5704818
Refactor: Move creation of CreatePartitionJob to PartitionCoreModule
11 years ago
Aurélien Gâteau
d54dfcfb78
Get rid of DeviceInfo
11 years ago
Aurélien Gâteau
f3f9bfc2a3
Introduce PartitionInfo, to store Calamares-specifc info for a partition
11 years ago
Aurélien Gâteau
1247077ccc
Pass mount point to CreatePartitionJob
11 years ago
Aurélien Gâteau
ab4e81504e
wip mount point
11 years ago
Aurélien Gâteau
a62f3daf25
Adjust logical numbers
11 years ago
Teo Mrnjavac
7a99214ddb
New keyboard viewmodule, based on the one from Manjaro's minst.
11 years ago
Teo Mrnjavac
ee485f9735
Remove keyboard related functionality from the locale viewmodule.
11 years ago
Teo Mrnjavac
e2e66e3cf7
Do not repeat repeat link libraries.
11 years ago
Teo Mrnjavac
4ec72f4afb
Refactored calamares_bin into calamares_bin and libcalamaresui.
...
Now linking with -Wl,--no-undefined!
Moved find_package KF5 from the root CMakeLists.txt to the partitioning
module where it belongs. KF5 deps should be limited to plugins.
Lots of random fixage to make stuff link.
Removed CalamaresApplication reference from Settings.
Removed the use of AbstractPage, we don't need it right now.
11 years ago
Teo Mrnjavac
1efb4f1101
Added spinner widget to the loading timezone data view.
11 years ago
Teo Mrnjavac
81eafced2f
Don't allow to go next if the timezone view hasn't loaded.
11 years ago
Teo Mrnjavac
f9aa532d77
Load timezone data asynchronously so we don't block the GUI thread on
...
startup.
11 years ago
Teo Mrnjavac
4cf6c06dda
Useless linkage is useless.
11 years ago
Teo Mrnjavac
87b009cc23
Layout fixes for LocalePage + default location.
11 years ago
Teo Mrnjavac
1ac10b40e6
Initial commit for the locale viewmodule.
11 years ago
Aurélien Gâteau
3a58e2640f
Show partition elements in separate column
11 years ago
Aurélien Gâteau
0446bb1079
More readable partition sizes
11 years ago
Teo Mrnjavac
50c40e4272
Fix background of branding placeholder.
11 years ago
Aurélien Gâteau
4ee9f68ceb
Remove the outer margin of step widgets
11 years ago
Aurélien Gâteau
a318ec49fc
Enqueue all partition jobs when leaving the PartitionViewStep
11 years ago
Aurélien Gâteau
4916d0cb88
crash--
11 years ago
Aurélien Gâteau
6f3ec0170e
Argh, forgot to commit those files
11 years ago
Aurélien Gâteau
d013e663b8
Implement partition removal
11 years ago
Aurélien Gâteau
f9ca45face
Mark the partition we create as "StateNew"
...
This way if user wants to remove it later we can remove the creation job
instead of queueing a delete job
11 years ago
Aurélien Gâteau
724780fb23
Coding style fixes
11 years ago
Teo Mrnjavac
20beae8f52
Minor nitpick in module.conf
11 years ago
Teo Mrnjavac
698cff45c8
Lots of model/view/delegate changes.
...
Created delegate for ProgressTreeView.
No more columns, only roles throughout the model.
Added row types and some user roles to the model.
Look and feel changes to ProgressTreeView.
11 years ago
Teo Mrnjavac
0eddb34c15
Add getter for CalamaresWindow in CalamaresApplication.
11 years ago
Teo Mrnjavac
3b64f29bfc
Enforce minimum size for main window.
11 years ago
Teo Mrnjavac
378545c735
No need to call expandAll from outside the model.
11 years ago
Teo Mrnjavac
80789b6143
Added ProgressTreeModel/View, including different kinds of items.
...
Redone CalamaresWindow without UI file.
Const correctness in ViewStep and plugins.
11 years ago
Teo Mrnjavac
3a3bf71054
Added CalamaresUtilsGui
11 years ago
Aurélien Gâteau
1421a04dd2
Support creation of extended partitions
11 years ago
Aurélien Gâteau
e3c6869fbd
Let CreatePartitionDialog create the Partition object
11 years ago
Aurélien Gâteau
90d26bfd31
Safer dialog handling
11 years ago
Aurélien Gâteau
5eafb9538e
Crude way to distinguish extended from primary partitions + show partition size
11 years ago
Aurélien Gâteau
cdfb890e17
Better way to detect free space
11 years ago
Aurélien Gâteau
bd44729328
Log plugin loading errors
11 years ago
Aurélien Gâteau
5dc5b4ddc8
Add missing file
11 years ago
Aurélien Gâteau
b060f66456
Introduce CreatePartitionDialog and CreatePartitionJob
11 years ago
Aurélien Gâteau
bcfbf3eda2
Dummy implementation of JobQueue so that I can call it
11 years ago
Aurélien Gâteau
c9409ba6b2
Start implementing support for creating partitions
11 years ago
Aurélien Gâteau
3a59cdeda9
Detect free space using the FS type
11 years ago
Aurélien Gâteau
c254fe0b2a
Enable/disable partition buttons
11 years ago
Aurélien Gâteau
2000553a10
PartitionModel: Add getter for Partition
11 years ago
Aurélien Gâteau
4429a8fd63
Introduce PMUtils
11 years ago
Aurélien Gâteau
6d0b3218f1
Move PartitionModel management from DeviceModel to PartitionCoreModule
11 years ago
Aurélien Gâteau
578f2e4baa
Instantiate DeviceModel in PartitionCoreModule
11 years ago
Aurélien Gâteau
4d2354fb56
Introduce PartitionCoreModule
...
Owner of the Qt models and PM devices
11 years ago
Aurélien Gâteau
730c3902bf
PartitionViewPlugin => PartitionViewStep
11 years ago
Aurélien Gâteau
8f474fa08f
Persistent partition model
...
This will make it possible to update the partition list on changes,
regardless of the actual device state
11 years ago
Teo Mrnjavac
e6be09982e
Fix back/next logic for Next enabled state.
11 years ago
Teo Mrnjavac
c7d62300a0
Make the partition viewmodule compile with the new ViewStep interface.
11 years ago
Teo Mrnjavac
299d4caae5
Fix include guard.
11 years ago
Teo Mrnjavac
20d5a37fef
Major ViewStep additions and changes.
...
Renamed ViewPlugin to ViewStep.
Back/Next button status management.
Subpages are now under a ViewStep's jurisdiction, we only forward back/
next signals if a ViewStep says it's got more pages to show. ViewStep
exposes a QWidget* to ViewManager, this QWidget gets added to a stack.
If a ViewStep wishes to show more than one page, it must manage more
pages on its own inside its single QWidget*.
11 years ago
Teo Mrnjavac
f1da3373a8
Added Typedefs.h and Job/JobQueue interfaces.
11 years ago
Aurélien Gâteau
1d0dfa5215
Clean up
11 years ago
Aurélien Gâteau
344d7ac610
Better use QItemSelectionModel to detect selection changes
11 years ago
Aurélien Gâteau
6b164a9dcf
Wrap PartitionPage building in WITH_PARTITIONMANAGER
11 years ago
Aurélien Gâteau
8d6b7672bc
Start PartitionPage
11 years ago
Teo Mrnjavac
afa1d9dce0
To build with partitionmanager: cmake -DWITH_PARTITIONMANAGER=1
11 years ago
Teo Mrnjavac
6388171521
Stubs for JobQueue and Job.
11 years ago
Teo Mrnjavac
5f883556e1
Don't use QPluginLoader's JSON metadata thing, we already have our own.
11 years ago
Teo Mrnjavac
f4b1cacc03
Prefer nullptr over 0 for null pointers.
11 years ago
Teo Mrnjavac
23e91ee475
Lots of changes. Module search+load system is now working.
...
Moved module-related classes to src/calamares/modulesystem.
Fixes to startup code path.
Made ViewPlugins load into ViewManager.
Debug code: ViewManager currently only shows a plugin's prettyName.
Added ViewModule as a subclass of Module. Other kinds of plugins should
be supported in a similar way.
11 years ago
Teo Mrnjavac
fae3284bb7
DllMacro.h ==> UiDllMacro.h
11 years ago
Aurélien Gâteau
02af2dccb9
Introduce libcalapm
...
This adds a submodule pointing to a fork of KDE Partition Manager. All
Calamares-specific changes are in the "calamares" branch of this fork.
11 years ago
Aurélien Gâteau
3cc7fe3245
Rename config.h to CalamaresConfig.h
...
Avoid name clashes with partitionmanager's config.h
11 years ago
Teo Mrnjavac
205250e7c4
ModuleLoader ==> ModuleManager
11 years ago
Teo Mrnjavac
c23d198923
When looking for plugins in a search dir, make sure the path is correct
11 years ago