6852 Commits (670d8089bc0a0ee8fd79a60441bb98df050b0f80)

Author SHA1 Message Date
Adriaan de Groot 2b485a5e59 [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
5 years ago
Adriaan de Groot a65723d4da [libcalamares] Extend cPointerSetter with initial-value
This is a convenience for "set <some variable> to <some value>
at end of scope".
5 years ago
Adriaan de Groot 12b23db286 [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.
5 years ago
Adriaan de Groot f38b518e86 [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.
5 years ago
Adriaan de Groot d6825c4986 [libcalamares] Fix linking with renamed targets 5 years ago
Adriaan de Groot 3596b48c7a [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.
5 years ago
Adriaan de Groot fc2286117d [packages] Move package-list-logic into PM base class 5 years ago
Adriaan de Groot e8cb5c621a [partition] Fix build 5 years ago
Adriaan de Groot 616f3d4fd7 [partition] Simplify retranslation of swap choices and manual partitioning 5 years ago
Adriaan de Groot e0b8942242 [partition] Introduce retranslate slot for ChoicePage, code style 5 years ago
Adriaan de Groot 954e8ee3f8 [libcalamares] warnings-- with a deduction guide 5 years ago
Adriaan de Groot 4114a2bbe8 CMake: chase renamed YAMLCPP 5 years ago
Adriaan de Groot 03e621f4a2 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
5 years ago
Adriaan de Groot cbb1a5ef36 CMake: within Calamares repo, use the (eventual) imported names of libraries 5 years ago
Adriaan de Groot a1fb83bdc4 i18n: fix typo and code-style 5 years ago
Adriaan de Groot 53fb16437f i18n: factor out special cases
- allow special Locale or special Name for a translation (or both)
5 years ago
Adriaan de Groot 0e977a7e42 i18n: introduce special case for ca@valencia 5 years ago
Adriaan de Groot 740f1e7fe5 i18n: simplify Label handling of sr@latin 5 years ago
Adriaan de Groot 85a1eb95ee [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
5 years ago
Adriaan de Groot 243c4e6b02 Merge branch 'fix-retranslate' into calamares
Improve the Retranslator framework so it also affects Config objects.
5 years ago
Adriaan de Groot 59f11e9b67 i18n: make retranslator more consistent
- Improve naming.
- Both lambda and slot versions call the code immediately.
5 years ago
Adriaan de Groot 613d076a60 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.
5 years ago
Adriaan de Groot 51c5c9ba26 [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).
5 years ago
Adriaan de Groot b81bc17560 [welcome] Log when translation events arrive 5 years ago
Adriaan de Groot f32671ebab libcalamares: remove declaration that was never implemented 5 years ago
Adriaan de Groot 4b2b74bdbd [libcalamaresui] Do not link publicly to yamlcpp 5 years ago
demmm c98b5d7667 [usersq] replace one more (missed) kirigami color 5 years ago
demmm 6bdc655719 [usersq] complete using names for colors
add line breaks
add negative outline color
5 years ago
Adriaan de Groot 1bf73c29c4 [usersq] Use a name instead of a magic number 5 years ago
Adriaan de Groot 56f71501cc [usersq] Back out color-scheme merge 5 years ago
Adriaan de Groot e361f52415
Merge pull request #1738 from Nitrux/calamares
[usersq]: use system colorscheme instead of hardcoded colors
5 years ago
Adriaan de Groot 3a5334071d [packages] Fix wording problem 5 years ago
Adriaan de Groot bc77478b2a [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.
5 years ago
demmm 1570105ddb [usersq] correct plural form as reported in IRC 5 years ago
Adriaan de Groot c2d0a247a3 [partition] Simplify code for overloads 5 years ago
Adriaan de Groot 6b9a1530f8 [mount] Add test exercising partial-filtering 5 years ago
Adriaan de Groot eb4ffe737e [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.
5 years ago
Adriaan de Groot 995646936f [mount] Add test exercising refactored btrfs code 5 years ago
Camilo Higuita 6ea73a8ca2 usersq: use system colorscheme instead of hardcoded colors 5 years ago
Adriaan de Groot e800b2da2d [mount] Factor out swap-subvolume setting 5 years ago
Adriaan de Groot cc357140e5 [mount] Factor out the subvolume-filtering for partitions 5 years ago
Adriaan de Groot 6b2088c94e [mount] Restore @home subvolume
In 942221c764 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.
5 years ago
Adriaan de Groot 3531896892 [mount] Factor out the default btrfs configuration 5 years ago
Adriaan de Groot 96c2c62470 [partition] Fix build on older KPMCore 5 years ago
Adriaan de Groot a4fadcd9be [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
5 years ago
Adriaan de Groot b5c56fd579 [partition] Clarify comments on boot-flags 5 years ago
Adriaan de Groot 1a542d3afe [partition] Write out type rather than aliasing to T 5 years ago
Adriaan de Groot 7ea6768852 [partition] Pick slightly more sensible defaults for FS selection 5 years ago
Adriaan de Groot 56ecf01dea Merge branch 'pr-1667' into calamares
Allow user-selection of FS type

FIXES #1667
5 years ago
Adriaan de Groot 6a7a486b8c [partition] Document interactions between defaultFS and layout 5 years ago