8029 Commits (ddf3b2d3994e1e057ca59d94c4f5bfdd02abbf63)
 

Author SHA1 Message Date
Adriaan de Groot a8075fba5f [libcalamares] Chase API change in settings 4 years ago
Adriaan de Groot 253e5610af [libcalamares] Better type for the list of InstanceKeys
- *sequence* lists module instance keys; make the stored type of
  those keys InstanceKey instead of QString
4 years ago
Adriaan de Groot b23dbd47c7 [libcalamaresui] Chase changes in instanceDescriptor
- this is mostly about deleting code, since the special-cases
  now live in libcalamares where `settings.conf` is interpreted.
4 years ago
Adriaan de Groot 57f5a92d96 [libcalamares] Build complete instanceDescriptor list
- there's no reason to ignore custom instances that are **not**
  mentioned in the *instances* section: it may be useful to
  name more that one even without distinct config files.
4 years ago
Adriaan de Groot 4968efdaa7 [libcalamares] Simplify constructors of InstanceDescription
- no more weights in constructors; do that in fromSettings() only.
- simplify test to drop those constructors
- set config file also for "normal" descriptors; fix test
4 years ago
demmm 355a4f9b8d [usersq] adding QML module usersq
module builds, installs and runs, connections are not working yet.

UserQmlViewstep.cpp/h are from PR https://github.com/calamares/calamares/pull/1356
sections are commented out to make the module build, but help is needed to get those 2 files corrected.

config names used in usersq.qml are guessed from users/Config.cpp
debug window shows correct entries in GS, and under the module tab, usersq.conf is read
as should too. Running shows most config used in users.qml are not registered/wrong,
many entries like: qrc:/usersq.qml:228:13: Unable to assign [undefined] to bool

It is understood not all needed from the users module has moved to Config.cpp yet,
but doing the PR now, since it runs, doesn't crash cala and help is needed to further implement.
4 years ago
Adriaan de Groot e507338f4c [libcalamares] Test config filenames as well (custom vs standard) 4 years ago
Adriaan de Groot 1f57a99ff2 [libcalamares] Rename moduleInstances() and fix tests
- "custom" is a misnomer, so drop that from the name
- tests adjusted: all instances are returned, not just the "custom"
  ones.
4 years ago
Adriaan de Groot 6f7234e4ac [libcalamares] Add all mentioned instances to the instanceList
- "custom" instances is now a misnomer, since all the instances
  go into it; they are distinguished by `isCustom()` on the descriptor
4 years ago
Adriaan de Groot f157d9c459 [libcalamares] Refactor data-loading in Settings
- expose, for testing purposes, the load-from-YAML-data part
  alongside the public constructor that reads a YAML file
- add test for building the list of instances
4 years ago
Adriaan de Groot 34e31d4331 [libcalamares] Revert PRIVATETEST
- looks funny
- is hard to get clang-format to respect this; it's intended as an
  access-modifier, but those are baked into the code rather than
  being configurable.
- is probably rare enough that #ifdef is acceptable
4 years ago
Adriaan de Groot 53eb6c614a [libcalamares] Make InstanceDescription a class
- switch from dumb struct to a class; use a structured InstanceKey
- expand testing of InstanceKey and InstanceDescription
4 years ago
Adriaan de Groot 9c382e3555 [libcalamares] Support switching public/private during tests 4 years ago
Adriaan de Groot e96198e61c Merge branch 'calamares' into issue-1176 4 years ago
Adriaan de Groot 8518a5037d Changes: post-release housekeeping 4 years ago
Adriaan de Groot 1c2cceb3b8 Mention both of the fixed bugs 4 years ago
Adriaan de Groot 9413b28209 [libcalamares] Improve logging - report correct number of jobs left 4 years ago
Adriaan de Groot e9f2c57442 [users] Missing ! makes install always fail
FIXES #1483
4 years ago
Adriaan de Groot 31cfdf926c [libcalamares] Apply SPDX to utils/ 4 years ago
Adriaan de Groot 172859dc2d Changes: pre-release housekeeping 4 years ago
Adriaan de Groot c48ec6bf94
Merge pull request #1481 from demmm/calamares
[welcomeq] language bar icon configurable
4 years ago
Adriaan de Groot 03871db597 [users] **keep** the create users job
- need to add the job to the list rather than just leaking it
4 years ago
Adriaan de Groot cac3e042d8 [libcalamares] Improve logging in runCommand() (less chatty) 4 years ago
Adriaan de Groot 3a0155b69d [calamares] Fix up multiple-moc of KDSAG
- was getting multiple definitions of moc-related code due to automoc
  combined with KDSAG having its own #include moc, comment-out the include.
- while here, simplify the CMake bits for building KDSAG
4 years ago
Adriaan de Groot 3227658475 [calamares] Fix up multiple-moc of KDSAG
- was getting multiple definitions of moc-related code due to automoc
  combined with KDSAG having its own #include moc, comment-out the include.
