8113 Commits (eead42b7730f6218577ccf7afe60a2a7ff558c20)
 

Author SHA1 Message Date
Calamares CI 73d0afca43 i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 16b99940ce i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot cadd9765db [usersq] Remove trailing . 4 years ago
Adriaan de Groot 4778687f14 Changes: credit for partition-size bugfixing 4 years ago
Adriaan de Groot e37c7da60d [partition] Introduce dummy argument to LVM jobs
- Give LVM jobs a dummy argument Device* so that they
  fit the functionality of makeJob for partitioning.
  For those jobs that already take an LVMDevice*, this should
  be the self-same device, but that isn't checked.
4 years ago
Adriaan de Groot 1f77441333 [partition] add job-removal to the support classes 4 years ago
Adriaan de Groot 17914b9cf9 CI: adjust to clang-format-10 automatically
- leave clang-format file alone, but dynamically
  modify it when clang-format 10 or later is present
- ignore the resulting .bak file
4 years ago
Adriaan de Groot 0aa215af65
Merge pull request #1513 from tintou/calamares
[partition] Correctly handle percentage-define partitions
4 years ago
Corentin Noël 75fd1dd114 [partition] Correctly handle percentage-define partitions
* Use the minSize when the target storage is smaller than the sum of sizes
 * Percentage-defined partitions should be computed after setting hard-defined ones

This fixes issues when 0 byte partitions were created when the disk is too small.
Also fixes an issue with percent-defined partitions being forced to be defined at the end of the disk.
4 years ago
Adriaan de Groot e94c17e331 Merge branch 'calamares' into issues-1166 4 years ago
Adriaan de Groot e84f446c5f Merge branch 'entropy' into calamares
Support more than one entropy file; generate them as needed
(or copy a fixed value to all, depending). Deprecate
*entropy* as too inflexible.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941301

FIXES #1512
4 years ago
Adriaan de Groot c159ffe491 [machineid] Polish up the tests
- create dirs as needed (this will normally be done by
  unsquash, but for tests with paths it needs to be done
  by hand)
- log what file is being checked
- filePath() doesn't like the absolute paths we have
  (they're absolute in the chroot, and existing code
  just sticks rootMountPoint in front)
4 years ago
Adriaan de Groot 5f7c9a00a0 [machineid] Test that random-files are created 4 years ago
Adriaan de Groot a5887e6dda [machineid] Test config-settings for entropy files 4 years ago
Adriaan de Groot 8be5c2ed10 [machineid] Support multiple entropy files 4 years ago
Adriaan de Groot 8b22786bd2 Merge branch 'issue-1397' into calamares
Document keyboard change for Turkish F layout, and document
the keyboard configuration value better, with alternate
path used in e.g. openSUSE

FIXES #1397
4 years ago
Adriaan de Groot 633186778b [keyboard] Add test for Turkish F variant
- test keyboard lookup for "tr" - "f" variations
- add data mapping "tr" - "f" to legacy keymap "trf"

FIXES #1397
4 years ago
Adriaan de Groot aeffbac9cd CMake: add resources to tests
Some tests -- notably the keyboard module -- need to have the
QRC for the module loaded as well (e.g. because of data in the
QRC). Add a RESOURCES parameter to calamares_add_test()
like calamares_add_plugin() already has, to build the
resources into the test.

