summaryrefslogtreecommitdiff
path: root/libgweather/test_metar.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add online interactive METAR testBastien Nocera2018-04-241-3/+35
| | | | | Given an ICAO code, fetch the METAR weather for that station. This makes it easier to debug problems with the live system.
* tests: Typo fixes in test_metar.cBastien Nocera2017-12-131-2/+2
|
* Add support for the meson build systemGiovanni Campagna2017-11-261-0/+4
|
* Consolidate define checks and forbid single includesGiovanni Campagna2015-04-131-1/+0
| | | | | | Given that we're breaking API for apps that use single includes (by renaming the includes), forbid them explicitly and consolidate the unstable define check in gweather.h
* Move to a more consistent naming system for source filesGiovanni Campagna2015-04-131-1/+1
| | | | | | | | | | 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.
* Remove deprecated g_type_init() callsGiovanni Campagna2012-11-201-2/+0
| | | | GLib dependency bumped accordingly
* Port to GSettingsGiovanni Campagna2012-03-091-1/+0
| | | | | | | | | | Kill GWeatherPrefs and GWeatherGConf, as it is very easy to just construct a GSettings object. Make GWeatherInfo use a default settings object for its string methods. Make GWeatherLocation serializable to a GVariant and store that in the settings, killing WeatherLocation. https://bugzilla.gnome.org/show_bug.cgi?id=646854
* API Break: correct namespacing and make WeatherInfo more GObject friendlyGiovanni Campagna2012-03-091-13/+16
| | | | | | | | | | | | WeatherInfo becomes GWeatherInfo, a GObject, with private data (it was already opaque), properties (write only for now, I plan to improve on that later, when I'll convert all getters) and signals. WeatherLocation has been removed, you can now either pass a GWeatherLocation (obtained from the database), or use the default from preferences. WeatherPrefs was removed, and GWeatherPrefs made opaque. GWeatherPrefs can be reintroduced when we figure out the story of locations. https://bugzilla.gnome.org/show_bug.cgi?id=587017
* Use the degree sign followed by "C" or "F" rather than using the combinedDan Winship2008-11-251-6/+6
| | | | | | | | | | | | * libgweather/weather.c (temperature_string): Use the degree sign followed by "C" or "F" rather than using the combined "degrees C" and "degrees F" glyphs, which aren't available in some fonts, and look bad in others. #526437 * libgweather/test_metar.c (main): tweak this a little to test that change svn path=/trunk/; revision=508
* Clean up the GPL notices and #includes. Remove most of the "Author: ..."Dan Winship2008-09-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * libgweather/*.[ch]: Clean up the GPL notices and #includes. Remove most of the "Author: ..." comments since they're mostly wrong at this point anyway. The last remaining part of #538657. * AUTHORS: add this, containing just the original author of gweather applet, which is wrong, but it corresponds to what the .c files claimed previously, and we'll figure out who else to list later. * libgweather/gweather-location.c: * libgweather/gweather-location.h: * libgweather/gweather-timezone.c: * libgweather/gweather-timezone.h: * libgweather/location-entry.c: * libgweather/location-entry.h: * libgweather/timezone-menu.c: * libgweather/timezone-menu.h: Add Copyright and fix license text to say LGPL rather than GPL; it doesn't really matter at this point since the rest of the library is still GPL, but it may be useful in the future. svn path=/trunk/; revision=373
* code cleanup. Try to standardize on a single style. (No functionalDan Winship2008-06-181-53/+50
| | | | | | | * libgweather/*.[ch]: code cleanup. Try to standardize on a single style. (No functional changes.) svn path=/trunk/; revision=255
* Add the API guard to the C filesFederico Mena Quintero2008-01-141-0/+1
| | | | | | Signed-off-by: Federico Mena Quintero <federico@gnu.org> svn path=/trunk/; revision=41
* Add, mostly copied from gnome-appletsBastien Nocera2007-11-221-0/+78
2007-11-22 Bastien Nocera <hadess@hadess.net> * Makefile.am: * autogen.sh: * configure.in: Add, mostly copied from gnome-applets 2007-11-22 Bastien Nocera <hadess@hadess.net> * *: Move and update from gnome-applets 2007-11-22 Bastien Nocera <hadess@hadess.net> * *: Import from gnome-applets trunk svn path=/trunk/; revision=3