Commit Graph

340 Commits (585dd20a34a77d3a3c5f76f7ab9ef89e9387cad8)
 

Author SHA1 Message Date
Aurélien Gâteau bd44729328 Log plugin loading errors
Teo Mrnjavac f417b22fc3 Fix plugin install libdir.
Aurélien Gâteau 5dc5b4ddc8 Add missing file
Aurélien Gâteau 1b22ec890b Install settings.conf
Aurélien Gâteau b060f66456 Introduce CreatePartitionDialog and CreatePartitionJob
Aurélien Gâteau bcfbf3eda2 Dummy implementation of JobQueue so that I can call it
Aurélien Gâteau c9409ba6b2 Start implementing support for creating partitions
Aurélien Gâteau 3a59cdeda9 Detect free space using the FS type
Aurélien Gâteau c254fe0b2a Enable/disable partition buttons
Aurélien Gâteau 2000553a10 PartitionModel: Add getter for Partition
Aurélien Gâteau 4429a8fd63 Introduce PMUtils
Aurélien Gâteau 6d0b3218f1 Move PartitionModel management from DeviceModel to PartitionCoreModule
Aurélien Gâteau 578f2e4baa Instantiate DeviceModel in PartitionCoreModule
Aurélien Gâteau 4d2354fb56 Introduce PartitionCoreModule
Owner of the Qt models and PM devices
Teo Mrnjavac dafd542245 Update HACKING.md
Teo Mrnjavac 1338648617 Update HACKING.md
Teo Mrnjavac 1cf5d1c72f Added HACKING.md
Aurélien Gâteau 730c3902bf PartitionViewPlugin => PartitionViewStep
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
Teo Mrnjavac e6be09982e Fix back/next logic for Next enabled state.
Teo Mrnjavac b2744f912a Add the partition viewmodule to the modules-prepare roster.
Teo Mrnjavac c7d62300a0 Make the partition viewmodule compile with the new ViewStep interface.
Teo Mrnjavac 299d4caae5 Fix include guard.
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*.
Teo Mrnjavac f1da3373a8 Added Typedefs.h and Job/JobQueue interfaces.
Aurélien Gâteau 1d0dfa5215 Clean up
Aurélien Gâteau 344d7ac610 Better use QItemSelectionModel to detect selection changes
Aurélien Gâteau 6b164a9dcf Wrap PartitionPage building in WITH_PARTITIONMANAGER
Aurélien Gâteau 8d6b7672bc Start PartitionPage
Teo Mrnjavac afa1d9dce0 To build with partitionmanager: cmake -DWITH_PARTITIONMANAGER=1
Teo Mrnjavac 6388171521 Stubs for JobQueue and Job.
Teo Mrnjavac 5f883556e1 Don't use QPluginLoader's JSON metadata thing, we already have our own.
Teo Mrnjavac f4b1cacc03 Prefer nullptr over 0 for null pointers.
Aurélien Gâteau c3fe6026f2 Shut up cmake 3.0
Aurélien Gâteau e9d7e3eca6 Use Qt5 cmake macros
The qt_* macros have a different signature
Aurélien Gâteau f4c5b90472 Make it possible to test with other devices
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.
Teo Mrnjavac fae3284bb7 DllMacro.h ==> UiDllMacro.h
Aurélien Gâteau a811a9a694 Unbreak build with g++
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.
Aurélien Gâteau 3cc7fe3245 Rename config.h to CalamaresConfig.h
Avoid name clashes with partitionmanager's config.h
Teo Mrnjavac 9b15b283df Remove modules that don't exist yet from settings.conf.
Teo Mrnjavac cbde9f3c0c Make the compiler a little more pedantic
Teo Mrnjavac 5a5956052b There's a better way to check for GCC 4.9
Teo Mrnjavac 1237f7acc5 Only enable colorized messages if g++ version is >=4.9
Teo Mrnjavac f00337f379 Force error coloring in GCC 4.9
Teo Mrnjavac 0035b8b3d3 Better CalamaresAddPlugin output
Teo Mrnjavac 205250e7c4 ModuleLoader ==> ModuleManager
Teo Mrnjavac c23d198923 When looking for plugins in a search dir, make sure the path is correct
Teo Mrnjavac 869483055c Load modules asynchronously on startup.