Commit Graph

11248 Commits

Author SHA1 Message Date
Adriaan de Groot
dbddeaba68 CMake: be more noisy about python technologies
- log enabled and disabled features
- enabled python gets logged twice, that's fine
2024-02-24 21:27:45 +01:00
Adriaan de Groot
809d6cdda0 CMake: do not put PYBIND11 on the command-line
This is already stored in CalamaresConfig.hfor ABI purposes.
2024-02-24 18:54:33 +01:00
Adriaan de Groot
b37cf66acb CI: add a fedora-boost CI job, for better coverage
All other CI jobs use pybind11.
2024-02-24 13:46:16 +01:00
Adriaan de Groot
be5ce2e60f [libcalamares] repair boost / pybind split
The difference wasn't being recorded in the ABI-parts of
the CalamaresConfig.h header file, and it was unclear if
the two builds were "clean", e.g. no pybind11 stuff in a
boost build and vice-versa.

Tidy that up by writing more ABI info to the header and
double-checking defines when including Python-related
Calamares headers.
2024-02-24 13:27:44 +01:00
Adriaan de Groot
34888edae1 [libcalamares] repair visibility also for Boost::Python modules 2024-02-24 12:45:20 +01:00
Adriaan de Groot
7a3bff5117 [libcalamares] repair visibility also for Boost::Python modules 2024-02-24 12:28:36 +01:00
Adriaan de Groot
b7e34abeaa Changes: post-release housekeeping 2024-02-24 00:27:17 +01:00
Calamares CI
8741c7ec1a i18n: [python] Automatic merge of Transifex translations 2024-02-23 23:44:31 +01:00
Calamares CI
ae47c4a64a i18n: [calamares] Automatic merge of Transifex translations 2024-02-23 23:44:30 +01:00
Adriaan de Groot
d230a28a7a Changes: pre-release housekeeping 2024-02-23 23:42:34 +01:00
Adriaan de Groot
727c3e95eb
Merge pull request #2291 from demmm/calamares
[welcomeq] add Markdown example
2024-02-23 23:39:02 +01:00
demmm
283c1f92bb [welcomeq] add Markdown example
use the release_notes.qml example, move from Richtext to Markdown
2024-02-23 17:09:56 +01:00
Adriaan de Groot
903fed07a9 [partition] Modernize signal-slot connection 2024-02-22 20:43:05 +01:00
Adriaan de Groot
9d1fec3668 [partition] Use a "real" slot for UniqueConnection 2024-02-22 20:37:01 +01:00
Adriaan de Groot
c69e229be0 [calamares] Use a "real" slot for UniqueConnection
Multiple reports of the following fatal error:
    WARNING (Qt): QObject::connect(QItemSelectionModel, PartitionPage):
    unique connections require a pointer to member function of a QObject subclass
