Florian Brosch
a58047257b
weather: Use -night icons only for fold-results when it makes sense.
2017-12-11 21:29:33 -02:00
Florian Brosch
b1b5cf2d73
weather: Change weather icon selection heuristic.
...
The original version used conditions as key. This does
not work out for all providers. They might return no
value while gweather derives icons from other fields.
2017-12-11 21:29:33 -02:00
Florian Brosch
d701f2c7a6
weather: Add optional reading point logging
2017-12-11 21:23:20 -02:00
Florian Brosch
c5c832241e
Weather: Change weather update signal.
2017-12-11 21:23:20 -02:00
Florian Brosch
0248cf918e
weather: Rename WeatherInfo.weather_info to gweather_info
...
This should make next commit less confusing.
2017-12-11 21:23:19 -02:00
Florian Brosch
45d365ff42
weather: Improve weather folding
2017-12-11 21:23:19 -02:00
Florian Brosch
0c51e061e2
weather: Improve logging
2017-12-11 21:23:19 -02:00
Florian Brosch
30612fee5c
weather: Add a TODO
...
We should switch to a async version of geocode_reverse_resolve.
2017-12-11 21:23:19 -02:00
Florian Brosch
8d85af0960
weather: Prepare global time zone support.
...
This patch allows to change time-zones for
weather reports.
2017-12-11 21:23:19 -02:00
Florian Brosch
13342ac82e
weather: Properly extract and translate weather information.
...
Completes commit 98cc78d6de66fc3a79abd9148ba03e9b21f89fb1.
2017-12-11 21:23:19 -02:00
Florian Brosch
d7c9e70c31
weather: Simplify and inline property param flags
2017-12-11 21:23:19 -02:00
Florian Brosch
17af30b19c
weather: Allow to set a fix location.
2017-12-11 21:23:19 -02:00
Florian Brosch
83bec27ad5
Initial weather service.
...
This commit introduces two new classes:
1. GCalWeatherService
2. GCalWeatherInfo
GcalWeatherservice picks-up the current location and periodically
fetches weather reports represented by GcalWeatherInfo.
The weather part is not complete yet.
2017-12-11 21:23:19 -02:00