Commit Graph
100 Commits
Author SHA1 Message Date
marschap d6971eaec5 adapt get_brightness() & set_brightness() to API 2005-06-12 16:39:47 +00:00
marschap fbd81f910e add get_brightness() & set_brightness() functions to CFontz{633,Packet}.c
and normalize the brightness to range [0, 1000] to support changing the
brightness online
2005-06-12 16:25:50 +00:00
marschap 285db95e4d double resolution of contrast & brightness sliders 2005-06-12 16:09:17 +00:00
marschap 88638117f3 get rid of unnecessary variables; keep make local variables static 2005-06-12 16:07:49 +00:00
marschap 9f66b41c08 make menu pointer wrap on UP/DOWN movements to support 3-key configs 2005-06-12 08:08:21 +00:00
marschap 0c3bf930d3 fix a non-rule line in debian/rules 2005-06-12 07:50:30 +00:00
marschap 570507632e support 3-key configurations with IP input too: wrap around limits 2005-06-07 18:18:30 +00:00
marschap 925e7e0fc5 bignum cleanup 2005-06-05 16:26:05 +00:00
marschap 4e0eaa1aa6 add compile time option (not in configure.in) to support delays when writing 2005-06-05 14:55:07 +00:00
marschap 539e41eede corrected typo introduced yesterday; add bignum support for the 20x4 displays (e.g. CF635) 2005-06-05 14:53:37 +00:00
marschap bc60961c5c generate colons between hours, minutes and seconds in big clock display 2005-06-05 14:51:07 +00:00
marschap 1a9e9ca54c little cleanup 2005-06-05 14:48:49 +00:00
marschap e476ef26b7 clean up ugly bignum code a bit, do range checks, support colon display 2005-06-05 14:44:11 +00:00
marschap 3046d92ae9 a few readability changes to hd44780-charmap.h;
new file CFontz-charmap.h used in CFontzPacket.c for all models except CF633
to adapt the CrystalFontz icharacter codes better to ASCII / ISO-8859-1
2005-06-04 22:07:37 +00:00
marschap deea25e6ea fix max. width of sliders in 4-line mode 2005-06-04 14:54:31 +00:00
marschap 3846b411d9 better support for IPv6 inpu: not perfect, but on its way;
support IP input in 4 key mode
2005-06-04 14:31:54 +00:00
marschap 9e2983ab45 do seamless hbars when SEAMLESS_HBARS is defined 2005-06-04 14:16:11 +00:00
marschap 8cd909baf9 add CFontz633_cellwidth() and CFontz633_cellheight() functions so that
CFontz633 and CFontzPacket return the correct cell dimensions to clients
2005-06-04 12:40:17 +00:00
marschap 09937f0edd little fixes: constrast setting for CF63x in CFontzPacket.c, typo in Cfontz633.c 2005-06-04 07:53:14 +00:00
marschap ea214762ef little changes: arg reordering, ... 2005-05-31 14:53:18 +00:00
marschap b4d557123c reduce number of global/static variables;
make KeyRing and ReceiveBuffer functions take the KeyRing/ReceiveBuffer as an argument;
adapt CFontz633.c CFontzPacket.c accordingly;
remove superfluous functions; more effective writing; correct max. packet size
2005-05-30 16:56:29 +00:00
marschap a1adadfe8d add Lucian Muresan's LCDproc 0.5 port port of Venky's iMON driver 2005-05-29 20:47:58 +00:00
marschap 6508a57be7 remove obsolete function declarations, declare functions & variables only
locally used as static; remove duplicate and unised code
2005-05-29 19:42:47 +00:00
marschap 75a545c2eb fix some typos to make the files compile in the current CVS 2005-05-29 19:40:21 +00:00
marschap 6a407f22bb adapt style to that of CFontz633.c & CFontzPacket.c 2005-05-29 19:10:58 +00:00
marschap 4b4e7fc88c convert to the use of PrivateData *, harmonize with CFontzPacket.c 2005-05-29 19:06:20 +00:00
marschap 9e7c90d1ef lots of little fixes for harmonizing it with CFontz633.c 2005-05-29 17:59:43 +00:00
marschap 775ac47a30 minor spacing "fix" 2005-05-29 17:43:09 +00:00
marschap be2994832a do not assume PrivateData != NULL on closing 2005-05-29 17:42:01 +00:00
marschap 79cfbc7b13 patch by Helmut A. Bender: use iopl(3) instead of iopl(1)
According to some googling this seems the more correct way to call iopl()
2005-05-27 17:52:10 +00:00
marschap ff290254f0 make sure docs/lcdexec.1 gets included into the generated tar files 2005-05-26 20:07:06 +00:00
marschap 28e1b7f42e correct number of arguments in battery_screen 2005-05-26 20:02:32 +00:00
marschap f562bb6c57 added patch from Lucian Muresan to make irman driver compile again
(note: nobody said it works ;-)
2005-05-26 19:49:01 +00:00
marschap 6dd702cd70 fix previous commit 2005-05-26 18:38:48 +00:00
marschap e01689cc1d space cleanup and some preparations for PrivateData 2005-05-26 18:02:32 +00:00
marschap 3658cedc35 space cleanup 2005-05-26 17:41:54 +00:00
marschap 8296d0b716 overhauled CFontz633io.c: doxygen'ated it, added more check for cyclical fifos, ... 2005-05-26 15:00:49 +00:00
marschap 0fb7404fbb use variable gauge_hgt for gauge heights, no purely numeric widget names 2005-05-22 17:50:17 +00:00
marschap 9e5fa7ae04 extracted utility functions into util.c, use utility functions where possible,
add sample output to each screen function
2005-05-22 15:28:04 +00:00
marschap 82f8f7b19d overhauled CPU displays to use whole LCD 2005-05-22 09:04:00 +00:00
marschap 3771a8273e added .cvsignore files, thanks to Volker Boerchers for his contribution 2005-05-22 07:16:48 +00:00
marschap 00c0ca9b9b generate output fitting exactly on the LCD 2005-05-21 18:39:00 +00:00
marschap cff06d9b92 smaller changes 2005-05-21 18:38:10 +00:00
marschap 7049e621c7 make lcdexec.1 config file example be displayed preformatted 2005-05-21 16:06:44 +00:00
marschap 9ead481dbb remove duplicate code: make sock_send_string() depend on sock_send();
use defined constants and character constants instead of simple ascii values;
new function sock_printf(): format data using vsnprintf and send it
2005-05-21 14:55:46 +00:00
marschap 0571ae69e6 minor re-wording 2005-05-21 14:29:29 +00:00
marschap 9bcbff7601 move README.glcdlib ro docs/; include docs/lcdexec.1 & LCDclients.conf into
the appropriate Makefile.am files to get them into the nightly tar balls
2005-05-21 12:12:50 +00:00
marschap 4ad0a971eb add sample client configuration file LCDclients.conf 2005-05-20 15:19:45 +00:00
marschap a6ddf8b990 new menu_set options: -parent and -is_hidden
So all types ahve the following options:
 -text "text"                        ("")
     Sets the visible text.
 -is_hidden false|true       (false)
     If the item currently should not appear in a menu.
 -parent id                  ()
     Sets the parent of this item.

