2013-09-27  Thomas Schwinge  <thomas@codesourcery.com>

	GNU MIG 1.4.
	* configure.ac (AC_INIT): Set version to 1.4.
	* NEWS: Finalize changes for 1.4.
	* README: Update.

	Generate ChangeLog files for distributions.
	* gitlog-to-changelog: New file; import from gnulib's
	9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog.
	* Makefile.am (gen-ChangeLog): New target.
	(dist-hook): Depend on it.

2013-09-04  Justus Winter  <4winter@informatik.uni-hamburg.de>

	Drop the auto keyword
	Drop the auto keyword from the generated source code. auto is the
	default storage type for variables anyway and it is customary to omit
	it.

	* utils.c (WriteCheckDecl): Drop auto from generated source.
	(WriteStaticLongDecl): Likewise.
	(WriteStaticShortDecl): Likewise.

2013-08-19  Justus Winter  <4winter@informatik.uni-hamburg.de>

	Drop alloca.c
	This file was only used with GCC < 2, so it's time to drop it.

	* alloca.c: Remove file.
	* configure.ac: Remove test for alloca.
	* Makefile.am (migcom_LDADD): Remove @ALLOCA@.

2013-08-19  Justus Winter  <4winter@informatik.uni-hamburg.de>

	Drop the register keyword
	Drop the register keyword both from MIGs code and from the generated
	code. The register keyword is only a hint and it is ignored by modern
	compilers.

	* alloca.c: Drop the register keyword.
	* header.c: Likewise.
	* lexxer.l: Likewise.
	* parser.y: Likewise.
	* routine.c: Likewise.
	* server.c: Likewise.
	* statement.c: Likewise.
	* string.c: Likewise.
	* type.c: Likewise.
	* user.c: Likewise.
	* utils.c: Likewise.
	* vprint.c: Likewise.

2013-08-19  Justus Winter  <4winter@informatik.uni-hamburg.de>

	Remove unused file alloc.h
	* alloc.h: Remove file.
	* Makefile (migcom_SOURCES): Remove alloc.h.

2013-02-19  Olaf Buddenhagen  <antrik@gmx.net>

	Fix spurious deallocation
	* server.c (WriteDestroyArg): Only dealloc out-of-line memory from
	request message if KERN_SUCCESS.

2012-09-09  Thomas Schwinge  <thomas@codesourcery.com>

	Merge remote-tracking branch 'savannah/master'

2012-07-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/mig

2012-07-01  Guillem Jover  <guillem@hadrons.org>

	Fix format string build failure with _FORTIFY_SOURCE=2
	* parser.y (yyerror): Use a format string instead of directly passing
	the argument to error.

2012-03-19  Thomas Schwinge  <thomas@codesourcery.com>

	Make the installation tree relocatable.
	* mig.in: Compute a relative path from the mig to migcom.

2011-09-07  Thomas Schwinge  <thomas@schwinge.name>

	* .gitignore: Tighten some rules.

2011-08-30  Guillem Jover  <guillem@hadrons.org>

	Add silent rules support if available and disable it by default
	* configure.ac (AM_SILENT_RULES): Add silent rules support if available,
	  and disable it by default.
	* Makefile.am (AWK_V, AWK_V_, AWK_V_0): New variables.
	(.sym.symc): Use AWK_V in front of AWK.
	(.symc.symo): Use AM_V_CC in front of TARGET_CC.
	(.symo.h): Use AM_V_GEN in front of sed.

	Add a .gitignore file
	* .gitignore: New file.

