2015-11-18  Bruce Korb  <bkorb@gnu.org>

	windows werdness

2015-10-15  Bruce Korb  <bkorb@gnu.org>

	fix spelling

2015-10-03  Bruce Korb  <bkorb@gnu.org>

	reproducible build tweaks
	all changes are configuration tweaks to adapt to HURD or
	ensure consistency in tarball structure or setting a
	man page date.

2015-09-12  Bruce Korb  <bkorb@gnu.org>

	set release date

2015-08-25  Bruce Korb  <bkorb@gnu.org>

	suppress autoconf chaff

	remove debug stuff

	tar up autogen-ed files for bootstrap
	If the autogen program is not available, untar the needed files
	from stashed away tarballs.

2015-08-22  Bruce Korb  <bkorb@gnu.org>

	even more ignorance

	move version extraction to after version burn

	use git-version-gen for version number

	doc some of the recent changes

2015-08-16  Bruce Korb  <bkorb@gnu.org>

	accept specified bootstrap executables

2015-08-10  Bruce Korb  <bkorb@gnu.org>

	when creating mdoc/man pages, prefer using MAN_PAGE_DATE
	to using the date command for the page footer date.

2015-08-08  Bruce Korb  <bkorb@gnu.org>

	Allow SOURCE_DATE to override using the date program
	for stamping the date in man page type docs.

	add (max-file-time) scheme function

	finish de-daemonization

2015-08-08  Bruce Korb  <bkorb@gnu.org>

	make "date" output a bit more consistent
	specify LC_ALL=C for its usage.  Plus some cleanups.

	* agen5/funcFor.c(for_by_step): extract out loop limitations
	* config/misc.def(timeout): new configure option
	* configure.ac.pre: take configured option instead of using configure time

2015-08-01  Bruce Korb  <bkorb@gnu.org>

	still more ignorance

	missing file

	add --enable-static-autogen config option
	This will force autogen to be linked to libopts statically.
	* config/misc.def (daemon): unused, remove
	  (static_autogen): added
	* agen5/Makefile.am.pre: the derived name is AG_STATIC_AUTOGEN

	re-installed file

	copy fake Makefile.am into place
	automake must run before we are ready to figure out what all
	goes into it.  So copy a temp one into place to keep it happy.

	remove derived files from repo

2015-08-01  Bruce Korb  <bkorb@gnu.org>

	bootstrap is idempotent
	Still wiggles source though:

	# Changes not staged for commit:
	#   (use "git add <file>..." to update what will be committed)
	#   (use "git checkout -- <file>..." to discard changes in working directory)
	#
	#       modified:   Makefile.am
	#       modified:   NEWS
	#       modified:   agen5/Makefile.am
	#       modified:   autoopts/Makefile.am
	#       modified:   configure.ac
	#       modified:   getdefs/getdefs.c
	#       modified:   pkg/Makefile.am

2015-08-01  Bruce Korb  <bkorb@gnu.org>

	Doc requirement for gnulib

	First cut at INSTALL and bootstrap
	Thanks to Eric Raymond.

	Terminological fix, comment only.

2015-07-20  Bruce Korb  <bkorb@gnu.org>

	do not segfault
	Guile cannot always handle scm_backtrace, so just do not use it.
	* agen5/autogen.c (done_check): omit scm_backtrace call
	* agen5/test/error.test: trim off variable messages from error output

2015-07-18  Bruce Korb  <bkorb@gnu.org>

	simplify building char-mapper for linux

