[PATCH 09/21] wmfsm: Update sample configuration file.

2015-01-21 Thread Doug Torrance
Patch by Arthur Korn art...@korn.ch to fix Debian bug #226298 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yesbug=226298 --- wmfsm/wmfsm/wmfsmrc.sample | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/wmfsm/wmfsm/wmfsmrc.sample

[PATCH 21/21] wmfsm: Bump to version 0.35.

2015-01-21 Thread Doug Torrance
+1,166 @@ +2015-01-22 Doug Torrance dtorra...@monmouthcollege.edu + + * ChangeLog, configure.ac: Bump to version 0.35. + +2015-01-21 Doug Torrance dtorra...@monmouthcollege.edu + + * README: Update README with new installation instructions. + +2015-01-21 Doug Torrance dtorra

[PATCH 16/21] wmfsm: Add -a command line option to select appearance at runtime.

2015-01-21 Thread Doug Torrance
Also update Makefile to install appearance XPMs during make install. --- wmfsm/wmfsm/Makefile.am | 4 +++- wmfsm/wmfsm/wmfsm.1 | 3 +++ wmfsm/wmfsm/wmfsm.c | 24 ++-- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/wmfsm/wmfsm/Makefile.am

[PATCH 15/21] wmfsm: Add --with-xpm option to configure to select appearance at compile time.

2015-01-21 Thread Doug Torrance
Note that wmfsm/wmfsm_master.xpm has been removed, as it is now created as a symlink during configure. It is also removed by make clean. --- wmfsm/configure.ac | 19 + wmfsm/wmfsm/Makefile.am | 3 +- wmfsm/wmfsm/wmfsm_master.xpm | 186

[PATCH 19/21] wmfsm: Combine ChangeLog and ChangeLog.old.

2015-01-21 Thread Doug Torrance
As ChangeLog is no longer automatically generated by arch, there is no need to keep these files separate. --- wmfsm/ChangeLog | 38 ++ wmfsm/ChangeLog.old | 34 -- 2 files changed, 34 insertions(+), 38 deletions(-) delete

[PATCH 08/21] wmfsm: Improve manpage.

2015-01-21 Thread Doug Torrance
In particular, - Apply, with some modification, a patch by Jari Aalto jari.aa...@poboxes.com to clarify the format of the configuration file. See [1]. - Escape minus signs to avoid hyphen-used-as-minus-sign Lintian warning in the Debian package. - Remove docbook-to-man comments to avoid

[PATCH 07/21] wmfsm: Apply further Debian patches.

2015-01-21 Thread Doug Torrance
The individual patches no longer seem to exist, so I submit them together. According to debian/changelog entries by Arthur Korn art...@debian.org, these patches include: * fixed memleak introduced in 0.34-2 with the patch by Timo Benk. global char *mp[] was assigned the result of stdup()

[PATCH 17/21] wmfsm: Update with new contact information.

2015-01-21 Thread Doug Torrance
--- wmfsm/AUTHORS | 5 +++-- wmfsm/configure.ac | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wmfsm/AUTHORS b/wmfsm/AUTHORS index ba45726..5ae605d 100644 --- a/wmfsm/AUTHORS +++ b/wmfsm/AUTHORS @@ -1,3 +1,4 @@ -The current maintainer is Chris Gray cg...@tribsoft.com,

[PATCH 20/21] wmfsm: Update README with new installation instructions.

2015-01-21 Thread Doug Torrance
--- wmfsm/README | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wmfsm/README b/wmfsm/README index d0d2c27..38791da 100644 --- a/wmfsm/README +++ b/wmfsm/README @@ -1,4 +1,7 @@ Installation: -copy your preferred .xpm to wmfsm_master.xpm -Hack the Makefile, compile the

[PATCH 14/21] wmfsm: Remove TODO; all the items have been done.

2015-01-21 Thread Doug Torrance
--- wmfsm/TODO | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 wmfsm/TODO diff --git a/wmfsm/TODO b/wmfsm/TODO deleted file mode 100644 index 5ec80bd..000 --- a/wmfsm/TODO +++ /dev/null @@ -1,2 +0,0 @@ -- Add automake/autoconf support. -- Make sure man page is correct. -- 2.1.0

[PATCH 18/21] wmfsm: Impove version number handling.

2015-01-21 Thread Doug Torrance
In particular, - Add new --version command line option. (This was already documented in the manpage.) Remove this information from the --help text. Also took the opportunity to properly align the --fire line in the --help text. - Remove WMFSM_VERSION macro in favor of PACKAGE_VERSION from

[PATCH 0/3] wmbattery updates

2015-01-17 Thread Doug Torrance
Here are a couple patches I received as pull requests on github for wmbattery [1]. Carlos, could you tag the last commit wmbattery-2.46? Thanks! [1] https://github.com/d-torrance/wmbattery/pull/1 Doug Torrance (1): wmbattery: Bump to version 2.46. Ludwig Nussel (2): wmbattery: make

[PATCH 2/3] wmbattery: update upower support

