Commit Graph
187 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 4d73e6660c Pyramid driver:
- Convert set_char to 8 byte bitmap.
- Reset ccmode on clear. Add a custom character cache to avoid unnecessary
  updates of custom characters because of the reset.
- Add support for bignum.
- Remove the FB_modified flag, it did never work. Instead add a backing store
  buffer to compare against. Remove the 40ms block of updates, this was a
  no-op as well. However, pause 40ms after sending a complete screen update.
  The display I have requires this to recognize the following cursor updates.
- Do not treat frame buffer as string. Always use memcpy, memcmp, and memset.
- Remove the changelog. This should be read from SCM.
- Remove contact info as T. Riewe has left Pyramid.
- Pass through indent, preserving 4 space indention.
2011-02-13 17:50:29 +00:00
mmdolze dfd486c55b Add charmap for NEC uPD16314 (ROM code 002). Add a small charmap search
function and update hd44780 to use it. Make charmap selectable in imon driver.
2011-02-10 23:07:04 +00:00
mmdolze eaf74128c6 Re-worked sed1520 driver:
- Add 68-familiy style interface support and make it configurable.
- Make delay configurable.
- Correct swapped display halves.
- Resurrect vBar / hBar functions.
- Fix icon definitions and modify set_char for common data format.
2011-02-10 23:03:04 +00:00
mmdolze 2b925d21d6 Update pyramid:
- Cache status of LEDs and only send on update, reduces communication
- Add prototypes for all and Doxygen comments to internal functions
- remove unused read_ACK()
2011-02-10 22:53:15 +00:00
mmdolze 565a861d91 Port remaining drivers to 0.5 API (icon, hbar, vbar). 2011-02-10 22:48:57 +00:00
mmdolze 361fcb2a51 Sync functions in driver .c and prototypes in .h files. 2011-02-10 22:45:35 +00:00
mmdolze 59a9c82617 Make the iface screen more readable on 2x16 displays by using ^v shortcuts
for Up and Down. Note: Using arrow-up and arrow-down icons would be even
better, but that requires a complete rewrite of that function.
2011-02-10 22:41:36 +00:00
mmdolze 27c473fdc5 imonlcd: Fix possible lockup in output (by E. Pooch). Pyramid: Fix buffer
overflow in set_leds, correct escaping and icons.
2011-02-10 22:06:09 +00:00
mmdolze 224eca976a Fix a single dot appearing on line 5 of the D screen. The screen moves
strings err1 and err2 off-screen to (30,5). In LCDd, render_string
moved the string to (width,5). On displays with less than 5 line the dot
was not drawn, but on those with 5 or more lines. Moving the start of string
to (0,0) makes render_string ignoring it completely.
2011-01-24 19:45:28 +00:00
mmdolze a99c51aa29 Add note about changes to picoLCD driver. 2011-01-23 13:32:34 +00:00
mmdolze de7a132fbb Rewrote the t6963 driver:
- Limit the maximum size to 40x16 (240x128 pixel) and change the RAM locations
to make use of 8 KB only. (If one's display is larger and has more memory this
may have to be changed.)
- Drive control lines using defines from lpt-port.h without using a function.
- Use timing.h for delays (which are now optional).
- Remove any use of the graphic area and mode settings, except for optionally
clearing of graphic memory on start-up.
- Remove any cursor related stuff.
- Handle displays correctly which width (in pixels) is not a multiple of the
cellwidth (e.g. 128x64).
- Remove double buffering (display updates are already really fast).
- Update text and font memory using AUTO WRITE function.
- Remove the bignum stub. Now at least something is displayed.
- Fix character offset for bar graphs.
- Make local functions static and inline the most commonly used read / write
functions.
2011-01-21 06:59:37 +00:00
mmdolze f021cc8327 Add an option to start LCDd with screen rotation disabled. 2011-01-19 19:08:37 +00:00
mmdolze a3441d977e Fix heartbeat icon messing up with vBar. 2011-01-09 23:11:38 +00:00
mmdolze 03e5169ac8 New screen update algorithm. This algorithm will be faster on connection
types using the transmit buffer. Others should see little difference.
2011-01-06 16:07:30 +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 50ff73d7c1 Fix handling of custom characters. ccmode was not reset on screen clear().
Remove unused ccmode from serialPOS.
2011-01-05 19:54:54 +00:00
mmdolze c4326258e6 Change configure to use autoconf macros installed by xosd to check for
its presence.
2011-01-05 14:53:38 +00:00
mmdolze d86e2a369c Fix backlight and contrast handling (M. T. Jones). 2011-01-04 21:37:02 +00:00
mmdolze a0e30b34b5 sed1330 driver: Add support for HG25504 (L. Lagendijk) 2011-01-03 10:46:07 +00:00
mmdolze e7c4240e58 Update version numbers after 0.5.4 branched 2011-01-03 10:21:49 +00:00
mmdolze dacb2beb73 Add MDM166A driver for Futaba/Targa USB VFD (Christoph Rasim). 2010-11-26 21:43:57 +00:00
mmdolze 24846beac5 SureElec: Fix stall on startup. 2010-11-25 07:11:41 +00:00
mmdolze 85c5e8c45a hd44780: Added 'usbtiny' connection type (by Siarhei Herasimchuk). 2010-11-22 20:01:10 +00:00
mmdolze 932cc63d94 Use module output function to control key LEDs (Martin Jones) 2010-11-16 21:24:46 +00:00
mmdolze 6efd439901 CFontzPacket: Report cell size according to display type (used to calculate
hBar width). Use block charcter (31d) on displays which have it instead of
the custom icon. On seamless displays do not fill the last line to avoid the
character banging together.
2010-05-11 21:11:09 +00:00
mmdolze 90107086ea Remove native win32 support. We have no report that LCDproc can be natively
compiled and used with recent Windows systems (Windows Vista/7). Except for
serial drivers (and those using USB->serial adapters) drivers are not expected
to work with those systems.
2010-04-10 18:07:18 +00:00
mmdolze 9ead06df4e CFontzPacket updates:
- Add a structure describing known models, their features and default settings.
- Use partial screen updates for newer CFA633 versions.
- For CFA533/633 use the same character mapping as for HD44780.
- Fixed a few typos.
- Use C-style comments only.
- Add a warning about the driver being deprecated to CFontz633. Users should
  use CFontzPacket with Model=633 instead.
