Commit Graph

186 Commits (91c54f4662776a0b70dcec24b0bca64de96144b6)

Author SHA1 Message Date
Jens Lody 91c54f4662 Remove wrong escape sequences. 11 years ago
Jens Lody 9a3eacefbc Move functions out of loops. 11 years ago
Jens Lody 1aadd7c489 Use id instead of location name to fetch weatherdata. Fix for a bug with cities (locations) with the same name in different countries. 11 years ago
Jens Lody b338edac21 Remove forgotten debug message. 11 years ago
Jens Lody 68867c49a3 Prepare for 3.12 compatibility. 11 years ago
Jens Lody 5f0db933e3 Make the maximal number of digits after the decimalpoint configurable. 11 years ago
Jens Lody 2c1337b376 Use the catalan name for the default city (Eivissa). 11 years ago
Jens Lody 4f2f51bf2b Use Gtk.show_uri instead of spawning gnome-open/xdg-open to show actual weather in browser. 11 years ago
Jens Lody 1b50cfcc4d Add missing underscore in variable-name 11 years ago
Jens Lody 947a39800f Abort possibly running Soup.session when extension is disabled. 11 years ago
Jens Lody 270162733f Reparse data on each connect-event, if the network is available. 11 years ago
Jens Lody cec89bce08 Invalidate data, if the physical network connection exists, but the server can not be reached or does not send data. 11 years ago
Jens Lody 8bb7406ba9 Disconnect network monitor if the extension gets stopped. 11 years ago
Jens Lody 62090c48c5 Do not use can_reach_async to determine if the host is available, because it does not work (reliable). Just monitor if network is available or not. 11 years ago
Jens Lody c4720f39f7 Another small fix for network monitoring 11 years ago
Jens Lody d50365a8ac Fix minor error (typo), that could lead to an error message in system log if network is offline. 11 years ago
Jens Lody 4b01cf9ff1 Make more use of "Lang.bind" to make this be known in closures 11 years ago
Jens Lody 10e6e7ac56 use GNetworkMonitor to monitor network connectivity, auto-reload if (re-)connected 11 years ago
Jens Lody 781d9a2cd3 Make forecastbox scroll- and panable. 11 years ago
Jens Lody b025c21667 Show correct icon if condition code is 741 (fog). 11 years ago
Jens Lody fffe8fc1b3 Only use Soup.SessionAsync for gnome-shell < 3.8, because it's deprecated now and leads to many tcp retransmissions; use Soup.Session instead for version >= 3.8 . 11 years ago
Jens Lody a92e5d2268 Change name and schema from YAWE/weather to OpenWeather/openweather 11 years ago
Jens Lody 7d2ce46757 First try gnome-open and use xdg-open as fallback, to open openweathermap.org in browser. 11 years ago
Jens Lody 0e3c13f4b3 Use api-key, when calling openweathermap.org via the menu. 11 years ago
Jens Lody 026845154e Add date to forecasts, sometimes easier to read then just the weekday and "in xxx days" 11 years ago
Jens Lody 0fa1fdb477 Add link to openweathermap.org in menu; uses gnome-open to open forecast page of the actual city if possible, fallback is openweathermaps main page. 11 years ago
Jens Lody 7668a84f33 Fix incorrect date-conversion for sunrise and sunset. 11 years ago
Jens Lody 61aae82e3a Hide forecast while rebuilding UI, fixes optical glitch. 11 years ago
Jens Lody 8db3bc02d9 Hide forecast while rebuilding UI, fixes optical glitch. 11 years ago
Jens Lody 30c0ec74b1 Fix lastBuildDate sometimes being shown as 00:00 11 years ago
Jens Lody 8a773ff1b7 Tiny code-changes: x == undefined instead of typeof x == "undefined" 11 years ago
Jens Lody 0f487f49ad Fix lastBuildDate sometimes being shown as 00:00 11 years ago
Jens Lody a7a0d3c045 Tiny code-changes: x == undefined instead of typeof x == "undefined" 11 years ago
Jens Lody 476e9f6c4c Use *-night icons for current weather if current time is before sunrise or after sunset. 11 years ago
Jens Lody b7daa6cfe0 Use *-night icons for current weather if current time is before sunrise or after sunset. 11 years ago
Jens Lody 8c34a0c557 For gnome-shell version 3.6, we still need Soup.SeesionAsync with explicitely set ProxResolver . 11 years ago
Jens Lody 5639b31077 Fix when anylyzing last build time. 11 years ago
Jens Lody a13254d81e Format fixes, remove lines, that have been commented out. 11 years ago
Jens Lody 142ca04700 Cache weatherdata between two updates, only change of location or explicit click on reload-button triggers a reload of weatherdata. Reduces server load on openweathermap.org . 11 years ago
Jens Lody bc65d7e44f Do not use deprecated Soup.SessionAsync . 11 years ago
Jens Lody 34f5b09c09 Add possibility to use personal API key from openweathermap.org 11 years ago
Jens Lody 0ed38bb33e add missing comma 11 years ago
Jens Lody e821944a24 Fix timers in stop-method 11 years ago
Jens Lody 49e4ec8105 Always fetch 10 days of forecast-data. 11 years ago
Jens Lody f771bcf0c0 Use toLocaleFormat, to format time; fix for 12h time formats 11 years ago
Jens Lody fb7ebcb36c Use toLocaleFormat, to format time; fix for 12h time formats 11 years ago
Jens Lody 2db32a94e5 Format fixes 11 years ago
Jens Lody 2d0e21dab2 Use constants for URL's, use Soup methods to build the request-string 11 years ago
Jens Lody e21aa6b869 Use different timers to update actual weather and forecast (save bandwidth on owm-server); minimal update interval is 10 min 11 years ago
Jens Lody 6f31505126 experimental switch to openweathermap 11 years ago