4164 Commits (ef2a15b45bb4a41bd8bc924fbb15a61bb4aec212)
 

Author SHA1 Message Date
Calamares CI ef2a15b45b i18n: [desktop] Automatic merge of Transifex translations 7 years ago
Calamares CI 4ed65c290d i18n: [calamares] Automatic merge of Transifex translations 7 years ago
Adriaan de Groot ec113e3df3 [locale] Log GeoIP attempt URL, use possibly-modified form 7 years ago
Adriaan de Groot d6f082752d [locale] On GeoIP failure, log URL 7 years ago
Adriaan de Groot 47b7040897 [locale] Adjust to Calamares 3.2 idiom 7 years ago
Adriaan de Groot 3ea5a06157 Merge branch '3.1.x-stable' 7 years ago
Adriaan de Groot 14fcc2fad6 [plasmalnf] Continue fighting with layout
- The screenshot stays one size, but different ThemeWidgets may overlap
   partially when you shrink the screen or have more than three / four
   themes listed.
 - Probably needs work in the surrounding container and overall better
   page-scrollbar support.
7 years ago
Adriaan de Groot c9928c99c8 Merge remote-tracking branch 'origin/3.1.x-stable' into 3.1.x-stable 7 years ago
Adriaan de Groot 1340613ef5 [locale] Additional test application for GeoIP processing 7 years ago
Adriaan de Groot 76e37402b3 [locale] Extend tests with negative results 7 years ago
Adriaan de Groot 0c1453ff18 [locale] Fix string value handled by XML parser 7 years ago
Adriaan de Groot eea421f499 [locale] Add tests for GeoIP handlers
- One sample JSON result
 - Two sample XML results
7 years ago
Adriaan de Groot 6b7c8a694a [locale] Make the style of GeoIP retrieval selectable
- Unchanged config files will continue to use the weird addition
   of /json, and interpret JSON data.
 - Allow to specify full URL with data format through one of
     geoipStyle: json
     geoipStyle: xml
 - XML support is optional
7 years ago
Adriaan de Groot 5b98e58ae7 [locale] Refactor GeoIP handlers
- Read the data in the caller of the handler, instead of in the callers
7 years ago
Adriaan de Groot 939cdff93b [locale] Add alternate GeoIP data format 7 years ago
Adriaan de Groot aaae1507cd [locale] Convenience function for TZ splitting 7 years ago
Adriaan de Groot 3636226425 [locale] Document change to the way GeoIPURL is handled. 7 years ago
Adriaan de Groot fe98b789f0 [locale] Document the settings in locale.conf
- The geoipUrl is weird, because it is not a complete URL.
   Document that, and what kind of data is expected.

FIXES #920
7 years ago
Adriaan de Groot d5623af8ef [locale] Refactor geoip handling
- Configuration **must** be a complete URL. The implementation no
   longer appends /json to the URL.
7 years ago
Adriaan de Groot c0d5a153d4 [locale] Refactor GeoIP handler
- Move GeoIP to its own cpp file
 - Provide a default implementation of the URL mangler
7 years ago
Adriaan de Groot 445f181cc3 [locale] Start refactoring geoip handling
- Introduce a handler interface for GeoIP providers
 - Move the implementation of FreeGeoIP into a struct of its own
7 years ago
Adriaan de Groot fa933b9a16 [plasmalnf] Search for theme screenshots
- Search in branding dir, and ., for relative paths,
 - Absolute paths used as-is.
 - Document search as such.
7 years ago
Adriaan de Groot bfb37e6b37 [plasmalnf] Avoid use of 'uint' 7 years ago
Adriaan de Groot cb616ec1bb [plasmalnf] Keep fixed size of screenshots (relative to font size) 7 years ago
Adriaan de Groot 5ab01eba9f [plasmalnf] Don't even try to load an empty filename for screenshot.
- Avoid one attempt-to-load if the filename is empty, and one
   re-creating of the Pixmap.
7 years ago
Adriaan de Groot 06e43a7312 CI: Switch to stable Neon, to avoid all-builds-failing.
The dev-unstable Neon branch now has a too-new KPMCore for
this branch of Calamares.
7 years ago
Adriaan de Groot 00a5baa3d9 [libcalamares] Improve process logging
- Don't insert a space before the output of a process
 - To do this, suppress space and quoting on the output, and to do
   that move the labeling-output for warnings and errors into
   the constructor (so that an idiomatic .nospace() does the right thing).
