Commit Graph
46 Commits
Author SHA1 Message Date
marschap 86c4149642 a little bit of Doxygen here and there 2007-04-14 08:23:48 +00:00
marschap 8ba4302a9b fix small glitches; hamronizations 2007-02-23 15:05:27 +00:00
marschap 99f1346d8b fix custom characters [with NewFirmware=yes] & backlight in CFontz 2007-02-23 14:59:58 +00:00
marschap 1d4d4443e8 make {Off,}Brightness run-time configurable in range [0, 1000] 2006-11-26 20:08:56 +00:00
marschap 7811b491db refactor adv_bignum:
* support display heights > 4 (treated like height = 4);
* determine number of user-defineable chars using get_free_chars();
* allow custom chars starting at a character position (offset) != 0
* update and extend documentation
2006-10-15 16:06:08 +00:00
marschap 904828032a fix Doxygen comments 2006-10-15 10:43:27 +00:00
marschap 8bcc3c0e31 fix typo 2006-10-01 13:23:07 +00:00
marschap f10895d04d FSF address change 2006-09-30 18:18:22 +00:00
marschap be8aa83cbe remove unused CGram type and variable 2006-09-29 21:29:47 +00:00
marschap 5e80cfa503 doxygen'ate 2006-09-20 15:02:22 +00:00
marschap 522c356f1b fix comments 2006-09-19 16:50:59 +00:00
marschap 172bfa73ee reset ccmode when clearing screen 2006-07-30 16:58:26 +00:00
marschap abed4843a9 reset ptr iterating through framebuffer at EOL 2006-07-16 18:51:40 +00:00
marschap 249cec2033 convert 2 further drivers to bignum library 2006-06-25 15:08:42 +00:00
marschap 7585552398 bugfix: do not write ints when you want to write chars 2006-06-20 18:28:50 +00:00
marschap 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00
marschap b9a3b9dc1f harmonize coding style and messages, add more checks 2006-04-07 18:44:53 +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 8820b47193 - replace static variables by ProvateData *
- make a bit more similar to CFonts{633,Packet}.c
2005-06-12 20:32:27 +00:00
marschap e85ad0acc3 1st round of adapting it to new driver model 2005-06-12 17:45:08 +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
wayn3 8c0b79a0b5 Three things:
1) added the USB-specific open() code (removed O_NDELAY)
2) added the speed 19200
3) fixed the contrast code
4) uncommented out the special character translation
The latter three were reported to list Dec 2002 by Jay Wardle
2003-02-12 03:08:27 +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
luisllo 1e4ab6d501 fixed bad implementation of CFontz_num() funcion 2002-04-20 23:50:12 +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
reenoo c0c5bd28df strncpy bugfix bugfix; UPDATE RECOMMENDED 2001-12-26 16:25:41 +00:00
reenoo 531ad030ea strncpy bugfix; UPDATE RECOMMENDED 2001-12-25 21:16:15 +00:00
reenoo b9f0e14e8f curses: configfile support; CFontz: configfile parsing bugfix 2001-12-25 15:56:25 +00:00
reenoo 87b5487da5 CFontz update: configfile, backlight, new firmware 2001-12-23 21:25:23 +00:00
robijn dd7d21c12d Added code to scan for -t, to specify the diplay size. 2001-12-22 15:12:20 +00:00
robijn efcbed6026 Unallocated framebuffer fix. 2001-11-23 15:15:05 +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 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 0307a9112e Updated CFontz driver:
* Uses syslog instead of printf or fprintf (except during init)
* Replaced sprintf with snprintf throughout
* Removed all references to lcd.* and replaced with CFontz->*

Note: this compiles, that's all I can say - but the changes are not
major structural or logical changes.
2001-09-25 14:34:40 +00:00
ddouthitt 4b24b2e6f1 Patched lcd.c to work with older drivers that use 0 or (void *) -1
as valid function pointer values (now logs to syslog); fixed text
driver, curses driver, and CFontz driver to work correctly in new
environment.
2001-09-25 00:13:57 +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 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
toykeeper 8b5b842c89 - Fixed acconfig comment-splitting problem.. (?)
- "-i off" option now works when placed after a driver
- CFontz driver no longer attempts to use 19200 baud if asked.
2000-05-13 20:21:16 +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