2017-09-12  Gavin Smith  <gavinsmith0123@gmail.com>

	6.5 release.
	* configure.ac, NEWS, util/texi2dvi, util/texi2pdf,
	doc/refcard/txirefcard.tex: Version number.

2017-09-04  Gavin Smith  <gavinsmith0123@gmail.com>

	* pretest 6.4.92
	* configure.ac: Update version.

2017-09-04  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Makefile.am (AM_T_LOG_FLAGS): Add "-I .".
	* tp/tests/run_parser_all.sh: Add "-I ." to perl invocations.
	Attempt at getting tests to work if . is not in @INC.  Report 
	from Patrice Dumas.

2017-09-02  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/infokey.c (compile): Support "1 menu-digit" in .infokey
	file in case this default binding is disabled for some reason.
	Clark Wang reported that "1 menu-digit" didn't work.

2017-08-29  Patrice Dumas  <pertusus@free.fr>

	* autogen.sh: update regeneration of tests makefile fragment to
	match the change in tp/Makefile.am associated with the removal
	of "long tests" in 2016-10-23.

2017-08-28  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/pseudotty.c: Open slave end of pseudoterminal outside of 
	a conditional block so that it will be open even if that block 
	is not executed.  Otherwise we could fail to turn off the 
	special interpretation of some characters (C-u, C-s) to the 
	terminal in time, leading some tests to fail.  Assaf Gordon 
	reported test failures for several platforms.

2017-08-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* pretest 6.4.91
	* configure.ac: Update version.

2017-08-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* NEWS: Add a couple of news items.

2017-08-25  Mathieu Lirzin  <mthl@gnu.org>

	* tp/Texinfo/Convert/HTML.pm (_default_node_redirection_page)
	(_default_begin_file): Move '$encoding' to the top of the '<head>'
	element.  This removes a warning in recent browsers that check if
	the encoding declaration is present in the first 1024 bytes of the
	file.  See
	https://www.w3.org/TR/html5/document-metadata.html#character-encoding-declaration

2017-08-23  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.tex (\entry): When splitting the text across 
	multiple lines, do not simply set \leftskip and \parindent to 
	values, alter the existing values instead.  Otherwise, long 
	entries in a table of contents would not be indented properly, 
	because \leftskip had been set to a positive value.  Arnold 
	Robbins reported that this happened for the gawk manual.  Add or 
	change some comments.

2017-08-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.tex (\partentry): Add stretch and a bonus for 
	breaking the page before the part heading in the table of 
	contents.  Arnold Robbins reported that the page could be broken
	immediately after the part heading, which separated it from the 
	entry for the first chapter in that part, which didn't look 
	good.

2017-08-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* po_document: Run fix-translations.sh.
	* tp/t: Update test results.

2017-08-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* po_document/fix-translations.sh: Add file.

2017-08-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/maintain/change_perl_modules.sh: Get version number from
	configure.ac instead of from Makefile, as then Makefile doesn't
	have to be regenerated before it runs.  (Otherwise, there could
	be a failure in 'make distcheck' due to a version number 
	mismatch.)

2017-08-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/Text.pm (@ISA). Add Texinfo::Convert::Converter.
	Report from Randall Sawyer 2017-07-31.

2017-07-31  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/texi2any.pl <DUMP_TREE>: Check if tree is defined, as 
	happened before.

2017-07-31  Randall Sawyer  <strandallsawyer@hushmail.me>  (tiny change)

	* tp/texi2any.pl: Exchange two conditional blocks, so that we 
	check if 'DUMP_TREE' was given as an option before 'parse' being 
	the output format, so that

	  makeinfo -c DUMP_TREE=1 -c TEXINFO_OUTPUT_FORMAT=parse document.texi

	works to dump the parse tree, as mentioned in the comments at 
	the end of Parser.pm.

2017-07-31  Randall Sawyer  <strandallsawyer@hushmail.me>  (tiny change)

	* tp/texi2any.pl (%formats_table)
	<textcontent, rawtext, plaintexinfo>: Change to use 'module' 
	value instead of a 'converter' value so that these values for 
	TEXINFO_OUTPUT_FORMAT work again.
	* tp/Texinfo/Convert/Text.pm: Add missing 'use File::Basename' line.

2017-07-31  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/texi2any.pl (%formats_table): Remove 'debugcount' section
	as the corresponding module doesn't exist any more.

