Commit graph

1050 commits

Author SHA1 Message Date
Doug Torrance ec62fab633 wmcalc: Null-termitate display string when clearing.
Often, the number currently being displayed has more than 10 digits.
However, when clearing the display, only the first 10 digits were cleared.
When a new number was entered, it would be prepended to any digits that
weren't cleared.  This behavior was invisible to the user, causing
incorrect calculations, e.g., Debian bug #564173:

1814 / 720 * 300 -> 7568.41111

But the correct answer is 755.833333.

The problem was that when the display was cleared, the string that stores
this number was not null-terminated.  Indeed, 1814 / 720 gives us
2.519444444 (6 4's), but only 2.51944444 (5 4's) is displayed.  When we
begin to multiply by 300, the final 4 remained, and so we really were
multiplying by 3004.
2018-08-29 23:14:02 -04:00
Doug Torrance 1d813d4434 wmthrottle: Remove autogenerated autotools files from git. 2018-07-15 18:57:29 +01:00
Doug Torrance e2c09fe8fe wmthrottle: Add version 0.1.1 to repository.
From
https://web.archive.org/web/20071004044600/http://rffr.de/wmthrottle-0.1.1.tar.bz2
2018-07-15 18:57:29 +01:00
Doug Torrance 6f0fbd34f9 wmmemfree: Bump to version 0.8. 2018-07-14 00:05:48 +01:00
Doug Torrance 37e0f3de58 wmmemfree: Include only necessary headers. 2018-07-14 00:05:48 +01:00
Doug Torrance 872f0df996 wmmemfree: Add error handling for fscanf. 2018-07-14 00:05:48 +01:00
Doug Torrance 08a8a6a70e wmmemfree: Parse modern /proc/meminfo 2018-07-14 00:05:48 +01:00
Doug Torrance e98be23914 wmmemfree: Add version 0.7 to repository.
From
http://ftp.vim.org/ibiblio/X11/xutils/wmmemfree-0.7.tar.gz
2018-07-14 00:05:48 +01:00
Doug Torrance 3cf833d152 wmmisc: Bump to version 1.2. 2018-07-12 12:27:48 +01:00
Doug Torrance 21762f7e46 wmmisc: Add desktop entry file. 2018-07-12 12:27:48 +01:00
Doug Torrance 86ff9357b7 wmmisc: Update documentation. 2018-07-12 12:27:48 +01:00
Doug Torrance 6b1e14dab3 wmmisc: Add support for wmgeneral's -geometry command line argument. 2018-07-12 12:27:48 +01:00
Doug Torrance 01bb8bdecf wmmisc: Add support for wmgeneral's -display command line argument 2018-07-12 12:27:48 +01:00
Doug Torrance 21c9a972a6 wmmisc: Add manpage from Debian.
From
https://sources.debian.org/data/main/w/wmmisc/1.1-4/debian/wmmisc.1
2018-07-12 12:27:48 +01:00
Doug Torrance 3782edcfd3 wmmisc: Use autoconf defines for version number and bugreport address. 2018-07-12 12:27:48 +01:00
Doug Torrance 80e3fdf32a wmmisc: Add error handling for fscanf. 2018-07-12 12:27:48 +01:00
Doug Torrance ced470da36 wmmisc: Don't link against X11 libs; unnecessary. 2018-07-12 12:27:48 +01:00
Doug Torrance 036c25fcb5 wmmisc: Use only necessary headers. 2018-07-12 12:27:48 +01:00
Doug Torrance eb0ba99973 wmmisc: Move blue to top of list in XPM colors so that wmgeneral properly creates mask. 2018-07-12 12:27:48 +01:00
Doug Torrance 6582a4e21d wmmisc: Use wmgeneral from libdockapp. 2018-07-12 12:27:48 +01:00
Doug Torrance 4db8f00e97 wmmisc: Switch to autotools for build. 2018-07-12 12:27:48 +01:00
Doug Torrance 1400fab143 wmmisc: Add version 1.1 to repository.
From
http://distro.ibiblio.org/amigolinux/download/DockApps/wmmisc-1.1/wmmisc-1.1.tar.bz2
2018-07-12 12:27:48 +01:00
Doug Torrance 0b07a2af77 asmon: Bump to version 0.72. 2018-07-11 08:13:24 +01:00
Doug Torrance 3ba7b298bc asmon: Don't link against libXext and libXpm; unnecessary. 2018-07-11 08:13:24 +01:00
Doug Torrance 017fd0d930 asmon: Include only necessary header files. 2018-07-11 08:13:24 +01:00
Doug Torrance ada83f08a9 asmon: Remove set but unused variables. 2018-07-11 08:13:24 +01:00
Doug Torrance 2870043ec4 asmon: Use wmgeneral from libdockapp. 2018-07-11 08:13:24 +01:00
Doug Torrance 26f23573fd asmon: Remove binary and object files from git. 2018-07-11 08:13:24 +01:00
Doug Torrance 2fdb26a3bd asmon: Add version 0.71 to repository.
From
http://ftp.riken.jp/X11/AfterStep/stable/rpms/misc-tarballs/asmon-0.71.tar.bz2
2018-07-11 08:13:24 +01:00
Doug Torrance 3132e13337 Update old windowmaker.org/dockapps urls to dockapps.net 2018-06-28 04:13:53 +01:00
Doug Torrance ef01bf26b7 wmifs: Fix typo 2018-06-27 23:57:52 +01:00
Doug Torrance 08ef4bc3ab wmifs: Bump to version 1.9 2018-06-27 23:19:04 +01:00
Doug Torrance b03c910dc2 wmifs: Error handling when fopen fails.
This prevents fgets from segfaulting on the next line, closing Debian
bug #901353.