2010-01-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix indentation
	* user.c (WriteCheckIdentity): Prepend `\t' before calling
	WriteMsgError.

2009-10-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>

	Fix warning during mach compilation
	* user.c (WriteIncludes): Include <kern/ipc_mig.h> when building kernel
	user.

2009-07-11  Thomas Schwinge  <tschwinge@gnu.org>

	Switch to the new ChangeLog style.
	* ChangeLog: Wipe out content, and add instructions about how to get it back.

2008-05-28  Thomas Schwinge  <tschwinge@gnu.org>

	[bug #23417: Building with -g3]
	* lexxer.l (^\#define[ \t]): Ignore until EOL.

2007-06-02  Thomas Schwinge  <tschwinge@gnu.org>

	* global.c (LintLib): Remove definition.
	* global.h (LintLib): Remove declaration.
	* header.c (WriteUserRoutine, WriteServerRoutine): Don't emit `Lint'
	code.
	* user.c (WriteIncludes): Likewise.
	* utils.c (WriteRCSDecl): Likewise.

2007-04-03  Thomas Schwinge  <tschwinge@gnu.org>

	* mig.in (--help): Document the ``-i'' option better.

2007-03-05  Thomas Schwinge  <tschwinge@gnu.org>

	* COPYING: Update the FSF's postal address.

	Remove automatically regeneratable files.
	* INSTALL: Remove file.
	* Makefile.in: Likewise.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* lexxer.c: Likewise.
	* parser.c: Likewise.
	* build-aux/config.guess: Likewise.
	* build-aux/config.sub: Likewise.
	* build-aux/depcomp: Likewise.
	* build-aux/install-sh: Likewise.
	* build-aux/missing: Likewise.
	* build-aux/ylwrap: Likewise.

2006-12-04  Thomas Schwinge  <tschwinge@gnu.org>

	* Makefile.in: Regenerate.
	* configure: Likewise.

	* configure.ac (AM_INIT_AUTOMAKE): Add `dist-bzip2'.

	* Makefile.am (AUTOMAKE_OPTIONS): Remove variable after having moved
	the `gnu' option to...
	* configure.ac (AM_INIT_AUTOMAKE): ... here.
	Bump version to 1.3.1.99.
	* NEWS: Update.
	* README: Likewise.

