3966 Commits (cd6640536390c7e6d9aabc880f263a48964a0003)

Author SHA1 Message Date
Adriaan de Groot cd66405363 [locale] Test TZ images properly
- the test wasn't built with DEBUG_TIMEZONES, so it didn't get the
   overlap-checking code at all.
6 years ago
Adriaan de Groot d0c205c1cc [locale] Fix build (gcc, Debian) 6 years ago
Adriaan de Groot d20a621e93 [users] Apply coding style 6 years ago
Adriaan de Groot ab5d5fb772 [users] Log pwquality error message as well (better than just "-14") 6 years ago
Adriaan de Groot b890345b1f [locale] Tidy includes 6 years ago
Adriaan de Groot f7a87338b8 [locale] math headers got lost 6 years ago
Adriaan de Groot a2a10d14b6 [locale] Improve logging in tests 6 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.
6 years ago
Adriaan de Groot 1d5c4f13aa [locale] Move the find-a-zone-image-for position to the image list 6 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).
6 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
6 years ago
Adriaan de Groot 340c462062 [locale] Refactor loading of timezone images
- Move the image-loading to a separate class
6 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.
6 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.
6 years ago
Adriaan de Groot e84db033b0 [locale] Debug-message typo 6 years ago
Adriaan de Groot f9d888ec24 [locale] Warnings--
- remove unused variables, tighten up code some
- while here, apply coding style
6 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.
6 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.
6 years ago
Calamares CI 748973a17c i18n: [dummypythonqt] Automatic merge of Transifex translations 6 years ago
Adriaan de Groot 8a6925c5be i18n: update English texts 6 years ago
Adriaan de Groot 8b41a71668 [partition] Apply coding style to core/ 6 years ago
Adriaan de Groot b08cb52d0a [partition] Mark /boot or / as bootable
FIXES #1175
6 years ago
Adriaan de Groot 0c6dd4e788 [partition] No "jobs/" needed in jobs includes 6 years ago
Adriaan de Groot f85732ccb0 [partition] Coding style on Jobs 6 years ago
Adriaan de Groot 1e3ff51bfe [finished] Don't translate placeholder text 6 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)
6 years ago
Adriaan de Groot 11aa6da1e9 Merge branch 'issue-1335'
FIXES #1335
6 years ago
Adriaan de Groot 129bfa3a2e [unpackfs] Counting works better when you update the variable 6 years ago
Adriaan de Groot bea41465e2 [unpackfs] Update progress around every 1% 6 years ago
Adriaan de Groot facf5af589 [unpackfs] Don't jump back in progress while counting 6 years ago
Adriaan de Groot af0d04d523 [unpackfs] Report progress more carefully
- Mark entries as totally-done
- Show a message when counting an entry
6 years ago
Adriaan de Groot 21f060c3fd [unpackfs] Check for squashfs tools earlier 6 years ago
Adriaan de Groot 391bd1098f [unpackfs] An entry knows where it is mounted
- `imgmountdir` no longer defined in `UnpackOperation.run()`
6 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.
6 years ago
Adriaan de Groot 9db7dd3f3e [netinstall] Add a group with long names 6 years ago
Adriaan de Groot 9b14bf6826 [unpackfs] Rework progress reporting
- Slice overall progress into chunks, with each chunk of equal size
  (as long as we have no overall count information) and place
  the progress of the current chunk into its own slice.
6 years ago
Adriaan de Groot 7e4cb28c1c [unpackfs] Refactor mounting for an entry
- The entry knows where it should be mounted, and can remember that
- mount_entry() didn't use self, so made no sense as a method
  of the Operation class
6 years ago
Adriaan de Groot 49a584377e [unpackfs] Refactor counting an entry
- This does not have to live in the Operation
- Uses only the local imgmountdir (where the entry is mounted)
6 years ago
demmm e63160cbe9 [localeq] Repeater with zonesModel crashes cala
probably due to dynamically loading items
regionModel now lists, zonesModel only lists one delegate, but
working on QML modules can now continue without crashing cala
6 years ago
Adriaan de Groot ede561789a Merge branch 'qml-keyboard'
This doesn't actually **work** though, the QML uses older Calamares-internal
APIs and uses a ResponsiveBase that we don't have. Merge it mostly for
the Config and model changes.

FIXES #1355
6 years ago
Adriaan de Groot 6c418402e3 [localeq] Hit QML file with a hammer
- io.calamares.modules doesn't exist
- ResponsiveBase doesn't exist

The module is now non-functional, but at least it loads and renders
a list of regions and zones.
6 years ago
Adriaan de Groot 54b8ad5475 [localeq] Fix loading default QML
- need our own copy of the QRC, that includes the QML
6 years ago
Adriaan de Groot c602f2493a [keyboardq] Make QML available
- name default / example QML conventionally
 - copy QRC from keyboard -- the QML needs to be included in the QRC --
   since we don't want to have the QML in the keyboard module.
6 years ago
Camilo Higuita 835850c02a [keyboardq] apply the style script 6 years ago
Camilo Higuita 1a46e08cc2 [keyboard] changes to the keyboardmodel to work with qml 6 years ago
Camilo Higuita 0872de7910 [keyboard] Add Config object, split out a keyboardq
- Introduce new QML-ified module for the keyboard
- To share code, move *keyboard* module to a Config-object
6 years ago
Adriaan de Groot a3c966cc6c Merge branch 'issue-1361'
FIXES #1361
6 years ago
Adriaan de Groot fafc508d63 [welcome] Update the widget's notion of the locale
- when the locale changes, tell the widget so that the drop-down
  displays the right language.

FIXES #1361
6 years ago
Adriaan de Groot 5956c6678e [welcome] Don't const& POD
- simplify parameter types in some set-methods
- while here, shuffle methods to bring things together
6 years ago
Adriaan de Groot d2f5185d49 [welcome] Remove unused m_configurationMap
- the configuration is split into specific properties, not
  stored generically.
6 years ago