7133 Commits (a128dd5d3c3fdb8f7703581122a50c565dcdab45)
 

Author SHA1 Message Date
Adriaan de Groot a128dd5d3c Changes: errant space 5 years ago
Adriaan de Groot a63a92e3d5 [locale]Fix build (clang, Debian)
- This is a follow-up to d0c205c1cc6a2ae49935c92bfd52911b9a0d43f7;
  I really don't know why static constexpr const elements that are
  not referenced by address need to be defined separately.
5 years ago
Calamares CI dbde6149ac i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI 4282bbbbc7 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
Adriaan de Groot d24e2b561f Changes: pre-release housekeeping 5 years ago
Adriaan de Groot ebb5efcd42 [locale] Mark test as expected-to-fail
- There are still 88 issues with the timezone images
5 years ago
Adriaan de Groot 06f96dc16f Merge branch 'tzwidget-layout'
The introduction of navigation panels made them taller, leaving less
space for the locale page's timezonewidget -- which then got
comboboxes overlapping it. That's weird from a QVBoxLayout point of
view, but the issue remains that the locale page is actually a
*smidgen* (2px) too tall.

- Massage a bunch of layout code to make the default navigation panel
  30 pixels again, like it was. This is obviously fragile in the face
  of HiDPI, but Calamares is weak there anyway.
- Rework the enlarge signals to make it possible to claim space, so
  that if a page needs more space it's easy to get; because the locale
  page is just a smidgen too tall, it won't trigger resizes right now.
5 years ago
Adriaan de Groot e804ad2488 [libcalamaresui] Rename enlarge()
- rename enlarge to ensureSize() and change the meaning from
  "make this much bigger" to "make sure this is displayed",
  which is easier on the caller to calculate.
5 years ago
Adriaan de Groot 2a4c74c099 [calamares] Layout-wranging
- the navigation bar was set "too tall", leave it at the natural
  layout height for this widget
- margins needed some massaging to give contents some more space
  (contents has a margin, so it doesn't need more space above
  the navigation bar)
5 years ago
Adriaan de Groot ade623f6b8 [locale] Shuffle code
- Put the building-up-the-overall-page in one spot
- Claim a little more vertical space for the TZ widget
5 years ago
Adriaan de Groot c0be53523c [locale] Give TZWidget a fixed size 5 years ago
Adriaan de Groot b1caca4694 Changes: mention netinstall improvements 5 years ago
Adriaan de Groot 8304ce93bf Merge branch 'issue-1369'
FIXES #1369

- Rich package descriptions were easy to do; added some tests
  as well; also make it viable to copy a once-tested "local"
  file to the downloadable YAML format.
5 years ago
Adriaan de Groot a4c5e18c4b [netinstall] Allow the netinstall.yaml to contain key *groups*
- This makes it easier to just copy the example, *groups*-key
  and all, into an online YAML file and serve that up.
  You get easier (local) testing.
5 years ago
Adriaan de Groot 2aca5464b7 [netinstall] Display package descriptions
- For packages with a description, show that
- Add an example in the config-file
5 years ago
Adriaan de Groot 960008b124 [netinstall] Allow rich descriptions of packages
- the *packages* list can now be package-names, or
  package-names-and-a-description.
5 years ago
Adriaan de Groot 39ed591414
Merge pull request #1378 from FLVAL/master
[locale] Timezones correction + Pin reduced
5 years ago
FLVAL 3f6e242fd9
Add files via upload
Resaved cause showing not 100% upload with latest correction
5 years ago
FLVAL 31fd7f8580
Add files via upload 5 years ago
FLVAL 82c4e7aa54
Add files via upload
- udpated the _0.0 and _1.0 to not get overlap between Gibraltar and Cueta
- Fakaofo correction on _10.0 and _-11.0
- pin reduced size
5 years ago
Adriaan de Groot 2633cf1ef6 [locale] Fix timezone maps for -1,0,1 timezones
- Merge branch 'master' of https://github.com/FLVAL/calamares
- Add credits to CHANGES

FIXES #1377
SEE #1374
5 years ago
Adriaan de Groot 7b4b268875 [netinstall] Hit the docs with a hammer
- Merge all the format documentation into netinstall.conf,
  where the example is given in full as an embedded
  *groups* entry.
- Get README.md to point to the example.
- Fix up headers in netinstall.yaml, pointing to the
  embedded example in netinstall.conf.
5 years ago
FLVAL e5b2faad9a
Add files via upload
Timezones updated for these countries found on pixel detection tool 

Dublin is in 0 (-1 needs editing)
Gibraltar should be 1.0 (0 needs editing)
Guernsey and Jersey are in 0 (1.0 needs editing)
Lisbon is in 0 (-1 needs editing)
Vilnius should be in 2 (1 needs editing)
5 years ago
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.
5 years ago
Adriaan de Groot d23eadbfda Changes: document tx and logging changes 5 years ago
Adriaan de Groot d0c205c1cc [locale] Fix build (gcc, Debian) 5 years ago
Calamares CI d08faf6e54 i18n: [python] Automatic merge of Transifex translations 5 years ago
Calamares CI ef6073de14 i18n: [calamares] Automatic merge of Transifex translations 5 years ago
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