Commit Graph

11473 Commits

Author SHA1 Message Date
demmm
ed92ad65c4
Merge pull request #2412 from phoepsilonix/patch
[Partition] Fixed message for Replace destination partition
2024-12-15 12:23:05 +01:00
Masato TOYOSHIMA
6964a4f5d9
[Partition] Fixed message for Replace destination partition
use shortVersionedName as first argument.
choicepage.cpp has 1 instances where %1 is not defined.
2024-12-15 18:26:15 +09:00
Adriaan de Groot
714a085556
Merge pull request #2404 from jpetso/work/jpetso/fix-2384
[libcalamares] Block sleep with systemd/CK login manager if present
2024-12-07 22:27:31 +01:00
Jakob Petsovits
37179801eb [libcalamares] Block sleep with systemd/CK login manager if present
Calamares running as root is not always conducive to successfully
communicating with the fd.o PowerManagement interface on the user
session bus.

The login manager interface has long provided a similarly capable
sleep inhibition functionality, which at this point would be present
on the vast majority of distributions. Use it if systemd-logind
or ConsoleKit2 have registered this service on the system bus.
Regardless of running as root or user, Calamares shouldn't have
an issue contacting this interface.

Fixes #2384
2024-12-07 12:39:24 -05:00
Adriaan de Groot
b5533caece [partition] Deal with deprecations in QCheckBox 2024-12-03 14:26:26 +01:00
Adriaan de Groot
20e6d1d66c [libcalamares] Deal with deprecations in QComboBox 2024-12-02 22:58:04 +01:00
Adriaan de Groot
a067e4fc4f [finished] Handle Qt 6.7 deprecations in checkbox 2024-12-02 22:58:04 +01:00
Adriaan de Groot
a87487020a [libcalamares] Repair tests that use deprecated QLocale functions 2024-12-02 22:57:49 +01:00
Adriaan de Groot
03c5e366ed [libcalamares] Deal with deprecations in XML QDomDocument
Introduce some Calamares helpers in the compat/ headers
space to help Xml-wrangling (i18n support tools, GeoIP)
avoid compiler warnings about deprecated API.

It's cleaner this way anyway, with a nice value returned
from setting a document's contents, rather than a bunch
of pointer arguments.
2024-12-02 22:57:49 +01:00
Adriaan de Groot
9106dd9337 [welcome] Follow deprecations in QLocale 2024-12-02 13:23:43 +01:00
Adriaan de Groot
2fcc008d7b [libcalamares] Follow deprecations in QLocale
Prefer territory() over country() in Qt 6.6 and later.
2024-12-02 13:15:43 +01:00
Adriaan de Groot
196f85fa2c C++: prefer std::as_const over Qt solution
In Qt 6.6, qAsConst is deprecated; since Calamares is C++17
we have had a standard solution always.
2024-12-02 13:15:42 +01:00
Adriaan de Groot
ba96a39ca0 [welcome] Use UTF-8 ellipses for text 2024-11-29 15:40:41 +01:00
Adriaan de Groot
05019b2cad
Merge pull request #2398 from necrosisy/patch-1
Update calamares_zh_CN.ts
2024-11-29 14:00:37 +01:00
Adriaan de Groot
36d48fc624 i18n: update source translations 2024-11-29 13:57:49 +01:00
Adriaan de Groot
0259662b67 [unpackfsc] Add missing Q_OBJECT for things that use translation 2024-11-29 13:55:04 +01:00
Calamares CI
d4f1cba7a1 i18n: [python] Automatic merge of Transifex translations 2024-11-29 13:49:55 +01:00
Calamares CI
2d656c4565 i18n: [calamares] Automatic merge of Transifex translations 2024-11-29 13:49:55 +01:00
Adriaan de Groot
fc19b17fc7 CI: be a little more chatty with the language lists 2024-11-29 13:31:02 +01:00
Adriaan de Groot
6176fb4d12
Merge pull request #2401 from lubuntu-team/tsimonq2/dracut-options
[dracut] Add an options setting for additional Dracut parameters
2024-11-29 13:17:30 +01:00
Simon Quigley
3151eb7c82 [dracut] Stylistic update for conf file list 2024-11-22 19:47:15 -06:00
Simon Quigley
8ea29c271f [dracut] Ensure the user can remove -f but it stays as the default 2024-11-22 19:46:32 -06:00
Simon Quigley
119f3fb4bd [dracut] Add an options setting for additional Dracut parameters 2024-11-22 16:37:41 -06:00
Adriaan de Groot
9cc4cb356f CMake: repair KPMcore helper for KF5 (legacy) case 2024-11-21 23:42:39 +01:00
Adriaan de Groot
c83aa1da70 Changes: pre-release housekeeping 2024-11-21 22:53:17 +01:00
Adriaan de Groot
6a31e30cbf CMake: repair KDE Frameworks 6 dependencies
Be a little more chatty and look for the correct KDE Frameworks
for consumers of Calamares (e.g. calamares-extensions).
2024-11-21 22:50:44 +01:00
Ching Hsü
0e88cb6c28
Update calamares_zh_CN.ts
Corrected zh_CN typo
2024-11-12 17:35:43 +08:00
Adriaan de Groot
3614fd003d [users] Ensure UMASK= gets a leading 0 if needed 2024-11-11 00:34:53 +01:00
Adriaan de Groot
a93dc7740c [users] Expand test coverage with numeric value 2024-11-08 22:28:45 +01:00
Adriaan de Groot
f6e39aac52 Changes: post-release housekeeping 2024-11-07 23:09:21 +01:00
Adriaan de Groot
5ec934d331 Changes: pre-release housekeeping 2024-11-05 15:53:24 +01:00
Adriaan de Groot
3008260bb2 [unpackfsc] Import unpackfsc module from Calamares-extensions
This does some of the same things that unpackfs does, but
with nicer progress reporting, possibly it is faster.
It does not use rsync, so it might not be a drop-in replacement
for unpackfs.