- while here, simplify the CMake bits for building KDSAG
4 years ago
demmm 01f0367459 [localeq] use image instead of theme icon 4 years ago
Adriaan de Groot 483c0a84f8 [libcalamares] Update SPDX in modulesystem/ 4 years ago
Adriaan de Groot 21b4a36a91 [libcalamares] Remove empty .cpp file
- Requirement.cpp was there "just in case" the header grew
  functions that need an implementation, but that seems
  unlikely (the header is just a struct of POD).
4 years ago
Adriaan de Groot d83543d904 Merge branch 'calamares' into issue-1176 4 years ago
Adriaan de Groot 740d723ec0 CMake: add SPDX identifiers to top-level CMakeLists.txt
- This is kind of bogus, since the file has existed for much longer
  than the identifier says, but I don't want to do spelunking now.
4 years ago
Adriaan de Groot a873badf87 [libcalamares] Update SPDX identifiers in locale/ 4 years ago
Adriaan de Groot 296146e4f8 [libcalamares] update SPDX licensing on generated files
- the scripts are BSD-2-clause,
- the generated files are CC0 (I'm not *100%* sure about the
  derived file CountryData_p.cpp, which lists countries and
  country codes -- it **is** extracted from CLDR data which
  is not CC0)
4 years ago
Adriaan de Groot 4a3378d8b9 [libcalamares] Repair tests around save/load YAML round-trip
- QStringList doesn't round-trip correctly; add a test to
  demonstrate that.
- Fix existing test to **not** use QStringList, but QVariantList
  (of strings), which is how other code would use it.

The above is **kind** of moot because nothing uses the YAML-save
function, but it might.

While here, fix another test: YAML-loading can load JSON just fine.
4 years ago
Adriaan de Groot e2bf62a64b [libcalamares] Repair test for old Qt
- Qt 5.11 and early 5.12 just don't support Esperanto at all
4 years ago
Adriaan de Groot c1d7d3daa6 ci: put a space after directory names in user-visible messages
- this makes is much easier to double-click-select the directory,
  since the . isn't attached and won't be selected along with the
  directory anymore.
4 years ago
Adriaan de Groot 4c8a624c0b ci: update the GPG key ID used for signing 4 years ago
Adriaan de Groot afebe8211a Changes: pre-release housekeeping 4 years ago
Adriaan de Groot f07c6ed876 i18n: drop pythonqt translations from the tooling 4 years ago
Adriaan de Groot f08b4e502a i18n: update English source translations 4 years ago
Calamares CI 4808201944 i18n: [calamares] Automatic merge of Transifex translations 4 years ago
Adriaan de Groot 2b9b8bbbe8 Merge branch 'issue-1479' into calamares
Special case reiserfs (named "reiserfs" in /etc/fstab and as
a `mount -t` argument).

FIXES #1479
4 years ago
Adriaan de Groot 62a8ee9708 [libcalamares] Add name-for-partition-type method
- add apidox to all the untranslatedFS() methods
- add the most-basic of untranslatedFS(), which works on a given
  FileSystem::Type; this one can handle special cases where
  Cala needs a different untranslated name than what KPMCore provides.
4 years ago
Adriaan de Groot 537aad1222 [libcalamares] SPDX, DLLEXPORT on partition/FileSystem.h 4 years ago
Adriaan de Groot fe3495ff97 [libcalamares] Expand KPMCore tests
- check on FS names as well
4 years ago
Adriaan de Groot 30335f27f0 Merge branch 'fix-joburg' into calamares
Resolve a long-standing annoyance. With the new model for TimeZones
and nicer data structures, along with consistent find-methods,
we can spot-patch TZ data to handle special cases of bad timezones
being assigned to obviously-otherwise locations.
4 years ago
Adriaan de Groot 5e5701363c [libcalamares] Test the spot-patch for Johannesburg
- Add a note about notation, degrees-minutes
4 years ago
Adriaan de Groot e35992cf0b [libcalamares] Add spot-patches to timezone data
- for the purposes of Calamares's nearest-location selection algorithm
  for timezone selection, introduce spot patches: alternate markers
  on the map to indicate "things close to here belong in this timezone".
- hide the implementation detail in the find() methods.
4 years ago
Adriaan de Groot 028d424c73 [libcalamares] Expand testing of TZ location lookup
- Cape Town is in South Africa, so one might expect it to get South
  Africa's timezone -- which is Africa/Johannesburg -- but Windhoek
  is closer, so it gets that.
- Port Elisabeth is similar: Maseru lies between it an Johannesburg,
  so it gets the wrong timezone, too.

These both illustrate how the limited resolution of the map, together
with the "closest location" lookup, can give poor results. For most
of South Africa, the "wrong" timezone is closer than the right one.
4 years ago
Adriaan de Groot 6a33e72b58 [libcalamares] Refactor test to be data-driven
- this test is going to get a lot more cases, so prepare for that
4 years ago
Adriaan de Groot 00626fd96c [libcalamares] Refactor timezone loading
- load from a TextStream. This is prep-work for alternate TZ data
  sources.
4 years ago