Commit Graph
179 Commits
Author SHA1 Message Date
Harald Geyer 63568547d9 clients/lcdproc/machine.h: Include missing header file
This file uses time_t and thus must include time.h

Signed-off-by: Harald Geyer <harald@ccbib.org>
2016-07-25 12:44:31 +02:00
mmdolze a5cc44d51a Welcome 2014. 2014-02-10 07:19:20 +00:00
mmdolze 412f5e6605 Changed my mind: Turn off the heartbeat icon on the OldTime screen
unconditionally if title is turned off.
2013-05-04 14:45:28 +00:00
mmdolze 6e6900922e Add option to turn off title and heartbeat on OldTime screen. 2013-05-04 08:17:32 +00:00
mmdolze 38c7fb27a3 Fix a few text mistaked discovered during merge. 2012-08-19 14:13:26 +00:00
mmdolze d3d80c1b71 Update dates in preparation of release 0.5.6. 2012-08-19 12:52:33 +00:00
mmdolze e486266628 lcdproc client: Fix build on OpenBSD >= 5.0. 2012-02-26 12:50:47 +00:00
mmdolze 5c3afe8068 Show only unique processes in 'S' screen on FreeBSD. 2011-12-03 20:13:54 +00:00
mmdolze 85241c253d lcdproc client: Fix core dumps on FreeBSD if started as non-root. 2011-11-20 16:35:42 +00:00
mmdolze 2a5bf194df Fix previous commit 2011-11-20 15:31:18 +00:00
mmdolze 46b0c5cf77 Apply style to all client files. 2011-11-20 15:24:14 +00:00
mmdolze 27d1bc1087 Re-indent machine* files. 2011-11-20 14:08:05 +00:00
mmdolze fdd440219d Unbreak build on non-i386 OpenBSD versions. 2011-11-19 11:36:15 +00:00
mmdolze 59a9c82617 Make the iface screen more readable on 2x16 displays by using ^v shortcuts
for Up and Down. Note: Using arrow-up and arrow-down icons would be even
better, but that requires a complete rewrite of that function.
2011-02-10 22:41:36 +00:00
mmdolze 224eca976a Fix a single dot appearing on line 5 of the D screen. The screen moves
strings err1 and err2 off-screen to (30,5). In LCDd, render_string
moved the string to (width,5). On displays with less than 5 line the dot
was not drawn, but on those with 5 or more lines. Moving the start of string
to (0,0) makes render_string ignoring it completely.
2011-01-24 19:45:28 +00:00
toykeeper cac9a56299 updated ToyKeeper's contact info 2011-01-05 23:34:37 +00:00
mmdolze fd9b2ce713 Big cleanup: Remove trailing whitespace from files (except those imported
from external sources).
2010-10-30 18:04:21 +00:00
mmdolze 66023939a1 Cleanup and documentation updates:
- Remove shared/str.h where not used.
- Remove shared/debug.h from all files as it has been completely replaced
  by shared/report.h (it will be removed later).
