143 Commits (314282731b4a1cd75e4f65dc48eb3027db0784e2)

Author SHA1 Message Date
Adriaan de Groot 5cd328dad3 Clang: if we're going to crash on purpose, crash the C++ way 8 years ago
Adriaan de Groot 0d884869e5 Clang: reduce warnings about code-documentation 8 years ago
Adriaan de Groot f2d2218070 Clang: fix warning about implict copy-ctor with explicit move-ctor 8 years ago
Adriaan de Groot 8ea14d7957 Release: add copyright to files I've touched 8 years ago
Adriaan de Groot 2148538fac Clang: reduce warnings 8 years ago
Adriaan de Groot d29acf4a06 Logging: add a global storage dump method 8 years ago
Teo Mrnjavac 6c7cdb5f50 Documentation++ 8 years ago
Teo Mrnjavac b1c67f429f Update headers. 8 years ago
Teo Mrnjavac 99ca3d768d Expose translator locale name. 8 years ago
Teo Mrnjavac 3170067089 Make JobResult inheritable and remove obsolete Status enum. 8 years ago
Teo Mrnjavac 0f734c8c5c Make sure to only call Py_Initialize if Python is not initialized. 8 years ago
Teo Mrnjavac 2c3b56c803 Link against PythonQt; new PythonQtViewModule stub. 8 years ago
Teo Mrnjavac ada620effc Find PythonQt. 8 years ago
Kevin Kofler 00d9f211f5 Add support for C++/Qt batch job plugins
These job plugins work similarly to view modules, with the following
differences:

* These jobs need to link only libcalamares, not libcalamaresui. For
  this reason, PluginFactory was moved from libcalamaresui to
  libcalamares. (It depends only on QtCore.)

* Instead of deriving from ViewModule, derive from CppJob (which is a
  subclass of Job).

* Like process and Python jobs, a job plugin is a single job, whereas a
  ViewModule can generate a whole list of jobs.

The CppJob and CppJobModule classes are new. In Module::fromDescriptor,
the combination type=job, intf=qtplugin is now supported and mapped to
CppJobModule.
9 years ago
Jonathan Carter c83ca9af44 Fix spelling mistake in kdsingleapplicationguard.cpp (#257)
s/emty/empty/g.
9 years ago
Andrius Štikonas 9f0ca042fe Port away from most cases of Q_FOREACH to C++11 ranged for loop.
In order to avoid deep copies, Qt containers over which we iterate must be const
The remaining unported cases require qAsConst (Qt 5.7) or std::as_const (C++17)
9 years ago
Teo Mrnjavac 0684a761bd Copyright. 9 years ago
Teo Mrnjavac d99d7bfdff Expose CalamaresUtils::obscure as libcalamares.utils.obscure. 9 years ago
Teo Mrnjavac f8078be2fd Wrap CalamaresUtils::obscure in CalamaresPython. 9 years ago
shainer 2349f7125e Add conversion utilities from QHash to py dict. When translating from pydict, however, translate into a QMap as before to keep current behaviour. 9 years ago
Teo Mrnjavac 9fb9aaf6e4 Install CrashReporter handler. 9 years ago
Teo Mrnjavac 576fdcc7a0 Print log file path. 9 years ago
Teo Mrnjavac e59418e880 Add crash utility to CalamaresUtils. 9 years ago
Teo Mrnjavac baa3553db5 Add CalamaresUtils::obscure. 10 years ago
Teo Mrnjavac 834299f785 There are no Phases any more, just a ModuleAction for a module. 10 years ago
Teo Mrnjavac 9cb4e60b31 Namespace fixage. 10 years ago
Teo Mrnjavac 1534b0a27c Try to fix dontChroot command execution. 10 years ago
Teo Mrnjavac a4ea7e65a2 Try running no-chroot commands in env rather than sh -c. 10 years ago
Rohan Garg ca393d0a44 Set the default rootMountPoint when not chroot'ing 10 years ago
Teo Mrnjavac 7212aaec74 Fix the last fix. 10 years ago
Teo Mrnjavac d8818e0280 Fix non-chroot target env call. 10 years ago
Teo Mrnjavac 42e465aa10 CalamaresUtils::System is now a class. 10 years ago
Teo Mrnjavac 0803d86c40 Don't duplicate code. 10 years ago
Teo Mrnjavac 2e3751ffa7 If dont-chroot is set, don't chroot target env calls. 10 years ago
Teo Mrnjavac bf885d65db chroot calls are now generic "target env" calls. 10 years ago
Teo Mrnjavac 326671a3d6 Remove dead (unreachable) code. 10 years ago
Teo Mrnjavac b9dbf668f3 Initialize previously uninitialized scalar. 10 years ago
Teo Mrnjavac 30a840ceb0 Fix issue with changed() never being emitted on remove in GS. 10 years ago
Teo Mrnjavac eae237211f Add prettyStatusMessage to {Python,Process}Job. 10 years ago
Teo Mrnjavac b0d52fb928 Use it in JobQueue. 10 years ago
Teo Mrnjavac 18a9e0db48 Add optional prettyStatusMessage to Job. 10 years ago
Teo Mrnjavac 659a388688 Improve job status reporting. 10 years ago
Teo Mrnjavac 5e2f6ff2b8 Detect physical memory, with dmidecode and meminfo as backup. 10 years ago
Teo Mrnjavac 09ae0bcbd6 Add branding translations support to CalamaresUtils::installTranslator. 10 years ago
Teo Mrnjavac 8a02522d60 Add CALAMARES_RETRANSLATE_WIDGET 10 years ago
Teo Mrnjavac d45d436161 Add optional prettyDescription to Job. 10 years ago
Teo Mrnjavac 8b98b1cc24 Do not filter out LanguageChange events when in a RETRANSLATE functor. 10 years ago
Teo Mrnjavac 52528f650c JobQueue emits queueChanged. 10 years ago
Teo Mrnjavac edb21e05af New GlobalStoragePythonWrapper is passed to the Python API.
This allows us to make GlobalStorage a QObject, with disabled copy
constructor. And thanks to this change, GlobalStorage now emits
changed() every time an insert or remove is performed.
10 years ago
Teo Mrnjavac d1c4976ee6 Copyright. 10 years ago