905 Commits (9f05c236d8813837bda4b4e71cf6710c8bdc833b)

Author SHA1 Message Date
Aurélien Gâteau 7763587c01 Move PartitionIterator to its own file 12 years ago
Aurélien Gâteau 1b64917385 Use findPartitionByMountPoint in updateHasRootMountPoint 12 years ago
Aurélien Gâteau a335c1cc04 Coding style fixes 12 years ago
Aurélien Gâteau 906019facc Add combo box to pick boot loader installation destination 12 years ago
Aurélien Gâteau 3e3329d4f2 Rework PartitionPage appearance, prior addition of boot loader UI 12 years ago
Aurélien Gâteau 4c88603872 Fix bug with tiny disks and mbr partition tables 12 years ago
Aurélien Gâteau 26f6943f8a Add support for formatting existing partitions
closes #24
12 years ago
Aurélien Gâteau a5fcb9bcb9 Improve CreatePartitionJob::prettyName 12 years ago
Aurélien Gâteau d374d8bad8 Introduce PartitionJob 12 years ago
Aurélien Gâteau 568f2abd0b Reproduce and fix bug #28 12 years ago
Aurélien Gâteau 99fe98a9cf Unbreak test. Unfortunately it did not reproduce bug #28 12 years ago
Aurélien Gâteau 7e8c5a980c Make Runner::run() returns a bool indicating success or failure 12 years ago
Aurélien Gâteau eebc71257f Nicer error messages 12 years ago
Aurélien Gâteau 26d0b52342 Unbreak build 12 years ago
Aurélien Gâteau 6f65a4b16c Add a (failing for now) test for extended partitions
This reproduces bug #28
12 years ago
Aurélien Gâteau 43f29b8058 Start working on tests for partition jobs 12 years ago
Aurélien Gâteau 9c89e68672 Get rid of partview, it's no longer useful 12 years ago
Aurélien Gâteau 0d915b4995 Always delete logical partitions first when deleting an extended partition 12 years ago
Aurélien Gâteau d7a853ee06 Scaffolding for exiting partition reformating 12 years ago
Aurélien Gâteau 4e49f59333 Turn PartitionCoreModule::refreshPartitionModel() into refresh() and make it public 12 years ago
Aurélien Gâteau 5c594f8dd7 Fix doc 12 years ago
Aurélien Gâteau 8a64dcb270 Coding style fixes 12 years ago
Aurélien Gâteau ec6703b9cd Start creating EditExistingPartitionDialog 12 years ago
Aurélien Gâteau 5daa1b82e8 Refactor: PartitionInfo is no longer a class 12 years ago
Aurélien Gâteau ff5667cb73 Turn all extra PartitionInfo fields into QObject properties of Partition 12 years ago
Aurélien Gâteau 9b57b98a93 No point doing this: editing extended partitions is not supported for now 12 years ago
Teo Mrnjavac 4712af05a0 Fix build in PartitionCoreModule. 12 years ago
Aurélien Gâteau 8a7e6c9348 More readable job queue 12 years ago
Aurélien Gâteau 3fa3694f90 Fix crash when trying to delete an extended partition 12 years ago
Aurélien Gâteau 568dc4db0a Init all fields when editing a partition. Disable editing of extended partitions for now. 12 years ago
Aurélien Gâteau d500c7b480 Coding style fixes 12 years ago
Aurélien Gâteau 27b28a5bd1 Avoid potential rounding errors 12 years ago
Aurélien Gâteau 45dda6fa17 Factorize size computations 12 years ago
Aurélien Gâteau a70ab4ad60 Refactor: move sector math from PartitionPage to CreatePartitionDialog 12 years ago
Aurélien Gâteau 7c1ecabd68 Drop now unused IsNewPartitionRole 12 years ago
Aurélien Gâteau 9216982859 Allow editing of partition mount points 12 years ago
Aurélien Gâteau 48c078acc5 Start implementing editing of newly-created partitions
This is the beginning of #19
12 years ago
Aurélien Gâteau 174114f09c Add IsNewPartition role 12 years ago
Aurélien Gâteau fa30fe147f Add PMUtils::isPartitionNew() 12 years ago
Aurélien Gâteau 091c3c2757 Make CreatePartitionDialog.ui easier to read in Designer 12 years ago
Aurélien Gâteau c30ed3c9c1 Let the user recreate the partition table (mbr or gpt)
Closes #20
12 years ago
Aurélien Gâteau 7096213206 Move partitionmanager code to src/modules/partition 12 years ago
Aurélien Gâteau cbcd821943 Coding style fixes 12 years ago
Aurélien Gâteau 7ac6588090 Forget pending changes when the partition table is recreated 12 years ago
Aurélien Gâteau f0dffb7400 Refactor: Introduce PartitionInfoProvider interface, and make DeviceInfo implement it 12 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
12 years ago
Aurélien Gâteau 83a56a6bd3 Add the ability to (re)create partition tables 12 years ago
Aurélien Gâteau 5d6a80deae Factorize management of m_hasRootMountPoint 12 years ago
Aurélien Gâteau 8d3f197fde Clean up 12 years ago
Aurélien Gâteau c11fc3a4d2 Do not crash if a device does not have a partition table 12 years ago
Aurélien Gâteau 8d01b9a6fd assert-- 12 years ago
Aurélien Gâteau e792f4c9c5 Implement DeletePartitionJob::exec()
Closes #11
12 years ago
Aurélien Gâteau 7566221eff Nicer error messages on failure 12 years ago
Teo Mrnjavac dbadbf69ec Const correctness. 12 years ago
Aurélien Gâteau 6881fdab6e JobResult 12 years ago
Aurélien Gâteau d984489eea Implement CreatePartitionJob 12 years ago
Aurélien Gâteau 191f37f5fa Fake CreatePartitionJob::exec() implementation 12 years ago
Aurélien Gâteau 2f774e6c46 Implement PartitionViewStep::jobs() 12 years ago
Teo Mrnjavac b98c071f94 Prepare for late enqueuing of jobs to the JobQueue. 12 years ago
Aurélien Gâteau 023ed99aca Coding style 12 years ago
Aurélien Gâteau 36b3de7107 Enable/disable Next button based on whether we have a root mount point 12 years ago
demmm c3d40b9428 add ECM to CMakeLists,
remove obsolete CONFIG
12 years ago
Aurélien Gâteau 15c5142d09 Redo partition type UI and enable/disable mount point UI when appropriate 12 years ago
Aurélien Gâteau f27ff4c717 We want to format partitions we create 12 years ago
Aurélien Gâteau 467d89f56f Remove PartitionInfo if we remove a Partition 12 years ago
Aurélien Gâteau 3ed5704818 Refactor: Move creation of CreatePartitionJob to PartitionCoreModule 12 years ago
Aurélien Gâteau d54dfcfb78 Get rid of DeviceInfo 12 years ago
Aurélien Gâteau f3f9bfc2a3 Introduce PartitionInfo, to store Calamares-specifc info for a partition 12 years ago
Aurélien Gâteau 1247077ccc Pass mount point to CreatePartitionJob 12 years ago
Aurélien Gâteau ab4e81504e wip mount point 12 years ago
Aurélien Gâteau a62f3daf25 Adjust logical numbers 12 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.
12 years ago
Teo Mrnjavac 4cf6c06dda Useless linkage is useless. 12 years ago
Aurélien Gâteau 3a58e2640f Show partition elements in separate column 12 years ago
Aurélien Gâteau 0446bb1079 More readable partition sizes 12 years ago
Aurélien Gâteau a318ec49fc Enqueue all partition jobs when leaving the PartitionViewStep 12 years ago
Aurélien Gâteau 4916d0cb88 crash-- 12 years ago
Aurélien Gâteau 6f3ec0170e Argh, forgot to commit those files 12 years ago
Aurélien Gâteau d013e663b8 Implement partition removal 12 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
12 years ago
Aurélien Gâteau 724780fb23 Coding style fixes 12 years ago
Teo Mrnjavac 20beae8f52 Minor nitpick in module.conf 12 years ago
Teo Mrnjavac 80789b6143 Added ProgressTreeModel/View, including different kinds of items.
Redone CalamaresWindow without UI file.
Const correctness in ViewStep and plugins.
12 years ago
Aurélien Gâteau 1421a04dd2 Support creation of extended partitions 12 years ago
Aurélien Gâteau e3c6869fbd Let CreatePartitionDialog create the Partition object 12 years ago
Aurélien Gâteau 90d26bfd31 Safer dialog handling 12 years ago
Aurélien Gâteau 5eafb9538e Crude way to distinguish extended from primary partitions + show partition size 12 years ago
Aurélien Gâteau cdfb890e17 Better way to detect free space 12 years ago
Aurélien Gâteau 5dc5b4ddc8 Add missing file 12 years ago
Aurélien Gâteau b060f66456 Introduce CreatePartitionDialog and CreatePartitionJob 12 years ago
Aurélien Gâteau c9409ba6b2 Start implementing support for creating partitions 12 years ago
Aurélien Gâteau 3a59cdeda9 Detect free space using the FS type 12 years ago
Aurélien Gâteau c254fe0b2a Enable/disable partition buttons 12 years ago
Aurélien Gâteau 2000553a10 PartitionModel: Add getter for Partition 12 years ago
Aurélien Gâteau 4429a8fd63 Introduce PMUtils 12 years ago
Aurélien Gâteau 6d0b3218f1 Move PartitionModel management from DeviceModel to PartitionCoreModule 12 years ago
Aurélien Gâteau 578f2e4baa Instantiate DeviceModel in PartitionCoreModule 12 years ago
Aurélien Gâteau 4d2354fb56 Introduce PartitionCoreModule
Owner of the Qt models and PM devices
12 years ago
Aurélien Gâteau 730c3902bf PartitionViewPlugin => PartitionViewStep 12 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
12 years ago
Teo Mrnjavac c7d62300a0 Make the partition viewmodule compile with the new ViewStep interface. 12 years ago
Aurélien Gâteau 1d0dfa5215 Clean up 12 years ago
Aurélien Gâteau 344d7ac610 Better use QItemSelectionModel to detect selection changes 12 years ago
Aurélien Gâteau 6b164a9dcf Wrap PartitionPage building in WITH_PARTITIONMANAGER 12 years ago
Aurélien Gâteau 8d6b7672bc Start PartitionPage 12 years ago