OSDN Git Service

alterlinux/alterlinux-calamares.git
2 years ago[unpackfs] Move to conventional python-libcalamares use
Adriaan de Groot [Mon, 27 Sep 2021 18:41:52 +0000 (20:41 +0200)]
[unpackfs] Move to conventional python-libcalamares use

All **other** modules fully specify libcalamares; only unpackfs
was importing shortcuts. Change to conventional usage (partly
because that's easier on the pylint implementation, partly because
it's then consistent with the rest).

2 years ago[displaymanager] Fix Python errors
Adriaan de Groot [Mon, 27 Sep 2021 18:29:03 +0000 (20:29 +0200)]
[displaymanager] Fix Python errors

Apparently nobody ever hit the else-branch here (because
each DM has exactly one implementation -- that's what the
check is there for!) because the logging of the error
itself would raise IndexError or ValueError.

2 years agoCMake: if pylint is available, run it as part of the test-suite
Adriaan de Groot [Mon, 27 Sep 2021 15:52:02 +0000 (17:52 +0200)]
CMake: if pylint is available, run it as part of the test-suite

This introduces a stub-implementation (fake) that mimics the
API offered by libcalamares (the library is actually exposed
to Python via Boost::Python, so it doesn't act like a C-extension).
Using that stub-implementation, we can check Python modules for
validity as part of the test-suite.

The stub-implementation is needed, because otherwise every
Python module already fails at `import libcalamares`.

- stub-implement the API that is actually used by the Python modules
- in globalstorage, be slightly smart about what keys are being
  requested (so that e.g. all the modules that handle partitions
  information get an empty list and can manipulate that, instead of
  erroring out when they get a string)

2 years agoChanges: credit to Corey for fixes
Adriaan de Groot [Mon, 27 Sep 2021 15:50:47 +0000 (17:50 +0200)]
Changes: credit to Corey for fixes

2 years agoCI: add stubs for libcalamares bits, to help pylint
Adriaan de Groot [Mon, 27 Sep 2021 15:27:42 +0000 (17:27 +0200)]
CI: add stubs for libcalamares bits, to help pylint

2 years agoMerge branch 'improve-loadmodule' into calamares
Adriaan de Groot [Mon, 27 Sep 2021 12:27:50 +0000 (14:27 +0200)]
Merge branch 'improve-loadmodule' into calamares

2 years ago[calamares] Fix test-application command-line-args
Adriaan de Groot [Mon, 27 Sep 2021 12:26:43 +0000 (14:26 +0200)]
[calamares] Fix test-application command-line-args

- use C++11 uniform-initialization
- while here, remove space from name of --global option

2 years ago[calamares] Test-loader tries loading from install-dir, too
Adriaan de Groot [Mon, 27 Sep 2021 11:39:27 +0000 (13:39 +0200)]
[calamares] Test-loader tries loading from install-dir, too

2 years ago[calamares] Log failed module-load in test-application
Adriaan de Groot [Mon, 27 Sep 2021 11:34:08 +0000 (13:34 +0200)]
[calamares] Log failed module-load in test-application

2 years ago[calamares] Log module-searching in the test-application
Adriaan de Groot [Mon, 27 Sep 2021 11:27:36 +0000 (13:27 +0200)]
[calamares] Log module-searching in the test-application

2 years ago[libcalamares] Log the Python pre-script a little better
Adriaan de Groot [Mon, 27 Sep 2021 11:18:12 +0000 (13:18 +0200)]
[libcalamares] Log the Python pre-script a little better

- Make clear that the @ is a string-location, and how long the
  pre-script is (although in practice, it will be either null
  and 0, or the values set in the loadmodule executable).

2 years agoMerge pull request #1794 from coreylang/networkcfg_replace_username_fix
Adriaan de Groot [Mon, 27 Sep 2021 11:12:09 +0000 (13:12 +0200)]
Merge pull request #1794 from coreylang/networkcfg_replace_username_fix

[networkcfg] fix replace_username() undefined variables

2 years agoChanges: pre-release housekeeping
Adriaan de Groot [Mon, 27 Sep 2021 11:08:22 +0000 (13:08 +0200)]
Changes: pre-release housekeeping

2 years ago[networkcfg] fix replace_username() undefined variables
corey lang [Mon, 27 Sep 2021 06:04:52 +0000 (01:04 -0500)]
[networkcfg] fix replace_username() undefined variables

2 years ago[initcpiocfg] fix install failure due to extra s
demmm [Fri, 24 Sep 2021 14:27:35 +0000 (16:27 +0200)]
[initcpiocfg] fix install failure due to extra s

2 years agoi18n: source texts
Adriaan de Groot [Fri, 24 Sep 2021 11:48:35 +0000 (13:48 +0200)]
i18n: source texts

2 years agoChanges: hot-fix release
Adriaan de Groot [Fri, 24 Sep 2021 11:48:27 +0000 (13:48 +0200)]
Changes: hot-fix release

2 years agoChanges: pre-release housekeeping
Adriaan de Groot [Fri, 24 Sep 2021 10:40:38 +0000 (12:40 +0200)]
Changes: pre-release housekeeping

2 years agoMerge branch 'fix-nm-name' into calamares
Adriaan de Groot [Fri, 24 Sep 2021 10:33:07 +0000 (12:33 +0200)]
Merge branch 'fix-nm-name' into calamares

2 years ago[networkcfg] Refactor getting source-and-target paths of a file
Adriaan de Groot [Fri, 24 Sep 2021 10:33:00 +0000 (12:33 +0200)]
[networkcfg] Refactor getting source-and-target paths of a file

2 years ago[networkcfg] Don't mindlessly PEP8
Adriaan de Groot [Fri, 24 Sep 2021 10:30:11 +0000 (12:30 +0200)]
[networkcfg] Don't mindlessly PEP8

2 years ago[networkcfg] Refactor username-replacement
Adriaan de Groot [Fri, 24 Sep 2021 10:25:33 +0000 (12:25 +0200)]
[networkcfg] Refactor username-replacement

Read, then write, the NM file. Add a note about how we might
handle this better. Rename live_user() function to give it
a verb (and avoid UnboundLocal when using a variable of the same name).

2 years ago[networkcfg] Be more forgiving when getting the live username
Adriaan de Groot [Fri, 24 Sep 2021 10:15:16 +0000 (12:15 +0200)]
[networkcfg] Be more forgiving when getting the live username

- This function is intended to do whatever it takes to
  get the live username.

2 years agoMerge pull request #1777 from librewish/btrfs_additions
Adriaan de Groot [Fri, 24 Sep 2021 09:26:41 +0000 (11:26 +0200)]
Merge pull request #1777 from librewish/btrfs_additions

[fstab] Improve btrfs mount options

2 years agoMerge pull request #1776 from librewish/consolefont
Adriaan de Groot [Fri, 24 Sep 2021 09:26:08 +0000 (11:26 +0200)]
Merge pull request #1776 from librewish/consolefont

[initcpiocfg] add consolefont to hooks

2 years ago[initcpiocfg] add consolefont to hooks
librewish [Fri, 24 Sep 2021 07:00:42 +0000 (12:30 +0530)]
[initcpiocfg] add consolefont to hooks

2 years ago[fstab] Improve btrfs mount options
librewish [Fri, 24 Sep 2021 06:54:58 +0000 (12:24 +0530)]
[fstab] Improve btrfs mount options

2 years ago[locale] Default to English in India
Shrinivas Vishnu Kumbhar [Thu, 23 Sep 2021 09:08:11 +0000 (11:08 +0200)]
[locale] Default to English in India

2 years ago[keyboard] Use US-English for India
Shrinivas Vishnu Kumbhar [Thu, 23 Sep 2021 09:07:43 +0000 (11:07 +0200)]
[keyboard] Use US-English for India

2 years ago[libcalamares] Rename cPointerSetter
Adriaan de Groot [Wed, 22 Sep 2021 09:26:28 +0000 (11:26 +0200)]
[libcalamares] Rename cPointerSetter

This class doesn't really set a pointer -- it is a scoped assignment
through a pointer, which **can** set a value on destruction (when
it leaves scope). Rename it.

While here, extend the API so that it can do an assignment to the
underlying object **now**, while also doing a scoped assignment
later when it leaves scope. This makes some code a bit easier
to read ("in this scope, X is now <v> and then it becomes <v'>")

2 years ago[libcalamares] Remove cBoolSetter
Adriaan de Groot [Wed, 22 Sep 2021 09:17:41 +0000 (11:17 +0200)]
[libcalamares] Remove cBoolSetter

This class was used only once, and is confusing because
the assignment happens always, but to the opposite value
as what was visible. It can be replaced with other
scoped assignment, instead.

Removes the tests for it, too.

2 years ago[libcalamares] Log the Python language-search process just once
Adriaan de Groot [Wed, 22 Sep 2021 09:03:56 +0000 (11:03 +0200)]
[libcalamares] Log the Python language-search process just once

- log the list of search paths once
- log the found-language as if from Python
- warn always if none are found

2 years agoi18n: [python] Automatic merge of Transifex translations
Calamares CI [Tue, 21 Sep 2021 13:25:51 +0000 (15:25 +0200)]
i18n: [python] Automatic merge of Transifex translations

2 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Tue, 21 Sep 2021 13:25:51 +0000 (15:25 +0200)]
i18n: [calamares] Automatic merge of Transifex translations

2 years agoMerge branch 'issue-1603' into calamares
Adriaan de Groot [Tue, 21 Sep 2021 23:45:36 +0000 (01:45 +0200)]
Merge branch 'issue-1603' into calamares

FIXES #1603

2 years ago[libcalamares] Reduce log-spam in emergencies
Adriaan de Groot [Tue, 21 Sep 2021 23:44:00 +0000 (01:44 +0200)]
[libcalamares] Reduce log-spam in emergencies

- when an emergency strikes, log the modules that are skipped
  with a Once, but if an emergency module runs, refresh that
  Once so that the function header is printed again -- to
  distinguish JobQueue debugging from the logging from the
  emergency module.

2 years ago[libcalamares] Give Logger::Once more flexibility
Adriaan de Groot [Tue, 21 Sep 2021 23:41:28 +0000 (01:41 +0200)]
[libcalamares] Give Logger::Once more flexibility

2 years ago[libcalamares] Cut down log-spam from KPMManager
Adriaan de Groot [Tue, 21 Sep 2021 23:28:40 +0000 (01:28 +0200)]
[libcalamares] Cut down log-spam from KPMManager

2 years ago[partition] Cut down log-spam while checking for resize
Adriaan de Groot [Tue, 21 Sep 2021 23:27:33 +0000 (01:27 +0200)]
[partition] Cut down log-spam while checking for resize

2 years ago[partition] Cut down log spam about /etc/fstab
Adriaan de Groot [Tue, 21 Sep 2021 23:05:13 +0000 (01:05 +0200)]
[partition] Cut down log spam about /etc/fstab

2 years ago[libcalamares] Reduce log spam when running commands
Adriaan de Groot [Tue, 21 Sep 2021 22:58:31 +0000 (00:58 +0200)]
[libcalamares] Reduce log spam when running commands

2 years ago[libcalamares] Cut down config-file-loading log spam
Adriaan de Groot [Tue, 21 Sep 2021 14:53:09 +0000 (16:53 +0200)]
[libcalamares] Cut down config-file-loading log spam

2 years agoMerge branch 'issue-1788' into calamares
Adriaan de Groot [Tue, 21 Sep 2021 13:21:52 +0000 (15:21 +0200)]
Merge branch 'issue-1788' into calamares

This is in response to the issue, and cleans up a bunch of code,
but does not actually resolve the issue (because I can't quite
tell what the issue should be).

SEE #1788

2 years ago[initcpiocfg] Document this module
Adriaan de Groot [Tue, 21 Sep 2021 13:16:08 +0000 (15:16 +0200)]
[initcpiocfg] Document this module

2 years ago[initcpio] Refactor file-writing
Adriaan de Groot [Tue, 21 Sep 2021 11:39:29 +0000 (13:39 +0200)]
[initcpio] Refactor file-writing

- iterate over the lines of the source file, rather
  than over indexes, and make clear that the hooks, modules and files
  lines are replaced, rather than merged.
- this calls write() more often, but it's only a few lines

2 years ago[initcpiocfg] Refactor
Adriaan de Groot [Tue, 21 Sep 2021 11:18:01 +0000 (13:18 +0200)]
[initcpiocfg] Refactor

- Read the host /etc/mkinitcpio.cfg in one function rather
  than hiding it inside the writer

2 years ago[initcpiocfg] Refactor, improve testability
Adriaan de Groot [Tue, 21 Sep 2021 11:13:21 +0000 (13:13 +0200)]
[initcpiocfg] Refactor, improve testability

- don't chain directly from modify_mkinitcpio_conf() to the
  function that writes the file write_mkinitcpio_lines();
  split into "figure out what needs to be written" and calling
  that writing-function, so that we can test / check / log
  if needed between the two.

2 years ago[initcpiocfg] Code-shuffle
Adriaan de Groot [Tue, 21 Sep 2021 11:03:13 +0000 (13:03 +0200)]
[initcpiocfg] Code-shuffle

- put the system-information and -detection functions at top
  and the "do the actual work" things below
- don't mix the boolean do-we-use-this flags with the
  lists of files and modules which are the important
  parts of modify_mkinitcpio_conf

2 years ago[initcpiocfg] Use booleans for boolean values
Adriaan de Groot [Tue, 21 Sep 2021 10:54:18 +0000 (12:54 +0200)]
[initcpiocfg] Use booleans for boolean values

(as previous) Use False/True rather than ""/"yes" for
keeping track of does-the-system-use-lvm2.

2 years ago[initcpiocfg] Use bools for boolean values
Adriaan de Groot [Tue, 21 Sep 2021 10:52:16 +0000 (12:52 +0200)]
[initcpiocfg] Use bools for boolean values

Having "" and "yes" as values is a bit shell-script-ish.
Use a regular boolean value instead; simplify code
while we're at it.

2 years ago[initcpiocfg] Refactor CPU-characteristics determination
Adriaan de Groot [Tue, 21 Sep 2021 10:42:58 +0000 (12:42 +0200)]
[initcpiocfg] Refactor CPU-characteristics determination

The code is still over-wrought, but the API for cpuinfo
now exposes the interesting thing (is it Intel?) in
a useful -- more readable -- way.

2 years agoMerge branch 'issue-1786' into calamares
Adriaan de Groot [Tue, 21 Sep 2021 10:13:36 +0000 (12:13 +0200)]
Merge branch 'issue-1786' into calamares

FIXES #1786

2 years agoChanges: post-release housekeeping
Adriaan de Groot [Tue, 21 Sep 2021 10:13:25 +0000 (12:13 +0200)]
Changes: post-release housekeeping

2 years ago[luksbootkeyfile] Bump timeout for adding LUKS keyfile
Adriaan de Groot [Tue, 21 Sep 2021 10:10:21 +0000 (12:10 +0200)]
[luksbootkeyfile] Bump timeout for adding LUKS keyfile

2 years ago[libcalamares] Simplify filling the entropy buffer
Adriaan de Groot [Tue, 21 Sep 2021 10:02:26 +0000 (12:02 +0200)]
[libcalamares] Simplify filling the entropy buffer

2 years ago[luksbootkeyfile] Don't dd in the target to get entropy
Adriaan de Groot [Tue, 21 Sep 2021 09:58:22 +0000 (11:58 +0200)]
[luksbootkeyfile] Don't dd in the target to get entropy

2 years ago[keyboardq] fix xml files, xml id has to be first
demmm [Fri, 17 Sep 2021 13:01:27 +0000 (15:01 +0200)]
[keyboardq] fix xml files, xml id has to be first

2 years agoi18n: update languages list v3.2.43
Adriaan de Groot [Fri, 17 Sep 2021 11:12:49 +0000 (13:12 +0200)]
i18n: update languages list

2 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Fri, 17 Sep 2021 10:58:10 +0000 (12:58 +0200)]
i18n: [calamares] Automatic merge of Transifex translations