2017-07-23   Alexis Bienvene <pado@passoire.fr>  (tiny change)

	* tp/Texinfo/Common.pm (expand_today):
	Honour the SOURCE_DATE_EPOCH environment variable to get a 
	reproducible @today value for info output when it is set.
	See https://reproducible-builds.org/specs/source-date-epoch/.

2017-07-16  Gavin Smith  <gavinsmith0123@gmail.com>

	* gnulib/m4/intlmacos.m4: Add this file, as gettextize doesn't 
	copy it.

2017-07-10  Gavin Smith  <gavinsmith0123@gmail.com>

	* pretest 6.4.90
	* configure.ac: Update version.  Add dist-xz to options.

2017-07-10  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/XSParagraph: Run gnulib-tool --add-import.
	* (top-level): Run gnulib-tool --add-import.

2017-07-10  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/Makefile.am (wwwdoc-build): Remove commands that could
	build the "info" manual.

2017-07-10  Gavin Smith  <gavinsmith0123@gmail.com>

	* NEWS: Update with various news items.

2017-07-09  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c (info_find_subfile): When looking for an 
	already-loaded file, check that the names match either exactly, 
	or as an initial substring followed by a period.  Previously,
	any loaded file which had an initial substring that was the name 
	of the sought file would be accepted, which would be incorrect
	for a case like "libc.info-11" matching when it was "libc.info-1"
	that was wanted.  Vitezslav Crhonek reported that this could 
	lead to failure when following cross-references.

	* info/t/subfile-initial-match.sh: New test.

2017-07-09  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c (info_get_node_with_defaults): Only use the
	directory from the current node's fullpath if this function was 
	passed a filename as an argument.

2017-07-09  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c
	(get_filename_and_nodename, info_get_node_with_defaults):
	Merge get_filename_and_nodename into caller.

2017-07-09  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c (build_tags_and_nodes): Call 'skip_node_separator'
	in order not to start reading the tag table in the middle of an
	"Indirect:" string.

2017-07-09  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c (info_load_file): If calling 
	'build_tags_and_nodes' didn't set the 'tags' array for the file 
	buffer, fail to load the file.
	* info/info.c (add_initial_nodes): Check if info_load_file failed.

	* info/t/malformed-split.sh: New test.

2017-07-09  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/Init-inter.inc (run_ginfo): Shorten a comment.

2017-07-09  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c (info_find_file): Do not convert the filename to 
	lowercase and check for it again if a file was not found.

	Note added 2017-08-30: This change was made for code 
	simplification, and not to fix anything.  The thinking behind 
	the original code was to support a case-insensitive filesystem
	that was mounted in a way that was not case-insensitive.

2017-07-06  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/inc-sea-bs.sh: New test.

2017-07-05  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/search.c (regexp_search): Call free_matches if the regex
	could be compiled, but there were no matches.  Free a string
	buffer used for displaying an error message.
	* info/session.c (info_search_in_node_internal): Do not call
	free_matches.  It could be called on uninitialised data leading
	to a crash if the regex had an error in it.  Marco Maggi reported
	a crash for incremental search when a single \ was entered.

2017-07-05  Gavin Smith  <gavinsmith0123@gmail.com>

	* util/texi2dvi (sorted_index_filter): Remove code to list files 
	created with bibtex, as then xref_files_changed requires them to 
	exist (since change on 2017-06-21) and they won't if bibtex is 
	not being used.  Report from Daniel Gerbet.

2017-07-04  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.tex (\unicodechardefs):
	Define U+25C7 as \diamond and remove definitions for U+25A1,
	U+2A1D, U+2201, U+2127, U+21BE, U+2290, U+22B4, and U+22B5 which 
	didn't work.  (Benno Schulenberg reported that U+25C7 didn't 
	work.)

2017-07-02  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_parse_texi) <@image>: Save 
	'input_perl_encoding' value on @image element.
	* tp/Texinfo/Convert/Plaintext.pm (_image_text): Use it instead
	of looking at the current value of INPUT_PERL_ENCODING.

2017-07-01  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_parse_texi_file): Set the parent key on 
	a created 'preamble' element.

2017-07-01  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/XSParagraph/configure.ac (fetch_conf): Put
	all sed commands within an environment variable, 'sed_script'.
	Assign 'sed_script' from a double-quoted string, using shell 
	variables to include awkward characters.  This avoids there 
	being multiple level of quoting present which can be extremely 
	confusing, i.e., autoconf's quadrigraphs, quoting within the 
	backquoted string where sed is called, as well as sed's own 
	escaping of special characters.

	* tp/Texinfo/MiscXS/configure.ac (fetch_conf): Make the same 
	change.

