Commit Graph
56 Commits
Author SHA1 Message Date
marschap 5f4cfa3b88 - unified hd44780 sub-driver that replaces picanlcd & lcdserializer while
providing the same functions (Matteo Pillon)
- character mapping for special (almost) hd44780-compatible LCDs (Matteo Pillon)
2006-08-13 11:13:13 +00:00
marschap 9b111eeac4 cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:01:49 +00:00
marschap e43b741795 convert hd44780 driver to use bignum library, add a few security checks 2006-04-26 09:46:01 +00:00
marschap 7c92890b64 add character cell size functions 2006-04-26 08:08:04 +00:00
marschap c4e41d5fd5 check for initialization errors in HD44780 sub-drivers 2006-04-14 12:15:41 +00:00
marschap df38a63770 silence compiler warnings 2006-04-13 21:22:33 +00:00
marschap 30afa50bdf cleanup: 'static'ize function which are not in the API anymore 2006-04-12 10:51:01 +00:00
marschap 65a473f2b7 fix checks in *_num() functions: only when/where necessary 2006-04-11 20:57:15 +00:00
marschap 3c52181126 harmonize coding style and messages 2006-04-08 21:05:51 +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 925e7e0fc5 bignum cleanup 2005-06-05 16:26:05 +00:00
marschap e55b1aa204 fix filled block and handling of the lastline parameter 2005-02-26 10:02:29 +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
marschap ffdd1a4925 added Leandro Dardini's lastline patch for the HD44780 driver and
adapted it to the IOWarrior driver that also drives HD44780 displays.
2005-01-17 20:18:21 +00:00
marschap 14fa1c74cd fix my previous commit: use C comment 2004-10-09 16:26:45 +00:00
marschap 11fe596351 add ConnectionType sub-driver for BWCT USB devices to the HD44780 driver 2004-10-09 16:15:37 +00:00
robijn 6161531e3c Added ExtendedMode functionality. Solves 'A-type' or KS0073 issue. 2004-02-09 22:21:49 +00:00
robijn 09b7c9cbad Removed superfluous strcpy in keymap assignment code. 2004-01-08 16:30:07 +00:00
robijn 75cd8a1112 - Modified forking. Child will now signal parent when it has started up OK. Only after that (or error) parent dies.
- Modified startup order of LCDd parts.
- Moved code for starting up the socket from main.c to sock.c
- Variable daemon_mode renamed to foreground_mode, consistent with command line.
- Variable lcd_port renamed to bind_port.
- Modified the constant stay_in_foreground for drivers hd44780 and sed1330. They don't need to stay in foreground anymore.
2003-07-30 19:57:13 +00:00
robijn f9c84384a4 Fix for platforms that assume a char is unsigned. 2002-11-16 15:48:59 +00:00
robijn 77e6977196 Added Stephen Davies output register extension code. 2002-06-03 21:34:24 +00:00
robijn 7e478dc7da HD44780 update: reporting fixed, serialLpt behaviour improved. 2002-05-26 19:22:50 +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 d3cf1569eb HD44780 update:
- Fixed build bug (winamp was not included)
- Reporting fix.
2002-05-20 21:08:37 +00:00
robijn 289c1c941b Added decision to include parallel port subdrivers.
If no way to control a PC-style LPT port is found, all subdrivers,
except the PIC-an-LCD will be disabled.
PIC-an-LCD uses the serial port.
2002-05-06 21:14:14 +00:00
robijn 6d41e71f33 Fixed 4bit enable lines bug. 2002-03-24 19:28:50 +00:00
dglaude 3a4fe9c349 Minor cosmetic change for fgrep Private hd44780.c 2002-03-04 17:54:32 +00:00
robijn dba163c4a4 Drivers are now being loaded as modules. 2002-02-21 22:50:12 +00:00
robijn 2be3a1cfdb Converted old to new functions.
Now using lib vbar/hbar.
Changed the term UDC to Custom char (CC).
2002-02-08 00:19:55 +00:00
robijn e6287f56af vbar/hbar/heartbeat/icon adaptation to new API. 2002-01-16 17:57:24 +00:00
robijn d10b943524 Bignum support. 2002-01-14 22:09:10 +00:00
robijn f244d66500 Only flush modified defined characters. 2002-01-14 21:50:48 +00:00
robijn 71056ec551 v0.5 kick-off 2001-12-30 00:15:25 +00:00
gfk ff368e7089 Fix my (incorrect) fix (with a good one I hope). Also reimplemented delayMult in the driver. 2001-12-25 18:01:45 +00:00
gfk 5de08960bf Moved the uPause function to timmings.h for modularity and easier porting to BSD. 2001-12-23 19:43:20 +00:00
robijn 392506b384 - Added HD44780 incremental LCD update.
- Minor fix to 4bit.
2001-11-15 19:30:17 +00:00
robijn b821127fa7 Minor bugfixes to HD44780 backlight and keypad stuff. 2001-11-01 16:40:57 +00:00
robijn 46174150ce Added HD44780 delay options. 2001-11-01 15:38:49 +00:00
robijn faa4861eb3 HD44780 update:
- supports new API
- major clean up, more consistent code
- uses configfile options
- serialLpt works also with only 2 output lines
- serialLpt can now use keypad
2001-11-01 00:37:12 +00:00
robijn db935c35bf Corrected HD44780 to work with the curses driver. 2001-10-06 13:51:45 +00:00
robijn 16cce2fe2d HD44780 keypad update. (second try) 2001-10-05 21:01:24 +00:00
robijn 7c0e1bd0d1 Fixed "HD44780 does not compile" bug. Not using drv_base anymore. 2001-10-02 14:04:34 +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
haemi 38f5701821 Added character mapping for HD44780 displays. Mostly German "umlauts". 2001-09-09 21:21:30 +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
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
cstein af99913d34 Support for nanosleep and gettimeofday delay methods added 2000-07-25 22:12:21 +00:00