2010-02-13 16:43:15 +00:00
mmdolze 948035d860 shuttleVFD: Add support for devices with USB VID 0x1308 again. This was lost
when support for newer devices was added.
2010-02-04 22:02:37 +00:00
mmdolze 88aabdccc1 HD44780: Add a charmap which makes input in KOI8-R appear correctly on
displays using hd44780 controller with european charset.
2010-01-28 19:25:17 +00:00
mmdolze c9623a72da Add a flush method to the hardware depended functions. It is called whenever
a sequence of characters or commands have to be terminated (common_init,
position, flush).  Modify the lcd2usb subdriver to implement a small command
buffer and implement flush().
2010-01-23 17:48:00 +00:00
mmdolze 287b933e79 Introduce a ring buffer implementation for server's network input. As a
result, clients are not disconnected due to sending large messages.
2010-01-19 22:49:51 +00:00
mmdolze 59f3cbdb45 * Automatically exclude the pin for switchable backlight from keypad scanning
in the 4bit and 8bit wiring. This fixes problems with flickering backlight if
  a slow parallel port is used. IMPORTANT: This may require a hardware change!
* In code comments use the same line names as in the user's guide (Y1/X1
  instead of Y0/X0).
* Add documentation about hd44780-ftdi's 4bit mode.
2010-01-18 22:24:59 +00:00
mmdolze 97a2b20b0d Map 'n with tilde' characters to 'n with bar'. 2010-01-06 18:22:31 +00:00
mmdolze 585ac6425d Add a 'none' charmap which does not replace any character. 2010-01-06 17:26:42 +00:00
mmdolze 2f4c1e5185 Modify serial drivers to use cfmakeraw where applicable. Affects CFontz*,
CwLnx, EyeboxOne, MtxOrb, hd44780-lis, and serialPOS.
2010-01-06 17:23:02 +00:00
mmdolze 1971f0ccee Fix a bug not checking for keypad rows 7-10 in hd44780-4bit correctly. 2009-12-12 21:32:31 +00:00
mmdolze 7eb3d4e5b8 Add new SureElec driver by Laurent Latil. 2009-11-29 09:09:02 +00:00
mmdolze 73b7ec00ff Introduce shared/defines.h to collect commonly used macros. For now
it defines min() / max() macros.
2009-11-22 15:15:53 +00:00
mmdolze 33d1f3ce96 Bugfix RC-5 for picoLCD 20x2 and change to dynamic IR sync.
Use consistent indent style.
2009-11-01 15:08:33 +00:00
mmdolze 0f9206d36c Test the availability of SA_RESTART and use it conditionally. 2009-11-01 08:38:58 +00:00
mmdolze 362aa05fd2 Fix de-selecting of drivers in configure by removing non-portable switch to sed.
Silent some compiler and lint warnings.
2009-11-01 08:32:50 +00:00
mmdolze b197729ad8 Include <errno.h> instead of <sys/errno.h> everywhere (found by S. Klauer). 2009-10-17 19:19:09 +00:00
mmdolze 55a9795c8a Make all drivers using parallel port fail if they cannot get IO permission. 2009-09-14 19:08:22 +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 a3c186e3f4 Add LDFLAGS for bayrad and glk driver. Remove shared library includes from
drivers where not used and update LDFLAGS accordingly.
2009-07-25 09:39:37 +00:00
mmdolze 01d512e1bb Post release update of version numbers. 2009-06-21 21:47:42 +00:00
mmdolze 68ae55191f Update with today's changes. 2009-06-12 21:51:42 +00:00
mmdolze 10fba98c88 Check for getopt instead of getopt_long to decide if the system has a
working getopt implementation (we don't use getopt_long at all).
Include {topdir}/shared for the clients so they pull in our included
getopt.h. This fixes bulding on systems which have getopt(), but no getopt.h.
2009-06-06 16:01:38 +00:00
mmdolze 8644e5a347 Add checks for null pointer / failed malloc to menu code 2009-06-06 14:48:48 +00:00