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
Adriaan de Groot
23d203b00b
[partition] Set label intentions for filesystems
...
FIXES #1992
2024-02-17 17:37:02 +01:00
Adriaan de Groot
fc2bb1ede0
[partition] Add a helper for intended FS labels
...
The KPMCore partition label returns what **is**, not
what is intended. While here, fix some typo's in comments.
2024-02-17 17:37:02 +01:00
Adriaan de Groot
d5f32be5e3
[partition] Repair enable/disable status of FS label
...
The entry field was always enabled, but the label of the
FS-label entry field depended on the format button.
2024-02-17 17:03:27 +01:00
Adriaan de Groot
14e9da251a
[libcalamaresui] Avoid Qt warning
...
16:23:24 [2]: WARNING (Qt): QThread::setPriority: Cannot set priority, thread is not running
Start the log widget's thread with a specific priority. This is
ignored on Linux anyway, but we'll avoid the setPriority() warning.
2024-02-17 16:52:06 +01:00
Adriaan de Groot
f23b4ff267
[partition] Preserve the will-it-be-formatted flag of the partition
2024-02-17 16:17:46 +01:00
Adriaan de Groot
918e3c83e6
CI: update ABI-stability base
...
Use the 3.3.0 tag's hash as the beginning of ABI-stability.
2024-02-17 16:05:35 +01:00
Adriaan de Groot
0348af22d9
CMake: fix typo in option description
2024-02-17 15:46:58 +01:00
Adriaan de Groot
ecd8839ac9
[partition] Set up label checkbox later
...
If the update-fs-label checkbox and drop-down depend on the
state of the format button, then set that up only once we're
done deciding on the format button.
2024-02-17 14:26:39 +01:00
Adriaan de Groot
a2b21ee087
[partition] Improve readability in edit-existing-partition
...
Pick out the condition and give it a name. The logic is the
same -- and is made worse because of the if() which looks
redundant at this point.
2024-02-17 14:18:24 +01:00
Adriaan de Groot
0dc3c5bf4a
Changes: mention the NetPlan thing
2024-02-17 14:02:12 +01:00
Adriaan de Groot
54dc2f00f5
AUTHORS: update list of contributors
...
- fixed alphabetization
- added contributors since last update (may 2022)
- removed some duplicates / aliases
2024-02-17 12:14:22 +01:00
Adriaan de Groot
a84555209e
CONTRIBUTING: discuss commit messages and CHANGES file
2024-02-17 12:12:30 +01:00
Adriaan de Groot
283668cb01
[libcalamares] Update sponsor / maintainer information
2024-02-17 11:25:40 +01:00
Adriaan de Groot
22d4bcabc7
Changes: update credits
2024-02-16 22:16:09 +01:00
Adriaan de Groot
4f43e8d303
Merge pull request #2284 from slyon/netplan
...
[RFC] networkcfg: Configure NetworkManager to be the default Netplan renderer
2024-02-13 20:11:10 +01:00
Lukas Märdian
562cae387c
networkcfg: Configure NetworkManager to be the default renderer
...
When Netplan is installed in the target system:
In case NM is not yet set to be the default Netplan renderer (e.g. through a
/usr/lib/netplan/00-network-manager-all.yaml file shipped by an installed
package), create the /etc/netplan/01-network-manager-all.yaml configuration
and copy over all other Netplan configuration from the installer system.
2024-02-13 16:13:31 +01:00
Adriaan de Groot
932b9a5af7
i18n: update translation sources
2024-02-12 21:39:36 +01:00
Adriaan de Groot
f5e09cd676
[partition] Write out translation context
...
lupdate isn't smart enough to pick up `context` when it's
a variable, and then the whole string is not found for
translation.
2024-02-12 21:30:52 +01:00
Adriaan de Groot
f8448e3c97
[partition] Clarify documentation of static functions
2024-02-12 21:28:15 +01:00
Adriaan de Groot
bb53d0cd5d
Changes: update contributors
2024-02-12 21:15:55 +01:00
dalto8
11522fa44e
Merge pull request #2280 from ArrayBolt3/calamares
...
[partition] Allow specifying unencrypted partitions when encryption is used
2024-02-08 19:58:52 +00:00
dalto8
60989290e0
Merge pull request #2282 from iam-TJ/issue2281_crypto_keyfile
...
fstab: do not overwrite partition["mountPoint"]
2024-02-08 19:58:15 +00:00
Tj
1d996d1f9a
fstab: do not overwrite partition["mountPoint"]
...
When using BTRFS multiple subvolumes exist and whilst iterating them the
partition["mountPoint"] is inadvertently changed due to taking a
reference rather than a copy.
Closes: issue #2281
2024-02-07 16:21:24 +00:00
Aaron Rainbolt
22763ae970
Merge branch 'calamares:calamares' into calamares
2024-02-06 18:09:31 -06:00
Adriaan de Groot
84c9fd457f
i18n: update languages lists
2024-02-06 16:55:47 +01:00