2 years agoCHANGES: update the keyboardq improvements
demmm [Fri, 17 Sep 2021 10:40:55 +0000 (12:40 +0200)]
CHANGES: update the keyboardq improvements

2 years agoChanges: mention keyboardq improvements
Adriaan de Groot [Fri, 17 Sep 2021 09:53:44 +0000 (11:53 +0200)]
Changes: mention keyboardq improvements

2 years agoChanges: pre-release housekeeping
Adriaan de Groot [Fri, 17 Sep 2021 09:52:16 +0000 (11:52 +0200)]
Changes: pre-release housekeeping

2 years ago[keyboardq] set proper SPDX headers
demmm [Thu, 16 Sep 2021 13:01:37 +0000 (15:01 +0200)]
[keyboardq] set proper SPDX headers
rename wrongly named shift.license

2 years agoi18n: [python] Automatic merge of Transifex translations
Calamares CI [Thu, 16 Sep 2021 08:57:53 +0000 (10:57 +0200)]
i18n: [python] Automatic merge of Transifex translations

2 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Thu, 16 Sep 2021 08:57:53 +0000 (10:57 +0200)]
i18n: [calamares] Automatic merge of Transifex translations

2 years agoMerge pull request #1782 from killajoe/patch-1
Adriaan de Groot [Wed, 15 Sep 2021 12:27:13 +0000 (14:27 +0200)]
Merge pull request #1782 from killajoe/patch-1