2017-07-01  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/c-u-m-x-scroll-forward.sh, info/t/inc-sea-insensitive.sh, 
	info/t/search-split-after-index.sh, info/t/split-footnotes.sh, 
	info/t/star-note-non-whitespace.sh, info/t/tab-argument.sh, 
	info/t/xref-across-lines.sh: Quote argument to run_ginfo so that 
	quoting characters are preseved in the subshell that execs ginfo.

2017-07-01  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/xref-across-lines-2.sh: New test.

2017-07-01  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/info-utils.c (scan_reference_label): Canonicalize the 
	whitespace in the nodename, otherwise links can't be followed if 
	the nodename is split across a line.

2017-06-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/Converter.pm (_register_command_arg):
	Copy function here from Parser.pm.
	(_table_item_content_tree): Call it.

2017-06-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_parse_texi) <menu>: Don't store
	a list of menus in 'unassociated_menus' array.
	* tp/Texinfo/Transformations.pm (_reassociate_to_node)
	(set_menus_to_simple_menu): Remove checks of 
	'unassociated_menus' array.

2017-06-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_parse_texi) <macro expansion>:
	Add a check for the return value of _text_to_lines being empty.

2017-06-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/t/html_tests.t (simple_menu): Add @node and @top commands
	so that the menu is inside a node.

2017-06-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Transformations.pm (fill_gaps_in_sectioning): Call 
	Texinfo::Structuring::section_level to get sectioning level
	(used in tp/t/test_fill_gaps_in_sectioning.t).

2017-06-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_section_level),
	* tp/Texinfo/Structuring.pm (section_level): Move function to
	Structuring.pm.

2017-06-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_parse_texi): Do not add 'level' value
	on sectioning commands.
	* tp/Texinfo/Structuring.pm (sectioning_structure): Add 'level' 
	value on element.
	* tp/Texinfo/Convert/HTML.pm (_convert_heading_command),
	* tp/Texinfo/Convert/Text.pm (heading):
	Account for the case when 'level' is not set.
	* texi2any.pl: Remove a comment.

2017-06-28  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_end_line) <@copying>: Removing handling
	of INLINE_INSERTCOPYING variable.  Also remove from the module 
	documentation section at the end of the file.
	(%default_customization_variables): Remove INLINE_INSERTCOPYING.
	* tp/Texinfo/Parser.pm (@variable_string_settables)
	(@obsolete_variables): Move 'INLINE_INSERTCOPYING' to 
	@obsolete_variables.
	* tp/t/plaintext_tests.t (inline_copying_inline_and_paragraph):
	Remove.
	* NEWS: Mention removal.
	* doc/texinfo.texi (Other Customization Variables) 
	<INLINE_INSERTCOPYING>: Remove.

2017-06-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_text_to_lines): Do not return an array 
	containing a single empty string if the input is an empty 
	string; instead, return a completely empty array.  This means
	that parse_texi_line does not get as far into parsing for an
	empty input.
	
2017-06-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm <root commands>: Do not associate a @part 
	command with a following sectioning command if another @part 
	command appears first.  This means there is no special support
	for @part pages following each other immediately.

2017-06-26  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/Timeout-test.inc,
	* info/t/Init-test.inc (timeout-test): Move code to timeout the
	test to a shell function.

2017-06-26  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/Init-inter.inc (run_ginfo): Time out test by running a 
	subshell in the background that kills the current shell inside 
	an "sh -c" command, and execing the ginfo program.  Do not use a 
	FIFO to communicate that the process has finished.

	* info/t/Timeout-test.inc: Do not use "read -t" to read from a 
	FIFO with a timeout.  Use the "wait" shell builtin to wait for
	the process to finish.

	* info/t/Init-test.inc (cleanup): Eliminate use of SUBSHELL,
	TIMED_OUT and FINISHEDFIFO variables.

2017-06-26  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/Init-inter.inc (run_ginfo): Remove use of pgrep to get 
	PID of process.  Get PID of ginfo process by running a subshell 
	with "sh -c", printing the value of $$ (the shell PID), and then
	exec'ing the ginfo program.

2017-06-25  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfor/Parser.pm, tp/Texinfo/Common.pm
	(complete_indices, _complete_indices): Move function to 
	Common.pm and rename.

