[ Also see test.d/ChangeLog ]

2002-07-25  Scott Gifford  <sgifford@tir.com>

	* NEWS: Updated.

	* AUTHORS, COPYING, ChangeLog, INSTALL, INTERCEPTTY, Makefile.am, Makefile.in, NEWS, PROTOCOL, README, acconfig.h, aclocal.m4, alarm.c, alarm.h, config.h.in, configure, configure.in, configure.scan, filedata.c, filedata.h, filesettings.c, filesettings.h, fstty.c, fstty.h, getopt.c, getopt.h, getopt1.c, install-sh, main.c, missing, mkinstalldirs, phonebook.c, phonebook.h, phonedump.out, proto.h, runtest, settings.c, settings.h, settings.test, settingstest, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, stsettings.c, stsettings.h, sysdep.h, sysdep1.c, sysdep1.h, test:
	0.4 release

	* configure: Generated.

	* ChangeLog: Updated.

	* README: Added Credits and Consulting sections.

	* test: Fixed small bug when typing ? for help at first prompt.
	Removed tests that use settings.

	* configure.in, NEWS: Version bump.
	
2002-06-22  Scott Gifford  <sgifford@tir.com>

	* NEWS: Add some credits; version bump.

	* main.c:
	Temporarily remove (#ifdef out) settings code for interim release.

	* README: Version bump.
	Update name of test script.
	Update usage.
	Add email to list of fields.

2002-06-21  Scott Gifford  <sgifford@tir.com>

	* main.c: Don't require -t switch to write to new-style phonebook.

	* configure.in: Version bump

	* configure: generated.

2002-06-20  Scott Gifford  <sgifford@tir.com>

	* configure: generated.

	* ChangeLog: Updated.

	* stdata.c: Added missing include.

	* ChangeLog, NEWS: Updated.

	* configure.in: Version half-bump.

	* stdata.c: Trim spaces from end of strings read from phone.

	* stdata.c: Fix typo.

	
2002-06-19  Scott Gifford  <sgifford@tir.com>

	* configure: generated

	* configure.in: version bump

	* ChangeLog: Added comment about the new test.d/ChangeLog file.

	* ChangeLog: Updated.

	* stdata.c:
	When reading phonebook entries, byte 5 is different in the new-style phonebooks.

	* configure.in: Version half-bump.

	* configure: generated.

	* Makefile.in, configure: Generated.

	* configure.in: Version bump.

	* Makefile.am: Added test.d/emaillen.out to CLEANFILES.

	* ChangeLog, NEWS: Updated.

	* phonebook.c: Fix stupid mistake in startalk_phonebook_entry_is_empty.

	* stdebug.c: errorf now returns -1 instead of 1.

	* stdata.c:
	Factor out phonebook reading code from startalk_initialize_stdata and
	  startalk_get_phonebook_entry into startalk_get_phonebook_buffer.
	Use startalk_run_cmd instead of a read and a write where possible.

	* startalk.c: Code cleanups and other minor changes.

	* phonebook.h: Add new function startalk_phonebook_entry_is_empty.

	* main.c:
	startalk_get_phonebook_entry now returns NULL on error, and an empty
	  phonebook entry if it's empty.

	* phonebook.c: Add new function startalk_phonebook_entry_is_empty.
	Simplify startalk_empty_phonebook_entry.

	* startalk.c: Fix up crappy_cleanstr to strcleandup.
	Clean up error handling in startalk_readfor.

	* startalk.c:
	Change signedness stuff in a few places for better debugging info.

	* runtest:
	If test exits 111, it was skipped (for testing email when some phones
	  don't support it).
	Minor whitespace rearrangements.

	* main.c: Check st_pb_email_len instead of st_pb_unknown_len.

	* phonebook.h: Add email support!

	* filedata.c: Add email support!
	Use some constants where hardcoded numbers were before.

	* phonebook.c: Add email support!
	Don't print company, name, etc. if there isn't one.

	* stdata.c: Add email support!

	* stdata.c: Do st_pb_unknown_len only in startalk_set_version.
	Fix stupid memset arguement order error, which was making it do the
	  completely wrong thing!

2002-06-18  Scott Gifford  <sgifford@tir.com>

	* runtest:
	Fix bug where tests were run multiple times with -destructive
	  (and probably -overwrite).

	* configure: Generated.

	* ChangeLog, NEWS: Updated.

	* main.c:
	Add undocumented -V option for manually setting phonebook version.
	Change usage string to be ANSI-compliant (no more embedded newlines).
	Fix bug where startalk_dump_phonebook_offsets is called before
	  the phonebook offsets are calculated.

	* stdata.h: Add startalk_set_version.

	* startalk.h: Remove a whole slew of blank lines from the end.

	* startalk.h, stsettings.c:
	Fix signedness issues so we compile with -pedantic.

	* filesettings.c: Fix missing argument in warn statement.

	* stdebug.c: Fix signedness issues so we compile with -pedantic.

	* stdata.c: Fix signedness issues so we compile with -pedantic.
	Add startalk_set_version.
	Default st_pb_unknown_len to -1, and check for this value before
	  we use it (this allows us to set the version from the command-line,
	  and avoid probing for it if it's already set).
	Fix signedness issues so we compile with -pedantic.
	In startalk_remove_phonebook_entry, malloc sendbuf since we technically
	  can't initialize an array to a size only known at compile-time.
	Factor out phonebook entry writing code from startalk_remove_phonebook_entry
	  and startalk_put_phonebook_entry into startalk_put_phonebook_buffer.

	* startalk.c: Fix signedness issues so we compile with -pedantic.
	Fix bug in checksum calculating routine that seemed to cause
	  problems writing to new-style phonebooks.

	* configure.in: Version bump.


2002-06-18  Scott Gifford  <sgifford@tir.com>

	* runtest:
	Fix bug where tests were run multiple times with -destructive
	  (and probably -overwrite).

	* configure: Generated.

	* ChangeLog, NEWS: Updated.

	* main.c:
	Add undocumented -V option for manually setting phonebook version.
	Change usage string to be ANSI-compliant (no more embedded newlines).
	Fix bug where startalk_dump_phonebook_offsets is called before
	  the phonebook offsets are calculated.

	* stdata.h: Add startalk_set_version.

	* startalk.h: Remove a whole slew of blank lines from the end.

	* startalk.h, stsettings.c:
	Fix signedness issues so we compile with -pedantic.

	* filesettings.c: Fix missing argument in warn statement.

	* stdebug.c: Fix signedness issues so we compile with -pedantic.

	* stdata.c: Fix signedness issues so we compile with -pedantic.
	Add startalk_set_version.
	Default st_pb_unknown_len to -1, and check for this value before
	  we use it (this allows us to set the version from the command-line,
	  and avoid probing for it if it's already set).
	Fix signedness issues so we compile with -pedantic.
	In startalk_remove_phonebook_entry, malloc sendbuf since we technically
	  can't initialize an array to a size only known at compile-time.
	Factor out phonebook entry writing code from startalk_remove_phonebook_entry
	  and startalk_put_phonebook_entry into startalk_put_phonebook_buffer.

	* startalk.c: Fix signedness issues so we compile with -pedantic.
	Fix bug in checksum calculating routine that seemed to cause
	  problems writing to new-style phonebooks.

	* configure.in: Version bump.

2002-06-12  Scott Gifford  <sgifford@tir.com>

	* ChangeLog: Updated.

	* filesettings.c:
	Don't try to change settings for a readonly value unless we are
	  in test mode.

	* NEWS: Updated.

	* configure, Makefile.in: Automatically updated.

	* configure.in: Version bump.

	* stsettings.c:
	Re-enable some settings now that we can support readonly
	  settings.
	Validation code that runs right before writing, and takes
	  into account what is currently in the phone's memory.

	* settings.test: Removed auto-lock.

	* settings.test: New file.

	* settings.h:
	Re-enable some settings now that we can do read-only settings.

	* settings.c:
	Re-enabled some disabled settings now that we can handle readonly
	  settings.

	* Makefile.am: Remove some additional temporary test files.

	* PROTOCOL: Added a little information about settings.

2002-06-10  Scott Gifford  <sgifford@tir.com>

	* settingstest: New file.

	* Makefile.am: Added settings test files to be cleaned up.

	* test: Modified to work with new test naming conventions.

	* runtest: Updated for new test naming convention.

	* Makefile.am: Added runtest to EXTRA_DIST.

	* startalk.h: Change startalk_run_cmd prototype.

	* stdata.c: Change some debug levels.

	* startalk.c: Change some debugging levels.
	Change startalk_run_cmd to be more generally useful.

	* stdebug.h: Added finished() function.

	* stsettings.c: Comment out some items in the map that don't work.
	Split up startalk_get_settings into startalk_get_settings and
	  startalk_parse_settings.
	With -t -s -r, get a few buffers that we don't understand.  They
	  are just dumped for analysis.
	Use startalk_run_cmd instead of a read and write.
	Validate entry before writing.  I'm still not sure if this is a good
	  idea.

	* stdebug.c: Made a bunch of things static.
	Count the warnings in warn(), and exit with a status of 126 if
	  there were any warnings when we are finished.

	* main.c: Minor formatting changes to MODE_* constants.
	Add a new MODE_PARSETEST, which is like a read and write
	  combined with no phone.  :)  It tests the command-line options
	  and the file parsing code without using the phone, so it's safer
	  for our regression tests, and faster too.  It uses the undocumented
	  -P flag.
	Rewrite -c to be a special-case of -w -c.
	Change some debugging levels.
	If a file is read with -w and a range is specified with -n, entries
	  outside of that range are ignored from the file.
	Don't special-case the default active-list for -w anymore.
	Change invocation of startalk_run_cmd to new format.
	Call finished() instead of exit at the end.  It exits nonzero if there
	  were any warnings.

	* filesettings.c: Moved setting names from here to settings.c
	Use functions to access settings names, instead of the arrays
	  directly.
	Use functions to search for setting names, instead of the arrays
	  directly.
	Validate data before setting it.

	* settings.h: Added function to check whether a setting is readonly.
	Add a suite of functions for validating settings.
	Add a function for finding the setting type and number by name.
	Add a function to get the setting's name from it's type and number.
	Add a new constant for the hightest legal type number.
	Added some commented-out settings.

	* settings.c: Moved settings named from filesettings.c to here.
	Create array of the hightest-numbered setting of each type, for
	  easier looping and testing of setting numbers.
	Create a function which returns whether or not a setting should
	  be readonly.  That means that we can't write it, either because
	  the phone doesn't allow it or because we don't know how.  In other
	  words, it's readonly for technical reasons, not policy reasons.
	Add a suite of functions for validating settings.
	Add a function for finding the setting type and number by name.
	Add a function to get the setting's name from it's type and number.



2002-06-10  Scott Gifford  <sgifford@tir.com>

        * filesettings.c: Don't try to change settings for a readonly
  	  value unless we are in test mode.

	* settingstest: New file.

	* Makefile.am: Added settings test files to be cleaned up.

	* test: Modified to work with new test naming conventions.

	* runtest: Updated for new test naming convention.

	* Makefile.am: Added runtest to EXTRA_DIST.

	* startalk.h: Change startalk_run_cmd prototype.

	* stdata.c: Change some debug levels.

	* startalk.c: Change some debugging levels.
	Change startalk_run_cmd to be more generally useful.

	* stdebug.h: Added finished() function.

	* stsettings.c: Comment out some items in the map that don't work.
	Split up startalk_get_settings into startalk_get_settings and
	  startalk_parse_settings.
	With -t -s -r, get a few buffers that we don't understand.  They
	  are just dumped for analysis.
	Use startalk_run_cmd instead of a read and write.
	Validate entry before writing.  I'm still not sure if this is a good
	  idea.

	* stdebug.c: Made a bunch of things static.
	Count the warnings in warn(), and exit with a status of 126 if
	  there were any warnings when we are finished.

	* main.c: Minor formatting changes to MODE_* constants.
	Add a new MODE_PARSETEST, which is like a read and write
	  combined with no phone.  :)  It tests the command-line options
	  and the file parsing code without using the phone, so it's safer
	  for our regression tests, and faster too.  It uses the undocumented
	  -P flag.
	Rewrite -c to be a special-case of -w -c.
	Change some debugging levels.
	If a file is read with -w and a range is specified with -n, entries
	  outside of that range are ignored from the file.
	Don't special-case the default active-list for -w anymore.
	Change invocation of startalk_run_cmd to new format.
	Call finished() instead of exit at the end.  It exits nonzero if there
	  were any warnings.

	* filesettings.c: Moved setting names from here to settings.c
	Use functions to access settings names, instead of the arrays
	  directly.
	Use functions to search for setting names, instead of the arrays
	  directly.
	Validate data before setting it.

	* settings.h: Added function to check whether a setting is readonly.
	Add a suite of functions for validating settings.
	Add a function for finding the setting type and number by name.
	Add a function to get the setting's name from it's type and number.
	Add a new constant for the hightest legal type number.
	Added some commented-out settings.

	* settings.c: Moved settings named from filesettings.c to here.
	Create array of the hightest-numbered setting of each type, for
	  easier looping and testing of setting numbers.
	Create a function which returns whether or not a setting should
	  be readonly.  That means that we can't write it, either because
	  the phone doesn't allow it or because we don't know how.  In other
	  words, it's readonly for technical reasons, not policy reasons.
	Add a suite of functions for validating settings.
	Add a function for finding the setting type and number by name.
	Add a function to get the setting's name from it's type and number.

2002-06-09  Scott Gifford  <sgifford@tir.com>

	* stsettings.c: Better multibuffer support.
	Added support for writing TYPE_UINT, TYPE_LANG, TYPE_SUINT.
	Added support for reading TYPE_SUINT
	Start of support for setting security features, but I still
	  can't figure out the command.

	* settings.h: Fixed buffer size.

	* startalk.c: Added writev support.
	Use writev in startalk_writemsg.
	This results in fewer system calls and easier error handling
	  (thanks to jch).

	* stdata.c:
	Add support for digits '#' and '*', and pseudo-digits 's' and 'n'.
	Make some internal functions static.
	Replace a memory-setting loop with memset.

	* stdebug.h:
	Added gcc-style __attribute__ s to printf-style functions for
	  format checking.

	* settings.c, settings.h, filesettings.c, stsettings.c:
	Added support for reading security settings (Lock code and Secure Code).

	* startalk.c: Fix errorf argument bug.

	* settings.h, settings.c:
	Add beginnings of support for multiple buffers.

	* stsettings.c: Add preliminiary support for multiple buffers.
	Read second settings buffer, with PIN.

2002-06-08  Scott Gifford  <sgifford@tir.com>

	* settings.c: Added support for UINT type, LANG type.

	* stsettings.c, settings.h, filesettings.c: Added tons more settings.
	Added support for UINT type, LANG type.

	* stsettings.c: Improved debugging messages.

	* settings.h:
	Removed generic setting-getter, added 3 type-specific ones.
	  This was needed to be able to get strings.
	Add new types.

	* settings.c:
	Removed generic setting-getter, added 3 type-specific ones.
	  This was needed to be able to get strings.
	Add support for strings, specifically the greeting.

	* stsettings.c: Added more settings to map.
	Fix code for writing uchar's
	Add code to get/set greeting.

	* stdata.h: Moved startalk_get_greeting to stsettings.c
	Moved startalk_run_cmd to stdata.c
	Moved startalk_dump_cmd to stdata.c

	* startalk.h: Moved startalk_run_cmd from stdata.c
	Moved startalk_dump_cmd from stdata.c

	* stdata.c: Moved startalk_get_greeting to stsettings.c
	Moved startalk_dump_cmd to startalk.c
	Moved startalk_run_cmd to startalk.c

	* Makefile.am: Added stuff for options.

	* filedata.c: Added malloc error check.

	* filesettings.h, filesettings.c: New file.

	* startalk.c: Moved startalk_dump_cmd to here.
	Moved startalk_run_cmd to here.

	* settings.h, settings.c: New file.

	* main.c: Added beginnings of settings support.
	Changed stty flag from -s to -S.
	Added -s flag to read/write settings instead of phonebook.

	* stsettings.h, stsettings.c: New file.

2002-06-01  Scott Gifford  <sgifford@tir.com>

	* configure: Regenerated.

	* ChangeLog: Updated.

	* startalk.c: Better error reporting for error opening pcsphone device.

	* phonebook.h, phonebook.c:
	Add startalk_empty_phonebook_entry for possible future use.

	* main.c:
	Change meaning of -t flag slightly.  Now, when used with another
	  flag, it enables some experimental features (like writing
	  to new-style phonebooks).
	Check for new-format phonebook when writing, and abort if we find
	  it (unless -t flag is used)

	* test: New file.

	* runtest: A bit more information about -overwrite.
	Change name from "test" to "runtest".

	* Makefile.in: Automatically generated.

	* ChangeLog: Updated.

	* configure.in: Version bump.

	* NEWS: Update version.

	* NEWS: Updated.

	* Makefile.am: Add .stdev and .stdev_new to CLEANFILES.
	Add test script, for "make check".

	* stdata.c: Fixed off-by-one error in startalk_remove_phonebook_entry
	  (now it actually works!)

	* stdata.c:
	Fix error not using constant in startalk_remove_phonebook_entry;
	  this seems to break it.

2002-06-01  Scott Gifford  <sgifford@tir.com>

	* startalk.c: Better error reporting for error opening pcsphone device.

	* phonebook.h, phonebook.c:
	Add startalk_empty_phonebook_entry for possible future use.

	* main.c:
	Change meaning of -t flag slightly.  Now, when used with another
	  flag, it enables some experimental features (like writing
	  to new-style phonebooks).
	Check for new-format phonebook when writing, and abort if we find
	  it (unless -t flag is used)

	* test: New file.

	* runtest: A bit more information about -overwrite.
	Change name from "test" to "runtest".

	* Makefile.in: Automatically generated.

	* ChangeLog: Updated.

	* configure.in: Version bump.

	* NEWS: Update version.

	* NEWS: Updated.

	* Makefile.am: Add .stdev and .stdev_new to CLEANFILES.
	Add test script, for "make check".

	* stdata.c: Fixed off-by-one error in startalk_remove_phonebook_entry
	  (now it actually works!)

	* stdata.c:
	Fix error not using constant in startalk_remove_phonebook_entry;
	  this seems to break it.

2002-04-21  Scott Gifford  <sgifford@tir.com>

	* configure: Automatically generated.

	* configure.in: Version bump.

	* filedata.c: Change writes to stderr to warn() calls.

	* filedata.c:
	work properly with data files that don't end with a blank line.

	* main.c: Change misleading error message.

2002-03-06  Scott Gifford  <sgifford@tir.com>

	* Makefile.in: automatically updated.

	* Makefile.am, test:
	Change *.out in test to *.ok, to avoid weirdness in make/automake.

	* ChangeLog: Updated.

	* stdebug.c: Fix off-by-one error.

	* Makefile.in, configure: Automatically updated.

	* configure.in: Version bump.

	* NEWS, ChangeLog: Updated.

	* Makefile.am: Add test.d/*.errs to CLEANFILES.

	* test: Send error output to $testnum.errs.

	* startalk.c: Fix stty debug output to go to STDERR.

	* README: Change platforms tested disclaimer.
	Update copyright.
	Add information about TESTOPTS environment and test.

	* phonebook.h, phonebook.c:
	Add functions to print phonebook entries, numbers to specific
	  file handles.

	* main.c:
	Improve debugging of -d switch, so it doesn't just say "done!".
	Fix debugging output of phonebook entry to go to STDERR.

	* README: Added information about mailing list.

	* stdata.c:
	Actually look at response packet from phone when writing a phonebook
	  entry.

	* startalk.c: Add more debugging info.

2002-03-06  Scott Gifford  <sgifford@tir.com>

	* stdebug.c: Fix off-by-one error.

	* Makefile.in, configure: Automatically updated.

	* configure.in: Version bump.

	* NEWS, ChangeLog: Updated.

	* Makefile.am: Add test.d/*.errs to CLEANFILES.

	* test: Send error output to $testnum.errs.

	* startalk.c: Fix stty debug output to go to STDERR.

	* README: Change platforms tested disclaimer.
	Update copyright.
	Add information about TESTOPTS environment and test.

	* phonebook.h, phonebook.c:
	Add functions to print phonebook entries, numbers to specific
	  file handles.

	* main.c:
	Improve debugging of -d switch, so it doesn't just say "done!".
	Fix debugging output of phonebook entry to go to STDERR.

	* README: Added information about mailing list.

	* stdata.c:
	Actually look at response packet from phone when writing a phonebook
	  entry.

	* startalk.c: Add more debugging info.

2002-03-02  Scott Gifford  <sgifford@tir.com>

	* configure: Automatically generated.

	* ChangeLog: Updated.

	* NEWS: Updated for 0.3pre2

	* configure.in: Version bump.

	* configure.in: Improve error message if lock directory is not found.

	* configure, Makefile.in: Automatically generated.

	* ChangeLog: Updated.

	* NEWS: Updated for 0.3pre1.

	* README: version bump.

	* startalk.h: Corrected MAX_ENTRIES to 99 instead of 100.

	* PROTOCOL: Add some information about new-format phonebook entries.

	* README: Updated with information about test scripts

	* Makefile.am: Updated to know about new test script.

	* test: New file.

	* stdata.h:
	Added prototypes for startalk_initialize_stdata(), startalk_dump_phonebook_offsets().

	* stdata.c:
	Updates to support new phonebook format in newer StarTAC models.
	Change all references to positions in the phonebook structure to
	  use constants (some of which may be defined as variables) to
	  get to specific positions.
	Add a function startalk_initialize_stdata() which reads the first
	  phonebook entry, uses its size to determine the phonebook version,
	  and sets global variables appropriately.
	Improve debugging information slightly.
	Added startalk_dump_phonebook_offsets() to print out information we
	  think we know about the phonebook entry format.

	* main.c: Added -e option to show empty entries.
	Call startalk_initialize_stdata(), to give the stdata module
	  a chance to do initialization.
	Add debugging call to startalk_dump_phonebook_offsets()

	* configure.in: Add support for turning locks on and off.
	Version bump.

2002-03-02  Scott Gifford  <sgifford@tir.com>

	* NEWS: Updated for 0.3pre2

	* configure.in: Version bump.

	* configure.in: Improve error message if lock directory is not found.

	* configure, Makefile.in: Automatically generated.

	* ChangeLog: Updated.

	* NEWS: Updated for 0.3pre1.

	* README: version bump.

	* startalk.h: Corrected MAX_ENTRIES to 99 instead of 100.

	* PROTOCOL: Add some information about new-format phonebook entries.

	* README: Updated with information about test scripts

	* Makefile.am: Updated to know about new test script.

	* test: New file.

	* stdata.h:
	Added prototypes for startalk_initialize_stdata(), startalk_dump_phonebook_offsets().

	* stdata.c:
	Updates to support new phonebook format in newer StarTAC models.
	Change all references to positions in the phonebook structure to
	  use constants (some of which may be defined as variables) to
	  get to specific positions.
	Add a function startalk_initialize_stdata() which reads the first
	  phonebook entry, uses its size to determine the phonebook version,
	  and sets global variables appropriately.
	Improve debugging information slightly.
	Added startalk_dump_phonebook_offsets() to print out information we
	  think we know about the phonebook entry format.

	* main.c: Added -e option to show empty entries.
	Call startalk_initialize_stdata(), to give the stdata module
	  a chance to do initialization.
	Add debugging call to startalk_dump_phonebook_offsets()

	* configure.in: Add support for turning locks on and off.
	Version bump.

2002-02-14  Scott Gifford  <sgifford@tir.com>

	* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
	Snapshot for 0.2 build 1

	* README: Version bump.

	* NEWS: Updated for 0.2.

	* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, CHANGES, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
	0.2 release

	* configure: Automatic update.

	* configure.in: Version bump.

	* configure: Automatic update.

	* Makefile: Automatic updates.

	* configure.in: Version bump.

	* ChangeLog: Updated.

	* main.c, stdata.c: Don't treat empty phonebook entries as errors.

	* ChangeLog: Updated.

	* stdebug.h: Added (void) to empty-parameter functions.

	* configure: Automatic update.

	* configure.in: Version bump.

	* CHANGES: New file.

	* ChangeLog: Updated.

	* README: Added Related Projects section.

	* README: Created Future section, Cable section.

	* main.c: Adjusted debug level slightly.

2002-02-14  Scott Gifford  <sgifford@tir.com>

	* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
	Snapshot for 0.2 build 1

	* README: Version bump.

	* NEWS: Updated for 0.2.

	* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, CHANGES, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
	0.2 release

	* configure: Automatic update.

	* configure.in: Version bump.

	* configure: Automatic update.

	* Makefile: Automatic updates.

	* configure.in: Version bump.

	* ChangeLog: Updated.

	* main.c, stdata.c: Don't treat empty phonebook entries as errors.

	* ChangeLog: Updated.

	* stdebug.h: Added (void) to empty-parameter functions.

	* configure: Automatic update.

	* configure.in: Version bump.

	* CHANGES: New file.

	* ChangeLog: Updated.

	* README: Added Related Projects section.

	* README: Created Future section, Cable section.

	* main.c: Adjusted debug level slightly.

2002-02-14  Scott Gifford  <sgifford@tir.com>

	* main.c, stdata.c: Don't treat empty phonebook entries as errors.

	* ChangeLog: Updated.

	* stdebug.h: Added (void) to empty-parameter functions.

	* configure: Automatic update.

	* configure.in: Version bump.

	* CHANGES: New file.

	* ChangeLog: Updated.

	* README: Added Related Projects section.

	* README: Created Future section, Cable section.

	* main.c: Adjusted debug level slightly.

2002-02-09  Scott Gifford  <sgifford@tir.com>

	* stdata.h: Fix prototype error.

	* main.c: Fix small calling bug.

	* stdebug.c: Minor code cleanups.

	* phonebook.h: Added some constants for name and company length.

	* phonebook.c, main.c: Minor error handling cleanup.

	* stdata.c: Minor error handling fixes.

	* stdata.c: Minor code cleanups and fixes.

	* startalk.h: Minor code cleanups.

	* startalk.c: Minor code cleanups and fixes.

	* proto.h: Added RCS header.

	* phonebook.h: Minor code cleanups.

	* phonebook.c: Minor code cleanups.

	* main.c: Minor code cleanups and small corrections.

	* fstty.h, fstty.c: Minor cleanups.

	* alarm.c: Slight cleanups.

2002-02-08  Scott Gifford  <sgifford@tir.com>

	* filedata.c: Minor cleanups and small bug fixes.

	* alarm.c: Add void to empty parameters.
	Check more error returns.

	* alarm.h: Add void to empty parameters.

	* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
	0.1.76 snapshot

	* configure: Augogenerated.

	* config.h.in: New file.

	* Makefile.in: Autogenerated.

	* Makefile.am: Added sysdep.h.

	* configure.in: Version bump.

	* startalk.h: Fix prototype error.
	Remove dead code.

	* startalk.c: Implemented a real timeout for startalk_write_timeout.
	Change how timeouts work in various places so the timeout
	  isn't for any data coming in at all, but for the whole
	  thing to complete.  This helps in the (common) case where the
	  phone is sending is a continuous stream of gibberish.
	Correct some error handling bugs.
	Make crappy_cleanstr less crappy.
	Properly free memory from crappy_cleanstr.
	Add serial setup code which calls functions stolen from minicom.
	Seperate the various types of serial setups clearly---
	  minicom, stty, or old.
	Update startalk_exit() to handle signals better.
	Added a small amount of debugging info.
	Make initialize code more robust (it seems to work every time now!)
	  More stolen ideas from minicom, including pausing before sending
	  AT strings.  This has made initialization much slower.
	Send a "leave data mode" packet on startup, to try and be more robust.

	* main.c: Better support for defaults.
	Better --help
	Conditional use of stty settings/-s option.
	Improved signal handling.
	Try to connect multiple times before giving up.

	* fstty.c: Minor error handling changes.

	* configure.in: Added new code from minicom.
	Add configure support for choosing which serialsetup method you
	  want to use.

	* aclocal.m4: Autogenerated.

	* Makefile.am: Added new code from minicom.

	* aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, README, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h:
	0.1.75 snapshot

	* configure, Makefile.in: Autogenerated.

	* stdebug.c:
	Fix stupid off-by-one error, that caused compilation problems on
	  some BSDs.

	* startalk.h: Minor corrections and cleanup.

	* startalk.c: Implemented startalk_write_timeout with a real timeout.
	Minor cleanups and corrections.
	Fixed up exit and signal handler code.
	Adde a bit more debugging information.

	* Makefile.am: Added getopt, fstty, alarm stuff.

	* main.c: Minor cleanup and corrections.

	* configure.in: Bump version number.

	* aclocal.m4: Automatically generated updates.

2002-02-05  Scott Gifford  <sgifford@tir.com>

	* main.c: Update documentation for -d option.

	* stdebug.h: Add vreterr, and the now-required <stdarg.h>.

	* stdebug.c: Add fflush() in debugf(), just in case.
	Fix stupid bug in debugf() which made it completely break
	  when arguments were passed in.
	Add vreterr() in the style of vprintf(), and re-implement reterr
	  in terms of it.

	* fstty.h, fstty.c, alarm.h, alarm.c: New file.

	* main.c: Support for new "-s" option, to specify stty(1) setup string.
	Support for new "-i" option, to specify modem init string.
	Fix stupid getopt bug.
	Use local, included copy of getopt.
	Fix stupid getopt bug.
	Improve debugging support for command-line processing (used to
	  fix stupid getopt bug; maybe we'll remove it if we don't see
	  this problem crop up for awhile).
	Add some malloc error checking that was missing.
	Maximum debug level used is now 4.
	Set up signal handler for alarms.
	Improve debugging output in various other places.

	* startalk.c: Reduce timeout to 10 seconds.
	Fix startalk_read_timeout() to actually use a timeout.
	Improve debugging and error reporting functionality in
	  startalk_readfor().
	Add utility function crappy_cleanstr() to escape nonprintable
	  characters for display.  It leaks memory, so should only be
	  used when a crash is imminent.
	Raised debug level of checksums, since we seem to usually get
	  them right now, and they're just annoying clutter at lower
	  debug levels.
	Don't use O_SYNC when opening serial port.  I don't think it
	  does anything anyways, and it causes compilation problems
	  under some BSDs.
	Change serial setup in startalk_open() to use stty(1), and use
	  the global variable "stty" to hold the settings.
	Change some other serial setup stuff in startalk_open() to make
	   it more portable.
	Improve debugging facilities in startalk_open().
	Support in startalk_initialize() for using an init string, stored
	  in the global variable "modeminit".
	Improve debugging facilities in startalk_initialize().
	Improve debugging facilities in startalk_datamode().
	Improve debugging facilities in startalk_reset().

2000-05-03  Scott Gifford  <sgifford@tir.com>

	* aclocal.m4, AUTHORS, ChangeLog, configure, configure.in, COPYING, filedata.c, filedata.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, PROTOCOL, README, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h:
	Checkin for next version

	* README: Added warning/disclaimer.

	* aclocal.m4, AUTHORS, ChangeLog, configure, configure.in, COPYING, filedata.c, filedata.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, PROTOCOL, README, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h:
	Checkin for next version

	* aclocal.m4, configure, COPYING, INSTALL, install-sh, Makefile.am, Makefile.in, missing, mkinstalldirs:
	New file.

x
2000-05-03  Scott Gifford  <sgifford@tir.com>

	* main.c: Checkin for next version

2000-05-02  Scott Gifford  <sgifford@tir.com>

	* main.c: Added RCS Id string.

	* main.c: Added version to help.

	* main.c: Changed tests packets for -t.
	Modified usage message slightly.

	* main.c: Modified range code to let you use '90-' to indicate 90-end,
	  '-10' to indicate start-10.

	* main.c: Corrected some documentation and usage stuff.

2000-05-02  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* main.c: Changed tests packets for -t.
	Modified usage message slightly.

	* README: Updated 'Usage' section.

	* PROTOCOL: Good first draft.

	* main.c: Modified range code to let you use '90-' to indicate 90-end,
	  '-10' to indicate start-10.

	* phonebook.h, phonebook.c, filedata.c:
	Modified to support FAX, QMARK, and expanded OTHER phone number types.

	* main.c: Corrected some documentation and usage stuff.

2000-04-24  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* Makefile: Made Makefile code a bit cleaner.
	Added compile option for electric fence.

	* PROTOCOL: Fixed some problems noted in previous version.
	Started including example packet dumps.

	* README: Updated to reflect some renamed files.

	* main.c:
	Added code to try to catch and clean up after SIGSEGV, while still
	  dumping core.

	* startalk.c: Small cosmetic change in debug output.

	* filedata.c:
	Fixed possible fencepost error in startalk_cleanup_from_file
	  if variable 'in' is a zero-length string.

	* phonebook.c: Fixed potential problem with 32-character phone numbers.
	Fixed stupid typo causing segfaults.

	* Makefile: Changed name of source file 'st.c' to 'main.c'.

	* main.c: Renamed 'st.c' to 'main.c'

	* stdata.h, main.c, stdebug.h, startalk.c, stdata.c, filedata.c, phonebook.c, stdebug.c:
	Fixed warnings with -Wall.

	* filedata.c, filedata.h, phonebook.c, phonebook.h, stdata.h, stdata.c:
	Changed all occurences of 'startac' to 'startalk'.

	* Makefile: Changed all occurences of 'startac' to 'startalk'.
	Renamed main executable from 'st' to 'startalk'.

	* main.c: Changed all occurences of 'startac' to 'startalk'.

	* startalk.c: Renamed from 'startac.c' to 'startalk.c'.

	* startalk.h: Renamed from 'startac.h' to 'startalk.h'.

	* startalk.h, startalk.c:
	Changed all occurences of 'startac' to 'startalk'.

2000-04-23  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* PROTOCOL: Added some notes of things to be fixed.

	* stdata.c: Interpret blank entries as delete commands.
	Handle correctly case where there is no company for a phonebook entry.

	* startalk.c:
	Added some code that tries really hard to get the serial port
	  into a reasonable state before we start writing to it.

	* main.c: Added signal handling to reset phone.
	Added #defined constant for maximum entries in phonebook.
	Refined code used when both writing and clearing out phonebook.

	* PROTOCOL: New file.

2000-03-23  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* phonebook.h:
	Changed STARTAC_PHONEBOOK_MAX to be defined as the same as MAX_ENTRIES.

	* startalk.h: Added a #define for the maximum number of entries in the
	  phonebook.

	* main.c: Added tons of options, rearranged much of code.

2000-03-20  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* stdebug.c:
	Corrected case where a warn or die is done with no preceding errors.

	* README: Added paragraph about phonebook entries with just position
	  attribute.

	* stdebug.c: Removed a commented out line.
	Added a #define'd constant for the number of columns in the packet
	  dump output.

2000-03-19  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* README: Minor rewording of copyright information.

2000-03-18  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* stdebug.h: Added new function.

	* stdebug.c: Removed a few unused variables.
	Added new errdump function, to print the error stack without exiting
	  the program, or printing WARNING before it.

	* README: New file.

	* startalk.c: Disallow filehandles below 3.

	* stdebug.c: Fixed some more varargs problems.

	* stdebug.c: Added va_end's for all va_start's.

2000-03-17  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* phonebook.c: Changed to use new debugging facilities in stdebug.c

	* stdebug.c, stdebug.h: Added warn function.

	* stdata.c: Cleaned up some code.
	Rewrote error handling to use new facilities in stdebug.c
	Changed return codes to be the same as in other functions --
	  0 for success, nonzero for failure.

	* startalk.c: Rearranged debugging output to make it more clear.

	* startalk.h: Changed 'char *' in startac_write_* to 'const char *'.

	* stdebug.h: Added prototypes for new functions.

	* main.c: Rewrote to use new debugging code.
	Parse parameter to -d flag.

	* stdata.c: Added startac_run_cmd.

	* startalk.c: Cleaned up code.
	Rewrote debugging and error handling to take advantage of new facilities
	  in stdebug.c

	* stdebug.c: Added functions for error tracking.
	setdebuglevel(newlevel) sets a level of debugging
	debuglevel(testlevel) returns TRUE if we are debugging at or above testlevel,
	  FALSE otherwise.
	debugf(minlevel, format, ...) prints the printf-style message to stderr
	  if we are debugging at minlevel or above.
	die(format, ...) prints the printf-style message to stderr and exits.
	  It also prints any accumulated error messages.
	reterr(ret, format, ...) adds the printf-style message to a buffer of errors,
	  which will be printed if we die(), and returns ret.
	errorf(format, ...) like reterr(1, format, ...)
	clearerrors() clears out the error buffer.

	Also split up dumpbuf into dumpbuf_start, dumpbuf_cont, and dumpbuf_end, so
	  we can dump a buffer incrementally.
	Re-implemented dumpbuf() in terms of dumpbuf_start() and dumpbuf_end().

	* startalk.c: Removed debug line from startac_uninitialize.

2000-03-15  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* phonebook.c:
	Added code for dealing with new pos field in startac_phonebook_entry.

	* phonebook.h: Added position to startac_phonebook_entry.

	* Makefile: Added files to O_FILES.

	* filedata.h: New file.

	* main.c: Rewrote to take command-line options.
	Still isn't a distribution-quality program, but much closer.

	* filedata.c: New file.

	* stdata.c:
	Added code to read the phone's response when writing an entry,
	  and debugging code for the response.
	The debugging code needs to be made conditional somehow.

2000-03-12  sgifford@tir.com  <sgifford@sglaptop.tir.com>

	* stdata.h:
	Added prototypes to add and delete phonebook entries from the phone.

	* stdata.c: Added code to remove a phonebook entry.

	* main.c: Modified test code to remove a phonebook entry, too.

	* phonebook.h: Added #define's for different phone number types
	Added prototypes of functions to add a phone number to an entry.
	Added prototypes of functions to print phonebook entries and
	  numbers.

	* phonebook.c:
	Added code to print phonebook entries and numbers in an LDIF-like format.

	* main.c: Modified to test writing a phonebook entry to the phone.

	* stdata.c: Added code to write phonebook entries to the phone.

	* stdebug.c, startalk.h, phonebook.h, stdata.h, phonebook.c, startalk.c, stdebug.h:
	New file.

	* main.c: Seperated into different files.

	* stdata.c, Makefile: New file.

	* main.c: Added a bunch of code for phonebooks.
	About to split into seperate files.

	* main.c: Added code to read phonebook entries from the phone.

	* main.c: Automatically calculates checksums now.
	Fixed some silly misunderstandings of how things work.

	* main.c: Rewrote simple interface to use readmsg/writemsg throughout.

	* main.c: New file.

--
$Id: ChangeLog,v 400.2 2002/07/25 09:35:17 sgifford Exp $
