9298 Commits (e98bf0da72ae48792f20753df64eb44c266e62da)
 

Author SHA1 Message Date
Adriaan de Groot 0be4c38a87 [partition] Remove useless parameter
- previously, updateSwapChoicesTr() wanted to be a static free function,
  but it needs QObject::tr() ; drop the unnecessary parameter (since it
  is a member function).
4 years ago
Adriaan de Groot 390acd41b2 [partition] Factor out manual partitioning translation
- needs to be called when the button is created, too
4 years ago
Adriaan de Groot c5fa6383d7 [welcome] Remove annoying debug message 4 years ago
Adriaan de Groot 2820316d16 Partition: don't set text if button doesn't exist 4 years ago
Adriaan de Groot 670d8089bc Changes: pre-release housekeeping 4 years ago
Adriaan de Groot 1452b74740 [welcome] Load potentially a list of URLs to check 4 years ago
Adriaan de Groot 2f3062f4c2 [libcalamares] Fix typo in comment 4 years ago
Adriaan de Groot 81fe8b1488 [libcalamares] Expand API for setting URLs to check 4 years ago
Adriaan de Groot b8583a1e59 [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
4 years ago
Adriaan de Groot 12a361556b Changes: post-release housekeeping 4 years ago
Adriaan de Groot 07a9e3dd46 CHANGES: release date 4 years ago
Adriaan de Groot 1297845e31 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,
4 years ago
Adriaan de Groot 559c53b09c [libcalamares]: stronger type for translation name
QString -> Id for translations in the external API, to avoid
accidentally converting a QLocale name (e.g. ca_ES) into a
Calamares translation name. This preserves special-cases
like ca@valencia and sr@latin.
4 years ago
Adriaan de Groot bc9d8fb13a [libcalamares] Rename files Label -> Translation 4 years ago
Adriaan de Groot bf9f1c95bc [libcalamares] Rename classes describing Translations
- the name 'Label' was a relic of the class being UI-centered
4 years ago
Adriaan de Groot d6825c4986 [libcalamares] Fix linking with renamed targets 4 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.
4 years ago
Adriaan de Groot fc2286117d [packages] Move package-list-logic into PM base class 4 years ago
Calamares CI e577cd4495 i18n: [python] Automatic merge of Transifex translations 4 years ago
Calamares CI 9bf7212458 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 54d31c85e7 Merge branch 'issue-1744' into calamares
FIXES #1744
4 years ago
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
4 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".
4 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.
4 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.
4 years ago
Adriaan de Groot 7e0e063c3f Changes: pre-release housekeeping 4 years ago
Adriaan de Groot e8cb5c621a [partition] Fix build 4 years ago
Adriaan de Groot 616f3d4fd7 [partition] Simplify retranslation of swap choices and manual partitioning 4 years ago
Adriaan de Groot e0b8942242 [partition] Introduce retranslate slot for ChoicePage, code style 4 years ago
Adriaan de Groot 954e8ee3f8 [libcalamares] warnings-- with a deduction guide 4 years ago
Adriaan de Groot 4114a2bbe8 CMake: chase renamed YAMLCPP 4 years ago
Adriaan de Groot ce67712009 CMake: rename imported yamlcpp library
- call it yamlcpp::yamlcpp

This is source-incompatible if targets link explicitly to yamlcpp
4 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
4 years ago
Adriaan de Groot 4d1630bf8b 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.
4 years ago
Adriaan de Groot cbb1a5ef36 CMake: within Calamares repo, use the (eventual) imported names of libraries 4 years ago
Adriaan de Groot a1fb83bdc4 i18n: fix typo and code-style 4 years ago
Adriaan de Groot 53fb16437f i18n: factor out special cases
- allow special Locale or special Name for a translation (or both)
4 years ago
Adriaan de Groot 0e977a7e42 i18n: introduce special case for ca@valencia 4 years ago
Adriaan de Groot 740f1e7fe5 i18n: simplify Label handling of sr@latin 4 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
4 years ago
Adriaan de Groot 243c4e6b02 Merge branch 'fix-retranslate' into calamares
Improve the Retranslator framework so it also affects Config objects.
4 years ago
Adriaan de Groot 59f11e9b67 i18n: make retranslator more consistent
- Improve naming.
- Both lambda and slot versions call the code immediately.
4 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.
4 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).
4 years ago
Adriaan de Groot b81bc17560 [welcome] Log when translation events arrive 4 years ago
Adriaan de Groot f32671ebab libcalamares: remove declaration that was never implemented 4 years ago
Adriaan de Groot 604535f65a CMake: find YAMLCPP when asked to find Calamares 4 years ago
Adriaan de Groot 4b2b74bdbd [libcalamaresui] Do not link publicly to yamlcpp 4 years ago
Adriaan de Groot 949f9e466f [summary] createContentWidget is called exactly once, refactor 4 years ago
Adriaan de Groot d6fe30dfdb [summary] No need for widget-creation to be a method of the Page 4 years ago