2017-06-25  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_end_line) <@verbatiminclude>: Save 
	value of 'input_perl_encoding' on the element.
	* tp/Texinfo/Common.pm (expand_verbatiminclude): Use the
	saved value of 'input_perl_encoding' instead of looking at
	'INPUT_PERL_ENCODING' conf value.

2017-06-25  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c (info_get_node_with_defaults): Remove code that
	fell back to a man page.  This got in the way of the code in
	info_get_info_help_node that fell back to info-stnd.info if 
	info.info couldn't be loaded.  Also, this code is called from 
	many places where falling back to a man page would definitely 
	not be what was wanted, so removing the manpage fallback option 
	makes the program more robust and easy to understand.
	* NEWS: Mention info will not try to fall back to a man page if
	it failed to follow a cross-reference.

2017-06-25  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/Plaintext.pm (_convert) <def commands>:
	Change "@tie{ }" to "@tie{}" in document strings passed to gdt.
	* tp/Texinfo/Parser.pm (_parse_texi) <closing a brace command>:
	Don't check if we are being called from gdt and the closed 
	command was @tie.

2017-06-24  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_parse_texi): Remove debugging code
	to dump parse tree every time a new line is read.

2017-06-24  Gavin Smith  <gavinsmith0123@gmail.com>

	* configure.ac: Increase version to 6.4dev.  Remove "dist-xz" 
	option.

2017-06-23  Gavin Smith  <gavinsmith0123@gmail.com>

	* README-hacking: Change some instructions and remove some 
	others.

2017-06-23  Gavin Smith  <gavinsmith0123@gmail.com>

	6.4 release.
	* configure.ac, NEWS, util/texi2dvi, util/texi2pdf,
	doc/refcard/txirefcard.tex: Version number.
	* configure.ac (TEXINFO_DTD_VERSION): Change to 6.4.

2017-06-21  Gavin Smith  <gavinsmith0123@gmail.com>

	* util/texi2dvi (sorted_index_filter) <latex input>: Don't
	print the name of a *.fls recorder file, as then 
	'xref_files_changed' would require one to exist, which it may 
	not.

2017-06-21  Gavin Smith  <gavinsmith0123@gmail.com>

	* util/texi2dvi (xref_files_changed): Call 'sorted_index_files'
	to get a list of the sorted index files that should exist, and
	if any of them are missing, go around another cycle of 
	processing.

2017-06-21  Gavin Smith  <gavinsmith0123@gmail.com>

	* util/texi2dvi (filter_files): Comment changed.
	(add_all_filter): Do not print the argument of the file, so 
	using this with filter_files only prints secondary files.
	(add_all_filter, sorted_index_filter): Rename.
	(sorted_index_files): New function.
	(all_files): Use sorted_index_files instead of add_all_filter.

	No functional changes intended.

2017-06-19  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/TODO: Mention that some checks for incorrect nesting
	is done already.

2017-06-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Report.pm (gdt): Set an 'in_gdt' flag
	on the parser.
	* tp/Texinfo/Common.pm (%default_parser_state_configuration):
	Allow 'in_gdt' as a config value.
	* tp/Texinfo/Parser.pm (_parse_texi): Avoid issuing an error
	message in a couple of situations when being called from 'gdt'.
	(It would be thrown away anyway.)  This avoids the need for the 
	error message to be translated, so is slightly faster.

2017-06-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Report.pm (gdt): Remove code dealing with a
	'translated_paragraph' argument.  Condense code dealing
	with subroutine arguments to a single line.

2017-06-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/Paragraph.pm: Remove check for UTF-8 locale 
	that runs "locale -a".
	xspara_init in tp/Texinfo/Convert/XSParagraph/xspara.c does its 
	own check which should be enough.

2017-06-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/MiscXS.pm: Remove check for UTF-8 locale, as
	"locale -a" can be slow to run (about 4.5 seconds on my computer 
	after disk caches are cleared), and tp/Texinfo/MiscXS/misc.c may
	not need it.  (Reverses change on 2017-03-12.)

2017-06-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* pretest 6.3.92
	* configure.ac: Update version.

2017-06-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c (find_node_from_tag): Remove some unused 
	variables.

2017-06-08  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/XSParagraph/configure.ac,
	* tp/Texinfo/Convert/XSParagraph/Makefile.am,
	* tp/Texinfo/MiscXS/configure.ac,
	* tp/Texinfo/MiscXS/Makefile.am:
	Change name of conditional from HOST_IS_WINDOWS to 
	HOST_NEEDS_NO_UNDEFINED.  Suggestion from Ken Brown.