Thanks to <anomie@users.sourceforge.net> for the bug report and patch.
2018-06-27 23:19:04 +01:00
Doug Torrance 8b31ced398 wmusic: Bump to version 2.0.0. 2018-06-24 07:46:57 -07:00
Doug Torrance e9ab4b5bc8 wmusic: Add desktop file 2018-06-24 07:46:57 -07:00
Doug Torrance fe98463897 wmusic: Include all necessary header files. 2018-06-24 07:46:57 -07:00
Doug Torrance 5cf0a63bd4 wmusic: Update documentation and help text 2018-06-24 07:46:57 -07:00
Doug Torrance 2f472588c7 wmusic: Add manpage (adapted from Debian) 2018-06-24 07:46:57 -07:00
Doug Torrance 3e2b28712b wmusic: Separate changelog into its own file. 2018-06-24 07:46:57 -07:00
Doug Torrance c4f5c4dedf Remove trailing whitespace 2018-06-24 07:46:57 -07:00
Doug Torrance 988a0c0f20 wmusic: Fix volume display bug.
The black pixels which were copied to the right part of the volume slider
when the volume was decreased actually included a one-pixel-wide line of the
bright red indicating max volume.
2018-06-24 07:46:57 -07:00
Doug Torrance 4d7d5d7ee8 wmusic: Print message when connecting to new player. 2018-06-24 07:46:57 -07:00
Doug Torrance 2c04ffbf71 wmusic: Remove unsupported command line options 2018-06-24 07:46:57 -07:00
Doug Torrance fd74076a9a wmusic: Fix display bug; print entire title for short titles.
Previously, if a title was too short to require scrolling, the first
character was omitted.
2018-06-24 07:46:57 -07:00
Doug Torrance e94de4a618 wmusic: Fix incompatible pointer types. 2018-06-24 07:46:57 -07:00
Doug Torrance 9f5c04185b wmusic: Port to playerctl for MPRIS support.
Since development on XMMS ended long ago (last release was in 2007), we have
switched support to MPRIS (Media Player Remote Interfacing Specification),
an API for controlling *any* media player which supports it.  We use the
playerctl C library, available from https://github.com/acrisci/playerctl.

Because of the switch, several more XMMS-specific features have been removed.
In particular,
* The channels are no longer displayed, and the volume is always displayed.
* The bitrate is no longer displayed, and the title is always displayed.
* The eject feature no longer is functional, although the eject button is
  still present.
* Toggling between the various XMMS windows is no longer supported.
2018-06-24 07:46:57 -07:00
Doug Torrance 3b4eb3abaf wmusic: Update location of libdockapp header file. 2018-06-24 07:46:57 -07:00
Doug Torrance 2f2b84548d wmusic: Remove version.h header file; use autoconf's PACKAGE_STRING instead 2018-06-24 07:46:57 -07:00
Doug Torrance a28f29d147 wmusic: Modernize autotools files 2018-06-24 07:46:57 -07:00
Doug Torrance 12843a05f5 wmusic: Remove libdockapp directory; we will used shared lib. 2018-06-24 07:46:57 -07:00