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