[shellprocess] fix typo in conf

2 years agoChanges: document fixes and contributors
Adriaan de Groot [Wed, 15 Sep 2021 11:33:58 +0000 (13:33 +0200)]
Changes: document fixes and contributors

2 years ago[libcalamaresui] Improve sizeLimit handling in log upload
Adriaan de Groot [Wed, 15 Sep 2021 11:21:39 +0000 (13:21 +0200)]
[libcalamaresui] Improve sizeLimit handling in log upload

The log sizeLimit can be 0 (disable log upload) but that's
not so clear in the code. While here, tidy up and add
some comments to surprising bits.

2 years agoMerge pull request #1785 from killajoe/patch-1
Adriaan de Groot [Wed, 15 Sep 2021 11:24:37 +0000 (13:24 +0200)]
Merge pull request #1785 from killajoe/patch-1

Branding: improve sizeLimit docs

2 years agoUpdate branding.desc
Johannes Kamprad [Tue, 14 Sep 2021 14:54:29 +0000 (16:54 +0200)]
Update branding.desc

hint on sizeLimit must be set to have the log option work.

2 years agoi18n: [python] Automatic merge of Transifex translations
Calamares CI [Mon, 13 Sep 2021 10:53:36 +0000 (12:53 +0200)]
i18n: [python] Automatic merge of Transifex translations

