aboutsummaryrefslogtreecommitdiff
path: root/weather.lua
AgeCommit message (Collapse)AuthorFiles
2010-03-06weather: capitalize weather and sky statsAdrian C. (anrxc)1
2010-03-06weather: calculate degree Celsius from FahrenheitAdrian C. (anrxc)1
2010-01-02vicious: update copyrightAdrian C. (anrxc)1
2009-12-27weather: fix parsing of negative temperaturesMartin Striz1
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2009-11-04De-obfuscate e-mail addressAdrian C. (anrxc)1
2009-10-04Removed some useless else statementsAdrian C. (anrxc)1
2009-09-29Rewrote all headersAdrian C. (anrxc)1
2009-09-14General cleanupAdrian C. (anrxc)1
2009-09-10Curl connect timeout 1s, max time 3sAdrian C. (anrxc)1
2009-08-12Mention ICAO as the wanted code in the weather widget.Adrian C. (anrxc)1
2009-08-07All worker functions are local.Adrian C. (anrxc)1
2009-08-06Weather widget switched to curl.Adrian C. (anrxc)1
It is somewhat lighter, faster and simpler than wget. It is as common as wget these days... from GnuPG to Git and Gimp, they all depend on it, and we all have it installed.
2009-08-05Lower the wget timeout to 3s in weather.luaAdrian C. (anrxc)1
2009-08-05Fixed the weather widget, wind km/h was broken.Adrian C. (anrxc)1
2009-08-01Make all widgets return their worker functions when called.Adrian C. (anrxc)1
2009-08-01Added wind speed in km/h to the weather widget.Adrian C. (anrxc)1
2009-07-31Added a note about weather symbols to the weather widget.Adrian C. (anrxc)1
2009-07-29Weather widget written and included, by request.Adrian C. (anrxc)1
The widget uses 'wget' to grab the information. The Lua socket library would be nicer, of course, but let's not introduce external libraries at this point. Wget will write to stdout with a timeout of 5s. This has the potential to block everything else in case of problems... But let's not introduce temporary files at this point. Besides having to handle files, operations while running on battery power are to be avoided.