wmweather: CHANGES in version 2
-------------------------------

2.4.9 - Jun 15, 2026

  * Fixed several robustness and security issues.
  * Updated the autoconf machinery.

2.4.8 - Mar 23, 2024

  * Added imperial patch, thanks to David Starner <prosfilaes@gmail.com>.
  * Updated ICAO location code source.

2.4.7 - Feb 12, 2019

  * Fixed NOAA download URL. Thanks to Tilmann Hentze, Werner,
    Roman Dobosz, Cristian Ionescu-Idbohrn, and Faried Nawaz.

2.4.6 - Jul 08, 2016

  * Fixed NOAA download URL.
    Thanks to Matthieu Weber and Cristian Ionescu-Idbohrn.

2.4.5 - Jul 03, 2009

  * Enabled HTTP redirection followup, thanks to David Kaasen.

2.4.4 - May 13, 2007

  * Fixed dewpoint calculation, thanks to Djalma Brandão Martins.
  * Minor updates.

2.4.3 - Jul 11, 2004

  * Applied heat index patch, thanks to Hirose, Masaaki.
  * Updated default config file, fixed manual dashes.

2.4.2 - Oct 30, 2003

  * Fixed pressure rounding and manual typo, thanks to Martin Stigge.
  * Reformatted error messages.
  * Converted CHANGES to UTF-8, updated README.

2.4.1 - Aug 01, 2003

  * Don't die upon HTTP 403, thanks to Jordi Mallach.
  * Better error reporting when reading config files.
  * Added LCD style display, thanks to Pablo Castellazzi.
  * Added title for xmessage window.
  * Added missing #include <signal.h>, thanks to Jon Larabee.
  * Fixed/updated build system, thanks to Avtar Gill and Adam Lackorzynski.
  * Updated manual page.

2.4.0 - Apr 28, 2003

  * Added configuration file support.

2.3.3 - Mar 22, 2003

  * Fixed handling of HTTP errors.
  * Added support for ~/.netrc.

2.3.2 - Mar 15, 2003

  * Fixed compatibility XPM. Thanks to Michael Pötters.
  * Added full text GPL.

2.3.1 - Feb 07, 2003

  * Added verbose error reporting when fetching weather reports.
  * Minor code cleanup.

2.3.0 - Jan 27, 2003

  * Replaced curl with libcurl.
  * Updated manual page.

2.2.15 - Jan 27, 2003

  * Fixed handling of --proxy-user.

2.2.14 - Jan 26, 2003

  * Added --proxy-user, suggested by Erwin Burgstaller.
  * Moved path to xmessage into config.h.
  * Updated configure.ac, Makefile.in.
  * Renamed prepare.sh to autogen.sh.

2.2.13 - Dec 28, 2002

  * Fixed incorrect displaying of -10.
  * Raise an error on additional arguments.
  * Minor code and documentation cleanups.

2.2.12 - Oct 08, 2002

  * Fixed --dc and --wgc.

2.2.11 - Sep 06, 2002

  * Updated NOAA National Weather Service URL references.

2.2.10 - Aug 26, 2002

  * Fixed --display handling.

2.2.9 - Aug 23, 2002

  * Fixed --geometry handling.

2.2.8 - Aug 13, 2002

  * Fixed false > 24 h detection.
  * Made ICAO location code and time 30 % brighter.

2.2.7 - Aug 08, 2002

  * Changed border width: +1 pixel.
  * Added --display and --geometry to the manual.
  * Improved autoconf support.

2.2.6 - Jul 05, 2002

  * Added --geometry support. Thanks to Athanasius.

2.2.5 - Jun 04, 2002

  * Improved autoconf support.

2.2.4 - Jun 03, 2002

  * Added rudimentary autoconf support.

2.2.3 - May 26, 2002

  * Added --max-time to call for curl.
  * Improved code.

2.2.2 - May 19, 2002

  * Improved handling of non-existent weather reports.

2.2.1 - May 12, 2002

  * Fixed handling of invalid weather reports.

2.2.0 - May 02, 2002

  * Added option --proxy which is passed unchanged to curl.

2.1.1 - April 17, 2002

  * Fixed time calculation and optstring in wmweather.c.

2.1.0 - April 17, 2002

  * Changed -t (--knots) to -n, added option -t (--time).
  * Fixed a bug in wmgeneral.c, borders should be rendered correctly now.
  * Added HINT section in the README file.

2.0.3 - April 16, 2002

  * Fixed pixel coordinates for wind direction once more.
  * Updated manual page.

2.0.2 - April 14, 2002

  * Fixed > 24 h detection and pixel coordinates for wind direction.

