Commit Graph
30 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 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 e33ba1b41b Update drivers to return 0 (zero) on success. 2009-07-07 21:36:37 +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 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 64a166c856 fix little glitches 2007-01-29 20:13:18 +00:00
marschap 0e57be5bcb removed unused curses header include 2006-12-02 14:10:33 +00:00
marschap 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00
marschap 30afa50bdf cleanup: 'static'ize function which are not in the API anymore 2006-04-12 10:51:01 +00:00
marschap de16dbf5ed convert to use PrivateData 2006-04-10 08:45:42 +00:00
marschap 2dcde3e4f2 harmonize coding style and messages; add a few checks 2006-04-08 21:19:14 +00:00
boercher bba4631370 eliminated compiler warnings 2005-10-25 22:34:07 +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 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 71056ec551 v0.5 kick-off 2001-12-30 00:15:25 +00:00
robijn efcbed6026 Unallocated framebuffer fix. 2001-11-23 15:15:05 +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 74153173c1 Fixed major bug: drivers that accepted size arguments could wind
up with more than 80 characters (20x4) in their display, and thus
overwrite memory outside of the allocated 80 characterwframebuffer.

For example, using a 20x6 screen would do this.

All drivers now either ignore a missing framebuffer, or allocate it
themselves - the latter is prefered.
2001-09-27 23:46:55 +00:00
ddouthitt dbaee0b30a Added documentation about the LB216 gotten from the mailing list.
Removed dependence on base driver functions.
2001-09-27 16:15:05 +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
William Ferrell ba6f72ccba Applied Andre' Breiler's patch to improve curses/ncurses portability on
Solaris.
2001-03-22 23:15:53 +00:00
cjdebenh 3f65d9d371 Update to allow it to handle the 4x20 version of the lcd 2000-12-20 00:45:29 +00:00
William Ferrell 82764f08e3 Thanks to Chris Debenham <chris.debenham@aus.sun.com>, the LCDproc server
process LCDd now compiles and runs properly on Solaris! Additionally, he
has provided a new driver for a 16x2 LCD made by an Australian company.

I've compiled and executed this new code on a Solaris 2.6 box, and while I
don't have the display the new driver uses, LCDd tries to use it anyway,
fails (since the device isn't installed), and continues running, so this
looks solid!
2000-11-29 18:48:53 +00:00