3 * wmMoonClock-1.26 (C) 1998, 1999 Mike Henderson (mghenderson@lanl.gov)
5 * - Shows Moon Phase....
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2, or (at your option)
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program (see the file COPYING); if not, write to the
23 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301 USA
28 * - more detailed documentation.
29 * - reduce size of pixmap! Dont need it in one pixmap.
30 * Aslo, does the hi-color pixmap really need all those colors?
31 * - add rotation of moon so user sees it as they would in reality?
32 * - eclipses. The calcs are quite acurate so this should be easily doable.
33 * (Note the Sun position calcs in CalcEphem are low precision -- high is not
34 * as costly as the Moon calcs.) Sun posiiton is calculated but not used yet...
35 * - Next new moons, next full moons, next quarters, etc...
36 * - Moon names. I.e. Harvest, Blue, etc...
39 * Version 1.28 - released September 20, 2011.
40 * Debian patches added to the upstream version. These patches are included:
41 * 01_all_previous_diff.diff, 02_update_time.diff, 03_add_southern_hemisphere_support.diff
42 * 03_add_southern_hemisphere_support.diff and 04_fix_hyphen_used_as_minus_sign.diff
43 * BUGS file updated to report to wmaker-dev@lists.windowmaker.info
44 * Source is now at http://repo.or.cz/w/dockapps.git
45 * Updated by Rodolfo García Peñas (kix) <kix@kix.es>
47 * Version 1.27 - released June 7, 1999.
48 * fixed a minor bug in computation of azimuth (A in Horizon Coords). Thanks to
49 * Dan Moraru for spotting this one. (There were two SinGlat factors instead of one).
51 * Version 1.26 - released April 22, 1999 (?).
52 * Version 1.25 - released March 22, 1999.
53 * Now auto-detects 8-bit display and forces the LowColor pixmap to
54 * be used. The -low option still works if you need to conserve colors
55 * even on high-color displays.
57 * Added 3 command line options + code to change colors of the data
60 * -bc <Color> to change background color.
61 * -lc <Color> to change color of labels and headers.
62 * -dc <Color> to change color of data values.
64 * Version 1.24 - released February 9, 1999.
65 * Added low color support via the -low command line option.
67 * Version 1.23 - released February 4, 1999.
68 * cosmetic for AfterStep users. removed spurious black line at RHS edge an mask.
70 * Version 1.22 - released January 8, 1999.
72 * + Changed PI2 to TwoPi in Moon.c -- Linux Pyth. had probs because
73 * PI2 was defined in <math.h>.
75 * Version 1.21 - released January 7, 1999.
77 * + minor bug fixes in Makefile and manpage.
79 * Version 1.2 - released January 3, 1999.
82 * + Local Time/ Universal Time display.
83 * + Visible: Yes/No to indicate if Moon is up or not.
84 * + Frac (percent through orbit -- this is NOT a simple
85 * conversion of AGE....).
86 * + Horizon Coords. Altitude is measured up from horizon to
87 * Moon in degrees. Azimuth is in degrees from due south.
89 * Also shuffled things around a bit...
93 * Version 1.1 - released December 24, 1998.
94 * Fixed bug in AGE calculation. It now should be highly accurate.
95 * Note that AGE is not the same as Phase*29.530589 ...
96 * I have checked with the Astronomical Almanac and it agrees very
100 * Version 1.0 - released December 16, 1998.