Commit Graph
100 Commits
Author SHA1 Message Date
marschap 9db867e71f small fixes 2005-07-27 19:31:08 +00:00
marschap 3dfab66f45 adapt svga driver better to 0.5 API; make it take options from config file 2005-07-27 06:16:26 +00:00
marschap d7d2c5771f update bar functions to 0.5 API for Wirz SLI and MTC_S16209X drivers 2005-07-25 17:54:07 +00:00
marschap 3e1ed65a12 cosmetic changes to a few drivers: keep functions not in the 0.5 API private 2005-07-25 17:05:39 +00:00
marschap 5a44ae5407 update server/drivers/CFontz633io.c so that it checks for an appropriate
response when sending a packet; adapt autoconf infrastructure to support that
2005-07-03 18:48:31 +00:00
marschap 448c39f63c replace printf() used for debugging by fprintf() 2005-07-03 18:03:10 +00:00
marschap a73fab8867 fix previous commit 2005-07-03 17:51:49 +00:00
marschap 7d2612bde8 fix potential division by zero issues 2005-07-03 16:14:45 +00:00
marschap b94ea7ba78 display default values on errors in init();
include speed into the display's PrivateData structure;
CFontzPacket.c: update optimization stragegy in flush() for CF631 & CF635
2005-07-03 15:25:55 +00:00
marschap a450ac5b47 make debugging messages dependent on #define DEBUG 2005-07-03 12:36:56 +00:00
marschap d236a2e981 add Build-Dependency on libsvga1-dev for svga driver 2005-07-03 12:26:33 +00:00
marschap a936e62ff3 correct name of the svga driver 2005-07-03 12:22:11 +00:00
marschap ca7b9f3f45 fixes in the get_key() functions; svgalib_drv.c instrumented with debugging code 2005-07-03 12:20:24 +00:00
marschap f0386c7eef make CFontzPacket.c and CFontzs633.c even more similar 2005-07-02 21:03:53 +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 32545c99a2 replace macros by static inline functions;
reorder functions to not require forward declarations
2005-07-02 12:29:42 +00:00
marschap 0705a4255e Don't write 0-length data 2005-07-01 11:28:13 +00:00
marschap f9d35cad9e remove unused code, cleanup & shorten parse_message() function;
hide commands[] table; make it's contents accessible using a function
2005-06-28 17:12:30 +00:00
marschap bf1c2688c2 make other drivers also work correctly when SEAMLESS_HBARS is set 2005-06-28 17:09:03 +00:00
marschap 4e4a460aca make control of contrast and brightnesses more fine-grained 2005-06-27 18:22:07 +00:00
marschap 40c3fb573b make heartbeat and ellipsis icons align with other CFontz icons 2005-06-27 18:20:22 +00:00
marschap 7930848431 add Nicolas Croiset <ncroiset@vdldiffusion.com> patch to implement the output()
function (slightly modified); include information of usb into the PrivateData
structure
2005-06-27 17:16:37 +00:00
marschap 71240d4b2e added documentation for the LCDserializer connection type by Matteo Pillon 2005-06-27 09:59:23 +00:00
marschap 46183285b3 support long input in numerical, alpha and ip editing functions;
correct IPv4&IPv6 verify functions
2005-06-27 09:11:10 +00:00
marschap 552f388c6e space cleanup 2005-06-18 13:06:57 +00:00
marschap 8820b47193 - replace static variables by ProvateData *
- make a bit more similar to CFonts{633,Packet}.c
2005-06-12 20:32:27 +00:00
marschap e85ad0acc3 1st round of adapting it to new driver model 2005-06-12 17:45:08 +00:00
marschap a597e2cdcf space cleanups 2005-06-12 17:39:25 +00:00
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