2015-01-17 Thread Doug Torrance
From: Ludwig Nussel ludwig.nus...@suse.de * reuse dbus connection * set delay to actually refresh values --- wmbattery/upower.c| 7 +-- wmbattery/wmbattery.c | 4 +++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/wmbattery/upower.c b/wmbattery/upower.c index

[PATCH 3/3] wmbattery: Bump to version 2.46.

2015-01-17 Thread Doug Torrance
) + * Make it possible to work without libapm as libapm and apm.h are not +necessarily available on Linux. + * Update upower support. Reuse dbus connection and set delay to actually +refresh values. + * Thanks to Ludwig Nussel ludwig.nus...@suse.de for patches. + + -- Doug Torrance dtorra

[PATCH (whome)] Update wmbattery on dockapps webpage.

2015-01-17 Thread Doug Torrance
--- dockapps/dockapps.db | 1 + 1 file changed, 1 insertion(+) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index ed9e9ea..0e0f28b 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -116,6 +116,7 @@ dockapps = 216 category = System Monitoring [wmbattery]

[PATCH 0/1] wmmenu

2015-01-22 Thread Doug Torrance
Carlos, could you tag this commit wmmenu-1.2? Note that I haven't tested to see if this still compiles. Thanks! Doug Torrance (1): wmmenu: Add version 1.2 to repository. wmmenu/COPYING | 340 +++ wmmenu/Makefile | 70

[PATCH] wmaker: Add autocomplete/history feature to keyboard shortcut Run dialog.

2015-02-12 Thread Doug Torrance
As reported by Juan Giordana, the autocomplete/history feature which is available to Run dialogs brought up by the root menu is not available to Run dialogs brought up by a keyboard shortcut. This patch enables this behavior. --- src/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 1/3] wmbattery: Use AC_CHECK_LIB instead of AC_CHECK_HEADERS to check for libapm.

2015-02-19 Thread Doug Torrance
If autoconf finds an apm.h other than the one belonging to libapm, we get builds errors like the ones reported by Haroldo Gambini Santos in [1]. [1] http://lists.windowmaker.org/dev/msg07937.html --- wmbattery/apm.h| 4 ++-- wmbattery/configure.ac | 1 - wmbattery/wmbattery.c | 2 +- 3

[PATCH 0/3] wmbattery patches

2015-02-19 Thread Doug Torrance
Here are a couple patches for wmbattery. They restore *BSD support and fix a build error on OpenSUSE 13.2 reported by Haroldo Gambini Santos. Carlos, could you tag the last commit wmbattery-2.47? Thanks! Doug Doug Torrance (3): wmbattery: Use AC_CHECK_LIB instead of AC_CHECK_HEADERS to check

[PATCH 2/3] wmbattery: Avoid redefinition of apm_read/apm_exists in *BSD.

2015-02-19 Thread Doug Torrance
The two functions are defined if the BSD-specific apm headers are found and if libapm is not found. Both of these conditions will be true on BSD systems, so we use #elif instead of the separate #if statements. --- wmbattery/wmbattery.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH 3/3] wmbattery: Bump to version 2.47.

2015-02-19 Thread Doug Torrance
AC_CHECK_LIB instead of AC_CHECK_HEADERS to check for libapm. +If autoconf finds an apm.h other than the one belonging to libapm, we get +builds errors like the ones reported by Haroldo Gambini Santos in [1]. + +[1] http://lists.windowmaker.org/dev/msg07937.html + + -- Doug Torrance dtorra

Re: [PATCH 07/23] doc: create the skeleton to have a documentation for Internationalisation

2015-01-23 Thread Doug Torrance
Hi Christophe, On 01/20/2015 03:03 PM, Christophe CURIS wrote: There is a new script to generate the documentation, because from the way we generate it we cannot assume that 'texi2any' is available and working on the user's computer; it is also the opportunity to generate a better looking

[PATCH 09/15] wmcalc: Remove redundant .wmcalc*; essentially the same as wmcalc.conf.

2015-01-10 Thread Doug Torrance
--- wmcalc/.wmcalc | 35 --- wmcalc/.wmcalc.bk | 35 --- wmcalc/.wmcalc.bkp | 35 --- 3 files changed, 105 deletions(-) delete mode 100644 wmcalc/.wmcalc delete mode 100644 wmcalc/.wmcalc.bk

[PATCH 08/15] wmcalc: Remove trailing whitespace.

2015-01-10 Thread Doug Torrance
--- wmcalc/.wmcalc| 12 +-- wmcalc/.wmcalc.bk | 12 +-- wmcalc/.wmcalc.bkp| 12 +-- wmcalc/README | 68 wmcalc/mask.xbm | 8 +- wmcalc/wmcalc.1 | 16 ++-- wmcalc/wmcalc.c | 222 +-

[PATCH 11/15] wmcalc: Update README.

2015-01-10 Thread Doug Torrance
In particular, - Update maintainer. - Remove version-specific information. - Update installation instructions. - Add previously released version 0.4 to changelog. --- wmcalc/README | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/wmcalc/README

