2013-09-26 Karl Berry * Version 5.2. 2013-09-19 Eli Zaretskii * info/info-utils.c (fncmp): For MS-DOS/MS-Windows, a new function for comparing file names disregarding letter-case and forward/backslash differences; for Posix platforms, a macro that expands into a strcmp call. (info_namelist_add): Use fncmp instead of strcmp. 2013-09-13 Karl Berry * pretest 5.1.90. 2013-09-12 Karl Berry * doc/texinfo.tex (\inlinefmtifelse, \inlineifset, \inlineifclear): new commands. * doc/refcard/txirefcard.tex, * doc/texinfo.texi (Inline Conditionals), (@t{@@set @@clear @@value}), (@t{@@inlineifset @@inlineifclear}), (Command Summary): document them. 2013-09-11 Karl Berry * doc/texinfo.tex (\onepageout): call new macro \commonheadfootline to make the headline/footline vboxes, which in turn calls \texinfochars. (\texinfochars): new macro; should reset all definitions done by @tex, but have skipped some for now out of laziness, since no one has noticed. (\expandablevalue): change formatting; note that _ in an @value string fails in non-typewriter output, and has been for a long time. (\activetilde, \activehat, \activeless, \activegtr): factor out the normal Texinfo definitions, now also used in \texinfochars. All this due to a bug report from Charlie Zender where ' in the @settitle caused failures when a page break occurred inside @tex, help-texinfo 08 Sep 2013 16:26:16. 2013-09-10 Karl Berry * doc/texinfo.texi (Two Arguments, Three Arguments): some node name requirements apply to arg#2 and arg#3 too. (Inline Conditionals): TeX can't properly deal with newline-delimited commands inside @inline*. 2013-09-09 Karl Berry * NEWS, * doc/texinfo.texi (Node Line Requirements, Menu Parts, Cross Reference Parts, Other Customization variables): mention Info warnings and INFO_SPECIAL_CHARS_WARNING. Other small tweaks. 2013-09-07 Patrice Dumas * tp/texi2any.pl: handle plaintext as other formats to set expanded formats. * tp/Texinfo/Parser.pm: accept matching braces in ignored @inline* commands. * tp/Texinfo/Common.pm(@variable_string_settables), tp/Texinfo/Convert/Info.pm(_node), tp/Texinfo/Convert/Plaintext.pm: add the INFO_SPECIAL_CHARS_WARNING customization variable, if false do not output warning messages on info characters in menu, cross-refs and node names. Use pending word in ref formatting to construct checked cross ref and node names. 2013-09-06 Patrice Dumas * tp/Texinfo/Parser.pm, tp/Texinfo/Convert/HTML.pm(_convert_inline_command), tp/Texinfo/Convert/Plaintext.pm, tp/Texinfo/Convert/DocBook.pm, tp/Texinfo/Convert/Text.pm, tp/Texinfo/Common.pm, tp/Texinfo/Convert/TexinfoXML.pm: implement @inlinefmtifelse, @inlineifclear, @inlineifset. 2013-09-01 Patrice Dumas * tp/Texinfo/Convert/Info.pm (_node): warn if node name contains a comma. 2013-08-31 Patrice Dumas * tp/Texinfo/Convert/Plaintext.pm: warn when cross-reference name contains a :, or node name contains a problematic character. Warn similarly when a menu entry name contains a :, or when the menu entry node contains a problematic character. 2013-08-27 Patrice Dumas * tp/Texinfo/Parser.pm: add \r to regexps to exclude it when excluding newlines. Report from Karl. 2013-08-26 Karl Berry * util/texi2dvi (run_bibtex): only run biber if is present in the bcf file. Allow override with BIBER envvar. Report from Jozef Vesely, 26 Aug 2013 14:26:26. 2013-08-26 Patrice Dumas * tp/Texinfo/Convert/Plaintext.pm (_align_lines): correct byte count in flushleft and center. 2013-08-24 Karl Berry (tiny change) * util/texi2dvi (run_bibtex): run biber if .bcf file exists. (xref_files_changed): check for biblatex rerun warning. Report from Jozef Vesely, 24 Aug 2013 12:15:40. 2013-08-24 Patrice Dumas * tp/Texinfo/Convert/Info.pm (output), tp/Texinfo/Convert/Plaintext.pm: collect text before first node and output the same header for every Info output files using that text. Based on a report from Juri Linkov and analysis of Sergey. Thread started at http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-04/msg00039.html 2013-08-22 Karl Berry * info/*: update copyright notices. * info/infomap.c (default_{emacs,vi}_like_info_keys), * info/session.c (info_display_file_info): rename from info_display_file. * NEWS: mention display-file-info. * doc/info-stnd.texi (Invoking Info): mention new debugging level, more about -f. (Miscellaneous Commands): document =. * info/info.c (info_short_help): mention -1 for all debugging. 2013-08-20 Sergey Poznyakoff * info/info.h (add_pointer_to_array): Use x2nrealloc. Remove sixth argument. All uses updated. (maybe_free): Remove. Use free() instead. All uses updated. 2013-08-20 Karl Berry * configure.ac (AM_INIT_AUTOMAKE): require 1.14 for info-in-builddir. Noted by Patrice. * doc/texinfo.tex (\sectionheading): must do \global\let\prevsectiondefs, since we're inside a group. Otherwise, \thissection is lost in PDF output if an xref intervenes due to the color \mark. Report from Thien-Thi Nguyen, 16 Feb 2013 12:06:17. 2013-08-20 Sergey Poznyakoff Check for I/O errors when dumping nodes to file. Use a general-purpose interface for storing and looking up in a list of names. * info/info-utils.c (info_namelist_add) (info_namelist_free): New functions. * info/info-utils.h: Likewise. * info/info.c (namelist_add,namelist_free): Move to info-utils.c, redeclare as extern. (all_files): Update accordingly. * info/session.c [VERBOSE_NODE_DUMPING]: Replace with calls to debug. (write_node_to_stream) (dump_node_to_stream): Return error code. (dump_nodes_to_file): Check for I/O errors, (dumped_already): Change data type to struct info_namelist_entry *. (dumped_already_index, dumped_already_slots): Remove. (initialize_dumping): Rewrite. 2013-08-20 Sergey Poznyakoff Bind display-file to C-g in vi mode. * info/infomap.c (default_vi_like_info_keys): Bind display-file to C-g and abort to C-c. * info/session.c (info_gc_file_buffers): Fix null pointer dereference. * NEWS: Update. 2013-08-19 Karl Berry * doc/texinfo.texi (@t{@@unnumbered @@appendix}): mention special Docbook output for acknowledgements, colophon, etc. 2013-08-19 Sergey Poznyakoff New interactive command "display-file". * info/session.c (info_display_file): New command. * info/infomap.c: Bind '=' to display-file. 2013-08-19 Sergey Poznyakoff Don't return dir entries when called with -a. Fix interaction of -a and --output. * info/session.c (info_follow_menus): Add debugging output on level 3. In strict mode, return NULL if no matching node was found (by default initial node is returned). (dump_nodes_to_file,dump_node_to_file): Take flags in the last parameter. If DUMP_APPEND is set, append to the output file instead of overwriting it. * info/session.h (DUMP_APPEND, DUMP_SUBNODES): New flags. * info/filesys.c (info_file_find_next_in_path): Improve debugging output * info/info.c (all_files): Set DUMP_APPEND for all but the first call to dump_node_to_file. (main): Initialize dump_subnodes. 2013-08-18 Karl Berry * doc/texinfo.texi (Image Syntax): a bit more about Docbook. * doc/info-stnd.texi (Invoking Info), (Variables): editing throughout. * info/info.c (info_short_help): use MANUAL instead of FILENAME for -f. Report from Arne Babenhauserheide, 11 Apr 2013 11:05:37. 2013-08-18 Sergey Poznyakoff Improve info -a: process manpages, filter out duplicate names. * info/info-utils.c (info_reference_free): New function. (info_free_references): Use info_reference_free. * info/info-utils.h (info_reference_free): New proto. * info/info.c (info_find_matching_files): Return REFERENCE **. (namelist_add,namelist_free): New static functions. (all_files): Select unique file names. * info/session.c (info_split_window) [SPLIT_BEFORE_ACTIVE]: Declare pagetop. (info_menu_or_ref_item): Use info_reference_free. (info_follow_menus): Fix processing in strict mode. * info/filesys.c: Remove unused variable. * info/filesys.h (forget_file_names): New proto. * info/indices.c (apropos_in_all_indices): Use info_reference_free to free a pointer to REFERENCE. (info_virtual_index): Remove unused variable. (allfiles_create_node): Second argument is REFERENCE **. * info/indices.h (allfiles_create_node): Change signature. * info/man.c (manpage_xrefs_in_binding): Use info_reference_free. * info/nodes.c: Include tag.h * info/nodes.h (TAG): Change type to size_t. * info/window.h (window_log_to_phys_line): New proto. 2013-08-17 Sergey Poznyakoff The -x option takes a numeric argument. * NEWS: Document -a. * doc/info-stnd.texi: Document existing debugging levels. Document -x -1. * info/info.c (debug_level): Change type to unsigned. (long_options, short_options): -x now requires argument. (set_debug_level): New function. (main): Change -x handling. * info/info.h (debug_level): Change declaration. Minor fixes: * info/echo-area.c (ea_possible_completions) [SPLIT_BEFORE_ACTIVE]: Declare start here. (ea_scroll_completions_window): Remove unused variable. (pause_or_input): Likewise. 2013-08-17 Sergey Poznyakoff Fix -a functionality. * info/info.c (all_files): Clear cached data to avoid reading the same file again. 2013-08-16 Karl Berry * doc/texinfo.texi (Conventions): remove statement about CRLF not being recognized. It seems that both TeX and tp are agnostic about line endings. Report frmo vincent.belaiche@gmail.com, 21 Apr 2013 19:02:39. * README, * INSTALL, * tp/TODO, * doc/texinfo.texi, * doc/texi2oldapi.texi, * doc/refcard/txicmdcheck, * doc/refcard/txirefcard.tex, * doc/refcard/txivarcheck, * doc/Makefile.am, * util/tests/txitextest: texinfo.txi -> texinfo.texi. 2013-08-15 Karl Berry * doc/texinfo.texi (@settitle): typo (missing "to"), report from Alex Sassmannshausen, 26 Apr 2013 14:21:38. * doc/texinfo.texi (Indicating): rewrite intro to avoid implying that users can change at will what Texinfo's commands output. (Defining New Texinfo Commands): and avoid implying that macros should be used to redefine existing commands. Thread with Robert Dodier, starting 26 Apr 2013 09:33:42. * doc/texinfo.texi: @setfilename texinfo.info, not just texinfo, per automake 1.14 complaint. * configure.ac (AM_INIT_AUTOMAKE): add info-in-builddir, per automake 1.14 complaint. * doc/Makefile.am (info_TEXINFOS), * doc/texinfo.texi: rename from doc/texinfo.texi, per automake 1.14 deprecation. 2013-08-15 gettextize * gnulib/m4/po.m4: Upgrade to gettext-0.18.3. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.18.3. 2013-08-15 Karl Berry * install-info/install-info.c (ensure_dirfile_exists): do not translate the ^_ byte; the Italian translation missed it, and it makes more sense to consider it a keyword anyway. Report from Thien-Thi Nguyen, 17 May 2013 11:16:41. 2013-08-13 Karl Berry * doc/info-stnd.texi (Variables, Searching Commands): tweak wording of search-skip-screen descriptions, etc. 2013-08-12 Patrice Dumas * tp/init/chm.pm: sort indices names to get a reproducible output. Report by Karl. * tp/Texinfo/Structuring.pm: set @command_unnumbered for the toplevel @-command if not @top. Report from Karl. 2013-08-11 Karl Berry * doc/texinfo.txi (Conventions): add item about form feed processing. 2013-08-11 Patrice Dumas * tp/Texinfo/Convert/HTML.pm(output): sort when processing renamed nodes to have a reproducible error output. Report by Karl. * Texinfo/Convert/Converter.pm(_informative_command_value, _informative_command): do not set informative command value if value is not defined. 2013-08-10 Patrice Dumas * tp/Texinfo/Convert/Line.pm, Texinfo/Convert/Paragraph.pm: preserve spaces coming from the document. Do not break words at non-breaking spaces. * Pod-Simple-Texinfo/t/Pod-Simple-Texinfo.t: correctly close =over with a =back, as reported by newer Pod::Simple. Report by Karl. Mark as TODO the test that changes depending on Pod::Simple version. Report by Karl. * tp/Texinfo/Parser.pm(_next_text): add a end of line at the end of files when there is one missing. Found out in https://bugzilla.redhat.com/show_bug.cgi?id=950644 * tp/Makefile.am: reorder alphabetically test input files. Distribute missing test files. * tp/t/test_utils.pl(test): allow for marking tests as TODO. Use this facility to mark a test of all_spaces that fails on perl 5.10 with NEL not being treated the same as in perl 5.14. 2013-08-09 Patrice Dumas * tp/Texinfo/Convert/DocBook.pm(_protect_text): convert formfeed to space instead of simply removing it. 2013-08-09 Karl Berry * doc/texinfo.tex (\codedashfinish): include an explicit space after the \let=, for @code{- a}. Report from Vincent Lefevre, 7 Aug 2013 04:07:10. 2013-08-08 Patrice Dumas * tp/Texinfo/Convert/Plaintext.pm: output ^L in ignorable spaces. 2013-08-07 Patrice Dumas * tp/Texinfo/Convert/HTML.pm(_default_protect_text), tp/init/html32.pm: protect ^L with an entity. * tp/Texinfo/Convert/Plaintext.pm: output ^L between paragraphs. 2013-08-06 Patrice Dumas * tp/Texinfo/Convert/TexinfoXML.pm(_xml_attributes): do not protect \f and \ in spaces or trailingspaces attributes. * tp/Texinfo/Convert/DocBook.pm(_protect_text): remove form-feed from output, as it is not allowed in XML. 2013-08-06 Patrice Dumas * Texinfo/Parser.pm: keep form-feed in @set value. * util/texinfo.dtd, util/txixml2texi.pl, tp/Texinfo/Convert/TexinfoXML.pm(_protect_text): output form-feed as entity in XML, when possible. Handle form-feeds in txixml2texi.pl too. * tp/Texinfo/Convert/TexinfoXML.pm(_xml_attributes), util/texinfo.dtd, util/txixml2texi.pl: protect form-feed in attributes by using an entity that becomes a literal \f. Double \ in attributes too. 2013-08-06 Karl Berry * doc/texinfo.tex (\smartitaliccorrection): also omit italic correction if next command is @. or @comma. Report from Vincent Lefevre, 5 Aug 2013 02:47:31. 2013-08-06 Patrice Dumas * Texinfo/Parser.pm: form-feed in paragraph stops the current paragraph. For that consider \f to be a separator. 2013-08-04 Patrice Dumas * Texinfo/Parser.pm: keep form-feed in macro arguments. 2013-07-29 Patrice Dumas * Texinfo//Common.pm (enumerate_item_representation), * Texinfo/Parser.pm: handle correctly @enumerate specification greater than 10. Report from Dmitry Shachnev. 2013-06-28 Karl Berry * contrib/perldoc-all/GNUmakefile (texi_pod_doc_incl): remove X<...> pod constructs, so we get good filenames. For perl-5.18.0. 2013-06-25 Patrice Dumas * tp/Texinfo/Convert/HTML.pm: use "prev" for rel attribute and not "previous", as prev is the preferred one. Report by Tom Tromey. 2013-06-21 Karl Berry * doc/texinfo.tex (\codedash): use \futurelet. (\codedashfinish): new definition for - inside @code et al., which does not allow a break after a - when it is preceded or followed by another -, or when it is first. (\code): initialize \codedashprev for the - as first char case. Report from Arnold Robbins, 04 Apr 2013 01:30:28 -0600. * texi2dvi (run_makeinfo): more verbose error message if our test reading texinfo.tex fails. Suggestion from Vincent B, 25 May 2013 23:10:58. 2013-06-08 Sergey Poznyakoff Skip the current screen when repeating searches. * NEWS: Update. * doc/info-stnd.texi: Document the -a (--all) option and the search-skip-screen. Mention '}' and '{' commands when discussing repeated searches. * doc/version-stnd.texi: Update. * doc/version.texi: Update. * info/session.c (search_skip_screen_p): New variable. (info_search_1): Take additional argument, supplying the starting position for the search. All uses changed (DFL_START): New define. (info_search_next,info_search_previous): If search_skip_screen_p is set, skip the lines displayed on the screen. * info/variables.c (info_variables): New variable "search-skip-screen". * info/variables.h (min_search_length): New proto. 2013-06-07 Karl Berry * doc/texinfo.txi (Preparing for @TeX{}): texinfo.cnf is a "configuration" file, other wording tweaks. 2013-06-07 Sergey Poznyakoff Handle "index" tag. * info/tag.c (tags_expand): Accept NULL handler as a no-op. (tagtab): Add an entry for "index". 2013-04-29 Stefano Lattarini (tiny change) * tp/Makefile.am, * tp/tests/Makefile.am: use $(MKDIR_P) instead of $(mkdir_p). 2013-04-16 Sergey Poznyakoff Restore the cursor position when going to the Up node. * info/session.c (info_win_find_node): New static. (info_handle_pointer): When handling Up pointer, restore the point (cursor position) as well. 2013-04-16 Sergey Poznyakoff Implement the --all (-a) option as per bug #38168. * info/infopath.c: New file. * info/Makefile.am (ginfo_SOURCES): Add new file. * info/tilde.c (tilde_expand_word): Argument is const char *. All uses changed. * info/info.c (all_matches_p): New variable. (long_options, short_options): New option --all (-a). (single_file, all_files): New functions. (main): Handle new option. * info/nodes.c (forget_info_file): Now extern. * info/nodes.h (forget_info_file): New proto. * info/indices.c (create_virtindex_file_buffer): Allow for NULL as the filename. (allfiles_create_node, info_all_files): New functions. * info/dir.c (maybe_build_dir_node): Use infopath_first and infopath_next to iterate over the INFOPATH. * info/filesys.c: Remove infopath functions. See infopath.c (info_file_in_path, info_file_find_next_in_path): New functions. * info/indices.h (allfiles_create_node): New prototype. * info/filesys.h (infopath): Remove extern. (infopath): New prototype. (zap_infopath): Rename to infopath_clear. (info_add_path): Rename to infopath_add. (infopath_init,infopath_first,infopath_next) (info_file_find_next_in_path): New prototypes. (INFOPATH_INIT): New constant. * info/session.c (info_read_and_dispatch): Do not set quit_info_immediately, it is done by info_quit. (info_follow_menus): Take an additional argument. (info_quit): Set quit_info_immediately. * info/session.h (quit_info_immediately): Extern. (info_follow_menus): Change signature. * info/infomap.c: Bind `C-x f' in Emacs mode, and `:a' in Vi mode to info_all_files. * doc/info-stnd.texi: Document the --all option. 2013-04-13 Sergey Poznyakoff * info/infomap.c: Fix indentation and style. 2013-04-13 Sergey Poznyakoff Implement new options for standalone info. * info/info.c (debug_level): New variable. (long_options): New options: -x (--debug) and -v (--variable). (short_options): Update accordingly. (main): Handle the new options. (vinfo_debug, info_debug): New functions. * info/info.h (info/info.h): New exern. (debug): New macros. (vinfo_debug, info_debug): New prototypes. (set_variable_to_value): Change the return type. * info/variables.c (set_variable_to_value): Compile unconditionally. Return 0/-1 depending on the success/failure of the operation. * info/filesys.c: Print additional debugging info. * info/infomap.c: Check the return from set_variable_to_value. * doc/info-stnd.texi: Document new options. * doc/version.texi: Update. * doc/version-stnd.texi: Update. * NEWS: Update. 2013-04-07 Patrice Dumas * configure.ac: set DIFF_A_OPTION to -a, and not DIFF_U_OPTION. * tp/Texinfo/Convert/Plaintext.pm: do not consider an empty line at the end of a preformatted format as counting as an empty line in order to output an empty line following the preformatted format too. Karl report. * tp/Texinfo/Convert/DocBook.pm: add support for special docbook sectioning elements with special node names and @unnumbered. Feature asked for by Aharon Robbins, syntax by Karl. 2013-03-31 Sergey Poznyakoff * info/indices.c (info_next_index_match): Fix improper string indexing. Based on report from Eli Zaretskii. 2013-03-31 Sergey Poznyakoff Fix \b[...\b] tag processing. * info/nodes.h (TAG) : New member. * info/nodes.c (get_nodes_of_info_file) (get_nodes_of_tags_table): Initialize TAG->content_cache. (info_node_of_file_buffer_tags): Use cached contents if available. Call tags_expand upon the first access to that node. (free_info_tag): Free content_cache. * info/tag.c (tag_image): Fix state machine. Ignore '='s, unless in state_kw. (tags_expand): Change return value and signature. Allocate memory only if at least one tag is actually expanded. * info/tag.h (tags_expand): Change prototype. * info/filesys.c (filesys_read_info_file): Do not call tags_expand on the entire buffer. 2013-03-20 Karl Berry Doc tweaks. * NEWS: more technalities about the macro-expansion incompatibility. * README-hacking: call change_perl_modules_version.sh for release. * doc/texinfo.txi: wording around PDF items. * doc/texinfo.tex: typos in comment. 2013-03-20 Eli Zaretskii * Makefile.am (SUBDIRS): If HOST_IS_WINDOWS, add 'info' to SUBDIRS even if HAVE_TERMLIBS is false. * configure.ac : Don't bother warning on MinGW as well. 2013-03-20 Karl Berry * man/Makefile.am (man_rule_0): set EXEEXT="" since it's no longer an executable. Report from Eli, 20 Mar 2013 20:47:52. (mi_perl5lib): set up another variable to shorten source lines. 2013-03-16 Patrice Dumas * tp/Texinfo/Parser.pm (_parse_texi): accept the same character in @value as in @set. 2013-03-14 Karl Berry * maintain/regenerate_cmd_tests.sh, * tests/run_parser_all.sh, * tests/many_input_files/tex_l2h.sh: use $0 in some diagnostics. * NEWS: mention switch from cvs to svn. * doc/texinfo.txi (Invoking @t{pod2texi}): svn url instead of cvs for Perl manual in Texinfo. * contrib/perldoc-all/perldoc-all.texi: likewise, and turn off all underfull/overfull messages since we can't do anything about them. * contrib/perldoc-all/README: 5.16.3. * contrib/perldoc-all/GNUmakefile (all): set save_size in environment to avoid TeX overflow. (install): new target. * doc/texinfo.tex (\nonfillstart): only reset to \hfuzz=12pt if it's less than that. * README-hacking: tweaks to release wording. 2013-03-12 Karl Berry * Version 5.1. 2013-03-11 Patrice Dumas * tp/init/tex4ht.pm (tex4ht_process_command): correct the warning, it should also give the reason of the error. Follow-up on Benno Schulenberg report. 2013-03-08 Karl Berry * pretest 5.0.91. * install-info/install-info.c (print_help): combine sentence for better translation. * tp/init/tex4ht.pm (tex4ht_process_command): omit : for consistency. Report from Benno Schulenberg, 08 Mar 2013 22:07:31. * util/texi2dvi: don't mention Debian specifically; I don't think tetex-bin has been the name for a while. * util/gendocs.sh: omit --split=node for the sake of pre-5.0 installations. Report to bug-gnulib from Martin von Gagern, 08 Mar 2013 19:20:36. 2013-03-05 Patrice Dumas * tp/Texinfo/Parser.pm (_close_current): close correctly stacks when closing $format_raw_commands. Report from Mat Booth. 2013-03-02 Karl Berry * pretest 5.0.90. * NEWS, * doc/texinfo.txi (Macro Details): behavior of newlines in macro definitions and line-delimited commands has changed. 2013-03-02 Patrice Dumas * tp/Texinfo/Parser.pm: put the first line in 'pending' instead of seeking back in the input stream. 2013-02-28 Patrice Dumas * tp/t/test_utils.pl: close generated files before doing the comparison. * tp/Texinfo/Convert/Plaintext.pm, tp/Texinfo/Convert/Info.pm: cache get_conf() results. Convert node names only once. * tp/texi2any.pl, doc/texinfo.txi (Customization Variables and Options): two new formats, parse and structure that respectively do the parsing phase, and the parsing and structuring phase, and no conversion. 2013-02-26 Karl Berry * doc/texinfo.txi (Generating HTML, HTML CSS): xref to Customization Variables. Suggestion from Vincent Belaiche. 2013-02-25 Patrice Dumas * tp/Texinfo/Parser.pm: use tell to find the position of the beginning of the line. Close line @-command with special @-commands if there is no comment ending the line. Report from Eli Zaretskii on bug-texinfo, 24 Feb 2013 17:53:15. * configure.ac, tp/defs.in, tp/tests/run_parser_all.sh: determine whether diff accepts -a and sets DIFF_A_OPTION to -a if so. 2013-02-24 Karl Berry * tp/Makefile.am (install-exec-hook): rm old makeinfo, possibly a binary, before making the link. Report from Ken Moffat, 23 Feb 2013 21:31:33. * doc/texinfo.txi (Other Customization Variables): OPEN_ and CLOSE_QUOTE_SYMBOL now apply to Info too. (@t{@@code}): mention this. (@t{@@set @@value}): grudgingly mention that some non-alphanumerics sometimes work in @set names. 2013-02-24 Patrice Dumas * configure.ac, tp/defs.in, tp/tests/*/*.sh, tp/tests/run_parser_all.sh: determine whether diff accepts -u and sets DIFF_U_OPTION to -u if so. Report that HP-UX diff do not accept -u from Richard Lloyd bug-texinfo, 19 Feb 2013 15:56:41. 2013-02-23 Patrice Dumas * tp/t/input_files/sample_utf8.texi: avoid having two nodes differing only in case, for case-sensitve filesystems. Report in http://savannah.gnu.org/bugs/?38380. * tp/Makefile.am, tp/maintain/*: modularize and rename scripts associated to standalone modules handling. * tp/Texinfo/Convert/Plaintext.pm: use OPEN_QUOTE_SYMBOL and CLOSE_QUOTE_SYMBOL. * tp/Texinfo/Parser.pm: allow more characters in flags. do not close a line after a special command @set... 2013-02-22 Karl Berry * doc/texinfo.txi (@t{@@set @@value}): mention that @set need not appear at the beginning of a line. (@t{@@enumerate}, @t{@@itemize}): clarify that at least one @item should be inside @itemize. * README-hacking: include potential CPAN update in release checks. 2013-02-22 Antonio Diaz Diaz (tiny change) * info/filesys.c (compress_suffixes): Add .lz/lzip. * install-info/install-info.c (open_possibly_compressed_file): Add lzip support. * doc/info-stnd.texi, * doc/texinfo.txi: mention it. bug-texinfo, 22 Feb 2013 19:08:02. 2013-02-22 Eli Zaretskii * install-info/ginstall-info.exe.manifest: new file. * install-info/Makefile.am (dist_bin_SCRIPTS) [HOST_IS_WINDOWS]: add it. bug-texinfo, 19 Feb 2013 19:39:51. * info/pcterm.c (pc_initialize_terminal): Move prototype outside of w32_info_init to the file level. bug-texinfo, 19 Feb 2013 19:40:48. 2013-02-22 Patrice Dumas * tp/Texinfo/Parser.pm: better handling of comments in @-commands with line specially handled (@set, @ifset, @unmacro...). Accept @set and @clear almost everywhere. Accept that @set and @clear are not at the beginning of a line. Do not warn for @end in style command, as it may be the @end of a conditional that is correct in that context. Improve error messages of @-commands with braces closed because of seeing a command before the closing brace. 2013-02-21 Karl Berry * NEWS: mention incompatibilities of text outside @item and irregular sectioning trees. 2013-02-20 Patrice Dumas * Makeinfo.am, texi2html/test/*/Makefile.am, tp/tests/*/Makefile.am, tp/maintain/regenerate_file_lists.pl, tp/tests/many_input_files/*.sh, tp/tests/run_parser_all.sh, texi2html/test/run_*.sh, texi2html/test/many_input_files/*.sh: adapt for SVN. * tp/MANIFEST: regenerate. * tp/Texinfo/Structuring.pm: lowering a section level is only a warning. 2013-02-18 Karl Berry (tiny change) * info/info-utils (va_copy) [__hpux]: define for HP-UX, From Richard Lloyd, 18 Feb 2013 11:52:10. * system.h (TEXINFO_PRINTFLIKE) [! __GNUC__]: define to nothing. 2013-02-17 Karl Berry * doc/refcard/txirefcard.tex: reduce to four pages again (by regretfully removing the Emacs section). 2013-02-16 Karl Berry * Version 5.0. * doc/texinfo.txi: remove zyx placeholder. 2013-02-13 Sergey Poznyakoff * info/window.c (window_make_window): Initialize allocated memory. (string_to_node): Likewise. * info/filesys.c (filesys_read_info_file): Always terminate the contents with 0. Fix 700354@bugs.debian.org. 2013-02-12 Karl Berry * pretest 4.13.97. 2013-02-10 Karl Berry * info/tag.c (tag_found_keyword): new fn, including a check for the text buffer being realloc-ed, invalidating kw. Sigh. (tag_image): call it (twice). 2013-02-10 Patrice Dumas * autogen.sh, tp/maintain/regenerate_cmd_tests.sh, tp/tests/*: Generate automatically test file scripts for each test in tp/tests/*. * tp/Makefile.am: run directly tap tests in Makefile.am. 2013-02-09 Patrice Dumas * configure.ac, tp/Makefile.am, tp/maintain/regenerate_file_lists.pl: prepare for running directly tap tests in Makefile.am. 2013-02-07 Karl Berry * contrib/booklet.mak: new contribution from John Darrington. * Pod-Simple-Texinfo/pod2texi.pl (preamble): back to inserting the default. * contrib/perldoc-all/GNUmakefile (pod2texi_args): omit it. 2013-02-04 Karl Berry * pretest 4.13.96. * contrib/perldoc-all/GNUmakefile (distclean): new target. * Makefile.am (dist-hook): use it. 2013-02-03 Karl Berry * contrib/perldoc-all: example making Texinfo from Perl's *.pod. * util/dir-example (Perl): add it. * util/gendocs.sh: add --source, --common, --split --no-ascii. Prettify output. * doc/Makefile.am (gendocs): use the version from our source hierarchy, since it's maintained here. * Pod-Simple-Texinfo/pod2texi.pl (preamble): null if making @include files. More doc. * doc/texinfo.txi (Invoking pod2texi): new node. 2013-02-03 Karl Berry * tp/Makefile.am: doc fix. * tp/maintain/regenerate_docstr.sh: do not depend on directories with their unpredictable timestamps. * tp/maintain/regenerate_file_lists.pl: copyright year update. * po_document/pl.po: new translation. * po_document/LINGUAS: add it. 2013-02-01 Karl Berry * doc/texinfo.tex (@normalturnoffactive): also reset -, so @code{@xref{-}} works. (\normaldash): rename from \realdash, for consistency. Change all uses. 2013-01-29 Karl Berry * doc/texinfo.txi (HTML Customization Files) : is no more. 2013-01-29 Patrice Dumas * po/POTFILES.in, tp/init/latex2html.pm: mark translations for error messages in latex2html.pm, and add file to po/POTFILES.in. 2013-01-28 Karl Berry * pretest 4.13.95. * README-hacking: .po files might not be literal copies. texinfo_document is new TP domain. * build-aux/config.sub: srclist-update. * tp/Makefile.am (dist_converters_DATA): add Texinfo/Convert/IXIN.pm Texinfo/Convert/IXINSXML.pm. 2013-01-27 Karl Berry * doc/texinfo.txi (HTML Customization Variables): split node out from Other Cust Var. (Other Customization Variables): new TEXINFO_OUTPUT_FORMAT replaces the individual special-output-format variables. * doc/refcard/txivarcheck: only check uppercase variable names, and do output manual-only names. * man/pod2texi.1: new file, made with pod2man. * man/Makefile.am (man_MANS): add it. 2013-01-27 Patrice Dumas * tp/texi2any.pl, tp/Texinfo/Common.pm, tp/DebugTexinfo/DebugTree.pm, util/detexinfo: remove output specific customization variables. 2013-01-25 Karl Berry * doc/texinfo.txi (Other Customization Variables) : new. : add indent_menu_descriptions. Also, use it to re-indent the menus and regenerate_master_menu. 2013-01-21 Karl Berry * doc/texinfo.txi (Raw Formatter Commands): be more emphatic about some processing being done inside raw regions, and the resulting unpredictable effects when Texinfo-level things are done there. 2013-01-20 Karl Berry * doc/texinfo.txi (Other Customization Variables) [TREE_TRANSFORMATIONS]: @ftable, text tweaks. (Top): update with texinfo-master-menu. * doc/info-stnd.texi: @t in node names, merge footnote text where reasonable. 2013-01-19 Patrice Dumas * util/texinfo.dtd: add number attribute for float and indexterm. 2013-01-19 Karl Berry * pretest 4.13.94. * README-hacking: tersely describe release steps. 2013-01-18 Karl Berry * doc/texinfo.txi (Customization Variables for Program Behavior) [TEXINFOSXML]: new output format. * tp/Makefile.am (dist_converters_DATA): add TexinfoSXML.pm. 2013-01-16 Patrice Dumas * tp/Texinfo/Convert/TexinfoXML.pm: replace tp/Texinfo/Convert/XML.pm. 2013-01-16 Karl Berry * doc/texinfo.txi (Marking Text): remaining node names needing @t. 2013-01-15 Karl Berry * po_document/LINGUAS: es.us-ascii is back, paperwork executed by Francisco Vila . * doc/texinfo.txi: use @t instead of @code in node names, to avoid extraneous quotes. 2013-01-15 Patrice Dumas * autogen.sh: adapt to shorter regenerate_docstr.sh and Makefile.docstr names. 2013-01-14 Karl Berry * doc/texinfo.txi (Conditionally Visible Text, Defining New Texinfo Commands, Formatting and Printing Hardcopy, Creating an Info File): node names with @. Fix more xrefs for new names. 2013-01-13 Karl Berry * doc/texinfo.txi (Special Insertions, Breaks, deffnx, documentencoding): node names with @, restructure. * po_document/LINGUAS (ja, es.us-ascii): remove. * tp/maintain/regenerate_docstr.sh: shorten name of regenerate_document_strings_make_rules.sh. * tp/Makefile.docstr: shorten name of generated file, too. * tp/Makefile.am: renames. 2013-01-12 Karl Berry * doc/texinfo.txi (Internationalization of Document Strings): small changes. 2013-01-11 Karl Berry * configure.ac (AC_PREREQ): remove, better to rely on AM_INIT_AUTOMAKE's implicit prereq. Suggestion from Stefano, 11 Jan 2013 12:12:53. * tp/tests/Makefile.am (long-check, all-check, tex-html-check): aliases for the names with s. 2013-01-11 Sergey Poznyakoff * info/window.c (calculate_line_starts): call window_line_map_init, 19 Dec 2012 14:10:30 +0200 2013-01-08 Patrice Dumas * po_document/fr.us-ascii.po: update by Jean-Charles Malahieude, with additional edits. * doc/texinfo.txi (Internationalization of Strings), doc/draft_api.texi (Internationalization of Strings Function): re-add the text about translated strings in the manual keeping only the perl api information in draft_api.texi. 2013-01-08 Karl Berry * doc/texinfo.txi (Lists and Tables, Floats): node names with @. 2013-01-07 Karl Berry * doc/texinfo.txi (Cross References, Quotations and Examples): node names with @ throughout chapter. 2013-01-06 Karl Berry * install-info/install-info.c (open_possibly_compressed_file): free in .gz case is wrong. * doc/texinfo.txi (Nodes): node names with @ throughout chapter. * doc/texinfo.txi (acronyn, Smallcaps): more about the problems of using them, and not recommending them. 2013-01-06 Patrice Dumas * configure.ac: prove is required for tp tests. 2013-01-05 Karl Berry * install-info/install-info.c (open_possibly_compressed_file): free the original in the .gz and (found by Andreas Schwab, 05 Jan 2013 12:28:05) .xz cases too. Reindent other parts of fn correctly. * doc/texinfo.txi (Chapter Structuring): node names with @ throughout chapter. 2013-01-05 Patrice Dumas * util/*.bat: remove spurious +, reported by Eli Z. 2013-01-04 Karl Berry * doc/texinfo.txi (end titlepage, setchapternewpage, headings on off, paragraphindent, exampleindent): continue conversion to node names with @. 2013-01-03 Thien-Thi Nguyen (tiny change) * doc/texinfo.txi (Combining Indices): @synindex uses the "roman font for merged-from". 2013-01-03 Karl Berry * doc/texinfo.txi (setfilename, settitle, copying, insertcopying, titlepage, titlefont center sp, title subtitle author, documentdescription, quotation, setfilename, settitle): continue conversion to node names with @. 2013-01-01 Karl Berry * pretest 4.13.93. * util/Makefile.am (texinfo.cat): remove rule and references; not aware of anything using it, current rule fails distcheck. * util/tests: move the TeX-related tests (all unused) here from util/. * contrib: new directory; move contributed files from util/ there. * Pod-Simple-Texinfo/pod2texi.pl, * doc/texinfo.txi, * doc/refcard/txirefcard.tex, * info/info.c, * info/infokey.c, * install-info/install-info.c, * tp/texi2any.pl, * util/texi-elements-by-size, * util/texindex.c, * util/texi2dvi, * util/gendocs_template, * util/gendocs_template_min: 2013. 2013-01-01 Karl Berry * doc/texinfo.tex: received official GPLv3 exception text for texinfo.tex (RT licensing #502113). Same wording / no change in permissions. 2012-12-31 Karl Berry * install-info/install-info.c (): mention --add-once, --align, --calign, --maxwidth, --max-width, inadvertently omitted when implemented. Also don't mention removals working with --entry. Report from Benno Schulenberg, 26 Dec 2012 19:34:40. 2012-12-30 Eli Zaretskii * configure.ac: Use $host, not $target, to detect MS-Windows builds, and set HOST_IS_WINDOWS if so. * util/Makefile.am (bin_SCRIPTS): Decide whether to install Windows batch files using HOST_IS_WINDOWS. 2012-12-29 Karl Berry * util/htmlxref.cnf (gmp): use up-to-date version on gmplib.org. * util/srclist.txt (missing): sync from $AUTOMAKE. 2012-12-29 gettextize * gnulib/m4/po.m4: Upgrade to gettext-0.18.2. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.18.2. 2012-12-29 Patrice Dumas * util/Makefile.am (texinfo.cat): use $(TEXINFO_DTD_VERSION) instead of @VERSION@. Report from Thien-Thi Nguyen. 2012-12-22 Karl Berry * util/Makefile.am (EXTRA_DIST): add *.bat. Report from Eli, 22 Dec 2012 17:33:58. 2012-12-19 Patrice Dumas * configure.ac, tp/Texinfo/*, tp/t/*: use the correct next version number for DTD and in other places. 2012-12-17 Karl Berry * pretest 4.13.92. 2012-12-15 Karl Berry * doc/texinfo.txi: use "sectioning" as the general term in a few places. (Other Customization Variables) : more on default. 2012-12-11 Eli Zaretskii * configure.ac (TGT_IS_WINDOWS): New conditional. * util/Makefile.am (bin_SCRIPTS) [TGT_IS_WINDOWS]: add Windows batch files to bin_SCRIPTS. 2012-12-14 Ineiev (tiny change) * configure.ac (HAVE_TERMLIBS): new conditional. End with repeated warning about no terminal library for visibility. * Makefile.am (SUBDIRS) [HAVE_TERMLIBS]: only include info/ if new conditional is true. * man/Makefile.am (man_MANS) [HAVE_TERMLIBS]: likewise for making info.1 and infokey.1. 2012-12-14 Thien-Thi Nguyen (tiny change) * doc/texinfo.txi (Three Arguments): Add @findex xrefautomaticsectiontitle. 2012-12-14 Karl Berry * doc/texinfo.txi (Other Customization Variables): edit wording of defaults, etc. 2012-12-10 Patrice Dumas * configure.ac, tp/Makefile.am, tp/texi2any.pl, tp/Texinfo/Common.pm, tp/Texinfo/Convert/XML.pm, tp/maintain/catalog.xml.in, tp/t/test_utils.pl, doc/texinfo.txi (Other Customization Variables): Add a new configure variable TEXINFO_DTD_VERSION that holds the version of the dtd. Add the corresponding customization variable in tp/. 2012-12-08 Patrice Dumas * doc/texinfo.txi (Command Contexts): @verb is not accepted in simple text commands and sectioning commands. 2012-12-02 Karl Berry * configure.ac (TERMLIB_VARIANTS): try tinfo first. Suggestion from Andreas Schwab, 02 Dec 2012 10:00:44. 2012-12-02 Colin Watson Build gnulib/lib directory in native-tools pass when cross-compiling (bug #37852). * Makefile.am (SUBDIRS) [TOOLS_ONLY]: Add gnulib/lib. 2012-12-02 Karl Berry * install-info/tests/defs.in (TMPDIR): define if not defined. 2012-12-02 Patrice Dumas * configure.ac: remove gnulib module regex snippet, it is already in gnulib/m4/gnulib-comp.m4. * configure.ac, tp/Texinfo/Convert/Unicode.pm: check that Encode is available, and use perl >= 5.7.3, required for Encode. Report from Stefano Lattarini. 2012-12-01 Sergey Poznyakoff Fix bug #37822 (incomplete redraw of screen). * info/display.c (display_scroll_display): Fix a "fencepost" error when scrolling down. * info/terminal.c: Improve conditional. 2012-12-01 Sergey Poznyakoff Fix cursor positioning after index searches (bug #37823). * info/window.h (WINDOW): Use size_t instead of int. (log_line_no): New member. (process_node_text): Change signature. * info/window.c (window_new_screen_size,recalculate_line_starts) (window_toggle_wrap,window_delete_window): Handle the log_line_no array. (calc_closure_expand): New static function. (_calc_line_starts): Update log_line_no. Use calc_closure_expand instead of the add_pointer_to_array macro. (calculate_line_starts): Fill in log_line_no. (window_log_to_phys_line): New function. (process_node_text): Keep track of logical line numbers. * info/display.c (display_node_text): Change signature. * info/indices.c (info_next_index_match): Convert logical line number to physical line. * info/tag.c (tags_expand): Remove unused variables. (handle_tag): Fix return type. * info/tag.h (handle_tag): Fix return type. 2012-11-30 Patrice Dumas * doc/texinfo.txi (Invoking texi2any), tp/texi2any.pl: add -c as an alias for --set-customization-variable (Karl idea). * doc/texinfo.txi (Other Customization Variables): explain default values for customization variables. 2012-11-30 Karl Berry * install-info/tests/defs.in (mktemp): define minimal replacement if not found in PATH. It is lacking on AIX 6 (Ineiev) and mingw (Eli). 2012-11-28 Karl Berry * install-info/tests/defs.in (path_spec, EGREP): need these for findprog. 2012-11-26 Karl Berry * pretest 4.13.91. * configure.ac: invoke gl_REGEX, after gnulib-tool --add-import regex. This will now be used on all systems except recent-enough libc. * doc/texinfo.txi (Command Syntax): Explicitly mention whitespace after @-command names being (usually) ignored. * doc/texinfo.txi (Not Ending a Sentence): Attempt to document the sentence-ending heuristic more clearly. Suggestion from Eli Zaretskii in , draft from Paul Eggert in bug-texinfo 24 Nov 2012 18:02:27. * install-info/defs.in (findprog): new fn, from texi2dvi. * install-info/tests/ii-0050-test, * install-info/tests/ii-0041-test: use it to check for zdiff (not available on bare Solaris) and skip tests if needed. 2012-11-25 Karl Berry * doc/texinfo.txi: consistently use "uppercase" and "lowercase", rather than with spaces or dashes. * system.h (const): do not #undef around gettext.h. Suggested by Eli. We'll see. 2012-11-16 Eli Zaretskii * info/pcterm.c (gettextinfo): exit rather than xexit. (tputs, tgoto, tgetent): use const. * info/session.c [!FIONREAD]: require F_GETFL and F_SETFL as well as O_NDELAY for this branch. * info/terminal.c (tputs) [! HAVE_TERMCAP_H]: declare puts as returning int. 2012-11-23 Karl Berry * doc/texinfo.txi (makeinfo Pointer Creation): be more explicit about what to do. Suggestion from Richard Jackson, help-texinfo 18 Feb 2003 23:54:07. 2012-11-22 Patrice Dumas * */*.pl */Makefile.am: use #! /usr/bin/env perl for shebangs in case perl is not in /usr/bin. Subbstitute $(PERL) in the shebang for scripts that are modified using configure generated values. * man/Makefile.am: remove $(srcdir) from targets. 2012-11-20 Patrice Dumas * Texinfo/Common.pm, Texinfo/Parser.pm, doc/texinfo.txi (Other Customization Variables): if IGNORE_SPACE_AFTER_BRACED_COMMAND_NAME is set (the default case), spaces after an @-command name that take braces are ignored. Report from John Darrington. 2012-11-17 Patrice Dumas * configure.ac, Pod-Simple-Texinfo/Makefile.am, doc/tp_api/Makefile.am: new conditionals, BUILD_PERL_API_TEXI and POD_SIMPLE_TEXINFO_TESTS to avoid rebuilding the texinfo files from pod documentnation if Pod::Simple::PullParser, and avoid running the Pod-Simple-Texinfo tests if Test::More is not present. 2012-11-17 Sergey Poznyakoff Use the text attribute to represent "image" tag. Provide a general-purpose solution, so new tags can be easily added. This fixes bug #37686. * info/tag.c: New file * info/tag.h: New file * info/Makefile.am: Add new files. * info/dir.c: Use size_t instead of long to represent file size. * info/display.c (handle_tag) (handle_tag_start,handle_tag_end): Remove. * info/display.h (handle_tag): Remove. * info/filesys.c (filesys_read_info_file): Use size_t instead of long to represent file sizes and offsets. Call tags_expand to expand info tags. (filesys_read_compressed): Do not call convert_eols, leave that for filesys_read_info_file. * info/filesys.h (filesys_read_info_file) (filesys_read_compressed): Use size_t instead of long to represent file sizes and offsets. * info/info-utils.c (text_buffer_alloc): New function. * info/info-utils.h (MIN_TEXT_BUF_ALLOC): New define. (text_buffer_alloc): New proto. (text_buffer_reset,text_buffer_base) (text_buffer_off): New macros. * info/nodes.c: Use size_t instead of long to represent file sizes and offsets. * info/nodes.h (FILE_BUFFER) : Change type to size_t. * NEWS: Update. 2012-11-16 Eli Zaretskii Support for MS-Windows screen and keyboard in Info. (bug-texinfo 17 Jan 2012 08:41:10 +0200) * system.h (SET_SCREEN_SIZE_HELPER) [__MINGW32__]: Define. * info/tilde.c (tilde_expand_word) [__MINGW32__]: Don't call getpwuid or getpwnam; instead, consider "." as "home" if HOME is not set in the environment. Support tilde_expansion_failure_hook. * info/terminal.c [_WIN32]: Include pcterm.h. (terminal_initialize_terminal) [__MINGW32__]: Don't access `ospeed'. (terminal_prep_terminal, terminal_unprep_terminal) [__MINGW32__]: Ifdef away the TIOC code for Windows. * info/termdep.h [__MINGW32__]: Don't include sgtty.h. [_WIN32]: Add a prototype for `sleep'. * info/signals.c (redisplay_after_signal) (reset_info_window_sizes): Make these 2 functions extern from static, as they are called on MS-Windows from other files. * info/session.c (read) [__MINGW32__]: Redirect read and _read to w32_read. (info_gather_typeahead) [__MINGW32__]: Call w32_chars_avail to find out how many typeahead is available. * info/pcterm.c [_WIN32]: Definitions for the MS-Windows build. (w32_info_prep, w32_info_unprep, w32_cleanup, w32_info_init) (gettextinfo, textattr, textmode, ScreenGetCursor) (ScreenSetCursor, ScreenClear, clreol, ScreenVisualBell) (movetext, ScreenRows, ScreenCols, _set_screen_lines) (w32_set_screen_dimensions) [_WIN32]: New; screen output and cursor control functions for MS-Windows. (sleep, w32_our_tty, define_seq, w32keyseq, w32_kbd_read) (w32_chars_avail, w32_read) [_WIN32]: New; keyboard input functions and their subroutines for MS-Windows. (pc_prep_terminal) [_WIN32]: Call w32_info_prep. (pc_unprep_terminal) [_WIN32]: Call w32_info_unprep. Restore the screen buffer size to what we found on startup. (pc_initialize_terminal) [_WIN32]: Let term_name be "w32console". Condition MSDOS key definitions on __MSDOS__. (kill) [_WIN32]: Don't clear the screen and don't write "stopped" message on MS-Windows. Special suspend code for MS-Windows. * info/man.c [__MINGW32__]: Don't include sys/ioctl.h. Fix a crash in viewing man pages. * info/man.c (get_manpage_contents) [!PIPE_USE_FORK]: Fix a crasher due to addition of "-a" to the man command line arguments. Miscellaneous MS-Windows related fixes. * info/infokey.c (main): On MS-Windows, consider the current directory a "home" if HOME is not defined in the environment. * info/infomap.c (fetch_user_maps): Likewise. * info/info.c