8124 Commits (ac5c9e3a907b7f12560539b280ce59006e586634)
 

Author SHA1 Message Date
Adriaan de Groot 7d5a209dd0 [modules] Warnings-- in tests (~Test() override) 4 years ago
Adriaan de Groot 8b66009d59 [libcalamares] Warnings-- in tests (~T() override) 4 years ago
Adriaan de Groot 0cffac10c6 [libcalamares] Ignore more warnings for system header YAML 4 years ago
Adriaan de Groot 5a75d68534 [3rdparty] Warnings-- (override) in KDSAG 4 years ago
Adriaan de Groot fc2a5d145a [3rdparty] Warnings-- (override) in waitingspinnerwidget 4 years ago
Adriaan de Groot fbab554dfa [libcalamares] Remove unused parameter for PythonJob
- parameter instanceKey was left over from previous work that
  special-cased the weight of Python modules.
- while here, consistently do `~T() override`
4 years ago
Adriaan de Groot 8e9bf1c2a9 [libcalamaresui] Another allow-to-fall-back-to-eventloop
With 1 CPU, Calamares still spawns 9 threads or so: eventloop,
dbus loop, QML loop, ... many of those are invisible to the
application. Contention occurs on startup when the UI is constructed,
and we end up with the module manager creating widgets alongside,
or ahead of, the main window UI. This can result in deadlock:

 - in CalamaresApplication::initViewSteps
 - in QML imports

This is partly because the signal-slots connections get "deep":
from loadModules() we emit *modulesLoaded* which ends up showing
the main window in initViewSteps(). Avoid this with a QTimer:
drop back to the event loop and release whatever locks are held,
so the QML thread can get on with it already. Then the timer
goes off and the view steps are created.
4 years ago
Adriaan de Groot 705756b9bb [libcalamaresui] Give UI chance to catch up before modules are done 4 years ago
Adriaan de Groot 53cb27ebc8 [calamares] Provide i18n context for "Key" 4 years ago
Adriaan de Groot 7c6783948a i18n: update Tajik translation 4 years ago
Adriaan de Groot ac0b2092f2 [partition] Remove superfluous logging 4 years ago
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