Teo Mrnjavac
1338648617
Update HACKING.md
11 years ago
Teo Mrnjavac
1cf5d1c72f
Added HACKING.md
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
b2744f912a
Add the partition viewmodule to the modules-prepare roster.
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
Aurélien Gâteau
c3fe6026f2
Shut up cmake 3.0
11 years ago
Aurélien Gâteau
e9d7e3eca6
Use Qt5 cmake macros
...
The qt_* macros have a different signature
11 years ago
Aurélien Gâteau
f4c5b90472
Make it possible to test with other devices
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
a811a9a694
Unbreak build with g++
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
9b15b283df
Remove modules that don't exist yet from settings.conf.
11 years ago
Teo Mrnjavac
cbde9f3c0c
Make the compiler a little more pedantic
11 years ago
Teo Mrnjavac
5a5956052b
There's a better way to check for GCC 4.9
11 years ago
Teo Mrnjavac
1237f7acc5
Only enable colorized messages if g++ version is >=4.9
11 years ago
Teo Mrnjavac
f00337f379
Force error coloring in GCC 4.9
11 years ago
Teo Mrnjavac
0035b8b3d3
Better CalamaresAddPlugin output
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
Teo Mrnjavac
869483055c
Load modules asynchronously on startup.
11 years ago
Teo Mrnjavac
041db41b35
Add a Quit button to Calamares::ViewManager.
11 years ago
Teo Mrnjavac
fa3dfa2244
Set correct window flags on CalamaresWindow.
11 years ago
Teo Mrnjavac
6324feb2f3
Probably best to not even try to mkdir /usr/lib
11 years ago
Teo Mrnjavac
ef48f36445
Add modules path in build dir if --debug.
...
Also fix config.h location.
11 years ago
Teo Mrnjavac
392c8ec108
PagePlugin ==> ViewPlugin
11 years ago
Teo Mrnjavac
2693f493c9
Added load entry to plugin config.
11 years ago
Teo Mrnjavac
f3a04f5146
Better output + fixed output paths for plugins in build dir.
11 years ago
Teo Mrnjavac
125b7914d5
Added module metadata file to CalamaresAddPlugin macro.
...
Also improved output.
11 years ago
Teo Mrnjavac
19da31baa4
Made ModuleLoader async, added dependency check.
11 years ago
Teo Mrnjavac
8d4ee1debd
Enable debug output for CalamaresAddPlugin cmake magic.
11 years ago
Teo Mrnjavac
ab5c818f4f
Fix -Wnarrowing warnings in KDSingleApplicationGuard
11 years ago
Teo Mrnjavac
3dd9578b95
Allow undefined symbols when linking plugin.
11 years ago
Teo Mrnjavac
d20e3ce598
Add DLLEXPORT_PRO definitions.
11 years ago
Teo Mrnjavac
13fcf387c7
A bunch of work on loading plugins.
...
Also switched to C++11.
11 years ago
Aurélien Gâteau
1da7ba446d
Fix link error on Qt5 libs
11 years ago