OSDN Git Service
Adriaan de Groot [Sun, 1 Aug 2021 21:49:33 +0000 (23:49 +0200)]
[libcalamares] Fix typo in comment
Adriaan de Groot [Sun, 1 Aug 2021 20:37:13 +0000 (22:37 +0200)]
[libcalamares] Expand API for setting URLs to check
Adriaan de Groot [Sun, 1 Aug 2021 20:07:51 +0000 (22:07 +0200)]
[libcalamares] Expand the number of URLs to check for connectivity
- introduce a list of URLs instead of just one
- ping each of them, in turn, until one responds
Adriaan de Groot [Sun, 1 Aug 2021 19:26:06 +0000 (21:26 +0200)]
Changes: post-release housekeeping
Adriaan de Groot [Fri, 30 Jul 2021 22:41:27 +0000 (00:41 +0200)]
CHANGES: release date
Adriaan de Groot [Fri, 30 Jul 2021 22:39:37 +0000 (00:39 +0200)]
i18n: update language lists
I'm specifically putting zh_HK in the 'ok' list so it is selectable,
because that's what we need to be able to improve it most quickly,
Calamares CI [Mon, 26 Jul 2021 18:56:52 +0000 (20:56 +0200)]
i18n: [python] Automatic merge of Transifex translations
Calamares CI [Mon, 26 Jul 2021 18:56:52 +0000 (20:56 +0200)]
i18n: [calamares] Automatic merge of Transifex translations
Adriaan de Groot [Fri, 30 Jul 2021 22:26:19 +0000 (00:26 +0200)]
Merge branch 'issue-1744' into calamares
FIXES #1744
Adriaan de Groot [Fri, 30 Jul 2021 22:24:10 +0000 (00:24 +0200)]
[keyboard] Only guess layouts until the user picks one
- when activating the page, the "guess" functions do their
work and afterwards the config is left in a "guessable"
state, but if the user makes a specific choice, then
the config leaves the "guessable" state and the user's
explicit choice is preserved.
FIXES #1744
Adriaan de Groot [Fri, 30 Jul 2021 22:20:27 +0000 (00:20 +0200)]
[libcalamares] Extend cPointerSetter with initial-value
This is a convenience for "set <some variable> to <some value>
at end of scope".
Adriaan de Groot [Fri, 30 Jul 2021 20:17:26 +0000 (22:17 +0200)]
[keyboard] Re-phrase API
- expose only intended API, guessLayout() becomes internal and static
- rename onActivate() since it was *called* for activation, but does
something totally different.
Adriaan de Groot [Fri, 30 Jul 2021 11:22:40 +0000 (13:22 +0200)]
[keyboard] Factor out lambdas to regular slots
- Long and complicated, nested, lambdas are not convenient for reasoning.
- The debug messages from the innermost lambda have a totally useless
function name, which makes debugging harder.
Adriaan de Groot [Fri, 30 Jul 2021 10:54:47 +0000 (12:54 +0200)]
Changes: pre-release housekeeping
Adriaan de Groot [Wed, 28 Jul 2021 11:20:35 +0000 (13:20 +0200)]
[libcalamares] Fix linking with renamed targets
Adriaan de Groot [Tue, 27 Jul 2021 14:01:32 +0000 (16:01 +0200)]
[libcalamares] Factor out common string in Python logging
- enforce consistent [PYTHON JOB]
- use CDebug() constructor, because the convenience macro's
introduce the function name -- that's the C++ function, so
it isn't useful for logging.
Adriaan de Groot [Mon, 26 Jul 2021 19:31:57 +0000 (21:31 +0200)]
[packages] Move package-list-logic into PM base class
Adriaan de Groot [Mon, 26 Jul 2021 18:54:43 +0000 (20:54 +0200)]
[partition] Fix build
Adriaan de Groot [Mon, 26 Jul 2021 14:18:31 +0000 (16:18 +0200)]
[partition] Simplify retranslation of swap choices and manual partitioning
Adriaan de Groot [Mon, 26 Jul 2021 14:12:41 +0000 (16:12 +0200)]
[partition] Introduce retranslate slot for ChoicePage, code style
Adriaan de Groot [Mon, 26 Jul 2021 13:18:21 +0000 (15:18 +0200)]
[libcalamares] warnings-- with a deduction guide
Adriaan de Groot [Mon, 26 Jul 2021 13:08:29 +0000 (15:08 +0200)]
CMake: chase renamed YAMLCPP
Adriaan de Groot [Mon, 26 Jul 2021 12:34:10 +0000 (14:34 +0200)]
CMake: rename imported yamlcpp library
- call it yamlcpp::yamlcpp
This is source-incompatible if targets link explicitly to yamlcpp
Adriaan de Groot [Mon, 26 Jul 2021 12:55:12 +0000 (14:55 +0200)]
Modules: clean up linking
- do not link (explicitly) to Calamares libraries, the CMake
functions do that automatically.
- while here, tidy and remove commented-out-bits
- while here, remove unneeded includes
Adriaan de Groot [Mon, 26 Jul 2021 12:27:52 +0000 (14:27 +0200)]
CMake: tidy up automatic linking of Calamares libraries
- Modules and plugins don't need to mention libcalamares themselves
for linking -- we can do that automatically. Use the IMPORTED names
so that it works in Calamares main repo and external repositories.
- Complain about unknown module types.
Adriaan de Groot [Mon, 26 Jul 2021 12:22:28 +0000 (14:22 +0200)]
CMake: within Calamares repo, use the (eventual) imported names of libraries
Adriaan de Groot [Mon, 26 Jul 2021 09:16:26 +0000 (11:16 +0200)]
i18n: fix typo and code-style
Adriaan de Groot [Sun, 25 Jul 2021 21:38:09 +0000 (23:38 +0200)]
i18n: factor out special cases
- allow special Locale or special Name for a translation (or both)
Adriaan de Groot [Sun, 25 Jul 2021 21:18:05 +0000 (23:18 +0200)]
i18n: introduce special case for ca@valencia
Adriaan de Groot [Sun, 25 Jul 2021 21:11:46 +0000 (23:11 +0200)]
i18n: simplify Label handling of sr@latin
Adriaan de Groot [Sat, 24 Jul 2021 22:08:47 +0000 (00:08 +0200)]
[welcome] Some translation / label fixes
- the message had been arbitrarily changed; change it back
- update (warning) message when there is progress in checking the
model, so it doesn't stay at "unchecked" until you change language
- minor clean-ups
Adriaan de Groot [Sat, 24 Jul 2021 21:27:18 +0000 (23:27 +0200)]
Merge branch 'fix-retranslate' into calamares
Improve the Retranslator framework so it also affects Config objects.
Adriaan de Groot [Sat, 24 Jul 2021 10:16:19 +0000 (12:16 +0200)]
i18n: make retranslator more consistent
- Improve naming.
- Both lambda and slot versions call the code immediately.
Adriaan de Groot [Sat, 24 Jul 2021 10:01:30 +0000 (12:01 +0200)]
i18n: re-do the whole Retranslator infrastructure
Just have **one** Retranslator object, and install it as event-filter
(this needs to be done manually on a top-level widget) and use
signals / slots to do the actual work, rather than filtering
in multiple places and doing our own mediocre version of binding-
signal-to-lambda.
Adriaan de Groot [Sat, 24 Jul 2021 21:15:05 +0000 (23:15 +0200)]
[welcome] Switch to using the message from the Config object
- The Config object owns the requirements model, and has messages /
strings describing the state of the model. Use that message,
dropping the duplicate message from the requirements widget.
- Re-jig to pass the Config object around rather than the model
that it owns.
- This does not work, because translation events do not arrive
(and the slot isn't called automatically either).
Adriaan de Groot [Sat, 24 Jul 2021 14:59:38 +0000 (16:59 +0200)]
[welcome] Log when translation events arrive
Adriaan de Groot [Fri, 23 Jul 2021 20:51:08 +0000 (22:51 +0200)]
libcalamares: remove declaration that was never implemented
Adriaan de Groot [Fri, 23 Jul 2021 15:26:42 +0000 (17:26 +0200)]
CMake: find YAMLCPP when asked to find Calamares
Adriaan de Groot [Fri, 23 Jul 2021 15:23:30 +0000 (17:23 +0200)]
[libcalamaresui] Do not link publicly to yamlcpp
Adriaan de Groot [Sat, 17 Jul 2021 13:52:04 +0000 (15:52 +0200)]
Merge remote-tracking branch 'origin/fix-usersq' into calamares
Repair the colors, since the basic Kirigami theme does not
look nice at all. While at it, refactor to put the colors
of the usersq module all in one place, so easy to changes
consistently (e.g. to Kirigami colors if you know your theme
is a good one).
demmm [Fri, 16 Jul 2021 16:19:10 +0000 (18:19 +0200)]
[usersq] replace one more (missed) kirigami color
demmm [Thu, 15 Jul 2021 17:30:43 +0000 (19:30 +0200)]
[usersq] complete using names for colors
add line breaks
add negative outline color
Adriaan de Groot [Thu, 15 Jul 2021 14:59:38 +0000 (16:59 +0200)]
[usersq] Use a name instead of a magic number
Adriaan de Groot [Thu, 15 Jul 2021 14:54:02 +0000 (16:54 +0200)]
[usersq] Back out color-scheme merge
Adriaan de Groot [Wed, 14 Jul 2021 14:41:35 +0000 (16:41 +0200)]
Merge pull request #1738 from Nitrux/calamares
[usersq]: use system colorscheme instead of hardcoded colors
Calamares CI [Wed, 14 Jul 2021 11:03:42 +0000 (13:03 +0200)]
i18n: [python] Automatic merge of Transifex translations
Calamares CI [Wed, 14 Jul 2021 11:03:42 +0000 (13:03 +0200)]
i18n: [calamares] Automatic merge of Transifex translations
Adriaan de Groot [Wed, 14 Jul 2021 10:54:07 +0000 (12:54 +0200)]
[packages] Fix wording problem
Adriaan de Groot [Wed, 14 Jul 2021 07:29:20 +0000 (09:29 +0200)]
[calamares] Expand test-mocks for Python
- the rawfs module uses more parts of the subprocess Python module
and so needs more things mocked for testing.
Adriaan de Groot [Wed, 14 Jul 2021 07:02:16 +0000 (09:02 +0200)]
Changes: pre-release housekeeping
Adriaan de Groot [Tue, 13 Jul 2021 22:08:37 +0000 (00:08 +0200)]
CMake: update language list
The list suggests things are not-so-good because of recently-pushed
changes to the translations and teams haven't had time to react.
There are also some new duplicate languages.
Calamares CI [Tue, 13 Jul 2021 22:06:31 +0000 (00:06 +0200)]
i18n: [python] Automatic merge of Transifex translations
Calamares CI [Tue, 13 Jul 2021 22:06:30 +0000 (00:06 +0200)]
i18n: [calamares] Automatic merge of Transifex translations
demmm [Tue, 13 Jul 2021 10:46:04 +0000 (12:46 +0200)]
[usersq] correct plural form as reported in IRC
Adriaan de Groot [Mon, 12 Jul 2021 14:52:24 +0000 (16:52 +0200)]
[partition] Simplify code for overloads
Adriaan de Groot [Mon, 12 Jul 2021 12:31:04 +0000 (14:31 +0200)]
i18n: update english originals
Calamares CI [Mon, 12 Jul 2021 12:13:49 +0000 (14:13 +0200)]
i18n: [python] Automatic merge of Transifex translations
Adriaan de Groot [Wed, 7 Jul 2021 11:12:59 +0000 (13:12 +0200)]
Merge branch 'fix-btrfs-default-layout' into calamares
FIXES #1682
Adriaan de Groot [Wed, 7 Jul 2021 11:08:06 +0000 (13:08 +0200)]
[mount] Add test exercising partial-filtering
Adriaan de Groot [Wed, 7 Jul 2021 10:57:08 +0000 (12:57 +0200)]
[mount] Fix logic
- filter() returns the items for which the predicate is True;
we want to keep the subvolumes that do not have an explicit
partition already associated.
- need list() to hammer it back into a list for appending swap subvol.
Adriaan de Groot [Wed, 7 Jul 2021 10:38:41 +0000 (12:38 +0200)]
[mount] Add test exercising refactored btrfs code
Camilo Higuita [Tue, 6 Jul 2021 23:56:45 +0000 (18:56 -0500)]
usersq: use system colorscheme instead of hardcoded colors
Adriaan de Groot [Tue, 6 Jul 2021 14:48:46 +0000 (16:48 +0200)]
[mount] Factor out swap-subvolume setting
Adriaan de Groot [Tue, 6 Jul 2021 14:43:56 +0000 (16:43 +0200)]
[mount] Factor out the subvolume-filtering for partitions
Adriaan de Groot [Tue, 6 Jul 2021 13:34:13 +0000 (15:34 +0200)]
[mount] Restore @home subvolume
In
942221c764a8622c9b23d29b1db291404af0f63b the fixed-setup
(with /@ and /@home) was replaced by the configurable btrfs
layout, but the default went away. Restore the two-subvolume
layout if nothing is configured.
Adriaan de Groot [Tue, 6 Jul 2021 13:31:00 +0000 (15:31 +0200)]
[mount] Factor out the default btrfs configuration
Adriaan de Groot [Tue, 6 Jul 2021 10:59:01 +0000 (12:59 +0200)]
[partition] Fix build on older KPMCore
Adriaan de Groot [Tue, 6 Jul 2021 10:54:25 +0000 (12:54 +0200)]
[partition] Introduce check for EFI partition type-and-size
Re-use the existing message about partition type and size,
since I don't want to introduce another message with all the
specifics; give a works-always message instead.
The check itself is also straightforward, avoiding all of the
nuances and technically-this-might-work cases: FAT32, 300MiB+.
FIXES #607
Adriaan de Groot [Mon, 5 Jul 2021 11:33:09 +0000 (13:33 +0200)]
[partition] Clarify comments on boot-flags
Adriaan de Groot [Mon, 5 Jul 2021 11:11:00 +0000 (13:11 +0200)]
[partition] Write out type rather than aliasing to T
Adriaan de Groot [Mon, 5 Jul 2021 10:39:56 +0000 (12:39 +0200)]
[partition] Pick slightly more sensible defaults for FS selection
Adriaan de Groot [Mon, 5 Jul 2021 10:28:44 +0000 (12:28 +0200)]
Merge branch 'pr-1667' into calamares
Allow user-selection of FS type
FIXES #1667
Adriaan de Groot [Mon, 5 Jul 2021 10:28:17 +0000 (12:28 +0200)]
[partition] Document interactions between defaultFS and layout
Adriaan de Groot [Mon, 5 Jul 2021 09:28:48 +0000 (11:28 +0200)]
Merge pull request #1737 from demmm/calamares
[usersq] use validator for login & hostname
demmm [Sat, 3 Jul 2021 12:23:01 +0000 (14:23 +0200)]
[usersq] add close button to all password message fields
demmm [Sat, 3 Jul 2021 12:21:07 +0000 (14:21 +0200)]
[users] add an OK message to password message fields
empty text box on all good status in usersq is confusing
demmm [Fri, 2 Jul 2021 22:10:31 +0000 (00:10 +0200)]
[usersq] working password validity check
kirigami inlinemessages adjusted for password fields
coding style, break lines in variables
add closing button for root password inline message, needed bc of
re-use root password option does not remove all messages
demmm [Wed, 30 Jun 2021 20:29:32 +0000 (22:29 +0200)]
[usersq] add warnings for forbidden names
root & localhost set as forbidden in loginname & hostname
demmm [Wed, 30 Jun 2021 16:29:32 +0000 (18:29 +0200)]
[usersq] use validator for login & hostname
pallette for colors
inline warning messages now work, password fields checks included
left to implement are password validation inline messages
Adriaan de Groot [Tue, 29 Jun 2021 21:47:33 +0000 (23:47 +0200)]
[partition] Use default FS for layout items with type Unknown
demmm [Tue, 29 Jun 2021 15:41:07 +0000 (17:41 +0200)]
[localeq] prevent MouseArea from stealing all map interaction
bug introduced with Qt 5.15 KDE patches makes near impossible to set location
adding - 5 seems to fix, otherwise the coordinates label will have to be removed
Adriaan de Groot [Tue, 29 Jun 2021 12:52:16 +0000 (14:52 +0200)]
[partition] Document that the default FS is used, also when erasing
Adriaan de Groot [Tue, 29 Jun 2021 12:47:09 +0000 (14:47 +0200)]
[partition] Move fs-type handling into Config
- the defaultFileSystemType interacts with availableFileSystemTypes
so set them together.
Adriaan de Groot [Tue, 29 Jun 2021 11:21:46 +0000 (13:21 +0200)]
[partition] Don't run bool allowManualPartitioning through GS
It's a bit over-wrought to store a bool in a QVariant in GS for
consumption **only** by ChoicePage, so drop that GS key and store
it locally.
Adriaan de Groot [Tue, 29 Jun 2021 11:01:21 +0000 (13:01 +0200)]
[partition] Reduce confused naming
Adriaan de Groot [Tue, 29 Jun 2021 10:21:14 +0000 (12:21 +0200)]
[partition] Simplify config-reading (now the variant-docs are better)
Adriaan de Groot [Tue, 29 Jun 2021 10:13:37 +0000 (12:13 +0200)]
[libcalamares] Expand tests for Variant access
- document that getStringList() also handles strings as 1-element lists
Adriaan de Groot [Tue, 29 Jun 2021 09:48:53 +0000 (11:48 +0200)]
[partition] requiredPartitionTableType: improve docs
Adriaan de Groot [Tue, 29 Jun 2021 09:43:20 +0000 (11:43 +0200)]
[partition] Migrate EFI settings-setting to Config object
Adriaan de Groot [Tue, 29 Jun 2021 09:22:47 +0000 (11:22 +0200)]
[partition] Shuffle Config and ViewStep to top
Modules nearly always have a Config and either a Job or ViewStep
as their "top level" components. Everything else is implementation-
detail. The *partition* module was unusual in that those two
"top level" components were tucked away in subdirectories.
Shuffle them to the top: this makes it more clear that these
two files are there to coordinate the module.
Adriaan de Groot [Mon, 21 Jun 2021 20:56:23 +0000 (22:56 +0200)]
[partition]: restore defaultFileSystemType in config
Add the old key back, document the new key, expand schema.
Adriaan de Groot [Mon, 28 Jun 2021 19:59:13 +0000 (21:59 +0200)]
Changes: credits for recent PRs
Adriaan de Groot [Mon, 28 Jun 2021 19:56:49 +0000 (21:56 +0200)]
[calamares] More attributes in injected Python script
Fake a little more of the subprocess module.
Adriaan de Groot [Mon, 28 Jun 2021 15:17:19 +0000 (17:17 +0200)]
[calamares] Allow disabling the Python pre-script
The test-application injects a script into Python code
to render harmless functions in the subprocess module
(eg to avoid Python code from running the package manager
for real). There are cases, though, where that injection
should be skipped (eg because the whole point of test-
loading some Python is to check commands that are run).
Add a -P option to the test-application to do that.
Adriaan de Groot [Mon, 28 Jun 2021 15:05:58 +0000 (17:05 +0200)]
[bootloader] factor out GRUB EFI determinations
Adriaan de Groot [Mon, 28 Jun 2021 13:50:18 +0000 (15:50 +0200)]
Merge pull request #1733 from CC2130/aarch64-support
[bootloader] add support for aarch64
Adriaan de Groot [Mon, 28 Jun 2021 13:47:57 +0000 (15:47 +0200)]
Merge pull request #1734 from demmm/calamares
[usersq] add inline messages, adjust layout
demmm [Sun, 27 Jun 2021 10:05:44 +0000 (12:05 +0200)]
[usersq] empty length is starting color
demmm [Sat, 26 Jun 2021 16:29:22 +0000 (18:29 +0200)]
Changes: add QML modules changes
demmm [Sat, 26 Jun 2021 16:14:19 +0000 (18:14 +0200)]
[usersq] add inline messages, adjust layout
warning messages implemented for user & host names
move root password option box inline with password section
adjust background color according to text.length
hardcode color instead of kirigami colors
usersq is now usable, sets user, hostname & password correctly on install
warning messages & color changes not fully done yet