wmweather+: Remove from repository.
[dockapps.git] / wmbattery / ChangeLog
blob5506dcb599a13ac49080d04daca710f3543c4add
1 wmbattery (2.48)
2   * Escape hyphen in manpage. Fixes hyphen-used-as-minus-sign Lintian warning
3     in the Debian package.  Patch from [1].
4   * Change manpage section from deprecated 1x to 1.
5   * Makefile - use autoheader too instead, configure complains about:
6       config.status: error: cannot find input file: `config.h.in'
7     Patch by Christoph Fritz.
8   * upower - don't exit after suspend/hibernation wakup Immediately after
9     suspend/hibernation wakup cycle, up_client_get_devices() can fail:
10       libupower-glib-WARNING **: up_client_get_devices failed: Timeout was
11       reached
12     Since we do not interpret the UPower signals, just don't exit wmbattery
13     after first up_client_get_devices() failure.
14     Patch by Christoph Fritz.
15   * Expand -g option to allow positions relative to right or bottom. Use '-'
16     instead of '+', e.g., `wmbattery -g -0+0` will place wmbattery in the upper
17     right hand corner of the screen.
18     Thanks to Christoph Fritz for the feature request.
19   * Improve help text for -i option.
20   * Add -n option to disable dial graphic.
21     Thanks to Christoph Fritz for the feature request.
22   * Fix typos. Ran `codespell -w`.
23   * Properly free malloced memory. Fixes memory leak found by cppcheck.
24   * Remove unnecessary brace. Fixes "Invalid number of character ({) when these
25     macros are defined" errors given by cppcheck.
27   [1] https://sources.debian.net/src/wmbattery/2.47-1/debian/patches/escape_manpage_hyphens.patch/
29  -- Doug Torrance <dtorrance@monmouthcollege.edu>  Wed, 13 May 2015 23:31:47 -0500
31 wmbattery (2.47)
32   * Avoid redefinition of apm_read/apm_exists in *BSD.
33     The two functions are defined if the BSD-specific apm headers are found and
34     if libapm is not found.  Both of these conditions will be true on BSD
35     systems, so we use #elif instead of the separate #if statements.
36   * Use AC_CHECK_LIB instead of AC_CHECK_HEADERS to check for libapm.
37     If autoconf finds an apm.h other than the one belonging to libapm, we get
38     builds errors like the ones reported by Haroldo Gambini Santos in [1].
40     [1] http://lists.windowmaker.org/dev/msg07937.html
42  -- Doug Torrance <dtorrance@monmouthcollege.edu>  Thu, 19 Feb 2015 23:26:34 -0600
44 wmbattery (2.46)
45   * Make it possible to work without libapm as libapm and apm.h are not
46     necessarily available on Linux.
47   * Update upower support.  Reuse dbus connection and set delay to actually
48     refresh values.
49   * Thanks to Ludwig Nussel <ludwig.nussel@suse.de> for patches.
51  -- Doug Torrance <dtorrance@monmouthcollege.edu>  Sat, 17 Jan 2015 08:37:05 -0600
53 wmbattery (2.45)
54   * Switch from a Debian native package to a non-native package.
55     - Remove debian directory.
56     - Rename debian/changelog to ChangeLog, strip Debian-specific information.
57     - Move copyright information from debian/changelog to header in wmbattery.c.
58   * Escape hypen in manpage.
59   * Move assignment of old_status until after cur_info is initialized to avoid
60     uninitialized variable warning.
61   * Use consistent formatting in source and delete trailing whitespaces.
62   * Add -x option to run a command when battery is critical.  Based on a patch
63     by Cristoph Fritz.  See https://bugs.debian.org/543674.
64   * Add -v option to display version number.
65   * Restore BSD support.  Code that was ripped out of wmbattery for version
66     1.22, which introduced the dependency on libapm but dropped support for the
67     BSDs, has been restored.
69  -- Doug Torrance <dtorrance@monmouthcollege.edu>  Sun, 05 Oct 2014 10:23:34 -0500
71 wmbattery (2.44)
73   * Better AC detection.
74   * Support times with upower and acpi (Closes: #740885).
75   * Use the latest upower API (Closes: #748935).
76   * Fix upower detection.
78  -- Andrew Shadura <andrewsh@debian.org>  Fri, 18 Jul 2014 01:14:49 +0200
80 wmbattery (2.43)
82   * Orphaned the package. It will probably be removed as it does not work with
83     current kernels.
84   * Added -i to display as icon. Thanks, Tovar Closes: #732398
86  -- Joey Hess <joeyh@debian.org>  Tue, 27 May 2014 16:01:34 -0400
88 wmbattery (2.42)
90   * Stop building with flash-in-the-pan HAL. Instead update acpi
91     interface to use /sys/class/power_supply.
92     Note that this needs acpica_version 20011018.
93     Closes: #613166
94     (Patch developed by Andrew Shadura.)
95   * Also added support for upower, which is used by default,
96     to avoid chasing kernel sysfs changes.
97     (Patch developed by Andrew Shadura.)
98     Closes: #727102
100  -- Joey Hess <joeyh@debian.org>  Thu, 05 Dec 2013 15:29:41 -0400
102 wmbattery (2.41)
104   * Accumulated packaging modernizations. Closes: #666370
106  -- Joey Hess <joeyh@debian.org>  Fri, 30 Mar 2012 10:20:17 -0400
108 wmbattery (2.40)
110   * Add -s option which can be used to ignore fluctuations
111     in reported battery charge (as seen on the EeePC) when
112     using -e. Closes: #527870 (Joseph Huang)
114  -- Joey Hess <joeyh@debian.org>  Sat, 09 May 2009 16:53:10 -0400
116 wmbattery (2.39)
118   * Use debhelper v7; rules file minimisation.
119   * Depend on hal since /proc/acpi is gone from the default kernels now.
120     Closes: #491099
122  -- Joey Hess <joeyh@debian.org>  Tue, 22 Jul 2008 00:23:47 -0400
124 wmbattery (2.38)
126   * Magic header file reordering to work around the disgusting
127     linux-libc-dev/libc headers conflicts (#435700). Closes: #463811
129  -- Joey Hess <joeyh@debian.org>  Wed, 27 Feb 2008 15:08:53 -0500
131 wmbattery (2.37)
133   * Support reconnecting to dbus if it's restarted. (AKA giant dbus-PITA)
135  -- Joey Hess <joeyh@debian.org>  Wed, 20 Feb 2008 22:44:00 -0500
137 wmbattery (2.36)
139   * Support reconnecting to hal if the connection is closed, as happens
140     if the hal is restarted.
142  -- Joey Hess <joeyh@debian.org>  Wed, 20 Feb 2008 22:29:00 -0500
144 wmbattery (2.35)
146   * Don't spew error messages if optional hal properties are not available.
147   * Only check to see if a battery is charging if hal reports there is AC
148     power. This is perhaps not 100% correct in systems with multiple batteries
149     that may cross-charge when off AC, but it's faster and it avoids bugs in
150     hal (#463740).
152  -- Joey Hess <joeyh@debian.org>  Sat, 02 Feb 2008 17:28:37 -0500
154 wmbattery (2.34)
156   * Bit the bullet, stopped trying to track the kernel's ever changing
157     interfaces, and added support for querying battery information from hal.
158     Support for the old kernel interfaces (APM, ACPI, etc) is still present,
159     but to use new interfaces such 2.6.24's /sys/class/power_adapter, you'll
160     have to have dbus and hal.
161     Closes: #456247, #246641, #290712, #393616, #456248
162   * Fix -e option.
164  -- Joey Hess <joeyh@debian.org>  Fri, 01 Feb 2008 21:36:39 -0500
166 wmbattery (2.33)
168   * Correct issue with the statically allocated string returned by
169     get_acpi_value that caused it to only look at last full capacity and never
170     really at design capacity.
172  -- Joey Hess <joeyh@debian.org>  Sat, 22 Dec 2007 22:26:38 -0500
174 wmbattery (2.32)
176   * Guard some divisions against division by zero. I've never seen that
177     happen and can't reproduce it, but see #454766.
178   * Merge acpi change from procmeter3: Limit string length when reading from
179     /proc/.
181  -- Joey Hess <joeyh@debian.org>  Fri, 07 Dec 2007 14:56:41 -0500
183 wmbattery (2.31)
185   * Further fix for my strange battery. If the present capacity is larger
186     than the maximum capacity, rescan to figure out the new max capacity.
188  -- Joey Hess <joeyh@debian.org>  Sun, 02 Dec 2007 15:50:29 -0500
190 wmbattery (2.30)
192   * My new battery has a design capacity of 7800 mAh and yet its
193     last full capacity was 9488, and its currently charged to 8540.
194     Deal with this wonderful miracle^W^Wcrap hardware by taking the max
195     of the design or last full capacities.
197  -- Joey Hess <joeyh@debian.org>  Tue, 23 Oct 2007 22:21:06 -0400
199 wmbattery (2.29)
201   * Update to new menu policy.
202   * The repository has moved from svn to git.
204  -- Joey Hess <joeyh@debian.org>  Fri, 19 Oct 2007 21:14:22 -0400
206 wmbattery (2.28)
208   * Correct off-by-one in acpi.c
209   * Put url to new web page in README.
211  -- Joey Hess <joeyh@debian.org>  Mon, 04 Jun 2007 16:44:03 -0400
213 wmbattery (2.27)
215   * Minor bug fix to acpi code, don't skip over dotfiles.
216   * Patch from Vincent Bernat adding support for 2.6.21, which changes
217     yet again where the ACPI version number is stored. Closes: #423612
219  -- Joey Hess <joeyh@debian.org>  Mon, 14 May 2007 14:23:09 -0400
221 wmbattery (2.26)
223   * Add missing build dep on libxt-dev. Closes: #379247
225  -- Joey Hess <joeyh@debian.org>  Tue, 25 Jul 2006 22:00:41 -0400
227 wmbattery (2.25)
229   * Merge acpi.c changes for more robust AC power status from sleepd 1.3.0.
231  -- Joey Hess <joeyh@debian.org>  Thu, 30 Mar 2006 14:59:31 -0500
233 wmbattery (2.24)
235   * Current policy.
236   * Man page section fix.
237   * Menu file move.
238   * GPL update.
239   * Remove configure script in distclean.
241  -- Joey Hess <joeyh@debian.org>  Sun, 18 Dec 2005 17:39:07 -0500
243 wmbattery (2.23)
245   * xlibs-dev transition
247  -- Joey Hess <joeyh@debian.org>  Fri, 16 Dec 2005 14:54:25 -0500
249 wmbattery (2.22)
251   * Fix acpi detection, the code to read /proc/acpi/info was not updated
252     to the new cd-less code. Closes: #307278
254  -- Joey Hess <joeyh@debian.org>  Mon,  2 May 2005 18:14:01 -0400
256 wmbattery (2.21)
258   * Merge in changes from procmeter3's version of acpi.c, made by Andrew M.
259     Bishop, that avoid the ugly chdir to /proc/acpi and add a bit of error
260     checking. Now fully synced with procmeter3 3.4d.
262  -- Joey Hess <joeyh@debian.org>  Sat, 30 Apr 2005 22:58:44 -0400
264 wmbattery (2.20)
266   * Patch from Kris Verbeeck to add a -a option to play an au file
267     on low battery.
268   * Document it in the man page.
269   * Unicode dash fixes on man page.
270   * Some indentation fixes.
272  -- Joey Hess <joeyh@debian.org>  Wed, 24 Nov 2004 16:20:39 -0500
274 wmbattery (2.19)
276   * Use the proper new-style acpi string when looking for ac adaptor status.
277     Closes: #220039
278   * Remove the hack I added for my old picturebook, as it causes bad results
279     on systems that label a fully charged battery's charging rate as
280     unknown and state as charging.
281   * Base battery charge calculations for ACPI on design capacity, instead of
282     last full capacity. Some batteries may exceed previous last full on
283     their next charging, and this also lets you see when you have a damaged
284     battery that is not fully charging.
285   * If acpi battery charging state is unknown, but the rate is 0,
286     then the battery is charged and on AC power, and the unknown state can
287     be ignored. Analysis and patch by "TeXitoi".
289  -- Joey Hess <joeyh@debian.org>  Mon, 17 Nov 2003 20:28:56 -0500
291 wmbattery (2.18)
293   * Sort devices returned by readdir in acpi, since the order can be random.
294     Closes: #204721
296  -- Joey Hess <joeyh@debian.org>  Wed, 13 Aug 2003 01:45:55 -0400
298 wmbattery (2.17)
300   * Make acpi code put -1 in the time remaining field if the "present rate"
301     is 0. Closes: #204722
302   * Enable internal time estimate code in this case.
304  -- Joey Hess <joeyh@debian.org>  Mon, 11 Aug 2003 17:21:17 -0400
306 wmbattery (2.16)
308   * Another patch from Hugo Haas, this time it adds time-till-charged
309     estimates for systems that lack them. The estimates are on by default,
310     though they're only linear guesses and may not be accurate.
311   * Display dimmed time estimate field if there is no estimate available.
312   * -e switch renamed to -r and forces both estimates on.
314  -- Joey Hess <joeyh@debian.org>  Thu,  7 Aug 2003 16:41:37 -0400
316 wmbattery (2.15)
318   * Patch from Hugo Haas <hugo@larve.net> to change when the icon is
319     refreshed for less latency.
320   * Patch from Hugo Haas to have wmbattery do its own time left estimates
321     if that info is not available from the machine.
322   * Add -r switch to force wmbattery to estimate the time left.
324  -- Joey Hess <joeyh@debian.org>  Sun,  3 Aug 2003 00:00:09 -0400
326 wmbattery (2.14)
328   * Set the cutoff point for old acpi to 20020214 (was 20020208).
329     Closes: #202083
331  -- Joey Hess <joeyh@debian.org>  Sun, 20 Jul 2003 13:44:59 +0200
333 wmbattery (2.13)
335   * Added support for ACPI version 20030109 (2.5 kernel), and generally
336     support for changing ACPI strings across versions. Closes: #177249
338  -- Joey Hess <joeyh@debian.org>  Thu,  6 Feb 2003 14:50:21 -0500
340 wmbattery (2.12)
342   * Rebuild w/o /usr/doc link.
344  -- Joey Hess <joeyh@debian.org>  Fri, 15 Nov 2002 15:23:13 -0500
346 wmbattery (2.11)
348   * Corrected inverted test to see if ac power is online, that was only called
349     on 2 battery systems. Closes: #152356
351  -- Joey Hess <joeyh@debian.org>  Wed, 10 Jul 2002 16:10:40 -0400
353 wmbattery (2.10)
355   * Deal with acpi putting nothing but "Present: no" in the info file for the
356     second battery of a thinkpad. This was with kernel 2.4.19-pre10.
357     Closes: #149715
358   * Moved DEB_BUILD_OPTIONS out of makeinfo.
359   * Updated to new autoconf.
361  -- Joey Hess <joeyh@debian.org>  Tue, 11 Jun 2002 22:51:45 -0400
363 wmbattery (2.09)
365   * Moved makefile stuff out of makeinfo, so it is just definitions.
366   * Support DEB_BUILD_OPTIONS.
367   * debhelper v4.
369  -- Joey Hess <joeyh@debian.org>  Sat,  1 Jun 2002 16:31:53 -0400
371 wmbattery (2.08)
373   * Don't crash if there is a /proc/acpi/ with no status file.
375  -- Joey Hess <joeyh@debian.org>  Fri, 31 May 2002 21:35:06 -0400
377 wmbattery (2.07)
379   * Added symbolic apm info constants to "apm.h", in case they are
380     not in the system <apm.h>.
381   * Put $(LIBS) last at link time.
383  -- Joey Hess <joeyh@debian.org>  Tue, 23 Apr 2002 11:49:16 -0400
385 wmbattery (2.06)
387   * Deal with -1 time left from apm (no estimate).
388   * Never dim colon, fixes display bug.
390  -- Joey Hess <joeyh@debian.org>  Mon, 22 Apr 2002 12:30:35 -0400
392 wmbattery (2.05)
394   * (acpi) don't display the rather wacky "- :0" on an almost full battery
396  -- Joey Hess <joeyh@debian.org>  Tue,  9 Apr 2002 23:19:35 -0400
398 wmbattery (2.04)
400   * Work around stupid ACPI output format  bug. Critical battery detection
401     now works.
403  -- Joey Hess <joeyh@debian.org>  Mon,  8 Apr 2002 22:49:43 -0400
405 wmbattery (2.03)
407   * Better error reporting.
409  -- Joey Hess <joeyh@debian.org>  Sun,  7 Apr 2002 22:57:17 -0400
411 wmbattery (2.02)
413   * Improved acpi interface (also used for procmeter3 module now).
414   * Fixed segfault on non-ACPI systems.
416  -- Joey Hess <joeyh@debian.org>  Sun,  7 Apr 2002 17:48:41 -0400
418 wmbattery (2.01)
420   * Corrected minus sign in bigfont to proper faux-lcd appearance. Also fixed
421     offset slightly.
423  -- Joey Hess <joeyh@debian.org>  Fri,  5 Apr 2002 23:34:38 -0500
425 wmbattery (2.00)
427   * Added ACPI support, including battery change detection, and battery
428     charging time countdown timer.
429   * Added -w parameter to configure delay time.
430   * Added -c and -l parameters to allow user control of battery low/critical
431     percentages.
432   * Use constant defs from apm.h instead of nasty hardcoded numbers.
433   * Made -Wall clean.
434   * Reorg.
435   * Removed -s option, just fall back to SPIC if ACPI and APM are not
436     available.
438  -- Joey Hess <joeyh@debian.org>  Fri,  5 Apr 2002 12:53:18 -0500
440 wmbattery (1.23)
442   * Added support for querying for battery status via the sonypi driver, for
443     sony laptops that do not have apm support. This is a stopgap until linux
444     gets full ACPI support.
446  -- Joey Hess <joeyh@debian.org>  Thu,  4 Apr 2002 10:25:31 -0500
448 wmbattery (1.22)
450   * Converted to use libapm, instead of the hacked up old version of it
451     used before. This probably breaks wmbattery on the BSD's, for now. The
452     correct fix for the BSD's will be to get support for their apm
453     implementations into libapm. To that end, I have filed a bug with all the
454     code I ripped out.
455   * The -f option also had to be removed. If libapm does not work right on
456     systems that needed that flag it's probably a bug in the library.
457   * Closes: #100027
459  -- Joey Hess <joeyh@debian.org>  Sun, 24 Feb 2002 12:47:53 -0500
461 wmbattery (1.21)
463   * Typo, Closes: #125485
465  -- Joey Hess <joeyh@debian.org>  Mon, 17 Dec 2001 21:41:52 -0500
467 wmbattery (1.20)
469   * Still show percent sign when blinking low. Closes: #123183
471  -- Joey Hess <joeyh@debian.org>  Sun,  9 Dec 2001 22:44:17 -0500
473 wmbattery (1.19)
475   * Used two more grey's in the transition between shadow and highlight
476     in the dial. Looks a bit better.
478  -- Joey Hess <joeyh@debian.org>  Wed,  7 Nov 2001 22:35:37 -0500
480 wmbattery (1.18)
482   * Autoconf 2.50 demands an absolute --mandir=
484  -- Joey Hess <joeyh@debian.org>  Thu, 24 May 2001 15:04:23 -0400
486 wmbattery (1.17)
488   * Patch from Edward Betts <edward@debian.org> to make the icon redraw
489     immediately when it gets an expose event. The patch also lowers the CPU
490     time used as the icon is not needlessly redrawn every second. Thanks
491     Edward! Closes: #97779
492   * Battery blink fixup. (I seem to have inexplicably lost the changelog
493     and version involving making the battery blink red on and off when the
494     status is critical -- I did this recently because the eye tends to
495     notice the motion).
497  -- Joey Hess <joeyh@debian.org>  Thu, 17 May 2001 13:16:55 -0400
499 wmbattery (1.16)
501   * Another patch from Kevin, which allows removal of the
502     config.{sub,guess} files and does smarter detection.
504  -- Joey Hess <joeyh@debian.org>  Mon,  5 Mar 2001 19:49:36 -0800
506 wmbattery (1.15)
508   * Fixed icon search path.
510  -- Joey Hess <joeyh@debian.org>  Tue, 27 Feb 2001 18:00:44 -0800
512 wmbattery (1.14)
514   * OpenBSD port by Kevin Christen <christen@ix.netcom.com>
515   * Uses autoconf.
517  -- Joey Hess <joeyh@debian.org>  Mon, 26 Feb 2001 22:06:55 -0800
519 wmbattery (1.13)
521   * Added support for using files other than /proc/apm, via a -f switch.
522     (See bug #69585)
524  -- Joey Hess <joeyh@debian.org>  Mon, 21 Aug 2000 11:52:21 -0700
526 wmbattery (1.12)
528   * Use /usr/share/icons/wmbattery, not /usr/X11R6/share. Sheesh.
530  -- Joey Hess <joeyh@debian.org>  Thu,  6 Apr 2000 13:16:52 -0700
532 wmbattery (1.11)
534   * Build deps.
536  -- Joey Hess <joeyh@debian.org>  Sat,  4 Dec 1999 16:56:32 -0800
538 wmbattery (1.10)
540   * Removed install-stamp target, which can cause obscure problems.
542  -- Joey Hess <joeyh@debian.org>  Thu, 30 Sep 1999 13:32:33 -0700
544 wmbattery (1.9)
546   * Expanded the man page to detail exactly what all parts of the display
547     mean.
549  -- Joey Hess <joeyh@debian.org>  Mon, 13 Sep 1999 11:37:11 -0700
551 wmbattery (1.8)
553   * Integrated with my build system.
555  -- Joey Hess <joeyh@debian.org>  Sun, 12 Sep 1999 12:47:00 -0700
557 wmbattery (1.7)
559   * FHS.
561  -- Joey Hess <joeyh@debian.org>  Mon,  6 Sep 1999 16:57:13 -0700
563 wmbattery (1.6)
565   * FreeBSD support, patch from Motoyuki Kasahara <m-kasahr@sra.co.jp>.
567  -- Joey Hess <joeyh@debian.org>  Sun,  8 Aug 1999 20:04:10 -0700
569 wmbattery (1.5)
571   * Built w/o that ugly bug source known as fakeroot. Now all files are
572     owned by root, not me.
574  -- Joey Hess <joeyh@debian.org>  Sun,  8 Aug 1999 17:35:32 -0700
576 wmbattery (1.4)
578   * Let's try again on that patch.
580  -- Joey Hess <joeyh@debian.org>  Sun,  8 Aug 1999 17:30:18 -0700
582 wmbattery (1.3)
584   * Patch from Hugo Haas <hugoh@MIT.EDU> to allow geometry support.
586  -- Joey Hess <joeyh@debian.org>  Sun,  8 Aug 1999 16:18:44 -0700
588 wmbattery (1.2)
590   * Patch from Edwin van Ouwerkerk Moria, may make the charging indicator
591     work better on thinkpads.
593  -- Joey Hess <joeyh@debian.org>  Thu,  1 Jul 1999 09:58:04 -0700
595 wmbattery (1.1)
597   * Fixed man page location.
599  -- Joey Hess <joeyh@debian.org>  Thu,  4 Feb 1999 14:33:58 -0800
601 wmbattery (1.0)
603   * First release.
604   .
605   * Started with wmapm 1.2 sources. Gutted it and cleaned it up extensively
606     and turned it into wmbattery.
607   * Drew new faceplate and graphics.
608   * Converted manpage to refer to new program name.
609   * Reorganized source tree.
610   * Split single xpm up into lots of small xpms, loaded separately.
611   * Cleaned up Makefile.
612   * Removed README, TODO, INSTALL, etc; I'll write my own.
613   * Parse command line with getopt.
614   * Made -d work to set the display.
616  -- Joey Hess <joeyh@debian.org>  Fri, 25 Dec 1998 18:03:21 -0500