Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Addresses part of PR pkg/26235 by Georg Schwarz.
|
|
|
|
Changes:
Version 1.34
The array bound checking for the x10sched.conf file was missing.
Certain noise on the line would cause repetitive bytes to fill the buffer.
relay.c code was tightened to look for this. The spool file is truncated
after 1 million bytes.
The jumpbuf in xread.c was getting corrupted, causing the second
trigger to hang. That's fixed.
Relay.c checks every 10 minutes for the need to change to daylight
savings time. It changes the clock if needed.
Added the ability to run two CM11's. Each needs it's own config file.
The tty device is used to differentiate the spool files.
Add the keywords "option" and "alias" to the config file to help ensure
that it is parsed properly.
Version 1.34beta6
corrected x10.h "endif" with trailing coment
Added patch from "Tony Machon" <heyu@digitaldynamics.us> that allows
use of config file aliases in the x10sched file.
Changed device to 0x0 when doing , alloff or lighston or lightsoff per
patch provided by rrauenza<%>shroop.net.
Thanks to Michael Skora <mike@alienbrain.net>, there is a way to send
just the address or just the function.
Version 1.34beta7
Added a siginterrupt(2) call so the alarm(2) calls will correctly
abort the read(2) calls. Added local.h as a place to put local config
defines (such as USESIGINT). Configure creates this as neededd.
Did more cleanup so that there won't be hangs when sending cm11
directives that have a checksum of 0x5a.
Added "relay" mode so the relay can be studied in the fore-ground, ala
'strace ./heyu -v relay'. Still need to add verbose entries to take
advantage of the -v option.
Added code to check the "write lock" file when evaluating that
damned 0x5a that can be generated out of the blue as well as
being used as a checksum.
Version 1.34beta7.4
Corrected the munlock function. It was being used inconsistently,
sometimes needing a full lock string, other times not. The tty
device was deleted in one case.
Version 1.34beta7.5
Still having problems with resends involving 0x5a
Updated FAQ
Added openbsd option to Configure.
Version 1.34beta7.6
Cleaned up x10.c compile warnings.
Version 1.34beta7.7
Finally realized that the best wording was
heyu turn c1 up 10
heyu turn c1 down 5
Version 1.35
Final Version.
Added external program trigger based on suggestion and
sample code from chuck@liderbug.com
Added heyuhelper script to be called when trigger is detected.
Updated documentation
Added HELPER to x10.h file.
|
|
- fix other time related bugs which prevent compilation
- use DEFAULT_SERIAL_DEVICE for the example config file and
don't enter an infinite loop if the device doesn't exist.
- don't arbitrarily change device permissions.
|
|
Changes:
Added make file options for SCO and NetBSD. The Makefile has been
reconfigured a touch to make it clearer what needs to be done for each
OS.
Turn was accepting invalid option as in heyu turn allaskljas. It now
complains and exits.
Found bug in scanning the macros. (thanks to David Pointer)
Dan Eble reported a bug (or feature) that allows chaining macros
with delays. I've fixed the bug but not enabled the feature.
Makesched utility created. This utility pre-preocesses a file in the
x10sched format and sends a revised version to standard output with the
strings "dawn" and "dusk" expanded to appropriate values.
Cleaned up some error messages to give feedback when the locks fail.
A coding error was causing the dates in the schedule loader to be off
in some cases. Thanks to Charles Sullivan for finding and reporting
the bug and it's fix
The use of just the -v option caused a sigfault. The errant code
was corrected in x10.c main().
|
|
|
|
+ move the patch digest/checksum values from files/patch-sum to distinfo
|