Commit Graph
29 Commits
Author SHA1 Message Date
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 6e781ed0a0 Teach all drivers to use local report.h instead of shared/report.h.
Remove all references to shared/debug.h as well (was unused in all cases).
2009-09-14 18:36:44 +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 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00
marschap 847fc2b5a1 convert to use PrivateData 2006-04-10 10:28:29 +00:00
marschap c43dbaef9d harmonize coding style and messages; silence warnings; add more checks 2006-04-08 14:34:48 +00:00
marschap f0300d1765 sort drivers alphabetically in acinclude.m4 & server/drivers/Makefile.am;
update server/drivers/wirz-sli.c to make it complile afgain and announce
it in acinclude.m4; update info how to include a new driver to make the
examples resemble the current driver situation more closely
2005-12-17 17:04:00 +00:00
marschap d7d2c5771f update bar functions to 0.5 API for Wirz SLI and MTC_S16209X drivers 2005-07-25 17:54:07 +00:00
marschap 3e1ed65a12 cosmetic changes to a few drivers: keep functions not in the 0.5 API private 2005-07-25 17:05:39 +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 71056ec551 v0.5 kick-off 2001-12-30 00:15:25 +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 7bae66ab97 Updated SLI driver:
* Removed all references to lcd.* (now uses sli->*)
* Removed all function pointers of NULL or (void *) -1
* Added base functions as necessary

Compiles cleanly; requires field testing.
2001-09-25 17:26:25 +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
ddouthitt f23292a554 Minor miscellaneous comment updates: mostly identifying drivers at
the top of their source code....
2001-09-24 16:30:31 +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 6a115b4446 More formatting changes, new tags file. 2000-04-03 22:13:57 +00:00
William Ferrell ddfd41f53e More formatting updates. Reduced whitespace, looks even better. 2000-03-30 20:43:33 +00:00
William Ferrell f5a5e9653b Removed lcddriver.c (doesn't do anything, isn't in any makefiles, etc.).
Passed *every* piece of source in this project through indent. I'm setting
things up with ctags soon and am actually going to *gasp* use a nice
programming environment to continue development in. :)
2000-03-30 20:20:41 +00:00
William Ferrell 2635c3085d Initial revision 1999-12-09 23:15:14 +00:00