Additionally menu_goto accepts an optional <parentid>
arg. (V.Boerchers)
2005-05-20 09:44:47 +00:00
marschap 30d5d97c68 new: 'menu_set_main' (V.Boerchers) 2005-05-20 09:44:37 +00:00
marschap 1ae61a42e0 - Implementation of a new menu command 'menu_set_main'. New
'custom_main_menu' instead of 'main_menu' is used for
  navigation. The "real" main menu is saved in a variable
- Adaptation to the MenuItem changes (V.Boerchers)
2005-05-20 09:44:30 +00:00
marschap 2ae8430f6e MenuItem has a new property 'client': every menue knows
which client it belongs to (V.Boerchers)
2005-05-20 09:44:22 +00:00
marschap 84c810f0ec - Implementation of 'hidden' menus
- addition of the new MenuItem property 'client' obsoletes
  'association' for this task, so it's only used for driver
  (look for menu_set_association() in menuscreens.c) (V.Boerchers)
2005-05-20 09:44:12 +00:00
marschap 4e08a3d944 - updated for new menu commands
- corrected: menuscreen_goto -> menu_goto (V.Boerchers)
2005-05-20 09:44:04 +00:00
marschap b7f4c1d450 changed option --enable-permissive_menuscreen_goto ->
permissive_menu_goto (V.Boerchers)
2005-05-20 09:43:42 +00:00
marschap 59a5a78947 added Lucian Muresan's patch to check for glcdprocdriver at compile time 2005-05-20 08:27:36 +00:00
marschap 7c6d32223b revamped KeyRing functions: stricter checks 2005-05-20 08:04:21 +00:00
marschap d48ed1f8ed longer sleep() after reset to solve display issues (according to Tom Scofield) 2005-05-20 07:37:17 +00:00
marschap bee8839ac4 correct gauge sizes in case of height >= 4 2005-05-19 19:09:04 +00:00
marschap 7222b6d7f3 prettified lcdproc screens in mem.c: made them use the LCD screen estate
available and corrected a bug which gave wrong results for widths != 20
2005-05-17 18:50:41 +00:00
marschap b23db720cb updated hd44780.docbook with Matteo Pillon's lcdserializer documentation patch 2005-05-17 18:13:15 +00:00
marschap e2cd8a6b0e corrected line / column permutation in CF633_flush 2005-05-17 09:36:44 +00:00
marschap c6b010848f better use LCD screen estate if (width != 20) 2005-05-16 18:41:57 +00:00
marschap 0cb60954be added support for CF635 (maybe incomplete, untested),
converted to have private data in PrivateData *
prettified a few functions
2005-05-16 17:17:35 +00:00
marschap 634b86d63e better checks for some necessary arrays,
alternative implementation for CF633_flush (hidden behind #ifdef)
more space between functions
2005-05-16 17:12:36 +00:00
marschap 6de90bf3a5 replace some spaces by tabs for easier reading 2005-05-16 17:09:25 +00:00
marschap 43dea548e2 add DEFAULT_SIZE_CF635 definition 2005-05-16 17:08:39 +00:00
marschap 741e3f8fe0 fix some typos 2005-05-16 17:06:41 +00:00
marschap 03cc353af6 add Matteo Pillon's lcdserializer ConnectionType patch to the hd44780 driver 2005-05-16 11:52:39 +00:00
marschap 3caefc4e87 add support for the glcdlib meta driver by Lucian Muresan 2005-05-16 10:57:28 +00:00
marschap 8a5458fda6 make chrono.c more dependent on real LCD sizes instead of beleiving in 20x4 & 16x2 2005-05-16 10:01:57 +00:00
marschap a7bcc05d03 added Ekkehard Kraemer's documentation update to the winamp wiring scheme. 2005-05-13 21:54:53 +00:00
marschap d2e6100f28 fix check for libusb_includepath: required file is called usb.h 2005-04-08 15:23:11 +00:00
marschap f5edc58fd7 fix from M. Dolze for his FreeBSD patches 2005-04-08 14:37:04 +00:00
marschap 412c9a3c40 extended the fix from port_access_multiple() to port_access() 2005-04-07 08:43:06 +00:00
marschap 2a65ccaa6c fixed previous commit 2005-04-07 07:11:48 +00:00
marschap 99e4ddabfe included modified version of M.Dolze's patch patch_drivers_port from his web site 2005-04-06 15:30:25 +00:00
marschap 941fb5598a added M.Dolze's patch_client_machine_FreeBSD patch (with slight variations) 2005-04-06 11:04:43 +00:00
marschap 2ff13238d9 - implemented menuevents enter+leave
- make menuscreen_goto() more permissive: any transition between one
  client's menu is allowed. If configure option
  --enable-permissive-menuscreen-goto is choosen any transition is
  allowed
- #define for TESTMENUS now set via configure
 option --enable-testmenus (VB)
2005-04-05 07:28:47 +00:00
marschap 28f812bef8 - implemented menuevents enter+leave
- new method menuitem_get_client()
- more maintainable way to specify count of enums
- corrected some typos (VB)
2005-04-05 07:28:35 +00:00
marschap 06f6590c9c eliminate compiler warnings (VB) 2005-04-05 07:28:18 +00:00
marschap f15c5729ec - added documentation for ip-menuitem, menuscreen_goto,
menuevents enter+leave.
- corrected typos and cut-n-paste errors (VB)
2005-04-05 07:27:45 +00:00
marschap 29065ca74d additional advice (VB) 2005-04-05 07:27:20 +00:00
marschap 2bd0e16638 added some 'fixme's (VB) 2005-04-05 07:26:43 +00:00
marschap bd8310d8b2 bugfix: make essential_clock_screen() available in
clients/lcdproc/mode.c (VB)
2005-04-05 07:25:52 +00:00
marschap 90bac52310 new configure options:
--enable-testmenus: enable server test menus (default disabled)
 --enable-permissive-menuscreen-goto: allow transitions between
   different client's menus (default disabled) (VB)
2005-04-05 07:25:17 +00:00
marschap 4ce924339a simpler way to use autogen.sh (VB) 2005-04-05 07:24:38 +00:00
marschap b0a9e45704 reorganized report_* variables in main.c and report.c so that they can be static
to their file; also static-alized other variables an functions in main.c
2005-04-01 17:17:05 +00:00
marschap b9d7338a40 remove wrong declarations of report_level and report_to_syslog 2005-04-01 14:35:26 +00:00
marschap 7f8d84f026 added IP address input method to menus by Jeff Costlow, f5
(IPv6 support is not in good shape yet)
a few more bug fixes, more error checks
extended input methods using more key (left, righ) if they are available
2005-03-13 21:23:56 +00:00
marschap 0de01ac0f7 make debug() the first action in each function
don't fail on NULL pointer arguments in debug()
2005-03-13 16:32:16 +00:00
marschap 75fef67dfe more NULL-pointer checks in menuscreens.c 2005-03-13 16:10:24 +00:00
marschap 846b6fb740 more error checks in menuitem.c
option value in ALPHA mode is treated special in menu_commands.c
2005-03-13 13:17:32 +00:00
marschap e29154a03b use the correct union elements 2005-03-12 22:31:20 +00:00
marschap f58c78e993 iautogen.h: copy generated files into to build dir instead of creating only symlinks 2005-02-28 20:33:39 +00:00
marschap fcfd6b6b93 generously add tests for NULL in various menu related functions 2005-02-28 20:21:40 +00:00
marschap ed90f0f643 check only once for sched_setscheduler and i386_get_ioperm in the same lib 2005-02-28 11:18:47 +00:00
marschap 9633fa7a2f correct handling of --enable-libusb / --disable-libusb in configure.in 2005-02-28 09:40:30 +00:00
marschap 44e5bb9c61 replace some obsoleted autoconf/automake macros and update autogen.sh accordingly 2005-02-27 22:11:42 +00:00
marschap 89023dbca7 shamelessly add myself to CREDITS file 2005-02-26 12:52:15 +00:00