Commit graph

1041 commits

Author SHA1 Message Date
Doug Torrance 0bf0879286 wmressel: Use automake. 2017-08-27 21:56:47 +02:00
Doug Torrance 82a61e5ba6 wmressel: Use pkg-config to find libraries. 2017-08-27 21:56:47 +02:00
Doug Torrance 6490155d4b wmressel: Remove obselete AC_C_CONST macro. 2017-08-27 21:56:47 +02:00
Doug Torrance 1f8a566513 wmressel: Rename configure.in -> configure.ac. 2017-08-27 21:56:47 +02:00
Doug Torrance 8a9f4328df wmressel: Remove generated configure script from git. 2017-08-27 21:56:47 +02:00
Doug Torrance 57e83d4702 wmressel: Add version 0.8 to the repository.
From
http://http.debian.net/debian/pool/main/w/wmressel/wmressel_0.8.orig.tar.gz
2017-08-27 21:50:13 +02:00
Doug Torrance c50ceb41d7 yawmppp: Add version 2.0.2 to the repository.
Obtained from:
https://archive.org/download/tucows_59618_yawmppp/yawmppp-2.0.2.tar.gz
2017-08-23 17:15:58 +02:00
Doug Torrance c1f2d4c11b wmframepic: Bump to version 0.2. 2017-08-20 16:12:14 +01:00
Doug Torrance 93f490eee6 wmframepic: Add --version command line option 2017-08-20 16:12:14 +01:00
Doug Torrance 5214230797 wmframepic: Make sure xpm/xbm files will be included in tarball. 2017-08-20 16:12:14 +01:00
Doug Torrance c7fa4d3d5f wmframepic: Remove reference to nonexisting config.h. 2017-08-20 16:12:14 +01:00
Doug Torrance c93e4e8bd9 wmframepic: Add includes and declarations to avoid implicit declarations. 2017-08-20 16:12:14 +01:00
Doug Torrance 04bddc625f wmframepic: Use pkg-config to check for libraries. 2017-08-20 16:12:14 +01:00
Doug Torrance 7a9d0f168c wmframepic: Remove obselete AM_PROG_CC_C_O macro. 2017-08-20 16:12:14 +01:00
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