Keyboard test now passes, since it was missing the data for
lookups before.
4 years ago
Adriaan de Groot 2aece7ff1b [keyboard] Warn if QRC is not available 4 years ago
Adriaan de Groot 0d8e0d9b96 [keyboard] Add a stub for unit tests 4 years ago
Adriaan de Groot af3261b16f [keyboard] Refactor findLegacyKeymap into something testable 4 years ago
Adriaan de Groot 2e1dd8e7b1 i18n: Update tg timezones 4 years ago
Calamares CI ca9281f690 i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 56e46a31a9 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 1365b3dad4 Changes: post-release housekeeping 4 years ago
Adriaan de Groot 67efa8b4bb Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 466e08a8ba [welcome] Set some localeConf values from the welcome page 4 years ago
Adriaan de Groot 634a53d27a [locale] Use new convenience function for updating localeConf 4 years ago
Adriaan de Groot e0ba5a6ba2 [libcalamares] Convenience functions for localeConf GS entry 4 years ago
Adriaan de Groot d94b9caba5 [libcalamaresui] Less mutex shenanigans 4 years ago
Adriaan de Groot 32649f78ea [libcalamares] Restore finish() slot to job queue
FIXES #1507
4 years ago
Adriaan de Groot 5ed57331d6 i18n: Update timezone translations
SEE #1506
4 years ago
Adriaan de Groot d5eaacf67a i18n: used wrong list of languages
FIXES #1505
4 years ago
Adriaan de Groot df0180fc12 i18n: Tajik timezone translations
FIXES #1504
4 years ago
Adriaan de Groot 4726f04b16 Merge branch 'issue-1498' into calamares
FIXES #1498
4 years ago
Adriaan de Groot ec0b68084f [users] Refactor setting GS
- both changing the autologin and changing the user (login) name
  affect global storage, and both may need to change the autologin
  username; split it into a free function.
- the fullname change was bypassing the login in changing the
  login name, **but** then it needs a back-workaround to keep
  the "custom" setting off (when custom is off, auto-fill username
  and hostname is active).
- after loading the config, fill GS already.
- when finalizing GS, get the autologin settings again.
4 years ago
Adriaan de Groot d7dc48d201 [users] Add now-obvious missed initialization
- start the checkbox off in the state from config
4 years ago
Adriaan de Groot 15b5ef467e [users] Hook up strong- and reuse- password checkboxes
- setup the visibility and initial checked-state of the reuse-user-
  password-for-root near where it gets connected; do similar
  for the require-strong-password
- squash the lambda slot into the regular slot: no sense in
  connecting twice to the same signal with the same receiver.
- only connect config->ui once
- only connect at all if the setting is visible (e.g. when weak
  passwords are allowed for the require-strong checkbox, or
  when root's password will be written for the reuse-password)
4 years ago
Adriaan de Groot d584a96335 [users] Improve naming of widget 4 years ago
Adriaan de Groot 3ae545c8b1 REUSE: qmldir file format doesn't leave space for license information 4 years ago
Adriaan de Groot ba2b52ed1d Merge branch 'fix-debugwindow-queue' into calamares
3.2.29 dropped the Job Queue information from the debug
window, this restores the list of names.
4 years ago
Adriaan de Groot b37a675657 [libcalamares] Reimplement JobQueue::queueChanged
- switch to QStringList as parameter, since consumers (that is,
  the debug dialog, which is what this is for) are interested
  just in the **names** of the jobs.
- to allow mutex locking in const methods, mark them mutable.
4 years ago
Adriaan de Groot 9afe7a3711 [libcalamares] Document JobQueue signals 4 years ago
Adriaan de Groot e87ce5a433 Changes: mention Urdu revival 4 years ago
Adriaan de Groot 8352be8bf5 Merge branch 'issue-1495' into calamares
Drop the pre-compiled .mo translations from the sources;
these can be built during the build.

FIXES #1495
4 years ago
Adriaan de Groot 6b6267e3a4 i18n: check for gettext rather than just calling msgfmt
- *secretly* this is already done in the KF5 i18n modules,
  so the resizefs was already requiring FindGettext.
- we don't actually use the gettext modules' CMake macros,
  so explain why in the module.
4 years ago
Adriaan de Groot 392b4d33a0 i18n: create the lang/<lang>/ directories in the build as-needed 4 years ago
Adriaan de Groot 85d9038317 REUSE: remove special case for .mo files 4 years ago
Adriaan de Groot 49e925ef47 i18n: untangle translations in the executable
- there's no need for a macro that is going to be used once,
  especially if there's only one place it can be called.
- expand it in place and remove it from the installed CMake
  module
4 years ago
Adriaan de Groot 3529659629 i18n: compile the gettext translations at build time
- need gettext to build translations (TODO: find_program)
- compile the .mo files from .po as part of the build, writing
  to the build-directory only
4 years ago