2 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Mon, 13 Sep 2021 10:53:36 +0000 (12:53 +0200)]
i18n: [calamares] Automatic merge of Transifex translations

2 years agoUpdate shellprocess.conf
Johannes Kamprad [Sun, 12 Sep 2021 11:47:38 +0000 (13:47 +0200)]
Update shellprocess.conf

a minor typo

2 years ago[tracking] Add Q_OBJECT, sanitize API
Adriaan de Groot [Wed, 8 Sep 2021 11:30:32 +0000 (13:30 +0200)]
[tracking] Add Q_OBJECT, sanitize API

2 years agoAdd Q_OBJECT macro where it's missing
Adriaan de Groot [Wed, 8 Sep 2021 11:23:20 +0000 (13:23 +0200)]
Add Q_OBJECT macro where it's missing

- Transifex tools complain about missing Q_OBJECT (which makes
  some sense -- you end up with a different context for calls
  to tr(), of the base class).

2 years agoi18n: [python] Automatic merge of Transifex translations
Calamares CI [Wed, 8 Sep 2021 11:01:02 +0000 (13:01 +0200)]
i18n: [python] Automatic merge of Transifex translations

2 years agoi18n: [calamares] Automatic merge of Transifex translations
Calamares CI [Wed, 8 Sep 2021 11:01:02 +0000 (13:01 +0200)]
i18n: [calamares] Automatic merge of Transifex translations

