[PATCH 07/24] wmifs: Fix "overflow in implicit constant conversion" compiler warnings.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs-mask.xbm | 2 +- wmifs/wmifs.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wmifs/wmifs-mask.xbm b/wmifs/wmifs-mask.xbm index 8599f49..9b0c27e 100644 --- a/wmifs/wmifs-mask.xbm +++ b/wmifs/wmifs-mask.xbm @@ -1,6 +1,6 @@ #define wmifs_mask_width 64

[PATCH 05/24] wmifs: Fix "suggest braces around empty body in an ‘if’ statement" compiler warning.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index c1c2ac9..c124cc3 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -961,8 +961,9 @@ void get_ppp_stats(struct ppp_stats *cur) sprintf(req.ifr__name, "ppp%d", PPP_UN

[PATCH 04/24] wmifs: Update Makefile.

2015-05-27 Thread Doug Torrance
In particular, - Drop unnecessary definition of DESTDIR. - Drop LIBDIR; pointed to deprecated X11R6 directory. - Honors CPPFLAGS and LDFLAGS build flags. - Remove out-of-date version number from installation message. Based in part on a patch from the Debian package [1]. [1] https://sources.debian

[PATCH 08/24] wmifs: Replace deprecated caddr_t with void *.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 0bb0e89..22ce9bf 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -957,7 +957,7 @@ void get_ppp_stats(struct ppp_stats *cur) memset(&req, 0, sizeof(req)); -

[PATCH 09/24] wmifs: Replace deprecated usleep with nanosleep.

2015-05-27 Thread Doug Torrance
Although defining _DEFAULT_SOURCE is overkill for nanosleep, it also fixes "field ‘b’ has incomplete type" errors, as we need __USE_MISC defined to pick up the definition of ifreq in . --- wmifs/wmifs.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wmifs/wmifs.c b/wmi

[PATCH 10/24] wmifs: Add -c command line option allowing users to set color.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.1 | 3 +++ wmifs/wmifs.c | 73 +++ 2 files changed, 76 insertions(+) diff --git a/wmifs/wmifs.1 b/wmifs/wmifs.1 index d22b954..42f4b1b 100644 --- a/wmifs/wmifs.1 +++ b/wmifs/wmifs.1 @@ -54,6 +54,9 @@ Scrolling interval, in s

[PATCH 11/24] wmifs: Reformat help text for readability.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 1344405..7b128da 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -1001,15 +1001,15 @@ void usage(void) fprintf(stderr, "\nwmifs - programming: tijn

[PATCH 13/24] wmifs: Honor CONF Makefile variable when parsing system config files.

2015-05-27 Thread Doug Torrance
--- wmifs/Makefile | 2 +- wmifs/wmifs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wmifs/Makefile b/wmifs/Makefile index e2d8986..e442ed3 100755 --- a/wmifs/Makefile +++ b/wmifs/Makefile @@ -20,7 +20,7 @@ INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 INSTA

[PATCH 12/24] wmifs: Add support for wmgeneral's -geometry command line option.

2015-05-27 Thread Doug Torrance
Also take the opportunity to correct the manpage; the -d option should be -display. --- wmifs/wmifs.1 | 5 - wmifs/wmifs.c | 7 +++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/wmifs/wmifs.1 b/wmifs/wmifs.1 index 42f4b1b..3583a86 100644 --- a/wmifs/wmifs.1 +++ b/wmifs/wmi

[PATCH 15/24] wmifs: Don't ignore geometry strings beginning with '-'.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 0f25456..07097f2 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -348,8 +348,10 @@ int main(int argc, char *argv[]) WaveForm = 1;

[PATCH 14/24] wmgeneral: Add support for X geometry strings to -geometry option.

2015-05-27 Thread Doug Torrance
In particular, we can specify the offsets from the right and bottom of the screen using '-', e.g., '-geometry -64-64' places the dockapp in the lower right corner of the screen. --- wmSMPmon/wmgeneral/wmgeneral.c | 16 ++-- wmckgmail/wmgeneral/wmgeneral.c | 16 ++-- wmcpuf

[PATCH 16/24] wmifs: Throw out first /proc/net/dev reading.

2015-05-27 Thread Doug Torrance
If we keep it, we start with a huge spike and everything else is zero until the spike finally leaves the window several moments later. --- wmifs/wmifs.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 07097f2..64f8b67 100644 --- a/wm

[PATCH 17/24] wmifs: Tidy #includes using include-what-you-use.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 47 +++ 1 file changed, 19 insertions(+), 28 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 64f8b67..b42811b 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -177,34 +177,25 @@ */ #define _DEFAULT_SOURCE -#include

[PATCH 19/24] wmifs: Convert strtok() calls to thread-safe strtok_r().

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 93ea6a3..36e1081 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -714,7 +714,7 @@ int get_statistics(char *devname, long *ip, long *op, long *is, long *os)

[PATCH 18/24] wmifs: Reduce scopes of variables (fixes style warnings from cppcheck).

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index b42811b..93ea6a3 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -665,7 +665,6 @@ void DrawActiveIFS(char *real_name) */ size_t

[PATCH 20/24] wmifs: Add proper copyright header.

2015-05-27 Thread Doug Torrance
--- wmifs/wmifs.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c index 36e1081..4ced234 100644 --- a/wmifs/wmifs.c +++ b/wmifs/wmifs.c @@ -1,4 +1,21 @@ -/* +/* WMiFS - a complete network monitoring dock.app +Copyright (C)

[PATCH 21/24] wmifs: Update Window Maker instructions in HINTS.

2015-05-27 Thread Doug Torrance
--- wmifs/HINTS | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wmifs/HINTS b/wmifs/HINTS index 163f721..7f36a61 100644 --- a/wmifs/HINTS +++ b/wmifs/HINTS @@ -29,9 +29,13 @@ lo was mainly build in for testing purposes ;-) WindowMaker --

[PATCH 23/24] wmifs: Update README.

2015-05-27 Thread Doug Torrance
In particular, - Remove version-specific information in header. - Clarify webhost information in Credits section. --- wmifs/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wmifs/README b/wmifs/README index 3ce58e1..82c7817 100644 --- a/wmifs/README +++ b/wmifs/README

[PATCH 24/24] wmifs: Bump to version 1.5.

2015-05-27 Thread Doug Torrance
--- wmifs/CHANGES | 72 +++ wmifs/wmifs.c | 2 +- 2 files changed, 73 insertions(+), 1 deletion(-) diff --git a/wmifs/CHANGES b/wmifs/CHANGES index b30fc0e..1be1263 100644 --- a/wmifs/CHANGES +++ b/wmifs/CHANGES @@ -1,5 +1,77 @@ Version

[PATCH 22/24] wmifs: Remove first two installation steps in INSTALL.

2015-05-27 Thread Doug Torrance
The user must have already done these two things already to be able to read INSTALL in the first place. --- wmifs/INSTALL | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/wmifs/INSTALL b/wmifs/INSTALL index 7727d6c..a072540 100644 --- a/wmifs/INSTALL +++ b/wmifs/I

[PATCH (whome)] Update wmifs and other wmgeneral dockapps on dockapps webpage.

2015-05-27 Thread Doug Torrance
--- dockapps/dockapps.db | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index ff31f0a..8398f59 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -35,7 +35,7 @@ dockapps = 10 category = Date/Ti

[PATCH] make: Add Ukrainian translation files to EXTRA_DIST.

2015-05-28 Thread Doug Torrance
Otherwise, "make check" fails as scripts/check-translation-sources.sh returns an error. --- WPrefs.app/po/Makefile.am | 2 +- po/Makefile.am| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WPrefs.app/po/Makefile.am b/WPrefs.app/po/Makefile.am index 3b78034..2afba6

[PATCH 3/3] doc: Add manpage for wmiv.

2015-06-07 Thread Doug Torrance
--- debian/wmaker.manpages | 1 + doc/Makefile.am| 9 +++-- doc/wmiv.1 | 49 + 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 doc/wmiv.1 diff --git a/debian/wmaker.manpages b/debian/wmaker.manpages in

[PATCH 0/3] Add wmiv manpage.

2015-06-07 Thread Doug Torrance
x27;m by no means an expert on Unicode -- would this be a problem on any architectures? Doug Torrance (3): wmiv: Add long command line options --help and --version. wmiv: Improve help text. doc: Add manpage for wmiv. debian/wmaker.manpages | 1 + doc/Makefile.am| 9 +++-- doc/w

[PATCH 1/3] wmiv: Add long command line options --help and --version.

2015-06-07 Thread Doug Torrance
We will need --help for `make check` to work once we add a manpage. --- util/wmiv.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/util/wmiv.c b/util/wmiv.c index 45cc4e3..90bc88d 100755 --- a/util/wmiv.c +++ b/util/wmiv.c @@ -34,6 +34,7 @@ #include #include #in

[PATCH 2/3] wmiv: Improve help text.

2015-06-07 Thread Doug Torrance
In particular, we add entries for the two command line options for `make check` to work, add some whitespace for readability, and enclose the keys in brackets so `make check` doesn't think the - key is one of the command line options. We also capitalize Esc and the letter keys and use arrow symbol

[PATCH v2 2/2] doc: Add manpage for wmiv.

2015-06-07 Thread Doug Torrance
--- debian/wmaker.manpages | 1 + doc/Makefile.am| 9 +++-- doc/wmiv.1 | 49 + 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 doc/wmiv.1 diff --git a/debian/wmaker.manpages b/debian/wmaker.manpages in

[PATCH v2 1/2] wmiv: Improve help text.

2015-06-07 Thread Doug Torrance
In particular, we add entries for the two command line options for `make check` to work, add some whitespace for readability, and enclose the keys in brackets so `make check` doesn't think the - key is one of the command line options. We also capitalize Esc and the letter keys for readability. ---

Re: [PATCH 0/3] Add wmiv manpage.

2015-06-07 Thread Doug Torrance
On 06/07/2015 10:05 PM, Carlos R. Mafra wrote: I got this: [mafra@mac:wmaker.git]$ git am ../../Mail/dtorrance Applying: wmiv: Add long command line options --help and --version. fatal: cannot convert from d to UTF-8 [mafra@mac:wmaker.git]$ So I applied just the first patch for now. I will have

Re: Build on Ubuntu 14.04

2015-06-08 Thread Doug Torrance
On Mon, Jun 8, 2015 at 10:35 AM, Johann Haarhoff wrote: > BTW, I'm still not sure if this should go in. I think the debian/ folder > is for proper Debian(tm), and I'm not entirely sure what the differences > are for Ubuntu. Maybe someone with more .deb packaging experience can > chime in. The d

Re: Build on Ubuntu 14.04

2015-06-08 Thread Doug Torrance
On 06/08/2015 10:42 AM, Doug Torrance wrote: The debian/ folder has diverged from the official Debian package somewhat. (Just a couple minor things -- it's pretty close. Things like my wmiv patch this morning.) In case anyone's curious how close, I've attached a diff.

[PATCH 5/6] wmshutdown: Update contact information.

2015-06-12 Thread Doug Torrance
@@ 5. Author Rafael Vidal Aroca - current maintainer: Doug Torrance + current maintainer: Window Maker Developers Team + 6. Todo -Modal window for shutdown diff --git a/wmshutdown/configure.ac b/wmshutdown/configure.ac index a7f1d89

[PATCH 3/6] wmshutdown: Fix 'unused parameter' compiler warnings.

2015-06-12 Thread Doug Torrance
--- wmshutdown/wmshutdown.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wmshutdown/wmshutdown.c b/wmshutdown/wmshutdown.c index 8602d9c..0ae15e2 100644 --- a/wmshutdown/wmshutdown.c +++ b/wmshutdown/wmshutdown.c @@ -59,6 +59,7 @@ GtkWidget *cria_dock(GtkWidget *mw, unsigned int s)

[PATCH 4/6] wmshutdown: Fix 'mixed declarations and code' compiler warnings.

2015-06-12 Thread Doug Torrance
--- wmshutdown/wmshutdown.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/wmshutdown/wmshutdown.c b/wmshutdown/wmshutdown.c index 0ae15e2..429a500 100644 --- a/wmshutdown/wmshutdown.c +++ b/wmshutdown/wmshutdown.c @@ -58,6 +58,10 @@ GtkWidget *cria_dock(G

[PATCH 0/6] wmshutdown

2015-06-12 Thread Doug Torrance
This is wmshutdown, a dockapp I adopted back before I learned about the dockapps repository. I figure this is a more appropriate home. Carlos, could you tag the first patch wmshutdown-1.3 and the last wmshutdown-1.4? Thanks! Doug Doug Torrance (6): wmshutdown: Add version 1.3 to repository

[PATCH 6/6] wmshutdown: Bump to version 1.4.

2015-06-12 Thread Doug Torrance
--- wmshutdown/ChangeLog| 5 + wmshutdown/configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wmshutdown/ChangeLog b/wmshutdown/ChangeLog index fdbba13..2ae2497 100644 --- a/wmshutdown/ChangeLog +++ b/wmshutdown/ChangeLog @@ -23,3 +23,8 @@ gtk_dialo

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

2015-06-13 Thread Doug Torrance
--- dockapps.db.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/dockapps.db.in b/dockapps.db.in index 9da4884..663f352 100644 --- a/dockapps.db.in +++ b/dockapps.db.in @@ -360,6 +360,13 @@ url = dockapps = 99 category = Network +[wmshutdown] +image = wmShutdown.gif +description =

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

2015-06-13 Thread Doug Torrance
--- dockapps/dockapps.db| 9 + dockapps/img/wmShutdown.gif | Bin 0 -> 4676 bytes 2 files changed, 9 insertions(+) create mode 100644 dockapps/img/wmShutdown.gif diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 8398f59..c413178 100644 --- a/dockapps/dockapps.db ++

[PATCH] ChangeLog: Update to prepare for version 0.95.7.

2015-06-13 Thread Doug Torrance
whitespace in WindowMaker.h. - Add script to update ChangeLog from git log. (Doug Torrance ) +- wmaker: fix arbitrary shell command injection +- WINGs: add function to get button caption +- wmaker: fix maximizing window in multiple screens env + (David Maciejak ) +- WINGs: Add optional Pango text layout

[PATCH] Remove wmstickynotes from repository.

2015-06-13 Thread Doug Torrance
Upstream is still active, and version 0.7 was recently released (we only have version 0.1). Therefore, wmstickynotes is not appropriate for the repository. --- dockapps.db.in | 7 - wmstickynotes/AUTHORS | 1 - wmstickynotes/COPYING | 674 -

[PATCH (whome)] Remove wmstickynotes from dockapps webpage.

2015-06-13 Thread Doug Torrance
--- dockapps/dockapps.db | 9 - 1 file changed, 9 deletions(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index c413178..bf47a41 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -509,15 +509,6 @@ url = https://web.archive.org/web/20050404084709/http://www.hib

[PATCH 01/23] wmsun: Add version 1.03 to repository.

2015-06-14 Thread Doug Torrance
Obtained from [1]. [1] http://snapshot.debian.org/archive/debian/20091106T012259Z/pool/main/w/wmsun/wmsun_1.03%2B1.orig.tar.gz --- wmsun/BUGS | 1 + wmsun/COPYING| 339 ++ wmsun/TODO | 22 +++ wmsun/wmSun/

[PATCH 00/23] wmsun

2015-06-14 Thread Doug Torrance
Attached are a series of patches adding wmsun to the dockapps repository, along with another small update to wmgeneral. Carlos, could you tag the first commit wmsun-1.03 and the last wmsun-1.04? Thanks! Doug Doug Torrance (23): wmsun: Add version 1.03 to repository. wmsun: Update to latest

[PATCH 03/23] wmsun: Move source files to top directory.

2015-06-14 Thread Doug Torrance
--- wmsun/Makefile | 43 + wmsun/README | 7 + wmsun/SunRise.c | 236 +++ wmsun/wmSun.1| 42 + wmsun/wmSun.c| 376 +++ wmsun/wmSun/Makefile

[PATCH 02/23] wmsun: Update to latest version of wmgeneral library.

2015-06-14 Thread Doug Torrance
--- wmsun/wmgeneral/wmgeneral.c | 200 wmsun/wmgeneral/wmgeneral.h | 43 +- 2 files changed, 205 insertions(+), 38 deletions(-) diff --git a/wmsun/wmgeneral/wmgeneral.c b/wmsun/wmgeneral/wmgeneral.c index a4f13c1..f707e7f 100644 --- a/wmsun/wm

[PATCH 05/23] wmsun: Fix implicit definition warnings.

2015-06-14 Thread Doug Torrance
Add declaration for SunRise() in wmSun.c and move Interp() earlier in SunRise.c. --- wmsun/SunRise.c | 59 - wmsun/wmSun.c | 3 ++- 2 files changed, 27 insertions(+), 35 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index 11

[PATCH 04/23] wmsun: Update Makefile.

2015-06-14 Thread Doug Torrance
In particular, - Remove INCDIR, DESTDIR, and LIBDIR definitions. - Add PREFIX, BINDIR, MANDIR, and INSTALL definitions. - Add -lm to LIBS. - Drop COPTS, uname, and INCDIR and add CPPFLAGS and CFLAGS when compiling. - Drop COPTS, SYSTEM, INCDIR, and LIBDIR and add LDFLAGS when linking. - Use INSTALL

[PATCH 07/23] wmsun: Add return types to functions.

2015-06-14 Thread Doug Torrance
--- wmsun/SunRise.c | 6 +++--- wmsun/wmSun.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index c9742d5..1e16320 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -10,7 +10,7 @@ doublecosEPS = 0.91748; doublesinEPS = 0.397

[PATCH 06/23] wmsun: Remove unused variables.

2015-06-14 Thread Doug Torrance
--- wmsun/SunRise.c | 14 -- wmsun/wmSun.c | 10 -- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index 0a8e43c..c9742d5 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -120,16 +120,12 @@ UTTohhmm(double UT, int *h, in

[PATCH 08/23] wmsun: Fix "unused parameter" compiler warnings.

2015-06-14 Thread Doug Torrance
--- wmsun/SunRise.c | 1 + wmsun/wmSun.c | 1 + 2 files changed, 2 insertions(+) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index 1e16320..e66226a 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -42,6 +42,7 @@ void SunRise(int year, int month, int day, double LocalHour, double *UTRis

[PATCH 10/23] wmsun: Remove trailing whitespace.

2015-06-14 Thread Doug Torrance
--- wmsun/SunRise.c | 2 +- wmsun/wmSun.1 | 4 ++-- wmsun/wmSun.c | 62 - 3 files changed, 34 insertions(+), 34 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index e66226a..a346160 100644 --- a/wmsun/SunRise.c +++ b/wmsun

[PATCH 09/23] wmsun: Fix "overflow in implicit constant conversion" compiler warning.

2015-06-14 Thread Doug Torrance
--- wmsun/wmSun.c| 2 +- wmsun/wmSun_mask.xbm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wmsun/wmSun.c b/wmsun/wmSun.c index 4e7094a..882bfca 100644 --- a/wmsun/wmSun.c +++ b/wmsun/wmSun.c @@ -147,7 +147,7 @@ int main(int argc, char *argv[]) { -o

[PATCH 11/23] wmsun: Add support for wmgeneral -geometry command line option.

2015-06-14 Thread Doug Torrance
Also take the opportunity to fit -td option's help text on one line. --- wmsun/wmSun.1 | 6 -- wmsun/wmSun.c | 7 ++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/wmsun/wmSun.1 b/wmsun/wmSun.1 index 1256f8a..95b5ba5 100644 --- a/wmsun/wmSun.1 +++ b/wmsun/wmSun.1 @@ -2,8

[PATCH 12/23] wmsun: Remove unused UTTohhmm function.

2015-06-14 Thread Doug Torrance
--- wmsun/SunRise.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index a346160..21ff9c9 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -105,20 +105,6 @@ void SunRise(int year, int month, int day, double LocalHour, double *UTRise, dou

[PATCH 13/23] wmsun: Reduce scope of variables.

2015-06-14 Thread Doug Torrance
--- wmsun/SunRise.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index 21ff9c9..5af0842 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -12,7 +12,7 @@ doubleP2 = 6.283185307; int Interp(double ym, double y0, double

[PATCH 15/23] wmgeneral, wmsun: Use threadsafe functions.

2015-06-14 Thread Doug Torrance
--- wmSMPmon/wmgeneral/wmgeneral.c | 4 ++-- wmckgmail/wmgeneral/wmgeneral.c | 4 ++-- wmcpufreq/wmgeneral/wmgeneral.c | 4 ++-- wmfsm/wmgeneral/wmgeneral.c | 4 ++-- wmifs/wmgeneral/wmgeneral.c | 4 ++-- wmitime/wmgeneral/wmgeneral.c | 4 ++-- wmkeys/wmgeneral/wmgeneral.c| 4 ++--

[PATCH 14/23] wmsun: Add -12 command line option to use 12-hour clock.

2015-06-14 Thread Doug Torrance
--- wmsun/wmSun.1 | 3 +++ wmsun/wmSun.c | 16 2 files changed, 19 insertions(+) diff --git a/wmsun/wmSun.1 b/wmsun/wmSun.1 index 95b5ba5..33cbd88 100644 --- a/wmsun/wmSun.1 +++ b/wmsun/wmSun.1 @@ -28,6 +28,9 @@ Set longitude of observer. Set the difference beteeen UT and LT. U

[PATCH 17/23] wmsun: Add ChangeLog; changes split from wmsun.c.

2015-06-14 Thread Doug Torrance
--- wmsun/ChangeLog | 17 + wmsun/wmsun.c | 26 -- 2 files changed, 17 insertions(+), 26 deletions(-) create mode 100644 wmsun/ChangeLog diff --git a/wmsun/ChangeLog b/wmsun/ChangeLog new file mode 100644 index 000..ade93a0 --- /dev/null +++ b/wmsun/

[PATCH 16/23] wmsun: Rename executable from wmSun to wmsun.

2015-06-14 Thread Doug Torrance
--- wmsun/Makefile | 18 +-- wmsun/wmSun.1 | 47 --- wmsun/wmSun.c | 401 - wmsun/wmsun.1 | 47 +++ wmsun/wmsun.c | 401 + 5 files changed, 457 insertions(+), 457 deletion

[PATCH 18/23] wmsun: Update contact information.

2015-06-14 Thread Doug Torrance
--- wmsun/BUGS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmsun/BUGS b/wmsun/BUGS index 32f5c37..d11f084 100644 --- a/wmsun/BUGS +++ b/wmsun/BUGS @@ -1 +1 @@ -Please send bug reports to mghender...@lanl.gov +Please send bug reports to wmaker-dev@lists.windowmaker.org. --

[PATCH 19/23] wmsun: Smart display refresh for fewer wake-ups and better responsiveness.

2015-06-14 Thread Doug Torrance
Patch by Peter Colberg for Debian bug #446681 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446681 --- wmsun/wmsun.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/wmsun/wmsun.c b/wmsun/wmsun.c index ba4a95d..3f38497 100644 --- a/wmsun/wmsun.c +++

[PATCH 20/23] wmsun: Fix need to restart for Daylight Savings change.

2015-06-14 Thread Doug Torrance
Based on patch by Martin Stigge to fix Debian bug #414489 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414489 --- wmsun/wmsun.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/wmsun/wmsun.c b/wmsun/wmsun.c index 3f38497..4401aaa 100644 --- a/wmsu

[PATCH 23/23] wmsun: Bump to version 1.04.

2015-06-14 Thread Doug Torrance
--- wmsun/ChangeLog | 41 + wmsun/wmsun.c | 4 ++-- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/wmsun/ChangeLog b/wmsun/ChangeLog index ade93a0..523aa36 100644 --- a/wmsun/ChangeLog +++ b/wmsun/ChangeLog @@ -1,3 +1,44 @@ +Version 1.04

[PATCH 22/23] wmsun: Update includes using include-what-you-use.

2015-06-14 Thread Doug Torrance
--- wmsun/SunRise.c | 3 +-- wmsun/wmsun.c | 23 --- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c index 5af0842..289cfb1 100644 --- a/wmsun/SunRise.c +++ b/wmsun/SunRise.c @@ -1,5 +1,4 @@ -#include -#include +#include

[PATCH 21/23] wmsun: Escape hyphens in manpage.

2015-06-14 Thread Doug Torrance
Based on the patch for Debian by Denis Briand [1]. [1] http://sources.debian.net/src/wmsun/1.03%2B1-2/debian/patches/02_fix_hyphen-used-as-minus-sign.diff/ --- wmsun/wmsun.1 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wmsun/wmsun.1 b/wmsun/wmsun.1 index 33cbd8

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

2015-06-14 Thread Doug Torrance
--- dockapps.db.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/dockapps.db.in b/dockapps.db.in index dc7d697..18b35d1 100644 --- a/dockapps.db.in +++ b/dockapps.db.in @@ -381,6 +381,13 @@ url = https://web.archive.org/web/20050404084709/http://www.hibernaculum.net/wms dockapps = 6

[PATCH (whome)] Add wmsun and update other wmgeneral dockapps on dockapps webpage.

2015-06-14 Thread Doug Torrance
--- dockapps/dockapps.db | 32 +--- dockapps/img/wmSun.gif | Bin 0 -> 3947 bytes 2 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 dockapps/img/wmSun.gif diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index bf47a41..ca5d5a1 100644 ---

Re: [PATCH] Remove wmstickynotes from repository.

2015-06-15 Thread Doug Torrance
On 06/15/2015 03:08 AM, Paolo Pisati wrote: Can we actually engage with upstream and centralize the hosting of all the docksapp in one place? (in this case the windomaker's dockapp git tree) The windowmaker community is so sparse nowadays that having a single place where all the addons live c

[PATCH 1/3 (whome)] Add support for dockapps not hosted in the git repository.

2015-06-15 Thread Doug Torrance
Whether a dockapp is hosted or not is determined by the new "hosted" field in dockapps.db (1 = hosted, 0 = not hosted); --- dockapps/index.php | 51 --- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/dockapps/index.php b/dockapps/ind

[PATCH 2/3 (dockapps)] Document new "hosted" field in update-dockapps.pl.

2015-06-15 Thread Doug Torrance
--- update-dockapps.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update-dockapps.pl b/update-dockapps.pl index 015e166..124cc3b 100755 --- a/update-dockapps.pl +++ b/update-dockapps.pl @@ -35,6 +35,8 @@ # than one image) # description = (description, possibly taken from archive.org

[PATCH 3/3 (whome)] Add wmforecast, wmstickynotes, and wmweather+ to dockapps webpage.

2015-06-15 Thread Doug Torrance
--- dockapps/dockapps.db | 28 dockapps/img/wmforecast.png| Bin 0 -> 1811 bytes dockapps/img/wmstickynotes.png | Bin 0 -> 510 bytes dockapps/img/wmweather+.png| Bin 0 -> 2846 bytes dockapps/img/wmweather+2.png | Bin 0 -> 2725 bytes dockapps/img

[PATCH 3/3 (dockapps)] Add wmforecast, wmstickynotes, and wmweather+ information for webpage.

2015-06-15 Thread Doug Torrance
These are the first non-hosted dockapps to appear. (Note that wmstickynotes and wmweather+ were previously removed.) --- dockapps.db.in | 26 ++ 1 file changed, 26 insertions(+) diff --git a/dockapps.db.in b/dockapps.db.in index ac445b5..43675ec 100644 --- a/dockapps.db.i

Re: [PATCH] Remove wmstickynotes from repository.

2015-06-15 Thread Doug Torrance
On 06/15/2015 07:17 AM, Doug Torrance wrote: One possible compromise, which I've thought about implementing for awhile but haven’t gotten around to it yet, would be to include dockapps with active maintainers on windowmaker.org/dockapps, but just link to their webpages instead of ho

Re: Suggest to add wmgtemp to dockapps repo.

2015-06-16 Thread Doug Torrance
On 06/16/2015 10:15 PM, Konstantin Voinov wrote: I use this nice app for displaying temperature of CPU and MB. It seems, that development is abandoned, so, it could be take a good place in our repo. http://fluxcode.net/projects/wmgtemp http://fluxcode.net/files/wmgtemp-1.1.tar.gz I was actual

[PATCH] wmaker: Allow window snapping and linked workspaces simultaneously.

2015-06-20 Thread Doug Torrance
If workspaces are linked, then windows will only snap to the top or bottom of the screen. Suggested-by: Josip Deanovic --- NEWS | 8 src/moveres.c | 7 +-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index 023ceb1..fb96dbb 100644 --- a/NEWS ++

Re: [PATCH v3] NEWS: Add note about window snapping.

2015-06-20 Thread Doug Torrance
On 06/20/2015 03:41 AM, Josip Deanovic wrote: Doug, would it be to hard to not completely disable the feature in case DontLinkWorkspaces is set to "NO" but to disable just the left/right and corner snapping instead? That way someone who is using workspace linking feature could still snap a wind

Re: [PATCH v3] NEWS: Add note about window snapping.

2015-06-20 Thread Doug Torrance
On 06/20/2015 05:11 PM, Josip Deanovic wrote: I have just applied the patch and tested it and something is not right. Without workspace linking the feature is still working as usual. With workspace linking enabled I get the window frame created UP/DOWN, depending on the window position but if I

[PATCH v2] wmaker: Allow window snapping and linked workspaces simultaneously.

2015-06-20 Thread Doug Torrance
If workspaces are linked, then windows will only snap to the top or bottom of the screen. Suggested-by: Josip Deanovic --- NEWS | 8 src/moveres.c | 7 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 023ceb1..fb96dbb 100644 --- a/NEWS +

Re: [PATCH v3] NEWS: Add note about window snapping.

2015-06-20 Thread Doug Torrance
On 06/20/2015 05:11 PM, Josip Deanovic wrote: I have just applied the patch and tested it and something is not right. Without workspace linking the feature is still working as usual. With workspace linking enabled I get the window frame created UP/DOWN, depending on the window position but if I

Re: [PATCH v3] NEWS: Add note about window snapping.

2015-06-22 Thread Doug Torrance
I've attached the patch -- I hope that's ok. Doug From b836816651d1c2cb3c9435d45e03e41baccc665a Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Mon, 22 Jun 2015 09:50:51 -0500 Subject: [PATCH] wmaker: Allow configuration of window snapping detect distances. This patch introduc

[PATCH 1/2] WPrefs: Add ability to set integer values in Expert panel

2015-06-23 Thread Doug Torrance
Previously, only boolean values could be changed using the Expert panel. This patch adds the ability to change integer values. A new class, OPTION_WMAKER_INT, is added. When this class is used, a textfield and two buttons (up and down) appear instead of a checkbox. Users can either type the inte

[PATCH 2/2] WPrefs: Add snap edge and corner detect to Expert panel.

2015-06-23 Thread Doug Torrance
These are both integer values, and thus use the new OPTION_WMAKER_INT class. We also update the text describing the window snapping feature for clarification and consistency. --- NEWS| 10 ++ WPrefs.app/Expert.c | 8 +++- 2 files changed, 13 insertions(+), 5 deletions(

[PATCH 0/2] Add new snap edge/corner detect values to WPrefs.

2015-06-23 Thread Doug Torrance
In order to do this, we first need to be able to set integer values using the Expert panel, which has previously only been able to handle boolean values. Doug Torrance (2): WPrefs: Add ability to set integer values in Expert panel WPrefs: Add snap edge and corner detect to Expert panel

Re: [PATCH] New library wmgeneral

2015-08-13 Thread Doug Torrance
On 08/13/2015 11:42 AM, Rodolfo García Peñas (kix) wrote: This patch includes the library wmgeneral. The wmgeneral library is used in a lot of dockapps: $ find . -name wmgeneral ./wmkeys/wmgeneral ./wmtime/wmgeneral ./wmtz/wmgeneral ./wmsm.app/wmgeneral ./wmcpufreq/wmgeneral ./wmtv/src/wmgeneral

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

2015-08-13 Thread Doug Torrance
From: Doug Torrance --- dockapps/dockapps.db | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index a75ad5f..90f3ee1 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -442,7 +442,7 @@ dockapps = 63 category

Re: [PATCH] New library wmgeneral

2015-08-14 Thread Doug Torrance
On 08/14/2015 10:48 AM, Alexey I. Froloff wrote: On Thu, Aug 13, 2015 at 05:42:41PM +0200, Rodolfo García Peñas (kix) wrote: This patch includes the library wmgeneral. Please, don't do it! There's already libdockapp, why would we need yet another _shared_ library with, like, five functions? Wh

Re: [PATCH 1/3] Include libwmgeneral in libdockapp

2015-08-15 Thread Doug Torrance
On 08/15/2015 04:38 AM, Rodolfo García Peñas (kix) wrote: > This patch includes the libwmgeneral library in the libdockapp > library. > > The new library is now version 3 (previous was version 2) and it > includes the new include folder in $libdir/libdockapp. > > The wmgeneral files were moved fr

[PATCH (whome)] Update libdockapp, wmmon, and wmtime on dockapps webpage.

2015-08-15 Thread Doug Torrance
--- dockapps/dockapps.db | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index 90f3ee1..bdad482 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -9,6 +9,7 @@ dockapps = 253 category = Audio [libdockapp] +versio

Re: [PATCH 01/14] wmkeys compilation bugs

2015-08-15 Thread Doug Torrance
On 08/15/2015 06:29 PM, Rodolfo García Peñas (kix) wrote: > I modified all other dockapps. Thanks for doing this! > The wmbiff dockapp includes a different wmgeneral library. This dockapp > doesn't compile. I don't include this new code in libdockapps because > include code of application that do

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

2015-08-16 Thread Doug Torrance
--- dockapps/dockapps.db | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/dockapps/dockapps.db b/dockapps/dockapps.db index bdad482..87da7c2 100644 --- a/dockapps/dockapps.db +++ b/dockapps/dockapps.db @@ -40,7 +40,7 @@ dockapps = 10 category = Date/T

Re: [PATCH (whome)] Update libdockapp, wmmon, and wmtime on dockapps webpage.

2015-08-17 Thread Doug Torrance
On 08/17/2015 06:24 AM, Alexey I. Froloff wrote: > On Sat, Aug 15, 2015 at 11:45:25AM -0400, Doug Torrance wrote: >> +version-1.2b1+20150815 = >> 537c3de536e0d7b95dee8d89ceb0d12d4736cc39 +version-1.3+20150815 = >> 32d124860cd15c6379997b4bad8614181e6a294a > Why can't yo

Re: [PATCH] New library wmgeneral

2015-08-17 Thread Doug Torrance
On 08/17/2015 06:32 AM, Alexey I. Froloff wrote: > Thank you. If only there would be reliable tarball source, I'd > be happy. > > $ wget -O libdockapp-0.7.0.tar.gz-one > http://windowmaker.org/dockapps/\?download\=libdockapp-0.7.0.tar.gz > ... > $ sleep 4 > $ wget -O libdockapp-0.7.0.tar.gz-two

[PATCH 0/2] wmitime

2015-08-20 Thread Doug Torrance
These patches add a little documentation and bump the version number after kix's recent patch moving wmgeneral to libdockapp. Carlos, could you tag the last commit wmitime-0.5? Thanks! Doug Torrance (2): wmitime: Add note about libdockapp to README. wmitime: Bump to version 0.5. wm

[PATCH 1/2] wmitime: Add note about libdockapp to README.

2015-08-20 Thread Doug Torrance
--- wmitime/README | 4 1 file changed, 4 insertions(+) diff --git a/wmitime/README b/wmitime/README index 285be7c..5fc6b48 100644 --- a/wmitime/README +++ b/wmitime/README @@ -20,6 +20,10 @@ Let me know what you think of it. ;) Installing

[PATCH 2/2] wmitime: Bump to version 0.5.

2015-08-20 Thread Doug Torrance
--- wmitime/CHANGES | 4 wmitime/wmitime.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wmitime/CHANGES b/wmitime/CHANGES index 71fc433..7a744ad 100644 --- a/wmitime/CHANGES +++ b/wmitime/CHANGES @@ -1,5 +1,9 @@ VersionDescription -

[PATCH 0/5] wmtime

2015-08-20 Thread Doug Torrance
The following patches fix some bugs in wmfsm and let the user know about kix's recent patch moving wmgeneral to libdockapp. Carlos, could you tag the last commit wmfsm-0.36? Thanks! Doug Torrance (5): wmfsm: Add note about libdockapp to README. wmfsm: Move wmfsm_master.xpm from make

[PATCH 1/5] wmfsm: Add note about libdockapp to README.

2015-08-20 Thread Doug Torrance
--- wmfsm/README | 4 1 file changed, 4 insertions(+) diff --git a/wmfsm/README b/wmfsm/README index 38791da..11f1b9a 100644 --- a/wmfsm/README +++ b/wmfsm/README @@ -1,3 +1,7 @@ +Requirements: +libdockapp (at least version 0.7.0) +http://windowmaker.org/dockapps/?name=libdockapp + Installa

[PATCH 5/5] wmfsm: Bump to version 0.36.

2015-08-20 Thread Doug Torrance
Doug Torrance + + * ChangeLog, configure.ac: Bump to version 0.36. + +2015-08-21 Doug Torrance + + * wmfsm/wmfsm.c: Handle errors related to the HOME + environment variable. In particular, if HOME is undefined, then a + segmentation fault will occur. Also, if HOME is at

[PATCH 4/5] wmfsm: Handle errors related to the HOME environment variable.

2015-08-20 Thread Doug Torrance
In particular, if HOME is undefined, then a segmentation fault will occur. Also, if HOME is at least 245 characters, then a buffer overflow will occur. We check for these conditions and exit with an error message instead. Patch obtained from Debian package [1]. [1] https://sources.debian.net/src

[PATCH 3/5] wmfsm: Lengthen the buffer for mount options to decrease the likelihood of a stack buffer overflow.

2015-08-20 Thread Doug Torrance
--- wmfsm/wmfsm/wmfsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmfsm/wmfsm/wmfsm.c b/wmfsm/wmfsm/wmfsm.c index 46c5395..3032b76 100644 --- a/wmfsm/wmfsm/wmfsm.c +++ b/wmfsm/wmfsm/wmfsm.c @@ -513,7 +513,7 @@ readFileSystems() #else /* __OpenBSD__ || __FreeBSD__ */

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