Commit graph

78 commits

Author SHA1 Message Date
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 219e04f6ad Update mailing list links to new Google Groups. 2018-05-14 23:34:53 +01:00
Doug Torrance 5f0800719e wmifs: Bump to version 1.8. 2016-04-20 01:01:26 -04:00
Doug Torrance 7545c92c63 wmifs: Fix typos.
Ran `codespell -w .`.
2016-04-20 01:01:26 -04:00
Doug Torrance dd5ea70c7c wmifs: Display version number from configure.ac with -v option. 2016-04-20 01:01:26 -04:00
Doug Torrance 9aa3fefdfb wmifs: Bump to version 1.7. 2016-04-19 17:02:12 -04:00
Doug Torrance 5a9ff14544 wmifs: Update INSTALL after switch to autotools. 2016-04-19 17:02:12 -04:00
Doug Torrance fbbc06d554 wmifs: Add desktop entry file. 2016-04-19 17:02:12 -04:00
Doug Torrance a70ee1fafb wmifs: Switch to autotools for build. 2016-04-19 17:02:12 -04:00
Doug Torrance 37e7f6b54b wmifs: Fix buffer overflow if interface has name > 8 characters.
Patch by anomie@users.sourceforge.net to fix Debian bug #805519. [1]

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805519
2016-04-19 12:06:03 -04:00
Doug Torrance ed6f2efc00 wmifs: Bump to version 1.6. 2015-08-25 15:38:01 +01:00
Doug Torrance bde2e76fa2 wmifs: Add note about libdockapp to INSTALL. 2015-08-25 15:38:01 +01:00
Rodolfo García Peñas (kix) 5a3e03c192 wmifs uses libdockapp
wmifs uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Doug Torrance e46ebfcb20 wmgeneral, wmsun: Use threadsafe functions. 2015-06-14 23:23:24 +01:00
Doug Torrance 0a5f2cf8b5 wmifs: Bump to version 1.5. 2015-05-28 00:36:23 +01:00
Doug Torrance 89da4045af wmifs: Update README.
In particular,
- Remove version-specific information in header.
- Clarify webhost information in Credits section.
2015-05-28 00:36:23 +01:00
Doug Torrance 3033f80310 wmifs: Remove first two installation steps in INSTALL.
The user must have already done these two things already to be able to
read INSTALL in the first place.
2015-05-28 00:36:23 +01:00
Doug Torrance 619ee7c8ca wmifs: Update Window Maker instructions in HINTS. 2015-05-28 00:36:23 +01:00
Doug Torrance 88a398ff01 wmifs: Add proper copyright header. 2015-05-28 00:36:23 +01:00
Doug Torrance 8a960f1d3b wmifs: Convert strtok() calls to thread-safe strtok_r(). 2015-05-28 00:36:23 +01:00
Doug Torrance 78ad4e4380 wmifs: Reduce scopes of variables (fixes style warnings from cppcheck). 2015-05-28 00:36:23 +01:00
Doug Torrance ea33cf06ce wmifs: Tidy #includes using include-what-you-use. 2015-05-28 00:36:23 +01:00
Doug Torrance 951f7624c6 wmifs: Throw out first /proc/net/dev reading.
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.
2015-05-28 00:36:23 +01:00
Doug Torrance 9601a58aae wmifs: Don't ignore geometry strings beginning with '-'. 2015-05-28 00:36:23 +01:00
Doug Torrance a332db862a wmgeneral: Add support for X geometry strings to -geometry option.
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.
2015-05-28 00:36:23 +01:00
Doug Torrance ea884d8b78 wmifs: Honor CONF Makefile variable when parsing system config files. 2015-05-28 00:36:23 +01:00
Doug Torrance c16a5a9d8d wmifs: Add support for wmgeneral's -geometry command line option.
Also take the opportunity to correct the manpage; the -d option should be
-display.
2015-05-28 00:36:23 +01:00
Doug Torrance a51ad11229 wmifs: Reformat help text for readability. 2015-05-28 00:36:23 +01:00
Doug Torrance bcd1d50e02 wmifs: Add -c command line option allowing users to set color. 2015-05-28 00:36:23 +01:00
Doug Torrance 627f693e36 wmifs: Replace deprecated usleep with nanosleep.
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 <net/if.h>.
2015-05-28 00:36:23 +01:00
Doug Torrance 90565e05d5 wmifs: Replace deprecated caddr_t with void *. 2015-05-28 00:36:23 +01:00
Doug Torrance c7834d29fd wmifs: Fix "overflow in implicit constant conversion" compiler warnings. 2015-05-28 00:36:23 +01:00
Doug Torrance 6f26dd2f99 wmifs: Fix "comparison between signed and unsigned integer expressions" compiler warning. 2015-05-28 00:36:23 +01:00
Doug Torrance 621457313e wmifs: Fix "suggest braces around empty body in an ‘if’ statement" compiler warning. 2015-05-28 00:36:23 +01:00
Doug Torrance 8a2de61837 wmifs: Update Makefile.
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.net/src/wmifs/1.4-2/debian/patches/hardening.patch/
2015-05-28 00:36:23 +01:00
Doug Torrance abe2c4431a wmifs: Fix "variable 'ppp_old" set but not used" compiler warning.
Based on a patch from the Debian package [1].

[1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/fix-compiler-warning.patch/
2015-05-28 00:36:23 +01:00
Doug Torrance e913422bb8 wmifs: Fix spelling error and escape hyphen in manpage.
Based on a patch in the Debian package [1].

[1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/fix-manpage.patch/
2015-05-28 00:36:23 +01:00
Doug Torrance d1193f2302 wmifs: Move source files to top directory. 2015-05-28 00:36:23 +01:00
Doug Torrance 2e2937620d wmgeneral: Add _POSIX_C_SOURCE #defines for strdup, pid_t, and getline. 2015-05-26 08:22:14 +01:00
Doug Torrance 7e04b6a890 wmgeneral: Fix "unused variable" warning. 2015-05-26 08:22:14 +01:00
Doug Torrance 624b2898fe wmgeneral: Don't call free on pointers we haven't malloced.
Could cause occasional segfaults.
2015-05-20 10:44:41 +01:00
Doug Torrance a9b73f2fd6 wmgeneral: Fix segfault if newline encountered in parse_rcfile.
From a patch for wmppp.app by Chris Gray <cgray@tribsoft.com> submitted to
Debian to fix several bugs [1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=27997
2015-05-20 10:44:41 +01:00
Doug Torrance cd30d4127d wmgeneral: Add proper copyright headers; fix changelog formatting. 2015-05-20 10:44:41 +01:00
Doug Torrance afd3d56aea wmgeneral: Use #includes from include-what-you-use. 2015-05-20 10:44:41 +01:00
Doug Torrance 6b1ed40882 wmgeneral: Use field width limits for scanf.
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.
2015-05-20 10:44:41 +01:00
Doug Torrance a0f16b945a wmgeneral: Reduce scope of several variables.
Also took the opportunity to fix some whitespace formatting.
2015-05-20 10:44:41 +01:00
Doug Torrance 6dc4716c29 wmgeneral: Merge 2003-10-10 version from wmmon and wmtime.
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.
2015-05-20 10:44:41 +01:00