2 years agoMerge pull request #1774 from demmm/calamares
Adriaan de Groot [Wed, 8 Sep 2021 09:58:36 +0000 (11:58 +0200)]
Merge pull request #1774 from demmm/calamares

[keyboardq] add interactive keyboard preview

2 years agoMerge branch 'load-qtbase' into calamares
Adriaan de Groot [Wed, 8 Sep 2021 09:29:15 +0000 (11:29 +0200)]
Merge branch 'load-qtbase' into calamares

FIXES #1688

2 years ago[partition] Fix build with translated buttons
Adriaan de Groot [Wed, 8 Sep 2021 09:28:38 +0000 (11:28 +0200)]
[partition] Fix build with translated buttons

2 years ago[packagechooser] Restore (renamed) include that is needed after all
Adriaan de Groot [Wed, 8 Sep 2021 09:26:21 +0000 (11:26 +0200)]
[packagechooser] Restore (renamed) include that is needed after all

2 years ago[partition] Translate button texts in warning boxes
Adriaan de Groot [Wed, 8 Sep 2021 08:58:38 +0000 (10:58 +0200)]
[partition] Translate button texts in warning boxes

2 years ago[libcalamaresui] Translate button texts for paste-message
Adriaan de Groot [Wed, 8 Sep 2021 08:58:33 +0000 (10:58 +0200)]
[libcalamaresui] Translate button texts for paste-message

