Commit Graph

10846 Commits

Author SHA1 Message Date
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
Adriaan de Groot
546a4d0bbb CI: switch opensuse-qt6 away from boost 2023-10-15 00:58:56 +02:00
Adriaan de Groot
3a04d27455 3rdparty: import pybind11 v2.11.1
This is a stripped-down version, with the LICENSE and the
C++ headers intact.
2023-10-15 00:58:56 +02:00
Adriaan de Groot
74edf6aef4 Changes: mention Qt6-QML fix 2023-10-14 23:58:51 +02:00
Adriaan de Groot
2a314bd06e
Merge pull request #2215 from demmm/calamares
[QML modules] add Qt6 needed files
2023-10-14 23:57:37 +02:00
Adriaan de Groot
7e456d5a8c Changes: post-release housekeeping 2023-10-14 23:39:39 +02:00
demmm
2d2436f9a5 [QML modules] add Qt6 needed files
use alias for all -qt6.qrc QML files, so no change is needed for Qml.cpp searchQML files
most QMl does not need QtGraphicalEffects
keyboardq duplicate all .xml files too
2023-10-14 19:56:53 +02:00
Adriaan de Groot
7abbcd685e users: repair broken tests
Applying the styling tool breaks the string literals.
2023-10-14 00:33:04 +02:00
Adriaan de Groot
d8415cfd53 shellprocess: repair broken tests
Applying calamaresstyle to this file re-formats the
raw-string-literals, which breaks the tests. Restore
the previous string formatting.
2023-10-14 00:27:44 +02:00
Adriaan de Groot
9bd600cab6 CMake: repair ca9006a1bc
Misplaced $, and looking for translation sources in the
wrong directory, led to a test-case failure before release.
2023-10-14 00:15:05 +02:00
Adriaan de Groot
d196dde23f Changes: pre-release housekeeping 2023-10-13 23:49:06 +02:00
Calamares CI
6ed627f7b7 i18n: [python] Automatic merge of Transifex translations 2023-10-13 23:44:46 +02:00
Calamares CI
7a17df6bcd i18n: [calamares] Automatic merge of Transifex translations 2023-10-13 23:44:46 +02:00
Adriaan de Groot
19473f8b5d Docs: mention that you can use any Matrix account, not just a KDE one 2023-10-12 23:01:50 +02:00
Adriaan de Groot
0ed3dd4af9 Changes: document more contributors 2023-10-12 22:51:03 +02:00
Adriaan de Groot
7f594b0069 Changes: document Qt6-QML compatibility 2023-10-12 22:49:58 +02:00
Adriaan de Groot
2b147a2998 welcomeq: have Qt5 and Qt6 versions of the QML as an example 2023-10-12 22:35:32 +02:00
Adriaan de Groot
4a5e7af9a4 libcalamaresui: support Qt6 QMLViewStep 2023-10-10 23:51:52 +02:00
Adriaan de Groot
628c98becb libcalamaresui: apply coding style (include order) 2023-10-10 23:51:52 +02:00
Adriaan de Groot
cf9f283a8e
Merge pull request #2209 from lubuntu-team/lubuntu/netplan-configs
Quick vendor patch to add support for Netplan-based configs
2023-10-09 22:31:34 +02:00
Adriaan de Groot
367c5097e0
Merge pull request #2208 from bitigchi/strings
Improve string formatting and context
2023-10-09 22:30:19 +02:00
Simon Quigley
e5db326a7e Quick vendor patch to add support for Netplan-based configs 2023-10-08 21:37:26 -05:00
Adriaan de Groot
d4b0513993 CI: neon use ninja for install step 2023-10-07 10:37:12 +02:00
Adriaan de Groot
ca76392d28 CI: missing tools for debian build 2023-10-07 10:37:12 +02:00
Emir SARI
108b6759f7 Improve string formatting and context
Improves some strings according to the KDE HIG, and specifies
whether they are titles, buttons, or tooltips.
2023-10-06 07:05:42 +03:00
Adriaan de Groot
215b0790fd CI: add fedora to the mix 2023-10-03 16:18:06 +02:00
Adriaan de Groot
ed1f4876aa CI: switch example & CI builds to ninja 2023-10-03 15:04:33 +02:00
Adriaan de Groot
6b61197402 Docs: repair CONTRIBUTING, mention neon-unstable 2023-10-03 15:04:33 +02:00
Adriaan de Groot
125f54d830 CI: add a nightly neon-unstable 2023-10-03 13:56:58 +02:00
Adriaan de Groot
54d0e7dc53 CI: repair permissions on Debian deps 2023-10-03 13:53:30 +02:00
Adriaan de Groot
d940675445 Docs: repair CONTRIBUTING
The docker images are ok, but the install-the-dependencies scripts have
moved away from GitHub-specific.
2023-10-03 13:43:13 +02:00
Adriaan de Groot
309fa9718e users: repair build on openSUSE Qt6
Build failure looks like

/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld:
  src/modules/users/CMakeFiles/users_internal.dir/users_internal_autogen/mocs_compilation.cpp.o:
  relocation R_X86_64_32 against symbol `_ZN6Config16staticMetaObjectE' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: failed to set dynamic section sizes: bad value

This was the original reason for starting to change the library type.
2023-10-02 00:37:59 +02:00