Commit graph

927 commits

Author SHA1 Message Date
Doug Torrance 9b41489c42 wmframepic: Update call to AM_INIT_AUTOMAKE.
Also take the opportunity to include the Window Maker dev mailing list in
AC_INIT.
2017-08-20 16:12:14 +01:00
Doug Torrance 83c0bb973e wmframepic: Rename configure.in to configure.ac. 2017-08-20 16:12:14 +01:00
Doug Torrance b6071dbd1f wmframepic: Remove generated autotools and mercurial files 2017-08-20 16:12:14 +01:00
Doug Torrance 7016179add wmframepic: Add version 0.1 to the repository. 2017-08-20 16:12:14 +01:00
Doug Torrance 2742762243 wmmoonclock: Bump to version 1.29. 2017-08-15 00:05:43 +01:00
Doug Torrance 4d99734d71 wmmoonclock: Add desktop entry file. 2017-08-15 00:05:43 +01:00
Doug Torrance 51be431e82 wmmoonclock: Use correct includes for each file. 2017-08-15 00:05:43 +01:00
Doug Torrance b9cdeb56df wmmoonclock: Use unsigned char in mask bitmap to avoid overflow warnings. 2017-08-15 00:05:43 +01:00
Doug Torrance 49b3e6a9f3 wmmoonclock: Remove unused variables. 2017-08-14 23:55:51 +01:00
Doug Torrance b602284e2e wmmoonclock: Correct bug report email address. 2017-08-14 23:55:51 +01:00
Doug Torrance 97bc9e41e2 wmmoonclock: Rename changelog to ChangeLog; clean up and split off TODO. 2017-08-14 23:55:51 +01:00
Doug Torrance 509deea873 wmmoonclock: Use autotools for build. 2017-08-14 23:55:51 +01:00
Doug Torrance 3cbdd1664a libdockapp: Use Requires.private in pkg-config file to avoid overlinking. 2017-08-13 10:32:45 +01:00
Doug Torrance 0fcfc7aa4e wmmon: Bump to version 1.3. 2017-08-12 22:40:32 +01:00
Doug Torrance e1abd5ceee wmmon: Update documentation. 2017-08-12 22:40:32 +01:00
Doug Torrance ce3921d830 wmmon: Add desktop entry file. 2017-08-12 22:40:32 +01:00
Doug Torrance 3ec1a9cde3 wmmon: Fix jiffy counter overflowing long on 32-bit systems.
Based on patch by Pedro Gimeno Fortea for Debian bug #670151 [1].

[1] https://bugs.debian.org/670151
2017-08-12 22:40:32 +01:00
Doug Torrance cd2115dbe8 wmmon: Use consistent data types. 2017-08-12 22:40:32 +01:00
Doug Torrance 4a1a75e65a wmmon: Remove redundant #define. 2017-08-12 22:40:32 +01:00
Doug Torrance a7a65a17ce wmmon: Update includes based on results of include-what-you-use. 2017-08-12 22:40:32 +01:00
Doug Torrance 61ff28e190 wmmon: Use autotools for build. 2017-08-12 22:40:32 +01:00
Doug Torrance 0306231dcb wmmon: Move all source files to top directory for simplicity. 2017-08-12 22:40:32 +01:00
Doug Torrance 30b9214176 wmbutton: Bump to version 0.7.1. 2017-07-16 10:39:52 +01:00
Doug Torrance 3b19b7c52e wmbutton: Update contact information. 2017-07-16 10:39:52 +01:00
Doug Torrance b96ef2835f wmbutton: Add freedesktop.org desktop entry file. 2017-07-16 10:39:52 +01:00
Doug Torrance 1a40caacaa wmbutton: Remove version number from README and source code comment. 2017-07-16 10:39:52 +01:00
Doug Torrance 726e538471 wmbutton: Use version number from autoconf. 2017-07-16 10:39:52 +01:00
Doug Torrance 8ba7f5d982 wmbutton: Add entry for v0.7.0 to ChangeLog. (Based on git log.) 2017-07-16 10:39:52 +01:00
Doug Torrance f2f9f49ab0 wmbutton: Split ChangeLog off from README into its own file.
This will fix the 'no-upstream-changelog' Lintian warning in the Debian
package.
2017-07-16 10:39:52 +01:00
Doug Torrance 70854de371 wmbutton: Use autotools for build. 2017-07-16 10:39:52 +01:00
Doug Torrance a9c5c38e4f wmbutton: Rename sample.wmbutton to wmbutton.conf, as this will be its name after installation. 2017-07-16 10:39:52 +01:00
Doug Torrance ad780663d9 wmbiff: Bump to version 0.4.31. 2017-06-24 17:07:02 +01:00
Doug Torrance bba01f1b6a wmbiff: Remove #define _GNU_SOURCE; already defined in CFLAGS. 2017-06-24 17:07:02 +01:00
Doug Torrance 3b000774cc wmbiff: Manually copy mailbox path.
Patch by Demi <m@tfiu.de> to fix Debian bug #621690.

