3704 Commits (6b7c8a694abebae5a3334d575ddce54421ac3282)
 

Author SHA1 Message Date
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 b3f0932ff9 CMake: bump version number 7 years ago
Adriaan de Groot 41e6f0e06c [calamares] Allow WM close button
- remove hide-close-button hack
 - refactor code in viewmanager for confirming quit
 - hook up confirm-and-quit to WM close button
 - also works for alt-F4 and other quit methods
 - while here, update copyright year

FIXES #870
7 years ago
Adriaan de Groot 5593be125f [calamares] Reduce font-related debug output on startup. 7 years ago
Adriaan de Groot 661789825a [plasmalnf] Make the module optional
- Check for presence of KDE Frameworks for Plasma & Package
 - Explain when module is skipped
7 years ago
Adriaan de Groot 2e1f389997 CMake: explain which modules are skipped
Modules may be skipped for different reasons: SKIP_MODULES
is the traditional approach to suppress some, but other modules
may have unmet build requirements (e.g. Plasma Look-and-Feel,
or the Partitioning module) and should be able to opt-out
of being built. For all those skipped, log it explicitly after
all the modules have been examined.

Only CMake-based (e.g. C++) modules support opting-out in this way.
7 years ago
Adriaan de Groot c2ee0c6ed4 CMake: bump version number 7 years ago
Adriaan de Groot d42210eb93 Merge branch '3.1-pinebook' into 3.1.x-stable 7 years ago
Adriaan de Groot d5b46dfb86 [plasmalnf] Improve theme-listing handling
- if key is missing or badly typed, enable all (explicitly)
 - document settings and code
7 years ago
Adriaan de Groot f2aeecf546 [plasmalnf] Improve screenshot view
- make screenies smaller
 - use view-preview to indicate no-screenshot-specified
7 years ago
Adriaan de Groot 10e71bab30 [plasmalnf] Add Breeze 'view-preview' icon for missing screenshots 7 years ago
Adriaan de Groot e73d54767d [plasmalnf] Expand explanation, drop CSS 7 years ago
Adriaan de Groot cf39dddbf3 [plasmalnf] Prevent duplicate widgets
- Only create widgets for themes once
 - Update visible texts as needed
7 years ago
Adriaan de Groot 3f258d4bd9 [plasmalnf] Fallback for image-not-found
- calculate a hash of the filename, and use that
 - makes it possible to distinguish different screenshots
   even when the image file is missing / badly configured
 - most colors will be dreadful
7 years ago
Adriaan de Groot 2db485bb33 [plasmalnf] Improve layout of theme widget 7 years ago
Adriaan de Groot 244919d6fe [plasmalnf] Add description to theme widget 7 years ago
Adriaan de Groot 8b3f71af40 [plasmalnf] Widget for showing theme info
- Radio button + group for button action
 - Use a (still very primitive) widget for displaying theme information
7 years ago
Adriaan de Groot 755c0cba18 [plasmalnf] Prep-work for UI changes 7 years ago
Adriaan de Groot 11fc3e0507 [plasmalnf] minor documentation
- Code documentation
 - Add another broken example theme, as test for winnowing
7 years ago
Adriaan de Groot afbdcc3782 [hwclock] Be more lenient.
Patch by Gabriel C. (@abucodonosor).

 - use libcalamares functions
 - no need to copy /etc/adjtime over we can run hwclock in chroot
   since we have /proc , /sys , /dev , /run/* already bind mounted.
 - added RTC and ISA probing methode ( see issue #873)
    - we probe default from /dev/rtc* ,
    - fall back to ISA
    - still doesn't work we just print a BIOS/Kernel BUG message and continue
- NOTE: issue #873 is about broken ArchLinux kernel config but there
  are HP boxes with real RTC problems no matter what kernel config
  is used so let us be nice and don't error out..

FIXES #873
7 years ago
Adriaan de Groot 748ccf94e9 [plasmalnf] Enrich config file
- Extend the config file format to allow theme, image pairs
   as well as just naming the themes.
 - Reduce verbosity when querying Plasma themes.
7 years ago
Adriaan de Groot 0116465303 CMake: bump version 7 years ago
Adriaan de Groot 6bd8c67ca9 [plasmalnf] Allow filtering the selectable lnf themes
- empty list allows all of them
 - always suppress hidden, invalid themes, and those named
7 years ago
Adriaan de Groot ad69eda337 [plasmalnf] Complain again if poorly configured 7 years ago
Adriaan de Groot 98b9f67e39 [plasmalnf] Complain more loudly (and more often) when badly configured 7 years ago
Adriaan de Groot 02dfe51d55 [welcome] Improve error reporting from requirements checker 7 years ago
Adriaan de Groot e628ddfdbf [plasmalnf] Try to get back to the live user before changing themes 7 years ago
Adriaan de Groot b10b19e9ee [plasmalnf] C++ style and reduce includes 7 years ago
Adriaan de Groot eb92755b0a [plasmalnf] Enable translations
- Move tool-running to the view-step
 - Enable translations by showing name instead of theme-id
 - More verbose logging
7 years ago
Adriaan de Groot 71966b5330 [plasmalnf] Wait longer for the tool to finish 7 years ago
Adriaan de Groot 1de2e94fd0 [plasmalnf] Simplify code, reduce copies of lnftool setting 7 years ago
Adriaan de Groot fe8ff3ab05 [plasmalnf] Simplify code, remove redundant implementations 7 years ago
Adriaan de Groot 4e2e55a935 [plasmalnf] Needs to run as target user in all cases 7 years ago
Adriaan de Groot ac92d4911d Compatibility: revert conveniences from master 7 years ago
Adriaan de Groot 3a94f02547 CMake: look for ECM at top-level, add to search path if found. 7 years ago
Adriaan de Groot cddc4699aa [plasmalnf] Import Plasma Look-and-Feel module independently 7 years ago
Adriaan de Groot 1f49f764a6 [libcalamares] Allow retrieving chroot mode from system (as well as settings) 7 years ago
Adriaan de Groot 65a236cd60 [packages] Fix previous.
This, kids, is why you don't switch writing C++ and Python too often.
The C++ code isn't a syntax error in Python, although this would fail
at runtime.
7 years ago
Adriaan de Groot 3e3cd08ff3 [packages] Fix previous (false vs False) 7 years ago
Adriaan de Groot 150007c138 [packages] Feature: skip if no internet.
Update documentation, add a new key *skip_if_no_internet* to support
systems that **recommend** having an internet connection (but don't
require it), and which also use the packages module. This prevents
a long delay while the package manager tries to access the internet
and times out (repeatedly).

Existing configurations are unchanged.
7 years ago
Adriaan de Groot 7b145c2a36 [packages] Improve message when no packages are processed at all. 7 years ago
Adriaan de Groot 517dbfab06 [libcalamares] The script namespace is actually a dict
Use dict methods, in particular d.get(k, v), to retrieve
the pretty_name() function (or None if it isn't there).
Using getattr() on a dict will not return values in the
dict.
7 years ago