[PATCH 15/15] wmcalc: Bump to version 0.5.

2015-01-10 Thread Doug Torrance
--- wmcalc/README | 16 wmcalc/wmcalc_c.h | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/wmcalc/README b/wmcalc/README index 5bc8970..4cbd69a 100644 --- a/wmcalc/README +++ b/wmcalc/README @@ -135,6 +135,22 @@ The background border is defined in

[PATCH 12/15] wmcalc: Allow installation without root access.

2015-01-10 Thread Doug Torrance
Drop -p -o root -g root from the INSTALL_* Makefile variables and honor the CONF Makefile variable for accessing the global config file instead of hardcoding it as /etc. These changes allow users without root access to install wmcalc in their home directory. --- wmcalc/Makefile | 6 +++---

[PATCH 13/15] wmcalc: Fix -Woverflow compiler warnings.

2015-01-10 Thread Doug Torrance
--- wmcalc/mask.xbm | 2 +- wmcalc/wmcalc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wmcalc/mask.xbm b/wmcalc/mask.xbm index 85290d7..828bbf2 100644 --- a/wmcalc/mask.xbm +++ b/wmcalc/mask.xbm @@ -1,7 +1,7 @@ #define mask_width 64 #define mask_height 64 -static

[PATCH 10/15] wmcalc: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt.

2015-01-10 Thread Doug Torrance
--- wmcalc/COPYING | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/wmcalc/COPYING b/wmcalc/COPYING index a43ea21..d159169 100644 --- a/wmcalc/COPYING +++ b/wmcalc/COPYING @@ -1,12 +1,12 @@ - GNU GENERAL PUBLIC

[PATCH 14/15] wmcalc: Remove C++ style comments.

2015-01-10 Thread Doug Torrance
--- wmcalc/wmcalc.c | 58 +-- wmcalc/wmcalc_c.h | 4 ++-- wmcalc/wmcalc_f.h | 46 wmcalc/wmcalcswitch.c | 58 +-- 4 files changed, 83

[PATCH 07/15] wmcalc: Fix -Wunused-result compiler warning.