suggest to replace the unique lambda by a "real" slot.
2024-02-22 20:26:56 +01:00
Adriaan de Groot
7d63227014 Docs: remind self how to re-connect to a Docker container 2024-02-22 20:21:33 +01:00
Adriaan de Groot
49f13c30a5 CI: expand documentation of build.sh a bit, extra sanity checks 2024-02-22 20:10:56 +01:00
Adriaan de Groot
36dfedfea5
Merge pull request #2290 from demmm/calamares
[plasmalnf] CMake correction
2024-02-22 13:44:34 +01:00
demmm
281f4c64bc [plasmalnf] CMake correction
libplasma is not required, if not found just skip the module, like in kf5
2024-02-22 11:50:02 +01:00
Adriaan de Groot
7b2cf57222
Merge pull request #2287 from demmm/calamares
[interactivetermianl] enable konsole for Qt6 builds too
2024-02-20 14:02:12 +01:00
Adriaan de Groot
8a5876410e [packages] Add a DNF5 PM backend
I just made this up, checked that the `dnf5` command
in Fedora 39 exists and can run the command-lines
created by this PM backend. (I did install dnf5 into
that Fedora 39 system first)
2024-02-20 13:54:45 +01:00
demmm
b2ef6f9a28 [interactivetermianl] enable konsole for Qt6 builds too
4 lines of code duplicated to avoid even more ifdefs
2024-02-20 13:32:33 +01:00
Adriaan de Groot
54265f87b1 [libcalamaresui] Make symbols visible as needed 2024-02-20 12:07:57 +01:00
Adriaan de Groot
dc39791766 [libcalamares] Default symbols to hidden 2024-02-20 11:23:12 +01:00
Adriaan de Groot
dd8af028f7 Changes: new stuff for 3.3.3 so far 2024-02-20 11:17:54 +01:00
Adriaan de Groot
ecf55cb65b
Merge pull request #2286 from demmm/calamares
[plasmalnf] enabled Plasma 6 build
2024-02-20 11:00:00 +01:00
Adriaan de Groot
a6591fcaf3 [libcalamares] Make symbols visible as needed 2024-02-20 00:44:48 +01:00
Adriaan de Groot
84b0262f31 [libcalamares] Default symbols to hidden
This restores the purpose of DLLEXPORT and helps keep the ABI
small-and-stable.
2024-02-19 23:23:03 +01:00
Adriaan de Groot
54250887e1 [locale] Adapt to changed RegionZonePair
- add method that takes a pair directly
- don't act like a pair is a std::pair
2024-02-19 23:04:37 +01:00
Adriaan de Groot
c09953e15e [libcalamares] Adapt tests to changed RegionZonePair
Don't access the pair like it is a std::pair
2024-02-19 23:04:37 +01:00
Adriaan de Groot
d131f51468 [libcalamares] don't inherit RegionZonePair from std::pair
There is no reason to stick with std::pair, make this
a regular value type with accessors with meaningful names.
2024-02-19 23:04:37 +01:00
Adriaan de Groot
5a1428154c [libcalamares] don't inherit CommandLine from std::pair
There's no reason not to write out the two data fields,
and we do not use anything else that std::pair offers.
2024-02-19 23:04:22 +01:00
Adriaan de Groot
0c9b3b2f16 [libcalamares] don't inherit InstanceKey from std::pair
While tempting, none of the STL containers are intended
for inheritance, and there's risks of slicing when used
as value types. Make InstanceKey a regular value type
data class and add the few operators that we actually
used from std::pair by hand.
2024-02-19 22:18:17 +01:00
Adriaan de Groot
c945cca93a [libcalamares] untangle GeoIP implementation details
Some implementation details should just be compiled
multiple times, rather than wrestling with visibility.
2024-02-19 21:40:10 +01:00
Adriaan de Groot
86f47acf32 Changes: post-release housekeeping 2024-02-19 20:19:38 +01:00
Adriaan de Groot
e87b4457af Changes: pre-release housekeeping 2024-02-19 19:23:21 +01:00
Adriaan de Groot
1444d9d73a [libcalamares] Repair misleading comment
The class used to be a `using Descriptor =` but that was changed without
updating the comment. Make it class documentation.
2024-02-19 19:22:08 +01:00
demmm
61126b424b [plasmalnf] enabled Plasma 6 build
plasma-framework has been renamed to libplasma and moved away from frameworks
now part of plasma (6 only)
2024-02-19 19:11:55 +01:00
Adriaan de Groot
38d78404b1 [locale*] Modernize setting compile definitions 2024-02-19 00:13:26 +01:00
Adriaan de Groot
a5dbe793d9 [packagechooser*] Modernize linking with dependencies 2024-02-19 00:06:45 +01:00
Adriaan de Groot
87be4c4a81 CMake: provide a convenient external name for modules
The target name for a module is annoyingly long and hard-to-read. Set a
parent-scope variable with a nicer name to the full target name.
2024-02-18 23:30:50 +01:00
Adriaan de Groot
cefb437324 [libcalamares] Improve CMake bits
- use modern CMake commands, target-based
- make DLLEXPORT_PRO local to the build of libcalamares
- improve locality of includes
2024-02-18 23:19:43 +01:00
Adriaan de Groot
4eba859236 [libcalamares] Simplify symbol-visibility
Do not rely on Q_DECL_EXPORT and the like. Since we support basically
only gcc and clang for the kinds of Linux targets Calamares gets used
on, use visibility-specifiers that those compilers understand.
2024-02-18 23:10:35 +01:00
Adriaan de Groot
d7bbfd055c Merge branch 'issue-2283' into calamares 2024-02-18 22:45:29 +01:00
Adriaan de Groot
1e59092bf5 [partition] Clear jobs and reset intent
Start from a clean slate of intentions when applying changes
in the edit dialog. While here, shuffle debugging around so
that we get more useful information at once.
2024-02-18 22:38:03 +01:00
Adriaan de Groot
d640f17ddf [partition] When format is selected, clear out existing jobs
When editing a partition multiple times, do not leave
jobs from previous edits around. Apply fresh jobs each time.
2024-02-17 23:49:13 +01:00
Adriaan de Groot
2ea5a2b5d5 [partition] Set radio buttons conistently
Put the setChecked() calls together so that it is obvious
that only one is checked. *Keep* button is the inverse of
*Format* now. Previously, it used only the not-ZFS value,
and so would override the value obtained from the partition's
*format* setting.
2024-02-17 22:47:19 +01:00
Adriaan de Groot
9cea2ca7ed CI: add pylint to the weekly mix 2024-02-17 18:32:38 +01:00
Adriaan de Groot
e4b9d754df CI: improve abi-checking script
- less frightening warnings
- fewer subshells and `pwd -P` things
- clean up on uccess
2024-02-17 18:20:17 +01:00
Adriaan de Groot
3881737bbd [partition] Set intent while creating FS-labeling job 2024-02-17 17:55:34 +01:00