Doug Torrance
2085fdd1c8
wmshutdown: Bump to version 1.4.
2015-06-13 06:02:21 -06:00
Doug Torrance
d810f277f1
wmshutdown: Update contact information.
2015-06-13 06:02:21 -06:00
Doug Torrance
89c7d43b85
wmshutdown: Fix 'mixed declarations and code' compiler warnings.
2015-06-13 06:02:21 -06:00
Doug Torrance
2644a1e8f5
wmshutdown: Fix 'unused parameter' compiler warnings.
2015-06-13 06:02:21 -06:00
Doug Torrance
1b9fd1dbe5
wmshutdown: Remove autotools-generated files.
2015-06-13 06:02:21 -06:00
Doug Torrance
ea797c7461
wmshutdown: Add version 1.3 to repository.
...
Obtained from [1].
[1] https://github.com/d-torrance/wmshutdown/releases/download/upstream%2F1.3/wmshutdown-1.3.tar.gz
2015-06-13 06:01:41 -06: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
617d598a73
wmtime: Bump to version 1.3.
2015-05-26 08:22:15 +01:00
Doug Torrance
336b1afa17
wmtime: Update HINTS.
...
In particular,
- Add newer command line options.
- Update Window Maker instructions.
2015-05-26 08:22:15 +01:00
Doug Torrance
fd46651d08
wmtime: Update README.
...
In particular,
- Fix typo.
- Mention newer command line options.
- Drop 17-year-old architecture information.
2015-05-26 08:22:15 +01:00
Doug Torrance
75a55e7ced
wmtime: Add proper copyright header.
2015-05-26 08:22:15 +01:00
Doug Torrance
a754e75a5c
wmtime: Update TODO.
...
In particular,
- Remove note about version 1.0 (was never released).
- Remove note about LED colors (implemented).
- Remove note about language files (unnecessary with locale support).
- Update email address.
2015-05-26 08:22:15 +01:00
Doug Torrance
fd199f0612
wmtime: Fix "ordered comparison of pointer with integer zero" warning.
...
Also take the opportunity to add an error message when iconv_open fails.
2015-05-26 08:22:15 +01:00
Doug Torrance
79d7c047ce
wmtime: Replace C++ style comments.
2015-05-26 08:22:15 +01:00
Doug Torrance
fde8a3ef34
wmtime: Use #defines to avoid variable length arrays.
2015-05-26 08:22:15 +01:00
Doug Torrance
eb93ccf24d
wmtime: Fix overflow warning; mask bitmap should be unsigned.
2015-05-26 08:22:15 +01:00
Doug Torrance
befeff0c0c
wmtime: Add -c command line option allowing users to set color.
2015-05-26 08:22:14 +01:00
Doug Torrance
5d4363d302
wmtime: Tidy #includes based on results of include-what-you-use.
2015-05-26 08:22:14 +01:00
Doug Torrance
59b41b8449
wmtime: Fix typos.
...
Ran `codespell -w`.
2015-05-26 08:22:14 +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
5cfb385d02
wmppp.app: Bump to version 1.3.1.
2015-05-20 10:44:41 +01:00
Doug Torrance
a75edac40d
wmppp.app: Command line options take precedence over configuration files.
...
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.
2015-05-20 10:44:41 +01:00
Doug Torrance
3c16ef37ec
wmppp.app: Reread configuration file.
...
Based in part on a patch by Chris Gray [1] to fix Debian bug #50181 [2].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=12;filename=wmppp.diff;att=1;bug=50181
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=50181
2015-05-20 10:44:41 +01:00
Doug Torrance
2b0feb59f8
wmppp.app: Add new command line options.
...
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 parsing
code into a new function (parse_cmdline()). We then merged main() and
wmppp_routine().
We document the new options in the help text and in the man page. We also
take the opportunity to reformat the help text for the -i option and add
the -geometry option to the man page.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293839
2015-05-20 10:44:41 +01:00
Doug Torrance
540b8ac560
wmppp.app: Fix segfault if stop_action or start_action strings are NULL.
2015-05-20 10:44:41 +01:00
Doug Torrance
37acf2a687
wmppp.app: Fix segfault when HOME undefined.
...
Instead, we exit with an error message.
This fixes Debian bug #716472 [1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716472
2015-05-20 10:44:41 +01:00