2015-07-18  Bruce Korb  <bkorb@gnu.org>

	Remove dead interfaces
	Mostly Guile 1.6 stuff, but some cleaning of sprintf, too

	* agen5/ag-text.def: unused string removal
	* agen5/agInit.c (DAEMON_ENABLED): it will never be enabled
	* agen5/autogen.c (main): re-exec if LC_ALL is defined, not empty and not "C"

	* agen5/agDep.c (start_dep_file): memcpy vs. sprintf.
	* agen5/expExtract.c: memcpy vs. sprintf
	* agen5/loadPseudo.c: memcpy vs. sprintf

	* agen5/expFormat.c: Guile 1.6 re-removal
	* agen5/expGuile.c: Guile 1.6 re-removal
	* agen5/expOutput.c: Guile 1.6 re-removal
	* agen5/expPrint.c: Guile 1.6 re-removal
	* agen5/expState.c: Guile 1.6 re-removal
	* agen5/expString.c: Guile 1.6 re-removal
	* agen5/funcDef.c: Guile 1.6 re-removal
	* agen5/funcEval.c: Guile 1.6 re-removal
	* agen5/funcFor.c: Guile 1.6 re-removal
	* agen5/funcIf.c: Guile 1.6 re-removal
	* agen5/guile-iface.def: Guile 1.6 re-removal
	* agen5/tpProcess.c: Guile 1.6 re-removal

	* autoopts/ao-strs.def: reordered, add a message
	* autoopts/configfile.c: memcpy vs. sprintf
	* autoopts/enum.c: snprintf vs. sprintf
	* autoopts/load.c: memcpy vs. sprintf
	* autoopts/putshell.c: assert for sprintf
	* autoopts/save.c: memcpy vs. sprintf
	* autoopts/time.c: snprintf vs. sprintf

	* autoopts/tpl/optmain.tlib: fix exit code
	* autoopts/test/handler.test: adjustment

2015-06-28  Bruce Korb  <bkorb@gnu.org>

	Unwind the removal of Guile wrapper macros.

2015-06-07  Bruce Korb  <bruce.korb@hgst.com>

	stylistic fix in mdoc2man

2015-05-31  Bruce Korb  <bruce.korb@hgst.com>

	improve license file description

2015-04-30  Bruce Korb  <bruce.korb@hgst.com>

	correct library version bump

2015-04-26  Bruce Korb  <bruce.korb@hgst.com>

	libopts need rev bump, too

2015-04-25  Bruce Korb  <bruce.korb@hgst.com>

	update NEWS

	more Guile-config somersaults
	* config/misc.def: sometimes, "pkg-config --cflags-only-I" yields
	  multiple directories for Guile and that incantation is the only
	  way to find libguile/version.h and that header is the only way
	  to determine the micro version and the micro version is the best
	  way to check for certain types of breakage.  (Testing is too
	  convoluted.)

2015-04-18  Bruce Korb  <bruce.korb@hgst.com>

	remove Guile 1.6 support
	Also, prep for release