7 years ago
Adriaan de Groot b5c3fc8cf6 [libcalamares] Improve process logging
- Log output on crash
 - If debugging is on (-d) then also log output on success

FIXES #925
7 years ago
Adriaan de Groot 4d459f7fc0 [libcalamares] Move non-UI stuff from libcalamaresui
- Settings is just a settings class, no UI involved, so
   move to libcalamares where it can be used also from
   system helpers.
 - YAML utilities are useful at a lower level of the stack, too.
7 years ago
Adriaan de Groot 7e5c91aae6 [locale] Reduce debugging bla bla 7 years ago
Adriaan de Groot 032b33f56f [libcalamaresui] Improve logging.
- Put the (constant) 'Calamares will now quit' on its own debug line.
 - Tell the user what the search paths are if a module is not found
   (prompted by a mis-configuration in a Neon live image).
7 years ago
Adriaan de Groot ddbb9eaebc Merge branch 'improve-logging' 7 years ago
Adriaan de Groot 9fe85e592f Merge branch '3.1.x-stable' 7 years ago
Adriaan de Groot b8e6144553 [locale] Document how the locale entry in Global Storage works.
- Make the BCP47 value explicitly lower-case.
 - Add some constness and encapsulation.
 - Fix up documentation in the packages module explaining the
   format of the ${LOCALE} replacement (now forced to lower-case,
   but it is also only the language part, not e.g. en-UK).

FIXES #922
7 years ago
Adriaan de Groot 4c04260b97 [packages] Don't change the global package list.
- Count only the packages that will be changed, given the current
   locale settings.
 - Preserve global storage unchanged (don't remove any locale-packages).
7 years ago
Adriaan de Groot 36aede52ef [packages] Example configuration installs a localization package 7 years ago
Adriaan de Groot fd1279dbe3 [welcome] Make the example configuration less strict 7 years ago
Adriaan de Groot 9cdb6734bf [packages] If locale is empty, pretend it is 'en'.
- Otherwise packages like vi-$LOCALE will be retained in the
   package list, which will cause install problems.
7 years ago
Adriaan de Groot 240efd30f1 [libcalamares] Add support for formatted, table-like output
- Use DebugRow for one-row-at-a-time output with continuations.
 - Use DebugList for one-item-per-line with continuations.
 - Use DebugMap for one-row-at-a-time output of a QVariantMap.
7 years ago
Adriaan de Groot 20e9c2c8e3 Merge branch '3.1.x-stable' 7 years ago
Adriaan de Groot 32a1c84935 [locale] Document the settings in locale.conf
- The geoipUrl is weird, because it is not a complete URL.
   Document that, and what kind of data is expected.

FIXES #920
7 years ago
Adriaan de Groot fb93a8288e [plasmalnf] Simplify showAll handling
- Only need the showAll parameter once, when passing in the list
   of themes to show.
7 years ago
Adriaan de Groot b0828faadb [plasmalnf] New setting to show all installed LnF themes
- This enables working in three modes:
   - No themes listed; all are shown without screenshots,
   - Themes listed, showAll false; only those are shown,
   - Themes listed, showAll true; the installed-but-not-listed
     themes are shown after the listed ones, and have limited info.
7 years ago
Adriaan de Groot c2efae765d [plasmalnf] Add auto-detection of Plasma theme.
- Although it's not necessarily accurate for an extensively-modified
   Plasma configuration, we can read the Look-and-Feel from the
   configuration files. Allows auto-detection.
7 years ago
Adriaan de Groot 11652c5856 [plasmalnf] Add pre-selected theme
- For OEM modes where there is already a theme, add a preselect:
   key to pick a specific theme and have that one come up as already-
   selected in the list.
 - Don't re-run the lnftool if an already-selected theme is clicked
   again. Use toggled() instead of clicked().
7 years ago
Adriaan de Groot 94000b6847 [plasmalnf] Improve wording of LnF explanation. 7 years ago
Adriaan de Groot 6bb72d173d [libcalamares] Drop generic cLog()
- Use cWarning or cError() for errors
 - Use cDebug(level) for other uses (but there aren't any)
7 years ago
Adriaan de Groot ad6227ce21 [libcalamares] Remove internal functions from the logging API 7 years ago
Adriaan de Groot 3e30bb682e [libcalamaresui] Use cError() for logging errors, not cLog() 7 years ago
Adriaan de Groot e2b8fb0afe [welcome] Log if no translations matched at all 7 years ago