2 years ago[interactiveterminal] Fix up standard buttons
Adriaan de Groot [Tue, 7 Sep 2021 15:57:22 +0000 (17:57 +0200)]
[interactiveterminal] Fix up standard buttons

2 years ago[libcalamaresui] Use fixed standard-buttons labels
Adriaan de Groot [Tue, 7 Sep 2021 15:24:24 +0000 (17:24 +0200)]
[libcalamaresui] Use fixed standard-buttons labels

Move some of the texts to the new TranslationFix, from ViewManager,
and use them. Keep them in ViewManager, too, so that the translations
with context ViewManager are not removed just now.

2 years ago[license] Remove unused header
Adriaan de Groot [Tue, 7 Sep 2021 15:20:07 +0000 (17:20 +0200)]
[license] Remove unused header

2 years agoi18n: introduce a "TranslationFix"
Adriaan de Groot [Tue, 7 Sep 2021 15:15:30 +0000 (17:15 +0200)]
i18n: introduce a "TranslationFix"

This is intended to apply translations to some common Qt UI components.

Example: a QMessageBox with standard buttons OK and Cancel; the text
for that is determined at startup using the system locale, and later
changes to the current locale or the current translation catalog,
do not affect OK and Cancel. It might be possible to load a catalog
with the right translation strings, except that there is no way to
know what the context or catalog **is** for the strings that are
used to label standard buttons: they can come from Qt base, or
the platform, or the theme. Merely loading the Qt Base translations
for the correct language does not help, because those translations
do not contain an "OK" string with the context used for standard
buttons.

Do the translation by hand; then we have all of the Calamares
languages covered, too, which is more than the Qt translations do.

2 years agoi18n: Shuffle the build so that all the bits are in lang/
Adriaan de Groot [Tue, 7 Sep 2021 14:31:24 +0000 (16:31 +0200)]
i18n: Shuffle the build so that all the bits are in lang/

Move the CMake code responsible for building the translations from
the src/calamares directory (yeah, yeah, the translations need to
link into the executable) into lang/ (which is where the source
and other infrastructure lives).