2.0.1 - April 13, 2002

  * New upstream Maintainer. Because Michael G. Henderson is not responding
    I took over maintainership of wmWeather. The name has been changed to
    wmweather and versioning has been restarted from 2.0. The last known
    version 1.31 of M. G. Henderson can still be found at
    http://nis-www.lanl.gov/~mgh/WindowMaker/DockApps.shtml.
  * The code has been rewritten from scratch, several bugs have been fixed,
    Perl is not used any longer.
  * The wmweather directory has changed from ~/.wmWeatherReports to
    ~/.wmweather. Wget has been replaced by curl, which can be found at
    http://curl.haxx.se/. The download location of the weather reports has
    changed to http://weather.noaa.gov/pub/data/observations/metar/decoded/.
  * All command line options have been made getopt compatible, have a look
    at the manual page or type `wmweather --help'.
  * The Monitor has been redesigned, --compat displays the old version.
  * Further new command line options: --knots, --utc, --version; improved
    command line option: --delay=@pth. Metric pressure now defaults to
    --hPa unless --compat has been specified. --beaufort and --knots are
    independent from --metric.
  * The user interface has changed: the monitor doesn't get the input focus
    any longer, it doesn't receive any key press events. Mouse handling has
    changed as follows:
    + left double click is now left single-click (show METAR record),
    + key press events are now middle single-click (toggle --metric),
    + right double click is now right single-click (grab weather report).
  * The installation locations have moved, wmweather will be installed into
    /usr/bin rather than /usr/X11R6/bin, the manual page goes into
    /usr/share/man. There is also a compatibility symlink `wmWeather', which
    is equivalent to `wmweather --compat'.
  * The time in compatibility mode will be displayed in red if it specifies
    a time longer than 24 hours ago.
  * The download of the latest weather report (middle-click) can also be
    initiated by sending SIGALRM to wmweather. This is used for PPP scripts
    in the Debian GNU/Linux packages.
  * Please drop me a note, if you find any bugs or if you are missing a
    feature of version 1.31 which I forgot to implement in 2.0.

Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>


wmWeather: CHANGES in version 1
-------------------------------

Version         Description
-------------------------------------------------------------------------
1.31  		- released May 4, 1999.
		  fixed some conversion bugs in wind speed..


1.30  		- released April 13, 1999.
		  Fixed a bug whereby the App would crash when trying to gain input
		  focus under non-WindowMaker WMs (focus is now grabbed by
		  `PointerRoot' not `iconwin').

		  Added StationID and `time-of-last-update' labels. To do this I needed
		  to shrink the fonts down and scrunch them together a bit more.

		  Added new command line option to change their color;
		 		   -tc <color>

		  Added code to properly decode wind speed when in MPS.
		
		  Fixed bug in beaufort wind speed calcs.


1.29  		- released March 13, 1999.
		  Reorganized wmgeneral.c and renamed it xutils.c (wmgeneral.h
		  -> xutils.h as well ). Also moved it into the same directory as wmWeather.
		  Now, the openXwindow is split into 2 parts. You first need to call
		  initXwindow(argc, argv). This allows us to check the display depth
		  before we commit to a particular pixmap (this will be useful in my
		  other DockApps to dynamically set appropriate pixmaps based on depth).
		  Got rid of alot of the other routines that I never use.

		  Added 4 more command line option to set the colors of the text:

				-bc  <color> for setting the BackGround color.
				-lc  <color> for setting the Label color.
				-dc  <color> for setting the Data color.
				-wgc <color> for setting the Wind Gust color.

		  Also cleaned up the pixmap to minimize the number of colors used.
                        
                  Changed metric toggle to work with a key press (any key).
                        
                  Added double click support. Now double clicking does the following:
  
                                Double Mouse Left: pops up the fully decoded METAR file
                                                   in xmessage.
  
                                Double Mouse Middle: Currently undefined.
  
                                Double Mouse Right: Forces a new update (i.e. download.)
  



1.28  		- released March 9, 1999.
		  Changed -celsius (-c) option to -metric (-m). Naming makes more
		  sense that way...

		  Added -W option to display WindChill instead of DewPoint.
		  Since Windchill is not always available, we only show it if its
		  available. If its not, we paste up DewPoint as default.

		  Also added -mps option to display wind speed in units of
		  meters/second (when in -metric mode).
		
1.27  		- released March 8, 1999.
		  fixed bug in speed calculation when wind is gusting.


1.26  		- released February 24, 1999.
		  Added -delay option.

1.25  		- released February 16, 1999.
		  Added Wind speeds on the 'Beaufort scale'
		  Thanks to Paul Martin <pm@zetnet.net> for this addition.

1.24  		- released February 12, 1999.
		  Added --passive-ftp option to wget...

1.23  		- released February 2, 1999.
		  Few more bug fixes...
		  Added support for different Pressure units...

1.22		- released February 1, 1999.
		  Fixed minor bug in direction abbreviations. Added a bit more to man
		  page.

1.21		- released January 29, 1999.
		  Fixed a problem in the perl script. Made the file paths absolute.

1.2		- released January 29, 1999.
		  Added Wind speed line. Ended up decoding the Raw METAR line.
		  Fixed a few bugs...
		  Changed location of files from /tmp to ~/.wmWeatherReports
		  Changed units of pressure and wind speed to mmHg and km/h
		  when Celsius is set. (Really should change the flag to -metric).

1.1		- Released Jan. 25, 1999.
		  Bug fixes. 
		  Added Degrees F/C support...
		  Added a bit more info on where to find info on METAR/TAF
		  system...

1.0		- Initial release.
		  Released Jan. 19, 1999.