2015-04-17  Bruce Korb  <bruce.korb@hgst.com>

	remove support for Guile 1.6.
	* agen5/guile-iface.def: remove all pre-1.7 entries
	* agen5/*: remove a mess of macros that are now invariant

2015-04-14  Bruce Korb  <bkorb@gnu.org>

	in for-each-file main's, allow calle to free file text
	* autoopts/tpl/optmain.tlib (validate_fname):
	  if the file text is read in and passed to the handler function,
	  omit the "free(3)" call in the presence of a "handler-frees"
	  attribute.
	* doc/autogen-texi.txt: update documentation

2015-02-25  Bruce Korb  <bkorb@gnu.org>

	Add warning messages to the option code
	When "warn-code" is specified in the options definitions,
	warning_msg() and vwarning_msg() will be added to the
	generated code.  Calling either will ensure (eventually)
	a non-zero exit when exit(2) is ultimately called.

	fix size computation
	Thanks to siddharthkabra.
	The PAGE_USAGE_FMT uses "fname" twice, so the requirement size
	must double the string length.

2015-02-05  Bruce Korb  <bkorb@gnu.org>

	fix guile directory
	* autoopts/mk-tpl-config.sh (fix_guile): invoke the find_libguiledir
	  function with GUILE_CFLAGS as separate tokens.

	fix guile directory
	* autoopts/mk-tpl-config.sh (fix_guile): invoke the find_libguiledir
	  function with GUILE_CFLAGS as separate tokens.

2015-01-17  Bruce Korb  <bkorb@gnu.org>

	bump vers

	ensure chars are unsigned when used as index.
	* autoopts/makeshell.c (to_uchar): inline that converts char to unsigned
	  (UPPER): macro that converts any char type to lower case
	  (LOWER): likewise
	  (*elsewhere*): use these

2015-01-04  Bruce Korb  <bkorb@gnu.org>

	cright-update cleanup
	Finish handling embedded copyright mark expressions.
	Replace "nobase_data_DATA" with "pkgconfig_DATA".
	Update some copyright marks.

2015-01-01  Bruce Korb  <bkorb@gnu.org>

	happy 2015

	pointer usage cleanup

2014-11-29  Bruce Korb  <bkorb@gnu.org>

	bump minor version

2014-11-29  Bruce Korb  <bkorb@gnu.org>

	use libdatadir for finding templates
	Now that it has been added, it is also useful to use it.

	* agen5/agInit.c (prep_env): add LIBDATADIR to end of search list
	* autoopts/Makefile.am (install-data-hook): add DESTlibdatadir to
	  install-hook environment
	* autoopts/install-hook.sh: copy tpl-config.tlib to this directory.

2014-11-23  Bruce Korb  <bkorb@gnu.org>

	Finish adding libdatadir to build.
	tpl-config.tlib needs to be installed in a target plaatform directory.
	Thus, we put it into nodist_libdata_DATA.

	* */Makefile.am: renameing of GUILE macros due to guile.m4
	* config/bootstrap.local: install pkg.m4, too
	* config/misc.def: remove Guile macros in favor of guile.m4, but also
	  add code to compute the full Guile micro version.  Not provided by Guile.

2014-11-23  Bruce Korb  <bkorb@gnu.org>

	add libdatadir to build.
	tpl-config.tlib needs to be installed in a target plaatform directory.
	Thus, we put it into nodist_libdata_DATA.  This is phase 1.

	* autoopts/bootstrap.dir: do so
	* autoopts/init.c: remove ao_ver_string
	* autoopts/mk-tpl-config.sh: generate ao_ver_string
	* autoopts/install-hook.sh: After sedding tpl-config.tlib in place,
	  copy it to $DESTlibdatadir

