Commit Graph
100 Commits
Author SHA1 Message Date
mmdolze 02bcab3407 Fix case statement. 2013-01-17 21:29:56 +00:00
mmdolze cf96068bef Add a missing reference to the main menu. This fixes building with
--enable-permissive-menu-goto (#3599609).
2013-01-17 21:27:27 +00:00
mmdolze 370926811a Fix a problem when using the left key to change the ring and checkbox menu
items. The old code used modulus which does not give the required result,
for C (ISO 1990) and before the result is implementation defined so may have
worked for some compilers / targets but from C (ISO 1999) onwards the sign
of the result comes from the dividend so will not work. (By M. T. Jones)
2012-12-27 11:49:29 +00:00
mmdolze 7b316f4d96 sed1520 driver: Add an option for inverted segment mapping (idea by R. Buchert) 2012-12-27 11:19:41 +00:00
mmdolze 0fdbf82334 Updated URLs for glcdlib and pyramid drivers. 2012-11-04 10:38:46 +00:00
mmdolze f36642ab69 Fix a segmentation fault occuring when using menu_add_item without a text
label. While there sync code and documentation about the possibility to use
a label and options.
2012-10-10 16:29:39 +00:00
mmdolze d3cc108f57 Write about the client language. 2012-09-02 12:22:14 +00:00
mmdolze c11ec7adea Replace the Docbook version of pictogram spec with one using reStructuredText.
The idea was to write on Docbook to be able to copy and paste the spec into
the Developer's Guide. However, writing a quickly changing document in Docbook
turned out to be complicated. RST is faster to update and can be converted
into nice HTML using docutils.
2012-09-01 22:25:25 +00:00
mmdolze 5d1434aec9 Follow Doxygen file changes 2012-09-01 21:37:08 +00:00
mmdolze 748697daf4 Fix help text for disabling PNG library support. 2012-09-01 21:33:15 +00:00
mmdolze da78792b3a Update the Doxygen configuration for Doxygen 1.8.2. While there change a few
options:
(a) enable Markdown support,
(b) add a Mainpage,
(c) do not strip comments from code,
(d) use Doxygen's default header and footer without timestamp,
(e) enable the search box.
2012-09-01 21:29:56 +00:00
mmdolze 8921af95a6 Fix spelling in comment (by P. Corner). 2012-09-01 21:24:39 +00:00
mmdolze 38c7fb27a3 Fix a few text mistaked discovered during merge. 2012-08-19 14:13:26 +00:00
mmdolze 8377bdf212 Finally kill the Id strings. 2012-08-19 14:12:28 +00:00
mmdolze d3d80c1b71 Update dates in preparation of release 0.5.6. 2012-08-19 12:52:33 +00:00
mmdolze ec1cabb7d4 Add the current ideas about pictograms. 2012-07-09 18:27:24 +00:00
mmdolze bfd35b4dfc Extend enumerations with the values used for error handling to silence more
clang warnings.
2012-04-25 19:53:15 +00:00
mmdolze 9e4c082fd0 We used a deprecated style of GNU GCC's designated initializers. Change them
to correct C99 style to fix warnings when building with clang.
Fix some typos in hd44780-serial while being there.
2012-04-25 06:34:36 +00:00
mmdolze 83b68ed09a Work around a change in automake 1.11.3 that does not allow 'pkglibdir' to
be used with 'PROGRAMS' any longer (#3494755).
2012-03-11 10:58:23 +00:00
mmdolze dc49e0a96e hd44780/serial: Add support for adjustable backlight. Solve some possible
problems that may arise by comparing signed and unsigned char values.
2012-03-11 07:32:38 +00:00
mmdolze 1579d452d9 Fix a few compiler warning when compiled with -Wextra. 2012-02-29 23:20:37 +00:00
mmdolze e486266628 lcdproc client: Fix build on OpenBSD >= 5.0. 2012-02-26 12:50:47 +00:00
mmdolze a151ee0fc4 Mega change to the LCDd's header files:
1. Use <stdbool.h> if it is available but keep a compatibility shim in
   shared/defines.h in case it is not.
2. Unbreak the circular header dependencies (mostly):
   2a. client.c and client.h may NOT depend on 'struct Menu'. Use a void pointer
       and casts instead.
   2b. Separate the data type definitions in client.h and screen.h from
       function prototypes which may require other data structures. This makes
       header dependencies much more easy to maintain. Usually the data types
       should have been moved to their own files but I (mmdolze) chose to
       separate them using different header guards.
   2c. Remove many now unused header includes.
Apply (old BSD-) style on menuscreens.c.
2012-02-22 22:25:32 +00:00
mmdolze 5e1edf5b60 Fix Doxygen comments. 2012-02-22 22:07:22 +00:00
mmdolze d649a24cd7 Adjust coding style guideline to the use oof GNU indent. 2012-02-19 20:30:21 +00:00
mmdolze ffd7126b7d Fix RPM init script hanging on recent OS (#3488223). 2012-02-18 15:35:18 +00:00
mmdolze 4ea3f1cf98 hd44780: Added 'usb4all' connection type for USB-4-all devices (T. Mohaupt) 2012-02-18 15:24:43 +00:00
mmdolze a2083da28f Add sdeclcd driver for Watchguard FireBox appliances (by F. Mertz). 2012-02-01 22:42:59 +00:00
mmdolze 8437789751 Correct and extend instructions about adding the driver documentation (by F.
Mertz).
2012-02-01 22:39:28 +00:00
mmdolze 69a6f74c76 hd44780/ftdi: Fix a bug in ftdi_HD44780_backlight() and add backlight
switching capability for 4bit mode. Document the different BL line level
and a small switching circuit for it.
2012-01-02 09:22:30 +00:00
mmdolze 6336c6c99e Fix the last line not being used by custom characters (ID: 3466136). There
was a lastline setting used which was neither initialized nor read from config.
While there, re-comment the file.
2011-12-30 01:08:17 +00:00
mmdolze 2228e05187 Heavily re-comment the hd44780-low.h file. 2011-12-30 00:21:30 +00:00
mmdolze 092236f518 Don't typedef the low-level functions structure. Use struct* the two times
where necessary (this avoids confusing Doxygen as well).
2011-12-30 00:20:32 +00:00
mmdolze 1d47d3abc3 Make the sed1520 driver work in 80-family connection style without requiring
an external inverter.
2011-12-29 17:00:49 +00:00
mmdolze cd22706496 Modify the 't' character that looked a little odd. 2011-12-29 16:56:52 +00:00
mmdolze d7f799285f Add code to use libusb-1.0 asynchronous transfers to fix problem of
occasional missed keys and eliminate use of key_timeout which disrupts the
main loop timing (by M. Jones).
2011-12-10 15:39:46 +00:00
mmdolze 27e7f895fd Add glcd driver and connection types. 2011-12-04 10:31:19 +00:00
mmdolze acffa72bd1 Fix spelling. 2011-12-04 10:15:22 +00:00
mmdolze 655f22e706 Change links to LoS-Panel web page. 2011-12-04 10:15:10 +00:00
mmdolze 1b20da07dd Describe keypad settings. 2011-12-04 10:14:22 +00:00
mmdolze 5c3afe8068 Show only unique processes in 'S' screen on FreeBSD. 2011-12-03 20:13:54 +00:00
mmdolze 7d4dd740eb Add key pad support to the glcd driver. 2011-12-03 20:10:40 +00:00
mmdolze 3f5d81461a Fix backlight setting. 2011-11-27 10:59:43 +00:00
mmdolze 09251fee8c Add the glcd2usb connection type to the glcd driver. 2011-11-27 10:36:50 +00:00
mmdolze b54ffe59b5 glcd driver: Fix doxygen comments and add a section to the User's Guide. 2011-11-24 07:44:25 +00:00
mmdolze eac9d590a8 glcd driver updates:
1. Remove connection type header files and put prototypes locally and in
   glcd-drivers.h. Don't fall into the pitfall of too many header files again.
2. Create a separate frame buffer structure (this allows easier re-use of
   the frame buffer functions).
3. Add a function to retrieve pixel values from framebuffer.
4. Add the 'serdisplib' connection type.
5. Support display width that are not a multiple of 8 (e.g. 122x32).
2011-11-22 23:14:45 +00:00
mmdolze 85241c253d lcdproc client: Fix core dumps on FreeBSD if started as non-root. 2011-11-20 16:35:42 +00:00
mmdolze 2a5bf194df Fix previous commit 2011-11-20 15:31:18 +00:00
mmdolze 46b0c5cf77 Apply style to all client files. 2011-11-20 15:24:14 +00:00
mmdolze 27d1bc1087 Re-indent machine* files. 2011-11-20 14:08:05 +00:00
mmdolze e45822c37d glcd driver: Implement user selectable cell size (if FreeType enabled), big
numbers using FreeType and 16x24 built-in font. Complete API towards LCDd
and connection types.
2011-11-20 11:15:39 +00:00
mmdolze fdd440219d Unbreak build on non-i386 OpenBSD versions. 2011-11-19 11:36:15 +00:00
mmdolze 66cfe148f7 Remove long time obsoleted debug.h. 2011-11-16 21:07:25 +00:00
mmdolze e907d73588 Link LCDd itself with pthread library if available. This should fix lockups
on the lis and xosd drivers.
2011-11-16 21:06:50 +00:00
mmdolze 77bf952dd2 Change icon handling and charmaps:
* The full block icon now has index 0 and the heart has index 7. This makes
  the full block work if vBar custom chars are loaded (which use index 1-7).
* Prevent (hbar, vbar, bignum) modes from overwriting custom chars (except
  full block).
* Prevent the heartbeat from overwriting custom chars in vbar and bignum mode.
* Make the driver point to 0x1A and 0x1B characters for right/left arrow
  characters (those are the codes from HD44780 A02) and make all charmaps
  pointing to the correct characters.
* It is now possible to map the tilde character.
* Update other drivers that use hd44780-charmap.h (IOWarrior and ula200).
* Replace characters using charmaps on input instead of output!
* Remove some unnecessary comments.
2011-11-15 21:40:23 +00:00
mmdolze 438788e157 Remove commented out custom char definitions for which characters from CGROM
are used. Support the selector at left/right icons with newer firmware.
2011-11-15 19:30:39 +00:00
mmdolze fdbfd335ac Fix mapping of the interpunct. 2011-11-15 19:29:18 +00:00
mmdolze 37b931cef6 Fix prototypes. 2011-11-15 19:28:22 +00:00
mmdolze d864da83f0 Include config.h to make debug() work correctly. 2011-11-15 19:27:38 +00:00
mmdolze ea54f33f90 Document the limitations of the frame widget. 2011-11-15 19:26:46 +00:00
mmdolze e969faa34b More fix for Config::Model. 2011-11-09 21:30:39 +00:00
mmdolze 0bdbc5f0cd Cfontz: Fix display of bars and output a warning on startup if driver was
not compiles with SEAMLESS_HBARS (hbars will not display correctly then). Also
update User's Guide.
2011-11-07 20:26:17 +00:00
mmdolze 5b82c82b25 Update the AX_CFLAGS_GCC_OPTION macro to the latest GPL2 version. Increase
minimum required autoconf version to 2.61. While there correct AM_INIT_AUTOMAKE.
2011-11-07 06:55:00 +00:00
mmdolze 641d1f0931 Change some descriptions so Config::Model can parse them more reliable (D. Dumont). 2011-11-07 06:49:07 +00:00
mmdolze eaa3f83515 Fix spelling. 2011-11-05 10:19:37 +00:00
mmdolze 196b79ce39 Replace FT2_* flags on our own. If FreeType is not installed, its AC macro
is not available which does it even if Freetype is disabled.
2011-11-05 07:53:33 +00:00
mmdolze b7c9fae8b7 Forgot to remove the CFontz633.docbook from the Makefile when removing
the file itself.
2011-11-04 19:18:43 +00:00
mmdolze 2e2bb53af8 Add PNG connection type and Freetype 2 font rendering to glcd driver. The PNG
image writer is for debugging only. The Freetype font renderer still misses
some features (e.g. big numbers, character encoding, non-standard cell size).
2011-11-03 22:09:24 +00:00
mmdolze b1e8fa9fb8 Make glcd_icon5x8() not calling back drvthis->chr() as this the call-back
function is not configurable and interferes with the Freetype renderer.
2011-11-03 21:58:17 +00:00
mmdolze 0fdc92e156 hd44780/serial: Fix handling of keys for LoS-Panel (by M. Kirchner) and change
backlight handling:

Previously if keypad=yes was configured in LCDd.conf a value for the
backlight was sent, regardless of the configuration in hd44780-serial.c.

Now it decides upon the backlight flag from that file (enabling it in
LCDd.conf is still required). If the backlight flag indicates the device
supports backlight, the backlight_on / backlight_off values are sent (even
if they are 0x00)!
2011-11-02 20:04:36 +00:00
mmdolze 760ea0a21a Add the specification for pictogram extension as Docbook article. 2011-10-24 20:27:06 +00:00
mmdolze 57c0645621 New driver: vlsys_m428 driver for Moneual MonCaso 320 (W. Hauck). 2011-10-23 12:08:55 +00:00
mmdolze b8646d2db3 Fix Doxygen comments for glcd_drv. 2011-10-23 11:40:08 +00:00
mmdolze 54755c80af Fix the curses_get_info() function which was incorrectly named. 2011-10-23 11:04:24 +00:00
mmdolze 842a3195ef Correct the order of tokens returned in response to 'hello' command. 2011-10-23 11:03:27 +00:00
mmdolze 5be8d42265 Fix bars not correctly being set after output(0x0). 2011-10-23 09:35:07 +00:00
mmdolze 4438d51ab0 Correct spelling in LCDd.conf (patch by D. Dumont and myself). 2011-10-23 08:49:52 +00:00
mmdolze 869559f1fe Fix missed keystrokes (imported patch from Debian). 2011-10-23 08:23:47 +00:00
mmdolze 72dff35234 Correct settings example for hd44780/ftdi in 4bit mode (by L. Colangiuli) 2011-10-06 20:29:29 +00:00
mmdolze 377aa5d9f8 Step 2: Add glcd unified graphic display driver. See glcd_drv.c for details. 2011-09-09 18:45:55 +00:00
mmdolze 9dcabf8ce5 Step 1 to introduce the glcd driver: Refactor T6963 command set and low-level
I/O routines into a separate file.
2011-09-09 18:41:15 +00:00
mmdolze 30822231ad Remove deprecated CFontz633 driver. Use CFontzPacket with Model=633 instead! 2011-08-17 20:48:26 +00:00
mmdolze 648aeaf925 Change port initialization (SF #3212891). 2011-06-26 13:23:56 +00:00
mmdolze 3a2612fc3b Fix a URL. 2011-06-26 13:20:27 +00:00
mmdolze eafd63d2ed Fix spinning of disc icon (by E. Pooch). 2011-06-26 13:19:54 +00:00
mmdolze fa07c1ebc1 Fix deprecation message by migrating to to ftdi_set_bitmode(). Fix style. 2011-04-06 19:04:03 +00:00
mmdolze 55d4668ff9 Fix Doxygen comment. 2011-04-06 19:02:00 +00:00
mmdolze 60658ddee2 Build system: --enable-extra-charmaps option to add language specific charmaps
(currently mappings for input in Russian) and some rarely used controllers.
2011-04-03 19:25:08 +00:00
mmdolze 6712d6fe51 Note the change about size configuration of t6963. 2011-04-03 18:20:51 +00:00
mmdolze 3bb27d1611 New common 5x8 font for t6963, sed1520, mdm166a and i2500vfd. It resembles
the original font of the HD44780 with European character set, but includes
only characters from ISO 8859-1 and has been extended with bar graph and icons.

The t6963 driver now has its size to be configured in pixels! The size in
characters is automatically calculated based on the cell size. This makes
internal calculations more easy.
2011-04-03 18:07:15 +00:00
mmdolze 788ef58b99 check for correct device response; add timeouts for socket (fixes LCDd hang up
e.g. when device disappear) (all by M. Bialonczyk)
2011-03-30 06:35:22 +00:00
mmdolze 5fbc384be5 Imon driver: Add bignum support (Y. Scheglyuk) 2011-03-28 19:09:58 +00:00
mmdolze c9c3272eba Header fixes:
* Do not include system headers in shared files (stdlib.h).
* Don't include lcd.h only once in each driver.
* Remove some unnecessary headers from driver (e.g. syslog.h)
* Include <poll.h> instead of <sys/poll.h>
* Spelling fixes.
2011-03-28 18:17:58 +00:00
mmdolze be5c6d014b Correct spelling for messages and comments. Replace occurances of <space(s)>
followed by <tab> with a single <tab>.
2011-03-24 04:20:36 +00:00
mmdolze 5b90f21c2e Spell checking fixes for man pages (by N. Leverton, D. Dumont, any myself). 2011-03-24 03:56:19 +00:00
mmdolze c6f04179fe Add description of charmap support to imon driver doc. Update koi8-r charmap
to not cover symbols (Y. Scheglyuk).
2011-03-23 07:04:04 +00:00
mmdolze edcab9553f Don't use ac_check_headers with the action to add driver to the list if
checking more than one header. It makes the driver appear several times in
the list of drivers to build. The driver will be built but fails to install
then (reported by D. Dumont). Use a nested way to check for headers instead.
2011-03-12 22:36:48 +00:00
mmdolze d06d06cba7 Register some ToDos. 2011-02-27 15:38:57 +00:00
mmdolze 9771e6ba30 Move the key events from CFontzPacket.c into CFontz633io.h replacing the
unused ones there. Note that CFontz633 driver uses its own key event definitions,
too. Don't update this driver as it is scheduled for removal anyway.
2011-02-27 14:56:34 +00:00
mmdolze b96b60b50d Convert custom characters to 8 byte bitmap.
Remove comments from the code that are already part of docbook documentation.
Pass through indent.
Remove unused prototypes.
2011-02-27 14:02:58 +00:00