Adriaan de Groot
f496570df4
CI: accept more clang-format versions
2023-10-24 14:55:24 +02:00
Adriaan de Groot
367c434754
Merge branch 'work/adridg/nam-thread' into calamares
2023-10-24 14:10:02 +02:00
Adriaan de Groot
4f585b6f2e
CI: improve KaOS dependencies installation
2023-10-24 11:32:14 +02:00
Adriaan de Groot
7790d52a4d
CI: improve KaOS deps installation
2023-10-24 02:15:34 +02:00
Adriaan de Groot
6ba8d9fd7d
modules: adapt to changes in network manager
2023-10-24 02:01:19 +02:00
Adriaan de Groot
8ebba4fcff
libcalamares*: adapt consumers of network manager
2023-10-24 02:01:19 +02:00
Adriaan de Groot
35998066c2
libcalamares: re-do singleton-ness of NetworkAccessManager
...
The Calamares Manager should not be a singleton; it is needed
in multiple threads (e.g. from QML). It can have a singleton
Private manager that caches and shares things, though.
2023-10-24 02:01:19 +02:00
Adriaan de Groot
cfc5b03264
contextualprocess: repair typo from string-fix
2023-10-24 00:01:06 +02:00
Adriaan de Groot
01564695a6
CI: add a deps-kaos for convenience in building there
2023-10-24 00:00:21 +02:00
Adriaan de Groot
7141450e37
Changes: credit for openSUSE CI updates
2023-10-23 23:07:31 +02:00
Adriaan de Groot
8edb5f4290
Merge pull request #2222 from bitigchi/strings
...
Improve string formatting and context
2023-10-23 23:06:23 +02:00
Adriaan de Groot
0e9d7bc446
CI: fix up opensuse depends, find Python
2023-10-23 22:45:06 +02:00
Adriaan de Groot
f0d13fc9c4
libcalamares: repair build for Qt6
2023-10-23 22:20:02 +02:00
Adriaan de Groot
594bc5b169
Merge pull request #2221 from krop/calamares
...
Improve the openSUSE CI files
2023-10-23 21:54:37 +02:00
Emir SARI
682cbe6951
Improve string formatting and context
2023-10-23 13:39:26 +03:00
Christophe Marin
107def4594
CI: openSUSE: prefer CMake provides over package name
...
Even if the package name changes, installation will still work.
2023-10-23 09:41:13 +02:00
Christophe Marin
aee0786c22
CI: change the openSUSE Qt6 repository
...
home:krop:Qt6 is only used to prepare new releases and disabled afterwards.
Use KDE:Qt6 instead.
2023-10-23 09:16:39 +02:00
Adriaan de Groot
8bd2d684b9
libcalamares: catch Python errors in more places
...
- (syntax) errors in the pre-script or the module's script
should not trigger a fatal error in Calamares (i.e. terminate
called because of uncaught Python exception).
- Log more clearly where the error is being caught.
2023-10-23 01:18:45 +02:00
Adriaan de Groot
e5c2066d28
libcalamares: fix build
2023-10-22 14:38:25 +02:00
Adriaan de Groot
f81383901d
Changes: document translation updates
2023-10-22 13:52:21 +02:00
Adriaan de Groot
4297a00537
Merge pull request #2210 from bitigchi/strings
...
Improve string formatting and context
2023-10-22 13:50:38 +02:00
Adriaan de Groot
ff760d84a3
libcalamares: implement mount() for Python
2023-10-22 13:32:22 +02:00
Adriaan de Groot
af9b41e1a9
libcalamares: provide pybind11 constructor for GS
...
This constructor (of the proxy object) is used only by
test-code (see also comment in the Boost implementation)
but needs to be made explicit now.
2023-10-22 13:20:29 +02:00
Adriaan de Groot
b2337c82a7
libcalamares: repair submodule utils
2023-10-21 16:34:07 +02:00
Adriaan de Groot
945180e1d3
CI: accept clang-format-16 as well
2023-10-21 16:22:37 +02:00
Adriaan de Groot
71d27eee8e
hostinfo: ditch flaky test
2023-10-21 15:47:10 +02:00
Adriaan de Groot
5846ea384a
machineid: ditch flaky test
2023-10-21 15:43:19 +02:00
Adriaan de Groot
a649b67880
machineid: document flaky test
2023-10-17 22:54:08 +02:00
Adriaan de Groot
aaa82386d8
libcalamaresui: always use KOSRelease
...
The places where KOSRelease was ifdeffed always set the ifdef in
the surrounding CMake code, so make it unconditional.
2023-10-17 22:46:11 +02:00
Adriaan de Groot
63b0589382
CI: apply style tool across the entire codebase
2023-10-17 22:24:46 +02:00
Adriaan de Groot
e1747af296
CI: use clang-format to add braces
2023-10-17 22:17:01 +02:00
Adriaan de Groot
183f88a846
CI: Document changed coding style
2023-10-17 21:44:33 +02:00
Adriaan de Groot
dcce7d8a57
Merge branch 'work/adridg/remove-boost' into calamares
2023-10-16 20:08:06 +02:00
Adriaan de Groot
3594a64bd1
Python: add the processing-output functions, too
2023-10-16 20:07:39 +02:00
Adriaan de Groot
42172826ca
loadmodule: extend test-module-loader application
...
- Introduce -S to load settings beforehand, allows testing
in dont-chroot and debug and OEM modes.
2023-10-16 20:07:39 +02:00
Adriaan de Groot
d0dd4b765c
Python: add checked and stdout-returning API
2023-10-16 20:07:39 +02:00
Adriaan de Groot
995f6c8ce3
Python: add target_env_call API
2023-10-16 20:07:39 +02:00
Adriaan de Groot
89ede4bcce
Python: add the API to the public header again
...
- add libcalamares.job
- add libcalamares.globalstorage
2023-10-16 20:07:39 +02:00
Adriaan de Groot
ec5a4cb423
Python: support injected pre-script (for testing)
2023-10-16 20:07:39 +02:00
Adriaan de Groot
24de6b69c4
Python: deal with Qt5 compatibility
...
QDebug can't log std::string in Qt5, it seems
2023-10-16 20:07:39 +02:00
Adriaan de Groot
0468ff400b
Python: add top-level descriptive variables
2023-10-16 20:07:39 +02:00
Adriaan de Groot
30e677a762
Python: call the module's run() function
2023-10-16 20:07:39 +02:00
Adriaan de Groot
bfb23b3b84
Python: get pretty_name from Python module
...
Add a convenience method for logging pybind11 objects.
2023-10-16 20:07:39 +02:00
Adriaan de Groot
dd2da734ba
Python: load a module
...
- add enough API so that the dummypython module does load
- interpreter only imports the module, does not run any part of it
2023-10-16 20:07:39 +02:00
Adriaan de Groot
4411c54ba2
Python: do preliminary script-checks
2023-10-16 20:07:39 +02:00
Adriaan de Groot
61f0100cd9
Python: add new Python job implementation
...
The implementation is quite incomplete: it does not
actually run any Python code.
2023-10-16 20:07:39 +02:00
Adriaan de Groot
1eba9c828c
Python: mini-API implementation
...
Just some string-related functions for a very basic module.
2023-10-16 20:07:39 +02:00
Adriaan de Groot
5cad467a49
Python: use the vendored pybind11
...
Add a target that resembles what you would get from "normal"
use of pybind11 when following the examples. Link with it.
Drop Boost:Python sources from libcalamares.
2023-10-16 20:07:39 +02:00
Adriaan de Groot
35ae45e3ec
Docs: mention Boost::Python retired
2023-10-15 22:23:27 +02:00
Emir SARI
125a58f7c0
Process more messages
2023-10-15 14:39:17 +03:00