- Add more doxygen comments to shared/* and clients/lcdproc/*.
- Include static functions in doxygen output.
2010-02-02 23:20:29 +00:00
mmdolze 8fd068b5ff Welcome 2010. 2010-01-04 07:38:19 +00:00
mmdolze 73b7ec00ff Introduce shared/defines.h to collect commonly used macros. For now
it defines min() / max() macros.
2009-11-22 15:15:53 +00:00
mmdolze 362aa05fd2 Fix de-selecting of drivers in configure by removing non-portable switch to sed.
Silent some compiler and lint warnings.
2009-11-01 08:32:50 +00:00
mmdolze 10fba98c88 Check for getopt instead of getopt_long to decide if the system has a
working getopt implementation (we don't use getopt_long at all).
Include {topdir}/shared for the clients so they pull in our included
getopt.h. This fixes bulding on systems which have getopt(), but no getopt.h.
2009-06-06 16:01:38 +00:00
mmdolze 8e291370c3 Include strings.h which is needed for strcasemp. Some systems declare them
in string.h, but it should be possible to include both.
2009-05-30 11:20:16 +00:00
mmdolze b1ce0c1729 Update copyright dates 2009-05-19 06:51:32 +00:00
mmdolze 8bd28df1ee Add imonlcd driver for SoundGraph iMON OEM LCD modules (by Dean Harding,
Christian Leuschen, Jonathan Kyler and Eric Pooch)
2009-05-14 21:45:51 +00:00
mmdolze 9f09507e0a Update list of contributors since 0.5.2. 2009-05-14 06:29:12 +00:00
mmdolze bda3765110 Cast pointer correctly 2009-05-14 06:18:55 +00:00
mmdolze a5b2314405 Remove incorrect or inconsistenly used cvs keywords 2009-05-08 17:14:45 +00:00
mmdolze 3a9f113b18 Update to correctly retrive CPU statistics on 2.6 kernels 2009-04-20 19:31:34 +00:00
mmdolze 54151d50e1 Use kvm_getpcpu to access per-CPU usage data available since FreeBSD 7.1 2009-03-22 09:03:55 +00:00
marschap 02d2bca304 rename struct mode to _screen_mode resp. ScreenMode to keep Doxygen happy 2008-12-21 17:24:48 +00:00
mmdolze e8ffb14d77 Exclude devfs from list of supported file systems.
Patch submitted by A. de Bruet.
2008-11-01 06:57:36 +00:00
marschap 58c93a6bb5 avoid gcc warning & potential failure: make sure to stay inside array bounds 2008-10-08 19:26:07 +00:00
marschap a66c4d3ba6 get rid of unnecessary and deprecated #include <kvm.h> (Eric Pooch) 2008-10-08 19:03:07 +00:00
marschap e0f06fe5cd unbreak compilation of machine_Darwin.c in the lcdproc client
on OS X 1.5 and higher (Topher Fangio)
2008-09-15 16:38:10 +00:00
marschap c0f4a7008c use termination function on SIGPIPE (write to closed socket) too 2008-05-02 09:58:58 +00:00
marschap bdd5fd780a explicitely note & check whether a pidfile was written 2008-02-15 07:41:09 +00:00
marschap c68e1aca72 add PID file handling to clients (including signal handling to remove the files) 2008-01-06 17:03:51 +00:00
marschap c7358581de fixes for the lcpdroc client iface screen on *BSD (M.Dolze):
1. If an interface priviously been UP goes DOWN, the time when the
   interface changed would always show the current time.
2. If an active interface is removed from the system, the server would
   still show the old screens and the user will not get any notice.
3. The "first run" detection would not work if more than one interface
   is monitored. Now the "last_online" time is used, because this is an
   "per interface" value initialized to 0 at startup.
4. The TRUE/FALSE macros are used for the return values as in the other
   functions.
2007-09-20 09:06:51 +00:00
marschap 04dbba2c7a Autoconf fixes for Net/FreeBSD (M. Dolze) 2007-09-08 13:26:16 +00:00
marschap 150b089d08 enable building lcdproc client on FreeBSD AMD64 platform (M. Dolze) 2007-08-26 21:07:42 +00:00
marschap 77209a6f3f harmonize report & debug() messages: no '\n' or '.' at end 2007-06-17 10:39:49 +00:00
marschap 0e6b1253a9 a few changes to better support gcc 2.95 (paul_c) 2007-05-28 17:55:59 +00:00
marschap 86c4149642 a little bit of Doxygen here and there 2007-04-14 08:23:48 +00:00
marschap a44091f6fe remove compile-time option to get configuration from LDAP 2007-04-14 07:54:27 +00:00
marschap a18bd2dba1 fix typos 2007-04-11 12:40:52 +00:00
marschap 9d76abd93a explicitely declare void function args and static functions 2007-04-11 12:30:15 +00:00
marschap e7f504810d explicitely declare that functions take no parameters 2007-04-07 17:37:54 +00:00
marschap aecb207a23 Doxygen-ize 2007-04-07 17:36:22 +00:00
marschap 30febbcbda add title line when there is enough space; pass max. no. of CPUs to machine_get_smpload() 2007-04-07 14:55:25 +00:00