2014-09-14  Bruce Korb  <bkorb@gnu.org>

	licensing & DASH shell tweak
	* agen5/test/format.test: export AUTOGEN_DNE_DATE explicitly.
	  DASH does not export when the assignment is on the same line
	  as a shell function invocation.
	* autoopts/tpl/*.pl: document the licensing of the perl scripts.

2014-09-01  Bruce Korb  <bkorb@gnu.org>

	put man page sections in SEC subdirectory
	Some platforms to no support in-memory file io.  These use the $tmp_dir
	directory to stash temp files.  The "cmd-doc.tlib" template assumes
	that all files in that directory are man page sections.  Oops.

	* autoopts/tpl/cmd-doc.tlib: rework to avoid this
	* other files: strictly cleanup

2014-08-30  Bruce Korb  <bkorb@gnu.org>

	set release version

2014-08-24  Bruce Korb  <bkorb@gnu.org>

	remove unused strings
	* agen5/ag-text.def: many of the strings are no longer used.
	  Also, in the shell initialization, ensure "set +o verbose"
	  has been processed.
	* agen5/agUtils.c (fswarn): new, for when fs errors are not fatal.
	* agen5/defDirect.c (file_size): use it
	  (doDir_include): use it
	* agen5/expExtract.c (load_file): if fstat(3) fails, return errno
	* agen5/funcEval.c (emit_insertion_file): use load_file()
	* autoopts/tpl/cmd-doc.tlib: use new functionality

2014-08-23  Bruce Korb  <bkorb@gnu.org>

	add insert-file function
	Sometimes, it is just easier to insert the contents of a file
	than to go through "shell" and "cat" it into the output.

	* agen5/ag-text.def (LD_EXTRACT_BAD_READ): no longer used
	* agen5/agUtils.c (open_trace_file): use "fserr" call instead of AG_ABEND
	* agen5/expExtract.c (load_file): likewise
	* agen5/funcEval.c (ag_scm_insert_file): new function to implement

	plus documentation and testing changes to support this.

2014-08-22  Bruce Korb  <bkorb@gnu.org>

	warn about using "test-main"

	minor tweaks

2014-08-16  Bruce Korb  <bkorb@gnu.org>

	tweak NEWS

	fix return macro, add warn function
	* agen5/ag-text.def (WARN_FMT): for "warn" function
	* agen5/expFormat.c (ag_scm_warn): implementation
	* agen5/autogen.h (for_state_t): added fields to support RETURN
	* agen5/funcFor.c (for_by_step): adjust for new context fields
	  (for_each): likewise
	  (free_for_context): rewritten to handle this stuff
	* agen5/test/return.test: new test

2014-08-15  Bruce Korb  <bkorb@gnu.org>

	add documentation and testing
	It is useful for folks to know how to use AUTOGEN_DNE_DATE.

2014-08-14  Bruce Korb  <bkorb@gnu.org>

	dne - Do Not Edit and AUTOGEN_DNE_DATE
	This Scheme function has "traditionally" included a date and time stamp
	in the resulting output and that could be suppressed by providing it a
	"-d" option.  Due to very reasonable complaints, the new default is to
	<strong>not</strong> include the date and require a "-D" option to
	<i>en</i>able dates.  However, even that is not completely satisfactory.
	The <strong>user</strong> of the template needs a way to select
	behavior.  Enter the newly recognized environment variable:
	<tt>AUTOGEN_DNE_DATE</tt> If set, it will override any "-D" option in
	the template.  If set to the empty string or a string with the first
	character being one of <tt>0nNfF</tt> (zero or the first letter of
	"false" or "no"), then the date will not be emitted.  Otherwise, the
	presence of this environment variable will cause the date to be emitted.

2014-08-09  Bruce Korb  <bkorb@gnu.org>

	Clarify start/end of AutoGen tracing
	It is sometimes hard to match them up during a nested run

	* agen5/ag-text.def: mark the start and end of tracing more clearly
	* agen5/agUtils.c (open_trace_file): local function
	  (check_make_dep_env): likewise
	  (count_nl): move to defLex.c -- the only place used
	  (skip_expr) DeCamelization
	* agen5/defLex.c (count_nl): new
	* agen5/test/debug.test: adjust for new start/end markers
	* doc/Makefile.am: run_mktexi needs to specify the source directory

2014-08-08  Bruce Korb  <bkorb@gnu.org>

	remove timestamp from dne, add option to include it
	Recording the timestamp in generated files creates unnecessary noise as
	files that haven't really changed at all will show up as different when
	comparing builds, which is something downstream distributions would like
	to do.

	default to not adding date and version information (old behaviour when
	'-d' was passed) and add a new option '-D' that restores the timestamp,
	in case anyone desperately needs it.

2014-08-08  Bruce Korb  <bkorb@gnu.org>

	give credit where credit is due
	All the documentation scripts + cleanup of the
	libopts source library Makefile.am file.

	* THANKS: add Harlan Stenn
	* autoopts/tpl/*.pl: Credit Harlan Stenn
	* pkg/libopts/mklibsrc.sh: clean up Makefile.am output

2014-07-07  Bruce Korb  <bkorb@gnu.org>

	fix failures
	From Andreas Schwab

2014-07-06  Bruce Korb  <bkorb@gnu.org>

	build stdnoreturn.h in tear-off lib
	Pull in the gnulib stdnoreturn module.

	Modified files:

	* autoopts/version.c (optionPrintVersionAndReturn): export it
	* config/bootstrap.local: stash the relevant makefile hackery
	  and _Noreturn.h header data
	* config/libopts.def: invoke gl_STDNORETURN_H
	* config/misc.def: do not invoke it twice
	* pkg/libopts/mklibsrc.sh: incorporate stdnoreturn.in.h and
	  _Noterurn.h stuff in the library source.

2014-07-05  Bruce Korb  <bkorb@gnu.org>

	fix GFDL license
	* pkg/gnudir.tpl: no need for 3 withs

2014-07-02  Bruce Korb  <bkorb@gnu.org>

	man page cleanup
	Very noticable improvements to generated man pages

	Modified files:

	* autoopts/bootstrap.dir
	* autoopts/mk-tpl-config.sh
	* autoopts/tpl/Mdoc.pm
	* autoopts/tpl/agman-cmd.tpl
	* autoopts/tpl/agmdoc-cmd.tpl
	* autoopts/tpl/cmd-doc.tlib
	* autoopts/tpl/mdoc2man.pl
	* autoopts/tpl/mdoc2man.sh
	* autoopts/tpl/mdoc2texi.pl

2014-07-01  Bruce Korb  <bkorb@gnu.org>

	Fix up Guile fix up script
	Guile both misuses the token "noreturn" in its headers
	and rearranged its headers between releases.  It is tricky
	to fix up headers in different places and not fix headers
	that finally got fixed

	* autoopts/mk-tpl-config.sh (find_libguiledir):
	  look for libguile.h in a specific order to maximize
	  the chances of finding the correct directory.

2014-06-28  Bruce Korb  <bkorb@gnu.org>

	facilitate version procs
	In order to use the default version code and augment it,
	there is now a version of optionPrintVersion that returns.

	Hex numbers in definition files need not be quoted any more.

	* agen5/defLex.c (gather_name): accept hex numbers

	* agen5/test/define.test: test it

	* autoopts/version.c (optionPrintVersionAndReturn): new

	* doc/autogen-texi.txt: augment getopt.tpl doc

2014-06-15  Bruce Korb  <bkorb@gnu.org>

	fix format-arg macro
	"argc" is not defined in the test program.

2014-05-17  Bruce Korb  <bkorb@gnu.org>

	release version

2014-05-10  Bruce Korb  <bkorb@gnu.org>

	add delays to kill signals
	It seems that on some platforms, if signals arrive too quickly,
	the process winds up hanging instead of dying.  Therefore, in
	the shell die() function, wait a second between signals.

	* agen5/ag-text.def (SHELL_INIT_STR): wait one second after
	  the SIGTERM, SIGINT and SIGHUP signals.  Afterwards, send
	  a SIGKILL signal.

	* autoopts/mk-tpl-config.sh (fix_guile): this function runs
	  under "set -e", so do not fail-exit if grep does not find
	  the "noreturn" word.

2014-05-03  Bruce Korb  <bkorb@gnu.org>

	clean up "noreturn"
	This is a more rigorous fix for the libguile usage of the "noreturn"
	token.  It must *always* run, so it is folded into the
	mk-tpl-config.sh script.

	fix month

2014-04-19  Bruce Korb  <bkorb@gnu.org>

	final release tweaks

2014-04-13  Bruce Korb  <bkorb@gnu.org>

	ATTRIBUTE_FORMAT_ARG is now used
	The gettext() wrapper function needs to be markable as:
	  __attribute__((format_arg(1)))
	but since not all compilers accept it, we wrap it.

	Also, a new template for handling perl program options is added.

2014-03-29  Bruce Korb  <bkorb@gnu.org>

	argument to aoGetsText() is type "format"
	The aoGetsText() emitted i18n helper function needs its argument
	to have the "format_arg" attribute.

2014-03-23  Bruce Korb  <bkorb@gnu.org>

	Only apply texi2mdoc when it is needed.
	Several adjustments to tests, too.  Also, update cright updater flags.

