Commit Graph
35 Commits
Author SHA1 Message Date
mmdolze 2b28c02449 Convert set_char of drivers bayrad, lb216, lcterm, mtc_s16209x, wirz-sli.
lb216: Convert lb216_hbar and vbar to 0.5 API.
lcterm: Replace bignum implementation with the one from bignum library.
2011-02-13 21:19:43 +00:00
mmdolze 96525e30b7 Refactor ubiquitous CGmode enum into lcd.h and convert remaining drivers
to use it.
2011-01-06 10:59:19 +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 0a811b47f6 Make driver start in background and return 0 on init success
Convert function descriptions to use doxygen while there
2009-03-22 13:04:27 +00:00
marschap 55147836eb Doxygen-ize and update get_key() to use key strings 2008-12-21 14:03:04 +00:00
marschap 81ebe5ae88 first step in Doxygen-ization 2008-12-21 10:04:37 +00:00
marschap ff75ce809f make PrivateData appear as driver-specific data structures for Doxygen 2008-12-07 19:41:36 +00:00
marschap 77209a6f3f harmonize report & debug() messages: no '\n' or '.' at end 2007-06-17 10:39:49 +00:00
marschap 6a1511bb72 * coding style harmonization in servers/
- explicitely declare void arguments
  - make a few string args const
* better support for shorter displays in server screen
* make target to create top level tag file
2007-04-02 21:29:53 +00:00
marschap 8bcc3c0e31 fix typo 2006-10-01 13:23:07 +00:00
marschap 32aa1feac7 use symbolic constant NUM_CCs instead of 7 2006-06-25 15:00:55 +00:00
marschap 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00
marschap d39c092fb4 fix a few more warnings 2006-04-14 08:04:09 +00:00
marschap 30afa50bdf cleanup: 'static'ize function which are not in the API anymore 2006-04-12 10:51:01 +00:00
marschap cb3ab5aacd cosmetic fix 2006-04-10 10:27:52 +00:00
marschap 45dfefddb8 make custom char definitions more local 2006-04-10 07:24:40 +00:00
marschap 55342f9c88 convert to use PrivateData 2006-04-10 07:17:00 +00:00
marschap 3b23168977 harmonize coding style and messages; add more checks 2006-04-08 13:20:59 +00:00
marschap 743871cff3 make get_key() result const char *, so that it is not modified 2006-04-06 13:25:14 +00:00
marschap 0ec83bdc66 get rid of old cruft: remove args argument from the modules' init() routines 2005-07-02 13:38:51 +00:00
marschap bf1c2688c2 make other drivers also work correctly when SEAMLESS_HBARS is set 2005-06-28 17:09:03 +00:00
marschap b3230cf90f - update drivers to use new API
(get rid of those pseudo options named 'Arguments' in the config file)
- replace printf / printf calls by debug / report calls in some drivers
- sort and extend LCDd.conf
2005-01-29 18:49:29 +00:00
robijn dc4c049721 - Added some icons.
- Made sure all icon and vbar functions are not the old API functions.
- Removed heartbeat functions from drivers that did standard heartbeat.
2002-05-23 18:03:36 +00:00
robijn dba163c4a4 Drivers are now being loaded as modules. 2002-02-21 22:50:12 +00:00
robijn d75cd04d92 Converted old to new functions.
Now using lib vbar/hbar.
2002-02-08 00:14:10 +00:00
robijn 71056ec551 v0.5 kick-off 2001-12-30 00:15:25 +00:00
robijn 26d00dc560 Adapted the drivers to do not use a NULL pointer for unsupported functions,
but instead do not assign them.
2001-10-25 23:39:51 +00:00
ddouthitt 0ab3148268 Updated svgalib driver, lb216 driver, and bayrad driver:
* Remove all references to lcd.*
* Remove all references to base driver functions
2001-09-25 21:18:40 +00:00
ddouthitt 44e7f83dfd Removed all traces of sprintf() from all server code and
from all drivers.  All drivers compile without warnings.
2001-09-25 15:02:33 +00:00
ppokorny e7316389e8 Fixed compile errors on FreeBSD related to cfmakeraw and friends on the
serial port side.  Also fixed problems with ioperm on the parallel port
side.

Added --waittime option to the server to specify how long the server
should leave a screen up before changing to the next screen.
2001-07-18 22:30:12 +00:00
ppokorny 00cc9fca23 + Changed protocol to 0.3 because we now accept both -foo and foo
as argument introducers.  in 0.4-pre10, these were changed
   from foo to -foo and this broke many clients.  This change
   should fix that and be backward/forward compatible.
 + Added a noop function to the protocol.  This is useful for writing
   shell script clients of LCDproc.
 + Changed the shared sock_send_string function to NOT send the
   ending NUL ('\0') byte with the string.  This was confusing
   in Perl clients which saw NUL's as the first character of
   each reply.  WARNING: The LCDPROC client depended on this
   behavior, your client may too.  Use the newline instead.
   See the code in clients/lcdproc/main.c (look for "switch(buf[i])")
   to see one way to handle this.  This should allow new clients
   to connect to old servers and vice-versa.
 + Messed with include structure in .c files.  It should no longer
   be necessary to specify ../.. to get to shared code headers.
   Also, since we are using automake, the global config.h can be
   found with just #include "config.h" as it's location is included
   in a -I to the compilers.  As a result "make distcheck" now works.
2001-05-25 03:14:27 +00:00
cjdebenh a65dd59c94 Added ifdef SOLARIS to allow errno.h and strings.h to be included (needed for errno and bzero 2001-05-15 03:54:10 +00:00
ppokorny 3fff6381b0 Fixed problems on systems using newer GLIB and GCC (2.96) which no
longer allow the -Wp,-lang-c-c++-comments directive.  Also cleaned
up getloadavg support that had problems on Solaris and RedHat 7.1.
Removed unused variables in a number of functions as a result of
warnings when compiled with --enable-debug config option.
2001-05-15 01:55:59 +00:00
William Ferrell 6c8a77ccc5 Applied Nathan Yawn's (natey@hcis.net) patch to add a driver for the BayRAD
display. The patch applied cleanly, and compiled properly. At least,
"it worked for me." :) I don't have such a display, thus I cannot test that
the driver actually works, but it at least doesn't do nasty things or break
the compile. Thanks, Nathan!
2001-03-29 19:24:18 +00:00