Instead of having one configuration file with multiple items,
each unpackfsc instance unpacks just one thing.
2024-11-05 15:53:24 +01:00
Adriaan de Groot
c6f429e310 [libcalamares] re-add Runner to the public API 2024-11-05 15:53:24 +01:00
Adriaan de Groot
f6b4d6db43 [contextualprocess] Use GS method for dotted lookup 2024-11-05 15:53:24 +01:00
Adriaan de Groot
05bc0cbb09 [libcalamares] Make other tests more resilient
Use the full path to the test file, rather than assuming the test
is run from the build-directory. Repair check that looked at
the number of keys in the test-file, now that a new key has been added.
2024-11-05 15:53:00 +01:00
Adriaan de Groot
8a095504c4 [libcalamares] Add nested (dotted) key lookup for GS 2024-11-05 14:50:20 +01:00
Adriaan de Groot
3f4d2c8040 Changes: credits for recent fixes 2024-11-05 13:41:21 +01:00
Adriaan de Groot
2bde5af133 [unpackfs] Rename 'include' to 'condition'
Avoids ambiguity with 'exclude' which is passed to rsync.
2024-11-05 13:38:29 +01:00
Adriaan de Groot
6c33240ad0
Merge pull request #2390 from lubuntu-team/lubuntu/conditional-unpackfs
Add include keyword for unpackfs
2024-11-05 13:11:35 +01:00
dalto8
72e3945d09
Merge pull request #2392 from jpetso/work/jpetso/fix-2367
[partition] Use the same last sector for root vs. swap partitions
2024-11-04 14:30:55 +00:00
Adriaan de Groot
709e6c64b1
Merge pull request #2391 from lubuntu-team/lubuntu/presentation-qml-fixes
Fix a syntax error in Presentation.qml which prevents the slideshow from displaying
2024-11-04 00:32:02 +01:00
Jakob Petsovits
51c773c3f9 [partition] Use the same last sector for root vs. swap partitions
If we have already determined that `lastSectorForRoot` should be
a lower value for GPT tables, the calculation of swap partition
boundaries shouldn't keep using `dev->totalLogical()` for its
own size.

Fixes #2367
2024-11-01 21:08:11 -04:00
Simon Quigley
93f1090204 Fix a syntax error in Presentation.qml which prevents the slideshow from displaying 2024-10-30 22:08:21 -05:00
Simon Quigley
80841b1a29 Add include keyword for unpackfs 2024-10-30 22:06:14 -05:00
Adriaan de Groot
4cd1f0f402 Changes: post-release housekeeping 2024-10-22 21:53:35 +02:00
Adriaan de Groot
16cb360a69 [libcalamares] Don't write out pragmas by hand, use Qt helpers 2024-10-22 21:24:23 +02:00
Adriaan de Groot
f4d62f0f41 [locale] Repair tests
It is unclear how this could have worked previously:
the only code path through currentLocationStatus()
checks the pointer, also.
2024-10-22 21:14:38 +02:00
Adriaan de Groot
35aa975a74 Changes: mention new possibilities in users module 2024-10-22 17:41:57 +02:00
Adriaan de Groot
c68c3632cc [users] Expand tests and repair newly-acceptable cases 2024-10-22 17:41:57 +02:00
Adriaan de Groot
4ac0529d1c [users] Explain new permissions possibilities in config 2024-10-22 17:41:57 +02:00