2017-06-07  Gavin Smith  <gavinsmith0123@gmail.com>

	* Texinfo/Convert/XSParagraph/configure.ac,
	* Texinfo/MiscXS/configure.ac: Check for cygwin when setting 
	HOST_IS_WINDOWS conditional.

2017-06-06  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Convert/XSParagraph/configure.ac,
	* tp/Texinfo/MiscXS/configure.ac: Copy code for HOST_IS_WINDOWS
	Automake conditional from top-level configure.ac.

	* tp/Texinfo/MiscXS/Makefile.am,
	* tp/Texinfo/Convert/XSParagraph/Makefile.am: Only put 
	-no-undefined -lperl in AM_FLAGS on MS-Windows systems.
	Li Er reported that linking against libperl is not necessary,
	and it won't work if perl is not built with a shared libperl
	library.

2017-06-04  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.tex
	(\dotheinsertindexentrybox, \dotheinsertentrybox)
	(\dotheinsertindexentryboxwithpenalty, \dotheinsertentryboxwithpenalty)
	(\insertindexentrybox, \insertentrybox)
	(\entryindexbox, \entrybox): Rename.

	(\dotheinsertentryboxwithpenalty): Simplify by not using 
	\aftergroup.  Move constant string definition outside of macro.
	Remove useless \long prefix from definition.

2017-06-04  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.tex (\finishentry, \dotheinsertindexentrybox):
	Use a control sequence \dotheinsertindexentrybox instead of 
	calling \insertindexentrybox and \entrywidowpenalty.  Do not 
	open a new group and then use \entrywidowpenalty to close the 
	group, (\entrywidowpenalty could be \let either to \egroup or 
	our macro \indexwidowpenalty which itself closed the group), as 
	this requires the reader of the code to understand the 
	definition of \entrywidowpenalty to follow what is going on.  No 
	functional changes intended; this change is for clarity only.
	(\entrywidowpenalty, \indexwidowpenalty): Remove.
	(\dotheinsertindexentryboxwithpenalty): Code from 
	\indexwidowpenalty moved here.  This is one possible value
	for \dotheinsertindexentrybox.
	(\printindex): Use \dotheinsertindexentryboxwithpenalty for
	\dotheinsertindexentrybox.  Do not set a value for 
	\entrywidowpenalty.

	(\printindex, \indexinputprocessing): Split code that checks the 
	first token of the next line into a new macro.  This should 
	improve clarity.

2017-06-03  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/info-utils.c (scan_reference_label): Save filename
	and nodename components of the label separately.
	(scan_node_contents): Move code dealing with xrefs ending in
	"::" into this function out of 'scan_reference_target'.  Do
	not call 'info_parse_node' to get the filename and nodename
	of the target from the 'label' field; use the data that was
	already saved in 'scan_reference_label' instead.  Add a comment
	about possibly ill-formed xrefs.

	This change is to simplify the code slightly, and shouldn't
	result in any significant functional changes.

2017-05-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/info.c (info_short_help): Move right-hand column of 
	descriptions so that a word in an example in the left-hand 
	column doesn't line up with the edge of the right-hand column.

2017-05-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/info.c (info_short_help): Change "options" to 
	"frequently-used options" and remove documentation of several 
	options: --dribble, --raw-escapes, --no-raw-escapes, --restore,
	--strict-node-location, --vi-keys, --debug.  (All of these are
	still documented in full in the manual.)  Only show one example
	of loading a manual for the Info program.  Reformat one example.
	Remove a blank line from the output.

	* info/t/help.sh: Update.

2017-05-24  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.texi (@code): Fix grammar.  Change "variable such 
	as" to "variables, such as", and add commas around other uses of
	"such as".

2017-05-24  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.texi (@emph @strong): Make output of example 
	Texinfo code consistent with the input, as was the case before
	2012-09-06.  Inconsistency reported by Matan Nassau.

2017-05-24  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (tree_search_check_node) <no more matches>: Add
	the "Top" node to the window history, instead of using a
	menu entry in the current node (as the current node may not
	have a menu).  Otherwise, if a tree search was rooted at a node
	without a menu, 'active_menu' would be left with an invalid 
	value, leading to a crash if it was used again when the user did 
	a 'tree-search-next' command.  Report from Benno Schulenberg.