From https://bugs.debian.org/621690:

> wmbiff change path of my mailboxes next nearest.
>
> For example wmbiff change 'gleb' to 'glil' for second and fourth mailboxes.
> However the 1st, 3rd and 5th mailboxes have correct path.

Well, the indices don't really enter.  I'm actually surprised this
isn't more trouble.

The underlying reason is that in wmbiff.c:parse_mbox_path, the
program calls

  mboxCreate((&mbox[item]), mbox[item].path);

which for maildirs calls

  int maildirCreate(Pop3 pc, const char *str)

in maildirClient.c.  str in this way is an alias for pc->path.

In maildirCreate, after some char acrobatics, the program eventually
does

  strncpy(pc->path, str + 8 + i, BUF_BIG - 1);

to cut off the leading stuff from the maildir.  The result of this
operation is not defined, as pc->path and str point to the same
memory and thus the arguments overlap, which strncpy outlaws.

A simple fix is to copy manually, like this:

		DM(pc, DEBUG_ERROR, "maildir '%s' is too long.\n", str + 8 + i);
		memset(pc->path, 0, BUF_BIG);
	} else {
+		const char *sp = str + 8 + i;
+		char *dp = pc->path;
+
+		while (*sp && sp-str<BUF_BIG-1) {
+			*dp++ = *sp++;
+		}
+		*dp = 0;
-		strncpy(pc->path, , BUF_BIG - 1);	/* cut off ``maildir:'' */
	}

-- it's what I'm doing now.  But I give you that's a bit pedestrian.
2017-06-24 17:07:02 +01:00
Doug Torrance 24c0e4e4f2 libdockapp: Don't withdraw dockapps in windowed mode.
In Window Maker, windows with application class "DockApp" are automatically
withdrawn.  We don't want this in windowed mode. We use the application
name instead, with the usual convention of capitalizing the initial letter.
2017-04-27 11:29:10 +01:00
Doug Torrance fa7743bc58 libdockapp: Do not include pathnames in Window Name and Class Properties
Patch by Corin-EU from GitHub [1].

In libdockapps file wmgeneral.c, wname is set from argv[0] and is then used
to set the window name and class resource. Often applications are called with
their full path which then means that the window name has a path in it,
thereby requiring an unwieldy path specific string for "Name" in WMState if
the applet is to be captured in the WM dock.

The simple solution is that wname should be the basename of argv[0] to
ensure that the window name for the applet is the simple and obvious one.
Thus the inclusion of header file libgen.h is required.

Just say "no" to path slashes "/" in window name/class resources ....

[1] https://github.com/d-torrance/dockapps/issues/5
2017-04-26 23:27:19 +01:00
Doug Torrance 139c230a8a wmtictactoe: Avoid buffer overflow by allowing room for null terminator. 2017-03-06 02:08:53 +00:00
Doug Torrance ffc4386b41 wmtictactoe: Use wmgeneral from libdockapp. 2017-03-06 02:08:53 +00:00
Doug Torrance fb561ea71b wmtictactoe: Add version 1.1 to repository.
Obtained from:
http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmtictactoe-1.1-1.tar.gz
2017-03-06 02:08:53 +00:00
Doug Torrance e467912211 wmweather: Remove dockapp; still actively maintained elsewhere.
Last release August 2016.  See:
https://people.debian.org/~godisch/wmweather/
2017-03-03 12:02:31 +00:00
Doug Torrance 4a41e292cb wmxss: Delete NFS "silly rename" file.
These are created by NFS clients to help delete files.  See:
http://nfs.sourceforge.net/#faq_d2

We don't need this in git.

Reported-by: Nerijus Baliunas <nerijus@users.sourceforge.net>
2017-03-01 00:35:48 +00:00
Doug Torrance 438f06672f wmappkill: Use g_free from glib instead of glibtop_free.
gliptop_free no longer exists.
2017-02-28 10:39:21 +00:00
Doug Torrance 37712e08b0 wmappkill: Use pkg-config for glib build flags. 2017-02-28 10:39:21 +00:00
Doug Torrance 00a948e61a wmail: Specify libdockapper header file directory. 2017-02-28 10:39:21 +00:00
Doug Torrance ca965667c9 wmail: Link shared lbraries in correct order. 2017-02-28 10:39:21 +00:00
Doug Torrance 32a301b73c wmail: Remove autogenerated configure file from git. 2017-02-28 10:39:21 +00:00
Doug Torrance 38a3b251be washerdryer: Use wmgeneral from libdockapp. 2017-02-28 10:39:21 +00:00
Doug Torrance a25f4b8a73 washerdryer: Use pkg-config for GTK build flags. 2017-02-28 10:39:21 +00:00
Doug Torrance efb171a5dc cnslock: Bump to version 1.03. 2017-02-28 10:38:00 +00:00
Doug Torrance 93c3d0ca7e cnslock: Add desktop entry file. 2017-02-28 10:38:00 +00:00