Commit Graph
100 Commits
Author SHA1 Message Date
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 d2d466cf8a Fix parameter types on Linux. 2011-01-25 19:25:53 +00:00
mmdolze 004c5d7869 Better check for screen bounds. 2011-01-24 19:46:32 +00:00
mmdolze 95512f591d Add note about necessary review of render_string (don't have the time right now). 2011-01-24 19:46:06 +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 b0a8da6079 Document missing or new settings for picoLCD driver. 2011-01-23 14:07:41 +00:00
mmdolze a99c51aa29 Add note about changes to picoLCD driver. 2011-01-23 13:32:34 +00:00
mmdolze dbc2eb7cfc Clean-up includes and move all defaults to header file.
Fix heartbeat and bignum by mapping character 0 to 8.
Fix backlight and contrast handling (by M. T. Jones).
Add more icons (by M. T. Jones).
Add OffBrightness for 20x4 (idea by S. Crane).
Add range checking for config settings.
2011-01-23 13:28:16 +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 c64646b4de Move line address in extended mode to other hardware constants (although
is it configurable).
2011-01-19 21:44:36 +00:00
mmdolze ebf9565f17 Do not configure scheduler twice. Try to read from 0x3BD (3rd LPT port) if
DELAY_IOCALLS is configured. DELAY_IOCALLS is never selected automatically
but has to be configured by the user anyway. Did not use writes to 0x80 as
readings make me think this tries to delay by 1ms where we want 1us.
2011-01-19 21:33:18 +00:00
mmdolze f021cc8327 Add an option to start LCDd with screen rotation disabled. 2011-01-19 19:08:37 +00:00
mmdolze 561744a3cc Check for xmlto using configure and use that when creating the user and
developer guides. Add some convenience targets to help creating documentation
releases.
2011-01-19 19:04:54 +00:00
mmdolze fc545022f8 Spell check Docbook guides. Hint: Installing a spell checker in you IDE is
a good idea!
2011-01-17 23:16:03 +00:00
mmdolze e30ebae6a5 Send bigfont.h to attic. It is not used anywhere. 2011-01-15 20:33:57 +00:00
mmdolze e6f5d78506 Correct some typos. Add IDs to headings. Add some hints about commenting. 2011-01-15 20:22:00 +00:00
mmdolze f8df8dcf5c Convert some comments. Add more doxygen to hd44780-serial. Don't use a
typedef if not really necessary.
2011-01-15 19:36:16 +00:00
mmdolze d0def6df67 Declare prototypes. This allows them to be documented with doxygen. 2011-01-15 19:33:35 +00:00
mmdolze 8ddd9aad5b Add some notes about typical buffering mechanisms. 2011-01-15 19:32:58 +00:00
mmdolze 8bdfdaaaa1 - Convert function comments to Doxygen.
- Remove instructions that have been transfered to the User's Guide.
- Remove the unused line drawing function.
- Pass through indent.
- Add more comments to the initialization code.
- In the user guide remove table with wiring scheme by LCD pin but add a new
  one for bitshaker wiring.
2011-01-15 19:32:01 +00:00
mmdolze 4a111252e1 Write down the steps during rendering. 2011-01-10 21:30:54 +00:00
mmdolze 6e0b7bca91 Implement missing optional functions (except heartbeat). Add a note to
each functions if it's required. Intention is to make this driver a template
for new drivers.
2011-01-10 21:30:10 +00:00
mmdolze 86fd724744 Implement our own check for xosd. It's not more bad than xsod's macro but
works if xosd it not installed.
2011-01-10 06:47:44 +00:00
mmdolze 7ba38b2af8 Add notes about known bugs in lis and xosd driver and timing.h. 2011-01-09 23:26:42 +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 e36cafd6c9 Convert comments according to style guide. Pass through indent but preserve
the 4 spaces indent.
2011-01-06 15:20:52 +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 46c45a87e5 Remove users from the SF team which are no longer members of the project and
remove duplicate entry for Bjoern.
2011-01-06 08:45:34 +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 4f5f3fa331 Fix previous commit 2011-01-04 16:31:12 +00:00
mmdolze 680891761e Analyze and document the t6963 driver:
* Add Doxygen comments (also for internal functions, shortened for API).
* Document initialization.
* Remove some unused variables and defines.
* Pass through indent.
* Remove references to LCD pins from documentation and add some warning.
2011-01-03 10:51:50 +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 0107040bdf Fix hBars drawing into the next character or wrapping at screen end. 2010-12-28 11:08:00 +00:00
mmdolze e86de6ff24 Add usbtiny and mdm166a drivers. 2010-12-27 13:18:38 +00:00
mmdolze 49be190daa Add the same CSS stylesheet as for the user guide. Use dollar entities to
prevent keywort substitution.
2010-12-27 12:16:16 +00:00
mmdolze dfebe6206d Connect the debug driver to the build system. It has always lived only in
CVS and was not to be compiled by 'make'. However, it may serve as a template
for new drivers. Therefore add it to Makefile.am to have it in the
distribution. Note that it will only get compiled if explicitly given to
configure or if '--enable-debug' is used with '--drivers=all'.
2010-12-27 10:39:35 +00:00
mmdolze 5b6135c144 Add more Doxygen comments. Remove unnecessary includes. Pass files through
indent (unfortunately this makes num_map[] a little less readable).
2010-12-27 09:45:08 +00:00
mmdolze e79462c21d Remove global send buffer. Move it into private data instead. This also
allow use by other connection types.
2010-12-23 08:01:55 +00:00
mmdolze ad7aa0e431 Add tags to ignore list 2010-12-21 00:21:16 +00:00
mmdolze 0fe450b260 Remove tags file from CVS. It is outdated and should be generated locally
anyway. Anyone who want to use it may run 'make topleveltags' or the various
tags-* targets on his/her own.
2010-12-21 00:19:39 +00:00
mmdolze 408a64f169 Fix lis_read_thread not returning properly on error. 2010-12-14 05:46:02 +00:00
mmdolze 1b8f843c5f Corrected error message creation. 2010-12-09 21:31:28 +00:00
mmdolze 68d4903b4b serialVFD driver:
* Add more documentation about the inner working of this driver.
* Consolidate constant definitions.
* Stop the 'include-mania': Only include necessary header files within the .c
  files.
* Use lpt-port.h to define LPT port register values.
* Modify some comments to conform the the style guide.
2010-12-09 21:25:42 +00:00
mmdolze 04039c5b97 Replace the standard text 'LCD using xyz chipset' with some real information. 2010-11-28 22:17:01 +00:00
mmdolze 18f0977605 Add a little bit of color to the User Guide by supplying a CSS stylesheet,
which adds colored borders to notes and screen contents.
2010-11-28 22:15:30 +00:00
mmdolze dacb2beb73 Add MDM166A driver for Futaba/Targa USB VFD (Christoph Rasim). 2010-11-26 21:43:57 +00:00
mmdolze a12ab7127b Link stylesheet to correctly display the tabs on the header. 2010-11-26 21:03:40 +00:00
mmdolze 24846beac5 SureElec: Fix stall on startup. 2010-11-25 07:11:41 +00:00
mmdolze c7aeaa0e2f Small documentation updates (typos, comments). 2010-11-25 07:05:49 +00:00
mmdolze 85c5e8c45a hd44780: Added 'usbtiny' connection type (by Siarhei Herasimchuk). 2010-11-22 20:01:10 +00:00
mmdolze 23a7c6c6b0 Add the release chapter to Makefile. Note the branch point CVS tag. 2010-11-22 19:54:05 +00:00
mmdolze ca7ed773f1 Restructure chapters in the developer guide. Add chapter about programming and
making releases. Add driver acceptance guideline.
2010-11-20 16:45:22 +00:00
mmdolze 29adfa40db We don't provide bz2 tarballs anymore, so remove them from docs. 2010-11-20 16:43:24 +00:00
mmdolze 9c1bde0ece Add some more meaningful comments I found in an old file on the lcdproc.org
web site.
2010-11-16 21:51:25 +00:00
mmdolze 67c07b52dd Use C-comment style (practise what I preach). 2010-11-16 21:48:34 +00:00
mmdolze 6deaa40e83 Move some meaningfull text into the Doxygen comment. 2010-11-16 21:30:23 +00:00
mmdolze af10f3bd72 Remove quotes from Doxygen comment because it make dot fail to draw grpahs. 2010-11-16 21:29:08 +00:00
mmdolze 8c38cee890 Sort file/flags/library lists. 2010-11-16 21:27:46 +00:00
mmdolze 88ef5aa99d Correctly spell Crystalfontz, remove failing e-mail address. Add myself as
maintainer.
2010-11-16 21:26:21 +00:00
mmdolze 932cc63d94 Use module output function to control key LEDs (Martin Jones) 2010-11-16 21:24:46 +00:00
mmdolze 344c2cb0dd Fix previous commit. 2010-11-06 17:44:00 +00:00
mmdolze 747cf6d80a Update documentation a little bit to what is currently done. Reformat
configure's driver list more nicely.
2010-11-06 17:42:45 +00:00
mmdolze 2a3f558545 Add some more comments to CFontzPacket driver. 2010-10-31 14:09:05 +00:00
mmdolze 55a8624b74 Moved the client language to the beginning of the document. Cleanup driver API
documentation a little bit.
2010-10-31 14:08:31 +00:00
mmdolze fd9b2ce713 Big cleanup: Remove trailing whitespace from files (except those imported
from external sources).
2010-10-30 18:04:21 +00:00
mmdolze 49cd060374 Fix cellwidth calculation and some off-by-one errors (thanks to T. Jarosch). 2010-10-28 20:50:16 +00:00
mmdolze 152b68d5fe Check for sys/pcpu.h separately as it requires additional headers. 2010-09-04 20:57:10 +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 01f3576a9d Small code reformatting. 2010-05-11 20:56:22 +00:00
mmdolze f8d7efd868 Add a little more comments to hBars/vBars. 2010-05-11 20:55:23 +00:00
mmdolze fbe7c3d4a0 Partly revert previous commit as hd44780-i2c cannot be used on FreeBSD right now. 2010-05-11 20:54:43 +00:00
mmdolze 2a128e599c Move checking for I2C headers to configure.in. Check for FreeBSD's iic
headers as well.
2010-05-11 20:50:31 +00:00
mmdolze c5bb13ddfb Fix variable initialization and setting of socket options (update by author). 2010-05-11 20:33:39 +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 c084e6b800 Update documentation for CFontzPacket changes. 2010-02-13 17:33:27 +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 b2348d5b53 Update doxygen doc for lcdexec and lcdvc. 2010-02-03 21:50:57 +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 e914ee3d72 Check all http links, update permanent redirects. Do not remove links with
404 errors as they may still be available at www.archive.org.
2010-01-30 18:53:43 +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 1f513ae997 Fix an issue with a special icon on the imon-lcd that does not get displayed
and switches vbars to "norrow style" (C. Leuschen)
2010-01-28 19:14:57 +00:00
mmdolze ed3aabd77b Pass through indent. Whitespace change only. 2010-01-23 17:54:09 +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 775041e81d Some formatting changes: Use tabs to indent, C-style comments and remove
some outdated comments as well as trailing whitespace.
2010-01-18 23:17:13 +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 6fba5cef68 hd44780: Add keystring array boundary check. Have all subdrivers close
previously opened devices.
2010-01-10 17:07:48 +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 11ebc2d783 Fix reporting which caused the driver to crash. 2010-01-04 07:40:14 +00:00
mmdolze 8fd068b5ff Welcome 2010. 2010-01-04 07:38:19 +00:00
mmdolze 0b134df632 Correct settings name for SureElec driver. 2009-12-20 11:19:16 +00:00
mmdolze 191e339450 Fix number typos in the Euro charmap and the charmap demo code. 2009-12-15 21:40:32 +00:00