2017-05-21  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/info.c (info_short_help): Remove full stops from the ends 
	of lines describing options.

2017-05-21  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (info_xref_item): Give an error message if
	there are no cross-references in the node, to be consistent
	with 'menu-item'.  This happened in Texinfo 5.2 and earlier.
	Report from Benno Schulenberg.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (Custom Key Bindings): Correct '\xr' to 
	'^xr'.  Report from Benno Schulenberg.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* pretest 6.3.91.
	* configure.ac: Update version.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/window.c (window_delete_window): Call 'free_matches' and 
	free 'search_string' field in order to avoid a memory leak.
	* info/t/close-window-after-search.sh: New test.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (info_search_in_node_internal): Call
	free_matches even after a failing search in order to avoid a 
	memory leak.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* NEWS (info): Add items about setting style variables and 
	--vi-keys.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/infodoc.c (replace_in_documentation): Remove code
	setting variables whose value is no longer used anywhere.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* NEWS (info): Add item about the handling of Info files
	with CR-LF line endings.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/infodoc.c (replace_in_documentation): Use functions 
	operating on a struct text_buffer object to keep track of
	whether there is enough space in the output buffer.
	Benno Schulenberg reported that there would be an out-of-bounds
	write when a message reporting an index match was output if the
	binding of ',' had been changed away from 'next-index-match'.

2017-05-20  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/infodoc.c (replace_in_documentation): Explicitly compare 
	a pointed-to character to the only character value it can be 
	equal to other than null, for clarity.  Move code near other 
	code that uses the same variables.  Change comment for a special
	case to make it easier to ignore, and move the default case 
	before the conditional for the special case.  No functional 
	changes.

2017-05-19  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/infodoc.c (replace_in_documentation):
	Remove code to handle numbers before command name, like
	"\\[6next-line]" meaning "M-6 M-x next-line", as it is not used 
	anywhere, and this simplifies the code.

2017-05-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/t/cr-tag-table.sh: Remove test.
	* info/t/inc-sea-bs-after-strip-cr: Remove test.

2017-05-18  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/nodes.c, info/filesys.c (convert_eols): Function moved 
	between files.  Change arguments and modify text in place.  Do
	not realloc the buffer to make it smaller.
	* info/filesys.c (filesys_read_info_file)
	[__MSDOS__, __MINGW32__]: Call convert_eols and realloc buffer.
	This reinstates call that was removed on 2014-10-24, except now 
	it is MS-DOS/Windows only.

	* info/nodes.c (find_node_from_tag): Remove most of the code
	here that deals with conversion of end-of-lines, including
	code updating pointers to node contents in currently-displayed 
	windows.
	* info/nodes.c (adjust_nodestart): Do not take extra argument 
	giving the slack to search for a node.
	* info/nodes.h (N_EOLs_Converted): Remove.

	This reverses changes made on 2014-12-29.  Although there has 
	not been a report of any problems with this code, it is too 
	complicated and difficult to understand for what it achieves 
	(allow reading Info files whether CR bytes before LF bytes are 
	counted in the tag table or not).  It updates global data across 
	the program which could cause problems in the future if there 
	are changes elsewhere in the program.

2017-05-17  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_next_text):
	Do not strip \r from end of line.  This reverses the change
	on 2017-04-29.
	* tp/tests/test_scripts/coverage_formatting_cr.sh,
	* tp/tests/coverage (formatting_cr): Remove test.
	texi2any does not support CR LF line endings on GNU/Linux.
	* tp/tests/coverage/formatting_cr.texi: Removed.

2017-05-17  gettextize  <bug-gnu-gettext@gnu.org>

	* gnulib/m4/gettext.m4: New file, from gettext-0.19.8.
	* gnulib/m4/iconv.m4: Upgrade to gettext-0.19.8.
	* gnulib/m4/lib-ld.m4: Upgrade to gettext-0.19.8.
	* gnulib/m4/lib-link.m4: Upgrade to gettext-0.19.8.
	* gnulib/m4/lib-prefix.m4: Upgrade to gettext-0.19.8.
	* gnulib/m4/nls.m4: New file, from gettext-0.19.8.
	* gnulib/m4/po.m4: New file, from gettext-0.19.8.
	* gnulib/m4/progtest.m4: New file, from gettext-0.19.8.

