summaryrefslogtreecommitdiff
path: root/libgweather/gweather-private.h
Commit message (Collapse)AuthorAgeFilesLines
* gweather: Add application-id propertyBastien Nocera2021-01-121-0/+1
| | | | | We will use this to supplement the user-agent so that individual applications using libgweather are, well, identifiable.
* gweather: Cleanup argument to _gweather_info_new_clone()Bastien Nocera2021-01-121-1/+1
| | | | | Was "info", "other" and "master_info" depending on the caller. Call them all "original" or "original_info".
* gweather: Remove intermediate private struct for GWeatherInfoBastien Nocera2021-01-121-2/+3
|
* gweather: Remove GWEATHER_EXTERN usageBastien Nocera2021-01-121-1/+0
|
* gweather: Only use 4 significant decimals for locationsBastien Nocera2021-01-121-0/+3
| | | | | | | | | | 1/1000th of a degree of longitude or latitude corresponds to around 100 meters. There's no reason for the weather to be any more precise than this. See https://www.thoughtco.com/degree-of-latitude-and-longitude-distance-4070616 Closes: #69
* metno: Rename yr.no backend to met.noBastien Nocera2021-01-121-1/+1
| | | | | | | "The Yr API is now officially discontinued, and the Yr is now trademarked for the website and mobile apps only." Closes: #64
* gweather: Port to new GVariant based in-memory DBBenjamin Berg2021-01-111-8/+35
| | | | | | | This makes GWeather use a memory mapped GVariant as an in-memory database. Doing this allows much faster access and decreases memory consumption considerably as items can be fetched from the database on-demand.
* wx: Remove "wx" radar providerBastien Nocera2020-04-061-1/+0
| | | | The provider doesn't work anymore.
* all: Use https for GNU license linkBastien Nocera2020-04-061-1/+1
|
* Remove Yahoo! Weather supportBastien Nocera2017-12-011-3/+1
| | | | | | | | | | | | | | | | The RSS feed URL was moved from: https://weather.yahooapis.com/forecastrss to: https://weather-ydn-yql.media.yahoo.com/forecastrss as per https://developer.yahoo.com/weather/documentation.html But this new location requires use of OAuth to link the API to the application. Given that we relied on the URL to be freely accessible, and that we have so few locations with a Yahoo "Where On Earth" ID set, we might as well remove the code to avoid failing to fetch the weather for those locations. https://bugzilla.gnome.org/show_bug.cgi?id=791084
* GWeatherLocation: add API to find a country by codeGiovanni Campagna2016-12-221-0/+1
| | | | | | Using a new hashtable to cache the information at the world level. https://bugzilla.gnome.org/show_bug.cgi?id=753332
* Remove win32 referenceGiovanni Campagna2015-04-131-4/+0
| | | | | We don't have win32 specific code anymore (and we require glibc in a few places)
* Move to a more consistent naming system for source filesGiovanni Campagna2015-04-131-0/+214
gnome-builder enforces the convention that header files must be named after their corresponding C file, and will show spurious errors or warnings otherwise. Rename headers to follow this convention. This can cause API breaks on apps that use some header files directly (hopefully none). But apps should use gweather/gweather.h as the only header and then nothing will break.