Teo Mrnjavac
69d870a486
Preliminary work on translations support in dummypythonqt.
8 years ago
Teo Mrnjavac
b77b4ee7d5
Extend dummypythonqt to test QWidget parenting and QObject::connect.
8 years ago
Teo Mrnjavac
a54f217173
Use CalamaresUtils::lookupAndCall in PythonQtViewStep.
...
This is done to support both Pythonic and Qt style method names, i.e.
both "isNextEnabled" and "is_next_enabled" is ok in a Python module.
Also better documentation in PythonQtViewStep, and stub for
setConfigurationMap.
Finally, proper handling of PythonQtViewStep Python-facing basewidget:
with this change, a call to PQVS::widget() only triggers a widget
relayout if it's necessary, and leaves it alone otherwise.
8 years ago
Teo Mrnjavac
fb9d1fa339
Add PythonQtUtils.{h,cpp} with CalamaresUtils::lookupAndCall.
8 years ago
Teo Mrnjavac
9570bd94e8
Nor this.
8 years ago
Teo Mrnjavac
869828a557
We don't need this.
8 years ago
Teo Mrnjavac
f1d6cc0283
Rewritten dummypythonqt module to work with current API state.
8 years ago
Teo Mrnjavac
53f687587b
Add support for attaching a Python console in DebugWindow.
...
Also add support for showing module type/interface.
Also minor layout improvements.
8 years ago
Teo Mrnjavac
c618999418
Properly load new PythonQtViewModule.
...
Only initialize Python if it's not initialized yet.
Inject @calamares_module decorator to fetch the entry class.
8 years ago
Teo Mrnjavac
2736ad6e09
User-visible Type and Interface strings in Module.
8 years ago
Teo Mrnjavac
d526935001
Remove PythonQtConsoleViewStep, which was only there for testing.
8 years ago
Teo Mrnjavac
b4002a716a
New PythonQtViewStep.
8 years ago
Teo Mrnjavac
0f734c8c5c
Make sure to only call Py_Initialize if Python is not initialized.
8 years ago
Teo Mrnjavac
553062fc11
Fix build.
8 years ago
Teo Mrnjavac
8a90b89d25
Headers.
8 years ago
Teo Mrnjavac
264fb6996f
dummypythonqt module for testing purposes.
8 years ago
Teo Mrnjavac
0a5faa4888
PythonQtConsoleViewStep for testing purposes.
8 years ago
Teo Mrnjavac
2c3b56c803
Link against PythonQt; new PythonQtViewModule stub.
8 years ago
Teo Mrnjavac
ada620effc
Find PythonQt.
8 years ago
Calamares CI
b801efe1c9
Automatic merge of Transifex translations
8 years ago
Teo Mrnjavac
457172df66
Do not dereference nullptr.
8 years ago
Teo Mrnjavac
c36b1f66a5
Provide default for m_writeEtcDefaultKeyboard in KeyboardViewStep.
8 years ago
Calamares CI
18ff94d41a
Automatic merge of Transifex translations
8 years ago
Teo Mrnjavac
f4dc81b0bc
Write hasInternet to GlobalStorage.
...
CAL-431 #close
8 years ago
Teo Mrnjavac
a44f336150
Correctly untar Coverity tool.
8 years ago
Teo Mrnjavac
2e405acbac
Update Coverity CI scripts.
8 years ago
Calamares CI
223e5e0620
Automatic merge of Transifex translations
8 years ago
Teo Mrnjavac
0e922d3481
Add KDevelop and Visual Studio Code files to .gitignore.
8 years ago
Teo Mrnjavac
e2b2d761c2
Do not LINK_PUBLIC by default.
8 years ago
Teo Mrnjavac
8b427cf2df
Add LINK_PRIVATE_LIBRARIES to calamares_add_plugin.
8 years ago
Teo Mrnjavac
dd035bf151
Document settings for services module.
8 years ago
Kevin Kofler
bc8dd4225a
[displaymanager] set_autologin: Unset autologin for sddm when needed
...
CAL-423 #close
8 years ago
Teo Mrnjavac
45315e6ae9
Improve debug output for bootloader code path.
8 years ago
Teo Mrnjavac
e10034c670
Bump KPMcore requirement.
8 years ago
Teo Mrnjavac
0ad819e301
Make sure we write the inner fs type to globalstorage.
8 years ago
shainer
8d5fbaafeb
New cmake switch to skip installing configuration.
...
The INSTALL_CONFIG is "on" by default. When set to off,
no *.conf file, both global and related to a single module,
will be installed. A warning message is printed by cmake too,
and the module description is edited to make this visible.
This is useful for testing, when we want to install our
own libraries and binary but keep the configuration of the
live system we are testing on (e.g. path to distro image).
Tested on the master branch.
8 years ago
shainer
2759529841
Remove current partition's mountpoint from used list.
...
This means that when we edit a partition, we don't consider
its current mountpoint invalid because it is already in-use.
We need to do this for both "edit existing partition" and
"edit a partition that we are still creating".
8 years ago
shainer
349470ae71
Check mountpoints when editing a partition too.
8 years ago
shainer
8c1199df2d
Check first selection of mountpoint too.
...
When opening the dialog.
8 years ago
shainer
f51b05e8aa
Get the mountpoint from PartitionInfo.
...
The Partition object includes the root mountpoint in
the partition mountpoint, which is not what we want.
8 years ago
shainer
c8dbeb5341
Avoid creating a new partition with a used mountpoint.
...
We get the mountpoints already used by other partitions, and
disable the Ok button in the "Create new partition" dialog if
the user selects/writes a mountpoint which is already used.
We are going to do the same in the Edit partition dialog
after testing.
8 years ago
Kevin Kofler
34516e9477
[dracutlukscfg] Don't include keyfile in initramfs on unencrypted /boot.
...
This matches the fix in initcpiocfg and initramfscfg.
8 years ago
Kevin Kofler
d9840feef9
[initramfscfg] Don't include keyfile in initramfs on unencrypted /boot.
...
This matches the fix in initcpiocfg.
I had to create an encrypt_hook_nokey that is a copy of encrypt_hook
without the part that copies the keyfile.
8 years ago
Calamares CI
290f3511fe
Automatic merge of Transifex translations
8 years ago
Teo Mrnjavac
83b51a5867
Show warning.
8 years ago
Teo Mrnjavac
17fe2d82f4
Oops.
8 years ago
Teo Mrnjavac
a55bef5d2d
Warn user about encrypted root with unencrypted /boot.
8 years ago
Teo Mrnjavac
79b0889db7
Don't include keyfile in initramfs on unencrypted /boot.
8 years ago
Calamares CI
ab361c2a81
Automatic merge of Transifex translations
8 years ago
Calamares CI
b099343cfe
Automatic merge of Transifex translations
8 years ago