2017-05-17  Gavin Smith  <gavinsmith0123@gmail.com>

	* gnulib: run gnulib-tool to import 'gettext-h' module instead
	of 'gettext' module, as the 'gettext' module is deprecated in 
	Gnulib. run gettexize again to put the files back.

2017-05-16  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (Node Commands) <global-prev-node>: Change 
	'forward or down' to just 'forward'.

2017-05-16  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (Node Commands) <goto-node>:
	Re-write, describing completion and selection of nodes in other 
	files separately.  The old text implied that you could select a 
	node in another file without using a filename if that file had 
	been loaded already in the current Info session.
	Benno Schuleberg noticed that the text contained the phrase
	"the Info file of the other file", which was wrong.

2017-05-15  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (Node Commands) <global-next-node>: Change 
	'forward or down' to just 'forward'.  Explain that the menu is 
	checked before the Next pointer, rather than the other way 
	around as it incorrectly stated.  Benno Schulenberg reported 
	that this was documented to happen the wrong way around.  In 
	addition, correct description of what happens when neither a 
	menu or a Next pointer is present.

2017-05-15  Gavin Smith  <gavinsmith0123@gmail.com>

	* README-hacking: Mention to always run change_perl_modules.sh
	even if it is a pretest release, as this is needed now there is
	module version checking.

2017-05-15  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/infomap.c (default_vi_like_info_keys),
	* doc/info-stnd.texi (Custom Key Bindings):
	Bind 'b' to 'scroll-backward-page-only' instead of 
	'scroll-backward' for consistency with f, C-f and C-b.

2017-05-14  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (point_backwards_word): Remove unused variable.

2017-05-14  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (info_down_line, info_up_line): Call
	_scroll_backward and _scroll_forward with argument so that it
	possible for scrolling to change node, depending on the value
	of 'scroll-behaviour'.
	(mouse_event_handler): Call _scroll_backward and _scroll_forward
	instead of info_down_line, info_up_line so that mouse scrollwheel
	scrolling continues to be confined to an single node.
	* NEWS: Mention that 'down-line' and 'up-line' are affected by
	the value of 'scroll-behaviour'.

2017-05-14  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (infokey format): Add missing documentation 
	for 'C-x p' for 'prev-node' under --vi-keys.  Correct bindings
	of 'g' and 'G' to 'first-node' and 'last-node' respectively.
	* info/infomap.c (default_vi_like_info_keys): Re-add 'C-x n' for
	'next-node' (removed accidentally on 2014-06-10).

	Reports from Benno Schulenberg.

2017-05-13  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/texinfo.tex (\xrdef): Place a \gdef using a \csname
	within a group to avoid save stack build-up for long aux files.

2017-05-13  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/indices.c (info_next_index_match): Remove full stop from 
	end of message.  (Missed on 2017-05-13.  Report from Benno 
	Schulenberg.)

2017-05-13  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/sesson.c (point_backward_char): Change return type to int
	and return 0 on failure.  Make sure we always go backwards.
	(point_backward_word): Use point_backward_char to simplify code.

	This continues the fix of the bug of the point getting stuck
	at the start of a node (partially fixed on 2017-05-11).

2017-05-13  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (Xref Commands, Parts of an Xref)
	(Selecting Xrefs): Change 'cross reference' to 'cross-reference'.

2017-05-13  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (Variables) <scroll-last-node>: Remove full 
	stop from a quoted message.

2017-05-13  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/window.c (calculate_line_starts, window_compute_line_map):
	Add a comment and cast return value of a function to void to 
	make it clear that the return value is being discarded.

2017-05-13  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/indices.c (info_index_search, info_next_index_match),
	* info/indices.h (APROPOS_NONE),
	* info/info-utils.c (copy_converting),
	* info/info.c (get_initial_file, add_initial_nodes, init_messages),
	* info/infodoc.c (describe_key, info_where_is),
	* info/m-x.c (info_execute_command),
	* info/session.c
	(menu_digit, info_menu_or_ref_item, info_follow_menus)
	(forward_move_node_structure, backward_move_node_structure)
	(info_view_file, dump_nodes_to_file, info_print_node)
	(info_toggle_regexp, info_search_internal)
	(tree_search_check_node, tree_search_check_node_backwards)
	(wipe_seen_flags, dispatch_error): Remove full stop from end
	of messages given to the user.  Inconsistent use of full stops
	reported by Benno Schulenberg.

2017-05-12  Gavin Smith  <gavinsmith0123@gmail.com>

	* doc/info-stnd.texi (infokey format): Correct documentation of
	key binding for 'select-reference-this-line' command under --vi-keys.