2006-12-03  Leonardo Lopes Pereira  <leonardolopespereira@gmail.com>

	[patch #5018 --- ``Remove support to msg_send interface.'']
	* global.c (UseMsgRPC): Removed definition.
	* global.h (UseMsgRPC): Removed declaration.
	* mig.in (--help): Removed information about `-r' and `-R' options.
	* migcom.c (parseArgs): Changed the switches `-r' and `-R' to deal with
	the absence of obsolete the send/receive pairs.
	* user.c (WriteRoutine): Adapted the use of `UseMsgRPC' as if it was
	defined to `TRUE'.
	(WriteMsgSendReceive): Removed, since it is not used anymore.

2006-11-29  Thomas Schwinge  <tschwinge@gnu.org>

	* configure: Regenerate.
	* lexxer.c: Likewise.
	* parser.c: Likewise.

	Fix compiler, flex and bison warnings.
	* error.c: Include <stdlib.h>.
	* lexxer.h (yylex): Add declaration.
	* migcom.c: Include <stdlib.h>.
	(main): Set USER, SHEADER and IHEADER to `NULL' by default.
	(myfclose): Add lost conversion specifications.
	* parser.h (yyerror): Add declaration.
	* routine.c (rtPrintArg, rtCheckRoutine): Add braces to avoid
	ambiguousness.
	* server.c (WriteSymTabEntries): Make NUM an `u_int'.
	* user.c (WriteUserIndividual): Add a `default' case in a switch
	statement and add lost conversion specifications.
	* lexxer.l: Set option `nounput'.
	* parser.y (%left): Change commas to spaces.

	* configure.ac (AM_INIT_AUTOMAKE): Add the `no-define' option.

	* build-aux/config.guess: New file, thanks to `autoreconf'.
	* build-aux/config.sub: Likewise.
	* build-aux/depcomp: Likewise.
	* build-aux/install-sh: Likewise.
	* build-aux/missing: Likewise.
	* build-aux/ylwrap: Likewise.
	* INSTALL: File updated by `autoreconf'.
	* aclocal.m4: Likewise.
	* Makefile.in: Likewise.
	* configure: Likewise.

	* mig.in: Adopt to the Autoconf update.

	* configure.in: Move to...
	* configure.ac: ... here and overhaul a bit.

	* config.guess: Remove file.
	* config.sub: Likewise.
	* depcomp: Likewise.
	* install-sh: Likewise.
	* missing: Likewise.
	* mkinstalldirs: : Likewise.

	[bug #17122 --- ``GNU MIG debian dir'']
	* Makefile.am (debian_files): Remove variable.
	(EXTRA_DIST): Remove files from `debian/'.
	* debian/README.Debian: Remove file.
	* debian/changelog: Likewise.
	* debian/control: Likewise.
	* debian/copyright: Likewise.
	* debian/rules: Likewise.

2006-07-29  Ognyan Kulev  <ogi@fmi.uni-sofia.bg>

	[patch #324]
	* migcom.c (myfclose): New function.
	(main): Use myfclose instead of fclose.
	* user.c (WriteUserIndividual): Check for errors when closing file.

2006-01-26  Thomas Schwinge  <tschwinge@gnu.org>

	* config.guess: Updated from the canonical source.
	* config.sub: Likewise.

2005-05-27  Thomas Schwinge  <schwinge@nic-nac-project.de>

	[patch #2507]
	* mig.in (prj_quote_sh): New shell funcion; copied from Paul Jarc's
	prjlibs.  Use that function to properly quote strings in $cppflags
	that contain whitespace.

2005-04-09  Thomas Schwinge  <schwinge@nic-nac-project.de>

	* mig.in: Handle the preprocessor option '-isystem ...' correctly.

2004-03-18  Roland McGrath  <roland@frob.com>

	* utils.c (do_skip_vfprintf): New macro.
	(WriteCopyType, WritePackMsgType): Use that, so we do va_start and
	va_end independently around each SkipVFPrintf call.

2004-02-10  Roland McGrath  <roland@frob.com>

	* user.c (WriteTypeCheck): Use BAD_TYPECHECK macro instead of type-pun.
	* server.c (WriteTypeCheck): Likewise.
	* utils.c (WriteBogusDefines): Write a #define for that macro.
	* utils.c (WriteCheckDecl): Write auto const, not static const.
	(WriteStaticShortDecl, WriteStaticLongDecl): Likewise.

	* INSTALL, config.guess, config.sub, missing, mkinstalldirs,
	install-sh: Update files from autoconf/automake.

2004-02-01  Roland McGrath  <roland@frob.com>

	* depcomp, Makefile.in, aclocal.m4, configure: Update generated files.

2002-08-29  Jeff Bailey  <jbailey@gnu.org>

	* configure.in: Bump version to 1.3.1
	* configure: Regenerated.

	* NEWS: Updated for 1.3.1 release.

2002-07-31  Marcus Brinkmann  <marcus@gnu.org>

	* routine.c (rtFindSize): Always add sizeof_mach_msg_type_t to
	SIZE for args not in long form, irregardless of the itSize.

2002-05-07  Roland McGrath  <roland@frob.com>

	* type.c (itMakeNaturalType): New function.
	(init_type): Use that instead of itMakeIntType for itWaitTimeType and
	itMsgOptionType--give them each their special typedef names.
	* routine.c (rtCheckArgTypes): Use itCheckNaturalType for rtMsgOption.

2002-04-05  Roland McGrath  <roland@frob.com>

	* Makefile.am (cpu.symc): Depend on gensym.awk.
	* Makefile.in: Regenerated.

	* gensym.awk: Generate code with no unescaped newlines inside strings.

	* vprint.c: Fix obsolete #endif syntax.

2002-03-06  Roland McGrath  <roland@frob.com>

	* configure.in: Bump version to 1.3.
	* configure, Makefile.in, aclocal.m4: Regenerated.

2001-12-31  Roland McGrath  <roland@frob.com>

	* lexxer.l: Grok "retcode" IPC flag as a no-op, for compatibility
	with OSF Mach mig syntax.
	* lexxer.c: Regenerated.

2001-12-28  Roland McGrath  <roland@frob.com>

	* mig.in (default_cpp): Add -ansi to avoid -Di386=1 and the like.

	* mig.in (default_cpp): Put -undef here.
	(cppflags): Not here.

2001-10-03  Roland McGrath  <roland@frob.com>

	* mig.in (cppflags): Start with -undef.

2001-06-09  Marcus Brinkmann  <marcus@gnu.org>

	* Makefile.am (debian_files): New variable.
	(EXTRA_DIST): Add files in $(debian_files), prefixed with debian/.
	* configure, Makefile.in, aclocal.m4: Regenerated.

2001-06-08  Marcus Brinkmann  <marcus@gnu.org>

	* debian/rules: Fix directory permissions, set architecture relevant
	variables to default values, include section and priority in package,
	strip migcom down even further, as suggested by Lintian.
	* debian/changelog:  Bump version to 1.2-1.

2001-06-07  Roland McGrath  <roland@frob.com>

	* configure.in: Bump version to 1.2.
	* configure, Makefile.in: Regenerated.
	* NEWS: Updated for changes since 1.1 release.

	* header.c (WriteRoutineList): New function.
	* write.h: Declare it.
	* migcom.c (RoutineListFileName): New variable.
	(parseArgs): New option -list to set it.
	(main): If set, write the named output file with WriteRoutineList.
	* mig.in: Grok -list and put it in the usage message.

	* global.c (DefaultFiles): New variable, boolean initialized to true.
	(more_global): Leave null file name variables alone if it's false.
	* global.h (DefaultFiles): Declare it.
	* migcom.c (parseArgs): New option -n clears it.
	* mig.in: Grok -n (pass it through) and put it in the usage message.

	* statement.h: Fix obsolete #else/#endif syntax.
	* lexxer.l: Likewise.
	* lexxer.c: Regenerated.

2000-07-04  Marcus Brinkmann  <marcus@gnu.org>

	* debian: New directory for Debian packaging stuff.
	* debian/README.Debian: New file.
	* debian/changelog: Likewise.
	* debian/control: Likewise.
	* debian/rules: Likewise.
	* debian/copyright: Likewise.

1999-10-11  Roland McGrath  <roland@baalperazim.frob.com>

	* user.c (WriteIncludes): Fix missing newline in last change.
	* server.c (WriteIncludes): Likewise.

1999-10-08  Roland McGrath  <roland@baalperazim.frob.com>

	* server.c (WriteIncludes): Write:
		#ifndef _GNU_SOURCE
		#define _GNU_SOURCE 1
		#endif
	into the output before all else.  This is required for building
	stubs with GNU libc's built-in Mach/MiG support code.
	* user.c (WriteIncludes): Likewise.

1999-06-22  Thomas Bushnell, BSG  <tb@mit.edu>

	* configure.in: Bump version to 1.1.  First official net release.

	* configure, Makefile.in, aclocal.m4: Regenerated.

1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>

	* configure.in: Bump version to 1.0.2.

	* mig.in: Grok --help.
	Suggested by Jeff Bailey <jbailey@nisa.net>.

1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>

	* configure.in: Add AC_PROG_CPP.
	* mig.in (CC): Set this before default_cpp, which might use its value.
	Reported by Jeff Bailey <jbailey@nisa.net>.

1999-04-14  Roland McGrath  <roland@baalperazim.frob.com>

	* mig.in (default_cpp, default_cc): New variables, @ expansions here.
	(CC): Make sure it's defined, in case ${CPP} refers to ${CC}.
	(cpp): Use ${default_cpp} instead of the literal multiword contents.

1999-03-20  Roland McGrath  <roland@baalperazim.frob.com>

	* mig.in (PACKAGE, VERSION): New variables, substituted by configure.
	Grok --version.

1998-12-04  Roland McGrath  <roland@baalperazim.frob.com>

	Version 1.0.1 released.
	* configure.in: Update version to 1.0.1.

1998-09-06  Roland McGrath  <roland@baalperazim.frob.com>

	* mig.in (cpp): Add `-x c' to TARGET_CC command.

1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>

	* README, AUTHORS, NEWS: New files.

1998-07-18  Roland McGrath  <roland@baalperazim.frob.com>

	* lexxer.c, parser.c: Regenerated in srcdir so #line refs are good.

	* migcom.c (main): Fix return type to int (not void), and use return.

	Moved mig out of gnumach into standalone distribution with
	vanilla autoconf/automake build arrangement.
	* configure.in, Makefile.am: New files.
	* mig.sh: Renamed to mig.in.
	* mig.in (prefix, exec_prefix, libexecdir): New vars set by configure.
	(migcom): Find migcom in ${libexecdir}, and use @MIGCOM@ for its name.
	(cpp): Use @TARGET_CC@ -E instead of @CPP@.

	* gensym.awk: New file, copied from gnumach top-level dir.

Thu Mar 20 14:56:34 1997  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* error.c (unix_error_string): Assume HAVE_STRERROR.

Wed May 15 13:55:01 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* user.c (WriteRequestArgs): Don't check args against akbUserArg.
	(WritePackArg): Do check poly args also against akbUserArg.

Thu May  2 19:13:32 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* routine.h (struct routine): Split rtReplyPort field into
	rtUReplyPort and rtSReplyPort fields.
	* routine.c (rtAddDummyReplyPort): Add USER arg, and use it.
	(rtCheckRoutineArg): Set user or server or both reply ports.
	(rtSetArgDefaults, rtCheckArgTypes, rtCheckRoutine): Deal with
	split reply ports.
	* user.c (WriteRequestHead, WriteMsgCheckReceive): Use
	rtUReplyPort field instead of rtReplyPort.
	(WriteRequestArgs): Only deal with user-side args.

Wed May 15 13:55:01 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* user.c (WriteRequestArgs): Don't check args against akbUserArg.
	(WritePackArg): Do check poly args also against akbUserArg.

Thu May  2 19:13:32 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* routine.h (struct routine): Split rtReplyPort field into
	rtUReplyPort and rtSReplyPort fields.
	* routine.c (rtAddDummyReplyPort): Add USER arg, and use it.
	(rtCheckRoutineArg): Set user or server or both reply ports.
	(rtSetArgDefaults, rtCheckArgTypes, rtCheckRoutine): Deal with
	split reply ports.
	* user.c (WriteRequestHead, WriteMsgCheckReceive): Use
	rtUReplyPort field instead of rtReplyPort.
	(WriteRequestArgs): Only deal with user-side args.

Thu Feb 29 12:46:40 1996  steve clawson  <sclawson@marker.cs.utah.edu>

	* user.c (WriteMsgCheckReceive): If the reply-port isn't
	user-supplied and there was a message transmission error, then
	deallocate it.  From Michael I Bushnell (mib@gnu.ai.mit.edu).

	* user.c (WriteMsgCheckIdentity): Dealloc reply port if a
 	mismatched reply comes in to avoid cascaded errors.  From
	Michael I Bushnell (mib@gnu.ai.mit.edu).

Wed May  3 13:59:54 MDT 1995  Bryan Ford <baford@cs.utah.edu>

	Merged in diffs from UK02p12 to UK02p15:

	Wed May  3 10:47:41 MDT 1995  Bryan Ford <baford@cs.utah.edu>

		* Released UK02p15.

		* mig_string.h: include string.h instead of strings.h

		* user.c, lexxer.l: changed index/rindex to strchr/strrchr.

Fri Feb 10 13:25:54 MST 1995  Bryan Ford <baford@cs.utah.edu>

	Merged in diffs from UK02p7 to UK02p9:

	Sun, 29 Jan 1995  Remy.Card@masi.ibp.fr (Remy CARD)

		Fixed a bug that causes mig to generate bad file names
		in #include directives when generating the user source file.

Fri Nov 25 13:56:32 MST 1994  Bryan Ford  (baford@cs.utah.edu)

	Merged in diffs from UK02p6 to UK02p7:

	* MIG now compiles under BSD without 'vm_???_t' types
	  conflicting between host (BSD) and target (Mach)
	  header files.  Basically, the MIG source files compiled
	  to run on the host machine no longer include mach/message.h;
	  instead they get the needed defines through cpu.h
	  which is built by compiling cpu.sym for the target machine.

Mon Aug 29 18:31:21 1994  Bryan Ford  (baford@cs.utah.edu)

	* got rid of /usr/bin pathname in call to basename:
	basename isn't always in /usr/bin.

Fri Aug 26 11:36:10 1994  Louis-D. Dubeau  (hallu@info.polymtl.ca)

	* Fixed mig.sh to pass -imacros flags to CPP correctly.

Tue Sep  6 10:00:29 1994  Roland McGrath (roland@churchy.gnu.ai.mit.edu)

	* Released UK02p6.

	* use strerror instead of sys_errlist if it's available.

	* Other minor portability fixes.

Mon Aug 15 18:37:47 1994  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* global.c (more_global): Prepend RoutinePrefix to ServerDemux
	even for non-default value of ServerDemux.

Fri Jul  8 14:36:53 1994  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* routine.h (rtSkip): Take int arg.
	* routine.c (rtSkip): Take int arg and increment by that many.
	* parser.y (Statement): Grok `skip N;'; pass int arg to rtSkip.

Fri May 13 15:08:56 1994  Michael I Bushnell  (mib@churchy.gnu.ai.mit.edu)

	* user.c (WriteMsgCheckReceive): Deallocate the reply port also if
	we get one of the send errors that can cause the message to be
	partially sent and then destroyed; otherwise we might later get a
	spurious send-once notification.

Wed Aug  4 10:34:42 1993  Michael I. Bushnell  (mib at ernst.gnu.ai.mit.edu)

	* Makefile: Don't use flex or bison; use lex and yacc instead.

	* migcom.c (myfopen): Added extern declaration of errno.

Wed Jun 30 19:46:51 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* user.c (WriteUser): Call WriteImport for skImport and skUImport
	statements.
	(WriteUserIndividual): Write all the import and uimport statements
	to each file.

Mon Jun 28 22:07:14 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* utils.c (WriteStaticShortDecl, WriteCheckDecl,
	WriteStaticLongDecl): Generate a `const' definition.

Fri Jun 25 17:53:26 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* utils.c (WriteCopyType): Write SubrPrefix before `mig_strncpy'.

	* user.c (WriteRequestHead): Write SubrPrefix before
	`mig_get_reply_port'.
	(WriteMsgCheckReceive): Write SubrPrefix before
	`mig_dealloc_reply_port'.
	(WritePackArgValue): Write SubrPrefix before `mig_strncpy'.
	(WriteExtractArgValue): Likewise.
	(WriteExtractArgValue): Write SubrPrefix before `mig_allocate'.
	(WriteMsgSend): Write SubrPrefix before `mach_msg_send_from_kernel'
	and `mach_msg'.
	(WriteMsgSendReceive): Write SubrPrefix before `mach_msg'.
	(WriteMsgRPC): Write SubrPrefix before `mach_msg_rpc_from_kernel'
	and `mach_msg'.

	* server.c (WriteDestroyArg): Write SubrPrefix before `mig_deallocate'.
	(WritePackArgValue): Write SubrPrefix before `mig_strncpy'.
	(WriteDestroyPortArg): Write SubrPrefix before `ipc_port_release_send'.
	(WriteAdjustMsgCircular): Write SubrPrefix before
	`ipc_port_check_circularity'.

	* routine.c (rtCheckRoutine): Prepend RoutinePrefix to
	RT->rtServerName and RT->rtUserName.

	* migcom.c (parseArgs): Recognize -subrprefix and -prefix.

	* global.c (SubrPrefix, RoutinePrefix): Define new variables.
	* global.h: Declare them.
