Commit Graph
51 Commits
Author SHA1 Message Date
dglaude 1fcea3bc5e Removed all the // ... from C++ and translated to /* ... * 2002-03-04 17:44:10 +00:00
reenoo 38d64b68a6 fixed key mapping configuration 2002-02-23 19:37:58 +00:00
reenoo 4c2e597342 the character in the lower right corner was not displayed 2002-02-23 19:36:24 +00:00
robijn dba163c4a4 Drivers are now being loaded as modules. 2002-02-21 22:50:12 +00:00
dglaude 801b9558f1 WIP: configfile code from stable-0-4-3... #ifdef currently 2002-01-21 14:09:55 +00:00
dglaude 4222ee41ab The old_icon is ready to be removed bignum does not need init anymore. 2002-01-18 08:00:46 +00:00
dglaude 79a5d76203 I did not BREAK MtxOrb, I forgot to sync bigfont.h ;-) 2002-01-18 07:56:44 +00:00
dglaude 227b5329b8 I recently broke MtxOrb in CVS. This fix the segfault but does not fix BIGnum :-( 2002-01-17 21:26:10 +00:00
dglaude 4a78e112e9 Change in hbar and vbar + cleanup ...WIP... 2002-01-17 20:53:03 +00:00
dglaude ca162dc94d Rename _?bar and init_?bar stuff to _old_. 2002-01-17 20:51:31 +00:00
dglaude 5b9200acf7 More cleaning up and work on BigNum I guess (bad fix for duplicate icon and new icon emulation) 2002-01-16 20:27:55 +00:00
dglaude 1fd9aa94da Cleanup+TODO+ BigNum still working on but seems to work OK 2002-01-15 20:01:18 +00:00
dglaude cc7447a12f New software BigNum, work in progress tested on emulator only... 2002-01-15 14:13:44 +00:00
dglaude 3ddd1defbe Comment C ways 2002-01-03 15:25:48 +00:00
dglaude e85dbde5f7 GPL as in stable-0-4-3 2002-01-02 15:03:19 +00:00
dglaude 7847b4e17a Cleaning of report/debug as in stable-0-4-3 (work in progres) 2002-01-02 14:55:01 +00:00
robijn 71056ec551 v0.5 kick-off 2001-12-30 00:15:25 +00:00
dglaude e671804453 Now you can choose between report.h and debug.h (default) If you are happy with it I'll remove debug.h 2001-12-05 18:28:22 +00:00
dglaude 29e71c9dc4 Preparing for using report.h rather than debug.h (no harm done just #ifdef) 2001-12-05 17:52:26 +00:00
dglaude 21d5d883ab reformating of custom char definition + more TODO 2001-11-24 08:37:10 +00:00
dglaude 44e71c451e Work in progress for BigDigit + TODO comment 2001-11-23 16:17:45 +00:00
robijn efcbed6026 Unallocated framebuffer fix. 2001-11-23 15:15:05 +00:00
dglaude ca27bcac18 Solve the segmentation fault in MtxOrb.c
If framebuf is not alocated when init is called then we do.
A lot of warning are removed because MtxOrb.h is cleaned.
For the futur, double buffering is already prepared.
I also have done some cleaning of unused function related to hbar/vbar.
BigNum are still not working nicely but I am working on it.
I don't have flickering on my screen so I cannot fix that problem!
2001-11-19 18:35:39 +00:00
ddouthitt df90652a8b This updates these drivers with minor bug fixes. 2001-10-05 23:50:37 +00:00
ddouthitt 39b84431a0 Added a heartbeat function to the driver code. Both the
MatrixOrbital driver and the curses driver now have their own
heartbeat functions.
2001-10-04 21:05:15 +00:00
ddouthitt a1a557a767 Changed clear function in Matrix Orbital driver: now only changes
within buffer (no clear function code sent to the LCD display).
2001-10-03 05:52:42 +00:00
ddouthitt 9d8b1f45a3 Fixed miscellaneous bugs relating to optimization of MatrixOrbital driver.
Now only displays that which has changed...
2001-10-01 21:54:02 +00:00
ddouthitt 3c2765891d Added optimizations to MtxOrb driver:
* Don't send any data if there is no change.
* High optimization of MtxOrb_draw_frame - only write changed
  data to screen.
2001-10-01 03:06:25 +00:00
ddouthitt f7ff05870f Updated MatrixOrbital driver:
* Doesn't update the display unnecessarily - now has "memory" and won't
  update if the display hasn't changed
* Debugging code: logs to syslog for everything if debug_level is set
  high enough.
2001-09-28 21:20:50 +00:00
ddouthitt 214c957726 Fix help screen in MatrixOrbital driver to reflect correct options. 2001-09-28 00:05:32 +00:00
ddouthitt 74153173c1 Fixed major bug: drivers that accepted size arguments could wind
up with more than 80 characters (20x4) in their display, and thus
overwrite memory outside of the allocated 80 characterwframebuffer.

For example, using a 20x6 screen would do this.

All drivers now either ignore a missing framebuffer, or allocate it
themselves - the latter is prefered.
2001-09-27 23:46:55 +00:00
ddouthitt 71c3035611 * Changed MatrixOrbital driver to support the traditional -t option
(for type: 20x2, 20x4, 20x6) etc.

* Fixed bug that appeared when using a size larger than 80 characters
  (20x4): framebuffer was allocated before size was known!

Drivers should NOT look for framebuffer to be allocated before they
start - but 80 characters are there anyway (for now).
2001-09-27 23:23:42 +00:00
ddouthitt 2ed349c691 Cleaned up option processing. Added code to use getopt(3) but never
got it working (it's #ifdef'd out).  Expanded flexibility of
-t option (now accepts any case, and looks at only first three
characters); so "-t lkd202-25" works as expected...
2001-09-27 20:51:16 +00:00
ddouthitt 44e7f83dfd Removed all traces of sprintf() from all server code and
from all drivers.  All drivers compile without warnings.
2001-09-25 15:02:33 +00:00
ddouthitt cf6ce9f1a4 + Improve data validity checking. 2001-09-25 00:54:24 +00:00
ddouthitt 4b24b2e6f1 Patched lcd.c to work with older drivers that use 0 or (void *) -1
as valid function pointer values (now logs to syslog); fixed text
driver, curses driver, and CFontz driver to work correctly in new
environment.
2001-09-25 00:13:57 +00:00
ddouthitt 875ee72589 Major change was to convert from multiple drivers to a single driver.
Other minor things: comments, more robust MtxOrb driver, and more use
of syslog.
2001-09-24 22:33:59 +00:00
ddouthitt 6a0e23dc3e Massive changes (first commit), including but not limited to:
* Ability to specify port and address to bind to
* By default, binds only to 127.0.0.1 port 13666
* Client commands now return usage when no options given
* New driver command: getinfo
* Added comments all over the place
* Used #defines to further document code
* Used #defines to set up compile-time defaults, etc.
* Cleaned up client command argument analysis in client_functions.c
* Beginning support of syslog
* Some bug fixes
2001-09-21 21:08:10 +00:00
ppokorny e7316389e8 Fixed compile errors on FreeBSD related to cfmakeraw and friends on the
serial port side.  Also fixed problems with ioperm on the parallel port
side.

Added --waittime option to the server to specify how long the server
should leave a screen up before changing to the next screen.
2001-07-18 22:30:12 +00:00
ppokorny 00cc9fca23 + Changed protocol to 0.3 because we now accept both -foo and foo
as argument introducers.  in 0.4-pre10, these were changed
   from foo to -foo and this broke many clients.  This change
   should fix that and be backward/forward compatible.
 + Added a noop function to the protocol.  This is useful for writing
   shell script clients of LCDproc.
 + Changed the shared sock_send_string function to NOT send the
   ending NUL ('\0') byte with the string.  This was confusing
   in Perl clients which saw NUL's as the first character of
   each reply.  WARNING: The LCDPROC client depended on this
   behavior, your client may too.  Use the newline instead.
   See the code in clients/lcdproc/main.c (look for "switch(buf[i])")
   to see one way to handle this.  This should allow new clients
   to connect to old servers and vice-versa.
 + Messed with include structure in .c files.  It should no longer
   be necessary to specify ../.. to get to shared code headers.
   Also, since we are using automake, the global config.h can be
   found with just #include "config.h" as it's location is included
   in a -I to the compilers.  As a result "make distcheck" now works.
2001-05-25 03:14:27 +00:00
ppokorny 877d8ac8e8 Added GLK12232-25SM support with glk driver.
Fixed lots of small problems in various places.
Added new protocol commands screen_add/del_key so screens
   can request keystrokes when they are being displayed.
Lots of work on CPU GRAPH and BIG NUMBER CLOCK screens.
Fixed 'output' function in MtxOrb.c
2001-04-27 02:20:38 +00:00
William Ferrell 6dabd0b8f3 Applied patches supplied by Andre' Breiler:
- bugfixes for display != MatrixOrb LCD
	- changes the meaning of output_state
		+ it's now a bitfield where evry bit corresponds to
		  one output
	- protocol change
		output on|off|value
		where on    = all outputs on
		      off   = all outputs off
		      value = output on for all 1 bits
	- changes the behavior for key presses
	  Keypresses are now deliverd to _all_ clients (not only
	  the one with the active screen)
	reason: I have an client which is only active a few seconds after
                an keypress
	- changes the protocol so that a response is sent for every
	  command
	reason: the client needs to communicate with the server with a
                minimal latency
2001-03-22 22:51:49 +00:00
William Ferrell 82764f08e3 Thanks to Chris Debenham <chris.debenham@aus.sun.com>, the LCDproc server
process LCDd now compiles and runs properly on Solaris! Additionally, he
has provided a new driver for a 16x2 LCD made by an Australian company.

I've compiled and executed this new code on a Solaris 2.6 box, and while I
don't have the display the new driver uses, LCDd tries to use it anyway,
fails (since the device isn't installed), and continues running, so this
looks solid!
2000-11-29 18:48:53 +00:00
toykeeper 0c07dacfea Another attempt to fix the MtxOrb weirdness. Changed the general-purpose
output so it doesn't send anything unless something actually happened.
2000-05-25 18:21:22 +00:00
toykeeper e5d1a9d431 Modified draw_frame(), to see if it fixes the flashing problems people are
having...
2000-05-24 21:34:13 +00:00
William Ferrell 6a115b4446 More formatting changes, new tags file. 2000-04-03 22:13:57 +00:00
William Ferrell ddfd41f53e More formatting updates. Reduced whitespace, looks even better. 2000-03-30 20:43:33 +00:00
William Ferrell f5a5e9653b Removed lcddriver.c (doesn't do anything, isn't in any makefiles, etc.).
Passed *every* piece of source in this project through indent. I'm setting
things up with ctags soon and am actually going to *gasp* use a nice
programming environment to continue development in. :)
2000-03-30 20:20:41 +00:00
toykeeper e2401e4a72 Added PROTOCOL_VERSION define,
Started to change to new client-server protocol 0.2,
Added "slash" heartbeat mode...
2000-01-05 00:03:25 +00:00
William Ferrell 1f0e4679ab Applied Bjorn Andersson's autoconf/automake patch. LCDproc is now built
with the standard "./autogen.sh && ./configure && make && make install"
instead of just tweaking the Makefile and typing "make".
1999-12-11 19:21:29 +00:00