2015-01-10 Thread Doug Torrance
--- wmcalc/wmcalcfunc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wmcalc/wmcalcfunc.c b/wmcalc/wmcalcfunc.c index 17f9518..4215e52 100644 --- a/wmcalc/wmcalcfunc.c +++ b/wmcalc/wmcalcfunc.c @@ -521,5 +521,6 @@ void startcalc(void) { if (Verbose)

[PATCH 05/15] wmcalc: Fix -Wunused-but-set-variable compiler warnings.

2015-01-10 Thread Doug Torrance
--- wmcalc/wmcalc.c | 3 +-- wmcalc/wmcalcswitch.c | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/wmcalc/wmcalc.c b/wmcalc/wmcalc.c index f68714b..36bca61 100644 --- a/wmcalc/wmcalc.c +++ b/wmcalc/wmcalc.c @@ -106,7 +106,6 @@ int main( int argc, char **argv ) {

[PATCH 02/15] wmcalc: Add manpage from Debian.

2015-01-10 Thread Doug Torrance
Obtained from: http://snapshot.debian.org/package/wmcalc/0.3-7/ Additionally, add rule to Makefile to install new manpage. --- wmcalc/Makefile | 3 +- wmcalc/wmcalc.1 | 118 2 files changed, 120 insertions(+), 1 deletion(-) create mode

[PATCH 06/15] wmcalc: Fix -Warray-bounds compiler warning.

2015-01-10 Thread Doug Torrance
--- wmcalc/wmcalc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmcalc/wmcalc.c b/wmcalc/wmcalc.c index 36bca61..3af1d66 100644 --- a/wmcalc/wmcalc.c +++ b/wmcalc/wmcalc.c @@ -114,8 +114,8 @@ int main( int argc, char **argv ) { strcat(tempfile, CONFTEMPFILE);

[PATCH 00/15] Add wmcalc to dockapps repository

2015-01-10 Thread Doug Torrance
I would like to add wmcalc to the dockapps git repo. It's a nice little dockapps I use relatively frequently and it currently doesn't have a maintainer. Carlos, if these patches are accepted, could you tag the first one wmcalc-0.4 and the last wmcalc-0.5? Thanks! Doug Doug Torrance (15

[PATCH 04/15] wmcalc: Switch #include XKBlib.h to #include X11/XKBlib.h.

2015-01-10 Thread Doug Torrance
Otherwise, wmcalc fails to build. --- wmcalc/wmcalc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmcalc/wmcalc.c b/wmcalc/wmcalc.c index 19990a6..f68714b 100644 --- a/wmcalc/wmcalc.c +++ b/wmcalc/wmcalc.c @@ -38,7 +38,7 @@

[PATCH 03/15] wmcalc: Update Makefile.

2015-01-10 Thread Doug Torrance
In particular, - Drop INCLUDES and LIBINC variables; referenced deprecated X11R6 directories and INCLUDES unnecessarily included the default path. - Switch hard-coded gcc for CC variable. - Move hard-coded -02 and -Wall flags to new CFLAGS variable. - Switch ${} to $() for consistency. - Add new

[PATCH (dockapps)] Add wmcalc information for dockapps webpage.

2015-01-10 Thread Doug Torrance
--- dockapps.db.in | 11 +++ 1 file changed, 11 insertions(+) diff --git a/dockapps.db.in b/dockapps.db.in index ff7260c..67831dd 100644 --- a/dockapps.db.in +++ b/dockapps.db.in @@ -107,6 +107,17 @@ url = https://web.archive.org/web/20040417092638/http://members.cox.net/ehf_doc

[PATCH (whome)] Add wmcalc to dockapps webpage.

2015-01-10 Thread Doug Torrance
--- dockapps/dockapps.db| 13 + dockapps/img/wmcalcscr3.jpg | Bin 0 - 7628 bytes 2 files changed, 13 insertions(+) create mode 100644 dockapps/img/wmcalcscr3.jpg diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 21abb51..3918435 100644 ---

[PATCH (whome)] Update wmnet on dockapps webpage.

2015-01-11 Thread Doug Torrance
--- dockapps/dockapps.db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 3918435..e0a10f5 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -390,7 +390,7 @@ dockapps = 14 category = General/Others [wmnet]

[PATCH (whome)] Further update wmnet on dockapps webpage.

2015-01-12 Thread Doug Torrance
--- dockapps/dockapps.db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index e0a10f5..ed9e9ea 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -390,7 +390,7 @@ dockapps = 14 category = General/Others [wmnet]

[PATCH (whome)] Update wmtime on dockapps webpage.

2015-01-04 Thread Doug Torrance
--- dockapps/dockapps.db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 41a233d..21abb51 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -480,7 +480,7 @@ dockapps = 320 category = System Monitoring [wmtime]

[PATCH] Add generate-mapfile-from-header.sh to distribution tarball.

2015-01-05 Thread Doug Torrance
--- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ddbb0c9..d3d4221 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,7 +38,8 @@ EXTRA_DIST = TODO BUGS BUGFORM FAQ FAQ.I18N INSTALL \ The-perfect-Window-Maker-patch.txt \

[PATCH (whome)] Update wmbattery on dockapps webpage.

2015-02-20 Thread Doug Torrance
--- dockapps/dockapps.db | 1 + 1 file changed, 1 insertion(+) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 4b0b1f8..6b92add 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -116,6 +116,7 @@ dockapps = 216 category = System Monitoring [wmbattery]

Re: [PATCH 01/13] wmaker: add script to check the call-back function used when loading configuration

2015-05-10 Thread Doug Torrance
On 05/08/2015 12:15 PM, Christophe CURIS wrote: Because the C compiler cannot check the consistency between the type of the variable being pointed to, and the type expected by the call-back function that is used to parse and store the value from the configuration file, there is a risk of

[PATCH (whome)] Update wmbattery on dockapps webpage.

2015-05-14 Thread Doug Torrance
--- dockapps/dockapps.db | 1 + 1 file changed, 1 insertion(+) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 570ecbf..73f417d 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -116,6 +116,7 @@ dockapps = 216 category = System Monitoring [wmbattery]

[PATCH (whome)] Remove wmweather+ from dockapps webpage.

2015-05-15 Thread Doug Torrance
--- dockapps/dockapps.db | 11 --- dockapps/img/wmweather+.png | Bin 2846 - 0 bytes dockapps/img/wmweather+2.png | Bin 2725 - 0 bytes dockapps/img/wmweather+4.png | Bin 5447 - 0 bytes 4 files changed, 11 deletions(-) delete mode 100644 dockapps/img/wmweather+.png delete

[PATCH 06/11] wmbattery: Improve help text for -i option.

2015-05-13 Thread Doug Torrance
--- wmbattery/wmbattery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmbattery/wmbattery.c b/wmbattery/wmbattery.c index c3a8ca5..042816c 100644 --- a/wmbattery/wmbattery.c +++ b/wmbattery/wmbattery.c @@ -385,7 +385,7 @@ char *parse_commandline(int argc, char *argv[])

[PATCH 08/11] wmbattery: Fix typos.

2015-05-13 Thread Doug Torrance
Ran `codespell -w`. --- wmbattery/ChangeLog | 4 ++-- wmbattery/wmbattery.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wmbattery/ChangeLog b/wmbattery/ChangeLog index 1876f4f..70214c1 100644 --- a/wmbattery/ChangeLog +++ b/wmbattery/ChangeLog @@ -456,7 +456,7 @@

[PATCH 10/11] wmbattery: Remove unnecessary brace.

2015-05-13 Thread Doug Torrance
Fixes Invalid number of character ({) when these macros are defined errors given by cppcheck. --- wmbattery/simplehal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmbattery/simplehal.c b/wmbattery/simplehal.c index 8647e4e..cf8531d 100644 --- a/wmbattery/simplehal.c +++

[PATCH 11/11] wmbattery: Bump to version 2.48.

2015-05-13 Thread Doug Torrance
/ + + -- Doug Torrance dtorra...@monmouthcollege.edu Wed, 13 May 2015 23:31:47 -0500 + wmbattery (2.47) * Avoid redefinition of apm_read/apm_exists in *BSD. The two functions are defined if the BSD-specific apm headers are found and diff --git a/wmbattery/configure.ac b/wmbattery/configure.ac

[PATCH 09/11] wmbattery: Properly free malloced memory.

2015-05-13 Thread Doug Torrance
Fixes memory leak found by cppcheck. --- wmbattery/acpi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wmbattery/acpi.c b/wmbattery/acpi.c index 1e837d2..dc2f3bc 100644 --- a/wmbattery/acpi.c +++ b/wmbattery/acpi.c @@ -188,8 +188,10 @@ int find_items(char *itemname,

[PATCH 01/11] wmbattery: Escape hyphen in manpage.

2015-05-13 Thread Doug Torrance
Fixes hyphen-used-as-minus-sign Lintian warning in the Debian package. Patch from [1]. [1] https://sources.debian.net/src/wmbattery/2.47-1/debian/patches/escape_manpage_hyphens.patch/ --- wmbattery/wmbattery.1x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 07/11] wmbattery: Add -n option to disable dial graphic.

2015-05-13 Thread Doug Torrance
Thanks to Christoph Fritz for the feature request. --- wmbattery/mask_nodial.xbm | 46 ++ wmbattery/wmbattery.1 | 3 +++ wmbattery/wmbattery.c | 14 -- 3 files changed, 61 insertions(+), 2 deletions(-) create mode 100644

[PATCH 03/11] wmbattery: Makefile - use autoheader too

2015-05-13 Thread Doug Torrance
From: Christoph Fritz chf.fr...@googlemail.com instead, configure complains about: config.status: error: cannot find input file: `config.h.in' --- wmbattery/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/wmbattery/Makefile b/wmbattery/Makefile index b46144f..a789c50 100644 ---

[PATCH 04/11] wmbattery: upower - don't exit after suspend/hibernation wakup

2015-05-13 Thread Doug Torrance
From: Christoph Fritz chf.fr...@googlemail.com Immediately after suspend/hibernation wakup cycle, up_client_get_devices() can fail: libupower-glib-WARNING **: up_client_get_devices failed: Timeout was reached Since we do not interpret the UPower signals, just don't exit wmbattery after first

[PATCH 1/2] wmload: Clarify copyright information.

2015-04-15 Thread Doug Torrance
Add copyright header to wmload.c and COPYING file, obtained from https://www.gnu.org/licenses/gpl-2.0.txt. --- wmload/COPYING | 339 wmload/wmload.c | 20 2 files changed, 359 insertions(+) create mode 100644 wmload/COPYING diff

[PATCH 2/2] wmload: Bump to version 0.9.6.

2015-04-15 Thread Doug Torrance
--- wmload/ChangeLog | 6 ++ wmload/wmload.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/wmload/ChangeLog b/wmload/ChangeLog index a2ecb7a..24872a2 100644 --- a/wmload/ChangeLog +++ b/wmload/ChangeLog @@ -1,3 +1,9 @@ +VERSION: 0.9.6 +RELEASE DATE: 15 April 2015 +

[PATCH 0/2] wmload

2015-04-15 Thread Doug Torrance
-0.9.6? Thanks! Doug Torrance (2): wmload: Clarify copyright information. wmload: Bump to version 0.9.6. wmload/COPYING | 339 +++ wmload/ChangeLog | 6 + wmload/wmload.c | 22 +++- 3 files changed, 366 insertions(+), 1 deletion

[PATCH (whome)] Update wmload on dockapps webpage.

2015-04-15 Thread Doug Torrance
--- dockapps/dockapps.db | 1 + 1 file changed, 1 insertion(+) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 24a1dfb..570ecbf 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -331,6 +331,7 @@ dockapps = 215 category = General/Others [wmload] +version-0.9.6 =

[PATCH 09/17] wmload: Incorporate changes from asload-0.9.3.

2015-04-07 Thread Doug Torrance
Obtained from [1]. [1] http://tigr.net/afterstep/download/asload/asload-0.9.3.tar.gz --- wmload/ChangeLog | 7 +++ wmload/wmload.c | 25 + 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/wmload/ChangeLog b/wmload/ChangeLog index 270dc7a..025865b

[PATCH 11/17] wmload: Remove trailing whitespace.

2015-04-07 Thread Doug Torrance
--- wmload/wmload.c | 68 - 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index ad928e3..893856b 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -32,7 +32,7 @@ int ONLYSHAPE=0; /*

[PATCH 10/17] wmload: Incorporate changes from asload-0.9.4.

2015-04-07 Thread Doug Torrance
Obtained from [1]. [1] http://tigr.net/afterstep/download/asload/asload-0.9.4.tar.gz --- wmload/ChangeLog | 7 ++ wmload/wmload.c | 66 2 files changed, 69 insertions(+), 4 deletions(-) diff --git a/wmload/ChangeLog

[PATCH 06/17] wmload: Pass XCreateBitmapFromData a pointer to char as expected.

2015-04-07 Thread Doug Torrance
Previously, a pointer to an unsigned char was passed, causing a pointer targets differ in signedness [-Wpointer-sign] warning. --- wmload/wmload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index a7743ce..6e6199f 100644 ---

[PATCH 05/17] wmload: Add more missing headers.

2015-04-07 Thread Doug Torrance
Fixes -Wimplicit-function-declaration warnings. --- wmload/wmload.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmload/wmload.c b/wmload/wmload.c index 648d79e..a7743ce 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -1,6 +1,8 @@ +#include ctype.h #include stdio.h #include

[PATCH 07/17] wmload: Add manpage from Debian.

2015-04-07 Thread Doug Torrance
Slightly modified from [1]. Also modify Makefile to install manpage. [1] http://manned.org/wmload/a214d0b5/src --- wmload/Makefile | 3 +++ wmload/wmload.1 | 51 +++ 2 files changed, 54 insertions(+) create mode 100644 wmload/wmload.1 diff

[PATCH 15/17] wmload: Cast data from client message event to Atom for comparison.

2015-04-07 Thread Doug Torrance
Fixes -Wsign-compare compiler warning. --- wmload/wmload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index 9ea6c9b..d593205 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -325,7 +325,7 @@ int main(int argc,char *argv[])

[PATCH 14/17] wmload: Check if Execute string is empty by testing first character.

2015-04-07 Thread Doug Torrance
Fixes the address of ‘Execute’ will always evaluate as ‘true’ [-Waddress] warning. --- wmload/wmload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index f08b9aa..9ea6c9b 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -117,7 +117,7

[PATCH 12/17] wmload: Include sys/wait.h.

2015-04-07 Thread Doug Torrance
Needed to fix implicit declaration of function ‘waitpid’ warning introduced after merging asload-0.9.4. --- wmload/wmload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wmload/wmload.c b/wmload/wmload.c index 893856b..5713d7f 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -4,6 +4,7

[PATCH 13/17] wmload: Remove /dev/console from default command to execute on click.

2015-04-07 Thread Doug Torrance
Otherwise, user may receive permission denied errors. --- wmload/wmload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index 5713d7f..f08b9aa 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -58,7 +58,7 @@ Window iconwin, win; /*

[PATCH 01/17] wmload: Add version 0.9.2 to repository.

2015-04-07 Thread Doug Torrance
Obtained from [1]. [1] http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool/main/w/wmload/wmload_0.9.2.orig.tar.gz --- wmload/INSTALL | 8 + wmload/Imakefile | 17 ++ wmload/README| 189 + wmload/back.xpm | 118 +

[PATCH 04/17] wmload: Add missing format arguments to fprintf().

2015-04-07 Thread Doug Torrance
Fixes format not a string literal and no format arguments [-Wformat-security] warnings. --- wmload/wmload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index d3bd60c..648d79e 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@

[PATCH 00/17] Add wmload

2015-04-07 Thread Doug Torrance
These patches add a new dockapp, wmload, to the dockapps repository. Carlos, could you tag the first commit wmload-0.9.2 and the last wmload-0.9.5? Thanks! Doug Torrance (17): wmload: Add version 0.9.2 to repository. wmload: Replace deprecated Imakefile with Makefile. wmload: Add missing

[PATCH 03/17] wmload: Add missing headers.

2015-04-07 Thread Doug Torrance
Fixes incompatible implicit declaration of built-in function warnings. --- wmload/wmload.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmload/wmload.c b/wmload/wmload.c index cad9970..d3bd60c 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -1,4 +1,6 @@ #include stdio.h +#include

[PATCH 02/17] wmload: Replace deprecated Imakefile with Makefile.

2015-04-07 Thread Doug Torrance
Update INSTALL to reflect changes. --- wmload/INSTALL | 9 - wmload/Imakefile | 17 - wmload/Makefile | 18 ++ 3 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 wmload/Imakefile create mode 100644 wmload/Makefile diff --git

[PATCH 17/17] wmload: Bump to version 0.9.5.

2015-04-07 Thread Doug Torrance
Skipping 0.9.3 and 0.9.4 since they've essentially already been released as asload. --- wmload/ChangeLog | 36 wmload/wmload.c | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/wmload/ChangeLog b/wmload/ChangeLog index d2c36d9..a2ecb7a

[PATCH 16/17] wmload: Replace deprecated usleep with nanosleep.

2015-04-07 Thread Doug Torrance
--- wmload/wmload.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wmload/wmload.c b/wmload/wmload.c index d593205..025460d 100644 --- a/wmload/wmload.c +++ b/wmload/wmload.c @@ -1,3 +1,5 @@ +#define _POSIX_C_SOURCE 199309L + #include stdio.h #include string.h

[PATCH 0/2] wmmemload

2015-04-07 Thread Doug Torrance
Here's a patch for wmmemload I wrote for Debian a few months ago. Carlos, could you tag the last commit wmmemload-0.1.8? Thanks! Doug Torrance (2): wmmemload: Use sysctl for swap usage information in FreeBSD. wmmemload: Bump to version 0.1.8. wmmemload/ChangeLog | 10

[PATCH 1/2] wmmemload: Use sysctl for swap usage information in FreeBSD.

2015-04-07 Thread Doug Torrance
Use sysctl instead of kvm_getswapinfo() to read the swap usage information in FreeBSD. This removes the need for a dependency on libkvm and for a setgid binary. Based on the Debian patch [1]. [1] https://sources.debian.net/src/wmmemload/0.1.7-2/debian/patches/sysctl_swap.patch/ ---

[PATCH 2/2] wmmemload: Bump to version 0.1.8.

2015-04-07 Thread Doug Torrance
--- wmmemload/ChangeLog| 10 ++ wmmemload/configure.ac | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/wmmemload/ChangeLog b/wmmemload/ChangeLog index f17a879..cf237bf 100644 --- a/wmmemload/ChangeLog +++ b/wmmemload/ChangeLog @@ -1,3 +1,13 @@ +2015 April 7 +

[PATCH (whome)] Add wmload and update wmmemload on dockapps webpage.

2015-04-07 Thread Doug Torrance
--- dockapps/dockapps.db| 10 ++ dockapps/img/wmload.gif | Bin 0 - 2140 bytes 2 files changed, 10 insertions(+) create mode 100644 dockapps/img/wmload.gif diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 6b92add..24a1dfb 100644 --- a/dockapps/dockapps.db +++

[PATCH 10/28] wmgeneral: Add proper copyright headers; fix changelog formatting.

2015-05-19 Thread Doug Torrance
--- wmSMPmon/wmgeneral/wmgeneral.c | 31 +++ wmSMPmon/wmgeneral/wmgeneral.h | 26 ++ wmckgmail/wmgeneral/misc.c | 7 --- wmckgmail/wmgeneral/misc.h | 22 ++ wmckgmail/wmgeneral/wmgeneral.c | 31

[PATCH 08/28] wmgeneral: Use field width limits for scanf.

2015-05-19 Thread Doug Torrance
This fixes (portability) scanf without field width limits can crash with huge input data on some versions of libc warning from cppcheck. We choose 10 as the field width limit as it is the number of characters in 2^31-1, the largest int. --- wmSMPmon/wmgeneral/wmgeneral.c | 4 ++--

[PATCH 07/28] wmgeneral: Reduce scope of several variables.

2015-05-19 Thread Doug Torrance
Also took the opportunity to fix some whitespace formatting. --- wmSMPmon/wmgeneral/wmgeneral.c | 59 - wmckgmail/wmgeneral/wmgeneral.c | 59 - wmcpufreq/wmgeneral/wmgeneral.c | 59

[PATCH 13/28] wmppp.app: Move source files to top directory.

2015-05-19 Thread Doug Torrance
This way, users need only type make to build instead of needing to cd wmppp first. --- wmppp.app/INSTALL | 11 +- wmppp.app/Makefile | 36 + wmppp.app/example-scripts/chap-secrets |2 +

[PATCH 14/28] wmppp.app: Fix spelling mistakes.

2015-05-19 Thread Doug Torrance
Used codespell -w. --- wmppp.app/BUGS| 2 +- wmppp.app/CHANGES | 8 wmppp.app/HINTS | 6 +++--- wmppp.app/INSTALL | 2 +- wmppp.app/README | 2 +- wmppp.app/wmppp.1 | 2 +- wmppp.app/wmppp.c | 6 +++--- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git

[PATCH 16/28] wmppp.app: Switch ifs to #ifs for macros.

2015-05-19 Thread Doug Torrance
Fixes warning: null argument where non-null required compiler warnings by not passing NULL to strdup and (warning) Conversion of string literal to bool always evaluates to true found by cppcheck. --- wmppp.app/wmppp.c | 29 +++-- 1 file changed, 19 insertions(+), 10

[PATCH 15/28] wmppp.app: Reduce scope of several variables.

2015-05-19 Thread Doug Torrance
Fixes several (style) The scope of the variable 'p' can be reduced found by cppcheck. --- wmppp.app/wmppp.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/wmppp.app/wmppp.c b/wmppp.app/wmppp.c index 7e4ecdc..10e3ebe 100644 --- a/wmppp.app/wmppp.c +++

[PATCH 09/28] wmgeneral: Use #includes from include-what-you-use.

2015-05-19 Thread Doug Torrance
--- wmSMPmon/wmgeneral/wmgeneral.c | 20 +--- wmSMPmon/wmgeneral/wmgeneral.h | 10 +++--- wmckgmail/wmgeneral/wmgeneral.c | 20 +--- wmckgmail/wmgeneral/wmgeneral.h | 10 +++--- wmcpufreq/wmgeneral/wmgeneral.c | 20 +---

[PATCH 05/28] wmgeneral: Bump to 1998-09-14 version found in wmckgmail, wmitime, wmsmp.app, wmSMPmon, and wmtz.

2015-05-19 Thread Doug Torrance
Note that wmckgmail and wmtz were identical; this is the version we use. wmSMPmon differed only with some whitespace. wmitime differed only with a bugfix (a segfault when -display is given with no argument), but this will be fixed again in the next commit. wmsm.app had patched wmgeneral to work

[PATCH 11/28] wmgeneral: Fix segfault if newline encountered in parse_rcfile.

2015-05-19 Thread Doug Torrance
From a patch for wmppp.app by Chris Gray cg...@tribsoft.com submitted to Debian to fix several bugs [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=27997 --- wmSMPmon/wmgeneral/wmgeneral.c | 7 ++- wmckgmail/wmgeneral/wmgeneral.c | 7 ++- wmcpufreq/wmgeneral/wmgeneral.c | 7

[PATCH 06/28] wmgeneral: Merge 2003-10-10 version from wmmon and wmtime.

2015-05-19 Thread Doug Torrance
Note that this was a fork of the earlier 1998-05-02 version and didn't contain the later changes. Therefore we merge the best of both versions. wmtime had some additional unnecessary dummy variables, so we use the wmmon version. --- wmSMPmon/wmgeneral/wmgeneral.c | 26

[PATCH 04/28] wmgeneral: Bump to 1998-09-11 version found in wmcpufreq and wmppp.app.

2015-05-19 Thread Doug Torrance
We update the dockapps with the older 1998-05-02 version (wmfsm, wmifs, and wmkeys), and also remove trailing whitespace from the wmcpufreq copy. --- wmcpufreq/wmgeneral/list.c | 14 +-- wmcpufreq/wmgeneral/list.h | 6 +- wmcpufreq/wmgeneral/misc.c | 26 ++---

[PATCH 18/28] wmppp.app: Replace deprecated caddr_t cast with void*.

2015-05-19 Thread Doug Torrance
--- wmppp.app/wmppp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmppp.app/wmppp.c b/wmppp.app/wmppp.c index 812a0de..932d1df 100644 --- a/wmppp.app/wmppp.c +++ b/wmppp.app/wmppp.c @@ -904,7 +904,7 @@ void get_ppp_stats(struct ppp_stats *cur) { memset(req, 0,

[PATCH 27/28] wmppp.app: Command line options take precedence over configuration files.

2015-05-19 Thread Doug Torrance
Since we now reread the configuration files on occasion, the options given at the command line could be overwritten. To avoid this, we save the command line options and always use them if present. --- wmppp.app/wmppp.c | 28 +++- 1 file changed, 23 insertions(+), 5

[PATCH 24/28] wmppp.app: Fix segfault if stop_action or start_action strings are NULL.

2015-05-19 Thread Doug Torrance
--- wmppp.app/wmppp.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wmppp.app/wmppp.c b/wmppp.app/wmppp.c index 7758eee..a1f1196 100644 --- a/wmppp.app/wmppp.c +++ b/wmppp.app/wmppp.c @@ -637,7 +637,8 @@ void wmppp_routine(int argc, char **argv) {

[PATCH 28/28] wmppp.app: Bump to version 1.3.1.

2015-05-19 Thread Doug Torrance
--- wmppp.app/CHANGES | 126 ++ wmppp.app/README | 2 +- wmppp.app/wmppp.c | 2 +- 3 files changed, 128 insertions(+), 2 deletions(-) diff --git a/wmppp.app/CHANGES b/wmppp.app/CHANGES index 6ff7e68..89850fb 100644 --- a/wmppp.app/CHANGES

[PATCH 22/28] wmppp.app: Update Makefile.

2015-05-19 Thread Doug Torrance
Main change is to use $(INSTALL) instead of cp in install target along with $(DESTDIR) variable. We also remove installation of user ~/.wmppprc config file -- this isn't useful for sysadmins or package maintainers. We also update INSTALL to reflect the changes. --- wmppp.app/INSTALL | 7

[PATCH 23/28] wmppp.app: Fix segfault when HOME undefined.

2015-05-19 Thread Doug Torrance
Instead, we exit with an error message. This fixes Debian bug #716472 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716472 --- wmppp.app/wmppp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/wmppp.app/wmppp.c b/wmppp.app/wmppp.c index 43fb696..7758eee 100644 ---

[PATCH 25/28] wmppp.app: Add new command line options.

2015-05-19 Thread Doug Torrance
We add command line options for the user to change the start, stop, speed, ifdown, and stampfile settings at runtime. This closes a Debian wishlist bug [1]. Note that, in order to have the command line options overwrite the defaults set in the configuration file, we split the command line

<    1   2   3   4   5   6   7   8   9   10   >