2017-05-11  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (point_forward_char): Make sure that we always 
	advance the position of the point on the display.  The point 
	could get stuck at the very start of a node if the 'nodeline' 
	variable was set to 'pointers'.  Report from Benno Schulenberg 
	on 2017-04-27.

2017-05-03  Jason Hood  <jadoxa@yahoo.com.au>

	Allow style variables to be described and set.
	(Patch originally submitted 2017-01-29 on bug-texinfo.)

	* info/variables.c (rendition_variable): Remove.
	(rendition_choices): New variable.
	(info_variables): Use rendition_choices for the style variables.
	(rendition_to_string): New variable.
	(describe_variable, set_variable, set_variable_to_value): 
	Special handling for style variables.

2017-05-02  Gavin Smith  <gavinsmith0123@gmail.com>

	* configure.ac: When checking for Perl XS support, set
	TEXINFO_XS environment variable in order to get more
	information printed (and also to negate any pre-existing
	definition for this variable).

2017-05-01  Eli Zaretskii  <eliz@gnu.org>

	* tp/Texinfo/MiscXS/misc.c (xs_unicode_text): Fix a typo in a
	comment.

2017-04-30  Eli Zaretskii  <eliz@gnu.org>

	* info/terminal.c [HAVE_TERMCAP_H]: Don't take this branch for
	MinGW, as some MinGW ports of ncurses install termcap.h in
	addition to ncurses/termcap.h.

	* tp/Texinfo/Convert/XSParagraph/xspara.c [_WIN32]: Include
	ctype.h, to work around MinGW compilation errors due to Gnulib
	replacement of wint_t type.
	(iswspace, iswupper) [_WIN32]: Rename to call w32_iswspace and
	w32_iswupper, to avoid conflicts with system headers, due to
	Gnulib replacement of wint_t type.
	(iswupper) [_WIN32]: Copy argument from wint_t variable to a
	wchar_t variable, which is what GetStringTypeW expects.

	* tp/Texinfo/MiscXS/misc.c [_WIN32]: Include ctype.h, to work
	around MinGW compilation errors due to Gnulib replacement of
	wint_t type.
	(xs_unicode_text): Use dTHX to avoid perl error about undefined
	"my_perl" due to Perl's 'malloc' being used.

2017-04-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_next_text): Strip \r from end of line.
	This produces changes in the results of the
	test_scripts/coverage_formatting_cr.sh test.  (Eli Zaretskii
	reported that the results of this test were different under 
	MinGW on MS-Windows.)

2017-04-29  Gavin Smith  <gavinsmith0123@gmail.com>

	* tp/Texinfo/Parser.pm (_parse_texi_regex),
	* tp/Texinfo/MiscXS/misc.c (xs_parse_texi_regex): Do not
	consider any whitespace other than space, tab or newline
	to be a possible Texinfo command.

2017-04-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (tree_search_check_node)
	(tree_search_check_node_backwards): Adjust failure message 
	according to whether a search match was previously found.  
	Suggestion by Benno Schulenberg.

2017-04-27  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/display.c (display_process_line): Avoid possibly
	dereferencing a null pointer.  This could happen if the 
	'match-rendition' value was set to an empty value in .infokey.
	Report by Benno Schulenberg.

2017-04-26  Benno Schulenberg  <bensberg@justemail.net>  (tiny change)

	* info/session.c (info_tree_search): Mark a message for 
	translation and add note for translators.

2017-04-26  Gavin Smith  <gavinsmith0123@gmail.com>

	* info/session.c (info_search_internal): Search starting node at 
	most twice in order to be able to find matches before starting 
	offset in starting node.  Otherwise searches do not wrap around 
	the first and last nodes in a file if all the matches are in a 
	single node.  Report from Benno Schulenberg.

2017-04-24  Gavin Smith  <gavinsmith0123@gmail.com>

	* util/tests/texi2dvi_empty_text.sh: Remove test, as it does not
	work if TeX is not installed.  Report by Assaf Gordon.

2017-04-23  Gavin Smith  <gavinsmith0123@gmail.com>

	* pretest 6.3.90.
	* configure.ac: Update version.  Add dist-xz to options.

2017-04-23  Gavin Smith  <gavinsmith0123@gmail.com>

	* texindex/ti.twjr,
	* info/info.c,
	* tp/texi2any.pl: Copyright 2017.

