7105 Commits (d20a621e937cfee1b8dfa2abdcbc3edc095359eb)
 

Author SHA1 Message Date
Adriaan de Groot d20a621e93 [users] Apply coding style 5 years ago
Adriaan de Groot 24d0ca6f8e CI: don't be so chatty while looking for clang-format 5 years ago
Adriaan de Groot ab5d5fb772 [users] Log pwquality error message as well (better than just "-14") 5 years ago
Adriaan de Groot b890345b1f [locale] Tidy includes 5 years ago
Adriaan de Groot f7a87338b8 [locale] math headers got lost 5 years ago
Adriaan de Groot a2a10d14b6 [locale] Improve logging in tests 5 years ago
Adriaan de Groot da440256d9 Merge branch 'issue-1374'
SEE #1374

This isn't a fix, it just adds a test that demonstrates the
scope of the problem.
5 years ago
Adriaan de Groot 29fd0e0319 [locale] Expand test to check zones-overlap
- Document index and find methods,
- Check that each location is claimed by only one image (e.g. by
  one zone). This is currently false.
5 years ago
Adriaan de Groot 1d5c4f13aa [locale] Move the find-a-zone-image-for position to the image list 5 years ago
Adriaan de Groot 6173f9337a [locale] Refactor long+lat -> x,y mapping
- Move this code to a static method since it only depends on the
  expected image size (which here, is managed by the image list).
5 years ago
Adriaan de Groot 3945008956 [locale] Test the TZ image loader
- QImage needs Qt5::Gui, so this isn't a guiless-test; it can use
  the offscreen QPA, though.
- Check that the images are all the same size
- Debugging / check code removed from timezonewidget
5 years ago
Adriaan de Groot 340c462062 [locale] Refactor loading of timezone images
- Move the image-loading to a separate class
5 years ago
Adriaan de Groot 4b65600c08 [locale] Remove useless localeglobal
- Although ::init() was called, none of the actual functionality
   from localeglobal was still in use.
5 years ago
Adriaan de Groot 36d9e7d8f4 [locale] Extend tests with tz-image-validation
- The idea is to check all the TZ images for consistency, like
  TimeZoneWidget::setCurrentLocation() does when DEBUG_TIMEZONES is
  on; a zone-pixel should be set in only **one** image.

The test so far is just a stub.
5 years ago
Adriaan de Groot e84db033b0 [locale] Debug-message typo 5 years ago
Adriaan de Groot f9d888ec24 [locale] Warnings--
- remove unused variables, tighten up code some
- while here, apply coding style
5 years ago
Adriaan de Groot 022e62b829 [licale] Fix build with DEBUG_TIMEZONES
- QLatin1String isn't a constexpr; the whole ZONE is a bit derpy,
  so let's just #define it.
5 years ago
Adriaan de Groot 05990fb287 CMake: handle DEBUG_* consistently
- Make all four DEBUG_ flags actual CMake options, rather than
  stuffing some of them in the rather-peculiar _enable_debug_flags.
  Each debug option turns on suitable compile flags in the module(s)
  that are affected.
5 years ago
Adriaan de Groot 3b69e48e04 Changes: post-release housekeeping 5 years ago
Adriaan de Groot 16a5ca2a55 [libcalamares] Format floats with trailing digits
- When writing YAML, given a float **always** write
   some decimal digits (e.g. "1.0" rather than "1")
   so that the type of the written-out thing stays
   float.
 - Avoids test failure with the sample `welcome.conf`
   file which reads 1.0 and would write out 1, which then
   led to type differences.
5 years ago
Adriaan de Groot 3b354b8b20 [libcalamares] Handle qlonglong when writing YAML
- Handle qlonglong explicitly
- Add a fallbackfor things that convert to qulonglong, to
  avoid these remaining integer types from hitting the
  very end of the if-chain, and being written out as
  the **string** "<typename>"
5 years ago
Adriaan de Groot c6463a30ea [libcalamares] Be far more detailed in comparing maps
- just comparing a==b (both QVariantMap) gives a
  not-so-informative message, so go through the keys looking
  for differences.
5 years ago
Calamares CI 69cd87909b i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI 9c6801afa8 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 624b8ae853 Changes: pre-release housekeeping 5 years ago
Calamares CI 04cbceed5e i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI 748973a17c i18n: [dummypythonqt] Automatic merge of Transifex translations 5 years ago
Calamares CI b2106287a6 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot 8a6925c5be i18n: update English texts 5 years ago
Adriaan de Groot 8b41a71668 [partition] Apply coding style to core/ 5 years ago
Adriaan de Groot eb6270982f Merge branch 'issue-1175' 5 years ago
Adriaan de Groot b08cb52d0a [partition] Mark /boot or / as bootable
FIXES #1175
5 years ago
Adriaan de Groot 0c6dd4e788 [partition] No "jobs/" needed in jobs includes 5 years ago
Adriaan de Groot f85732ccb0 [partition] Coding style on Jobs 5 years ago
Adriaan de Groot 1e3ff51bfe [finished] Don't translate placeholder text 5 years ago
Adriaan de Groot f963b826ca Changes: notes on the module-polishing up to now 5 years ago
Adriaan de Groot 087c88753c [netinstall] Expand the table of common-strings
When one of these common names for the netinstall page is used,
it gets pulled out of the standard translations, so that it
doesn't have to be translated in the per-distro config file.
These labels are common enough that they make sense for
everyone to have lying around.

FIXES #1367

(I say "fixed" but of course it's going to depend on the translation
workflow to make these available)
5 years ago
Adriaan de Groot 11aa6da1e9 Merge branch 'issue-1335'
FIXES #1335
5 years ago
Adriaan de Groot 129bfa3a2e [unpackfs] Counting works better when you update the variable 5 years ago
Adriaan de Groot bea41465e2 [unpackfs] Update progress around every 1% 5 years ago
Adriaan de Groot facf5af589 [unpackfs] Don't jump back in progress while counting 5 years ago
Adriaan de Groot af0d04d523 [unpackfs] Report progress more carefully
- Mark entries as totally-done
- Show a message when counting an entry
5 years ago
Adriaan de Groot f33c737e99 [libcalamares] Pretty debug formatting
- toggle nospace() and noquote() part-way through the line,
  so that they only affect the output obtained from the external
  command.
5 years ago
Adriaan de Groot 4abb87ccca [libcalamares] Improve reporting on process failures
- In production, cDebug() might not show up, so the log will not
  contain the lines saying what program is being run;
- Errors should at least mention the program name, but "env" or
  "chroot" is not useful, so pull that from *args*, which is
  the command we actually want to run.
5 years ago
Adriaan de Groot 752399ca6b [libcalamares] Error out on empty command
- an empty command isn't going to work (although it might successfully
  run chroot or env in the target system, that's not useful)
- while here, move variable declarations closer to their use.
5 years ago
Adriaan de Groot 88c75fb5dc [libcalamares] Simplify program-arguments creation 5 years ago
Adriaan de Groot 21f060c3fd [unpackfs] Check for squashfs tools earlier 5 years ago
Adriaan de Groot 391bd1098f [unpackfs] An entry knows where it is mounted
- `imgmountdir` no longer defined in `UnpackOperation.run()`
5 years ago
Adriaan de Groot 388cddca7b Merge branch 'netinstall-columns'
Fix issue reported on Telegram that netinstall columns are not
wide enough to see the product names.
5 years ago
Adriaan de Groot 065a506470 [netinstall] Resize name column
- Once group data is loaded and pre-expanded groups are open,
  adjust the column width so that all the names are visible.
5 years ago