Commit graph

20 commits

Author SHA1 Message Date
Doug Torrance ed6f2efc00 wmifs: Bump to version 1.6. 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 0a5f2cf8b5 wmifs: Bump to version 1.5. 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 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 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 d1193f2302 wmifs: Move source files to top directory. 2015-05-28 00:36:23 +01:00
Renamed from wmifs/wmifs/wmifs.c (Browse further)