2 years ago[packagechooser] Remove unneeded include
Adriaan de Groot [Wed, 8 Sep 2021 09:04:35 +0000 (11:04 +0200)]
[packagechooser] Remove unneeded include

2 years agoi18n: repair language names for Chinese
Adriaan de Groot [Tue, 7 Sep 2021 13:47:30 +0000 (15:47 +0200)]
i18n: repair language names for Chinese

Prompted by Linlinger, I've reconsidered the names of languages
in the drop-down in the welcome page. We already have the
infrastructure for assigning specific names / locales to
"Calamares locale names" (which match Transifex names, not
necessarily Qt names). Use that to put exactly two Chinese-
language translations in the drop-down:
- Simplified Chinese (code zh_CN)
- Traditional Chinese (code zh_TW)
Drop zh (which is a peculiar locale name anyway) and zh_HK
(which is Traditional Chinese, but using the geographic
boundary is a bit weird; we're going to ignore the
minor orthographic differences with Traditional Chinese
written elsewhere for now).

Note that this makes the drop-down show "Chinese"
in the English column, twice; the difference is visible
only in the native-language representation.

SEE #1741

2 years agoMerge branch 'refactor-translation' into calamares
Adriaan de Groot [Tue, 7 Sep 2021 13:35:43 +0000 (15:35 +0200)]
Merge branch 'refactor-translation' into calamares

2 years ago[libcalamares] Use strong types for locale Ids
Adriaan de Groot [Tue, 7 Sep 2021 10:51:57 +0000 (12:51 +0200)]
[libcalamares] Use strong types for locale Ids

Change the API to force strong type for more methods.
This cascades to a couple of consumers.

2 years ago[libcalamares] Remove unused method
Adriaan de Groot [Tue, 7 Sep 2021 10:35:47 +0000 (12:35 +0200)]
[libcalamares] Remove unused method

2 years ago[libcalamares] Code-format Retranslator, hide internal symbols
Adriaan de Groot [Tue, 7 Sep 2021 10:35:37 +0000 (12:35 +0200)]
[libcalamares] Code-format Retranslator, hide internal symbols

2 years ago[libcalamares] APIdox on Translation
Adriaan de Groot [Tue, 7 Sep 2021 09:42:32 +0000 (11:42 +0200)]
[libcalamares] APIdox on Translation

2 years ago[libcalamares] Use structured bindings to unpack a std::pair
Adriaan de Groot [Tue, 7 Sep 2021 09:38:54 +0000 (11:38 +0200)]
[libcalamares] Use structured bindings to unpack a std::pair

2 years ago[keyboardq] add interactive keyboard preview
demmm [Mon, 6 Sep 2021 17:25:16 +0000 (19:25 +0200)]
[keyboardq] add interactive keyboard preview
rewrite of keyboardq.qml, reduce stackview to 2, use a combobox for
keyboard models list
colors set to configurable
.xml files used for keyboard layouts, about a dozen added now
builds, runs, actions record as intended, GS filled correctly

2 years agoMerge branch 'calamares' into refactor-translation
Adriaan de Groot [Mon, 6 Sep 2021 13:38:42 +0000 (15:38 +0200)]
Merge branch 'calamares' into refactor-translation

2 years agoChanges: post-release housekeeping
Adriaan de Groot [Mon, 6 Sep 2021 13:16:40 +0000 (15:16 +0200)]
Changes: post-release housekeeping

2 years ago[libcalamares] Fix network-connectivity check on old Qt v3.2.42
Adriaan de Groot [Mon, 6 Sep 2021 12:44:48 +0000 (14:44 +0200)]
[libcalamares] Fix network-connectivity check on old Qt

With old Qt, Calamares could only run one check on a thread,
because the NAM would be switched to NotAccessible --
subsequent checks would fail because the NAM is already
hard-set to NotAccessible, so it could never be turned back
on by Calamares code.

Reset the accessible flag for the NAM while checking if
the internet is there.