summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release Version 1.4.15.v1.4.15Eric Blake2010-08-313-2/+8
| | | | | | | * gnulib: Update to latest. * NEWS: Mention the release. Signed-off-by: Eric Blake <eblake@redhat.com>
* Clean up compiler warnings.Eric Blake2010-08-305-12/+14
| | | | | | | | * src/builtin.c (m4_patsubst): Drop dead store. * src/eval.c (unary_term): Likewise. * src/input.c (match_input): Likewise. Also drop useless casts to void. * src/symtab.c (symtab_debug): Drop useless casts.
* Test previous commit.Eric Blake2010-08-304-0/+23
| | | | | | | | * doc/m4.texinfo (Format): Add a test. * NEWS: Document the fix. * THANKS: Update. Signed-off-by: Eric Blake <eblake@redhat.com>
* Avoid a crash with bad format string.Carlo Teubner2010-08-302-1/+6
| | | | | | * src/format.c (expand_format): Fix off-by-one error. Signed-off-by: Eric Blake <eblake@redhat.com>
* Document recent bug fixes.Eric Blake2010-08-303-1/+11
| | | | | | | * NEWS: Add some entries. * gnulib: Update to latest, for more AIX fixes. Signed-off-by: Eric Blake <eblake@redhat.com>
* Update to newer gnulib.Eric Blake2010-07-306-208/+222
| | | | | | | | | | | * gnulib: Update to latest, for strtod fix. * src/Makefile.am (m4_LDADD): Update link libraries accordingly. * cfg.mk (local-checks-to-skip): Skip broken check. * doc/m4.texinfo: Drop all use of @acronym{}. * THANKS: Update. Reported by Rainer Tammer. Signed-off-by: Eric Blake <eblake@redhat.com>
* Reflect recent copyright assignment.Eric Blake2010-06-042-0/+4
| | | | | | * AUTHORS: Add David Warme. Signed-off-by: Eric Blake <eblake@redhat.com>
* Update to newer gnulib.Eric Blake2010-06-047-2/+16
| | | | | | | | | | | | | * gnulib: Update to latest, and include C++ tests. * configure.ac (gl_CXX_CHOICE_DEFAULT_NO): Make default for C++ tests be disabled... * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): ...but run them when building package. * m4/gnulib-cache.m4: Regenerate. * build-aux/.cvsignore: Likewise. * build-aux/.gitignore: Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
* Fix build on newer glibc.Eric Blake2010-06-043-0/+10
| | | | | | | | | | | | POSIX allows, but does not require, that <fcntl.h> implicitly includes <sys/stat.h>. Until recent glibc, most systems did this implicit inclusion, and m4 was mistakenly relying on it. * src/m4.h (includes): Add <sys/stat.h>. * THANKS: Update. Reported by Todd Rinaldo. Signed-off-by: Eric Blake <eblake@redhat.com>
* Support bootstrap --gnulib-srcdir=DIR.Giuseppe Scrivano2010-06-042-1/+15
| | | | | | | | | | | | | | I saw `bootstrap' doesn't accept --gnulib-srcdir as it is already done by other projects using gnulib. It doesn't add a new feature as it can be already done specifying GNULIB_SRCDIR, it just make the script more similar to scripts used by other projects doing a bootstrap from gnulib. * bootstrap: Add --gnulib-srcdir option, which overrides GNULIB_SRCDIR, for consistency with gnulib bootstrap. Signed-off-by: Eric Blake <eblake@redhat.com> (cherry picked from commit d7879f327c28e6a206aa93d009e27224cf6b4b16)
* post-release administriviaEric Blake2010-02-253-2/+5
| | | | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update. Signed-off-by: Eric Blake <eblake@redhat.com>
* Release Version 1.4.14.v1.4.14Eric Blake2010-02-245-5/+11
| | | | | | | | | * gnulib: Update to latest. * README: Increase libsigsegv recommendation. * HACKING: Likewise. Tweak release instructions. * NEWS: Mention the release. Signed-off-by: Eric Blake <eblake@redhat.com>
* Improve parsing example.Eric Blake2010-02-243-6/+18
| | | | | | | | | * doc/m4.texinfo (Input processing): Double-quote argument to translit, for robustness. * THANKS: Update. Reported by Chris Penev. Signed-off-by: Eric Blake <eblake@redhat.com>
* Document upcoming release.Eric Blake2010-01-293-1/+7
| | | | | | | * gnulib: Update to latest. * doc/m4.texinfo (History): Mention 1.4.14. Signed-off-by: Eric Blake <ebb9@byu.net>
* Use correct license on auxiliary documentation.Eric Blake2010-01-069-9/+31
| | | | | | | | | | | | | | | Finish the work started by commit 6e722223ea. * gnulib: Update to latest. * AUTHORS: Use GFDL 1.3, not 1.2. * BACKLOG: Likewise. * README: Likewise. * THANKS: Likewise. * TODO: Likewise. * NEWS: Place under GFDL. * cfg.mk (old_NEWS_hash): Update. Signed-off-by: Eric Blake <ebb9@byu.net>
* Remove more TAB characters.Eric Blake2010-01-0517-758/+787
| | | | | | | | | | | | | | | | | | | | | * THANKS: Use space for alignment. * bootstrap: Likewise. * checks/stackovf.test: Likewise. * configure.ac: Likewise. * src/builtin.c: Likewise. Also update some stale comments. * src/debug.c: Likewise. * src/eval.c: Likewise. * src/format.c: Likewise. * src/freeze.c: Likewise. * src/input.c: Likewise. * src/m4.c: Likewise. * src/m4.h: Likewise. * src/macro.c: Likewise. * src/output.c: Likewise. * src/path.c: Likewise. * src/symtab.c: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Clarify minimum bootstrap requirements.Eric Blake2010-01-052-5/+9
| | | | | | * bootstrap: Avoid out-of-date duplicated data. Signed-off-by: Eric Blake <ebb9@byu.net>
* Security fix by requiring newer automake features.Eric Blake2010-01-054-5/+17
| | | | | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Add dist-xz, color-tests, parallel-tests, and silent-rules. (AC_PREREQ): Bump autoconf requirement to 2.62, per automake. * HACKING: Update minimum requirements. * NEWS: Document the fix. Signed-off-by: Eric Blake <ebb9@byu.net>
* Drop hard-coding of GPG id.Eric Blake2010-01-054-5/+14
| | | | | | | | | | | * gnulib: Update to latest. * m4/gnulib-cache.m4: Regenerate. * cfg.mk (gpg_key_ID): Delete, now that maint.mk provides a sensible default. (update-copyright-env): Don't let environment interfere with wrap column. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update copyright year.Eric Blake2010-01-0138-48/+61
| | | | | | | All files impacted, via 'make update-copyright'. Additionally: * .gitignore: Ignore backup files. Signed-off-by: Eric Blake <ebb9@byu.net>
* Document new indentation policy.Eric Blake2009-12-295-4/+53
| | | | | | | | | | * HACKING: Document indentation policy. * .x-sc_prohibit_tab_based_indentation: New file. * cfg.mk (sc_prohibit_tab_based_indentation): New rule. * Makefile.am (syntax_check_exceptions): New macro. (EXTRA_DIST): Distribute exception files, and .prev-version. Signed-off-by: Eric Blake <ebb9@byu.net>
* Switch to indentation by space, not tab.Eric Blake2009-12-2921-2217/+2239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that gnulib has converted and git has better support for ignoring whitespace differences across this commit, we might as well be consistent with other GNU projects. Done with: t=$'\t' git ls-files \ | grep -vE '(^|/)(.*akefile|ChangeLog|HACKING|.*-aux/.*)|\.(am|mk)$' \ | xargs grep -lE "^ *$t" \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' * .gitmodules: Convert leading tabs to spaces. * TODO: Likewise. * bootstrap: Likewise. * c-boxes.el: Likewise. * checks/check-them: Likewise. * checks/get-them: Likewise. * checks/stackovf.test: Likewise. * configure.ac: Likewise. * src/builtin.c: Likewise. * src/debug.c: Likewise. * src/eval.c: Likewise. * src/format.c: Likewise. * src/freeze.c: Likewise. * src/input.c: Likewise. * src/m4.c: Likewise. * src/m4.h: Likewise. * src/macro.c: Likewise. * src/output.c: Likewise. * src/path.c: Likewise. * src/symtab.c: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update to latest gnulib.Eric Blake2009-12-296-3/+19
| | | | | | | | | | | * gnulib: Update. * m4/gnulib-cache.m4: Import xoset. * src/output.c (includes): Ensure that gnulib oset usage will call xalloc_die on memory failure. * build-aux/.cvsignore: Regenerate. * build-aux/.gitignore: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Work around BSD getopt bug.Eric Blake2009-11-273-0/+20
| | | | | | | * gnulib: Update. * doc/m4.texinfo (Command line files): Add test. Signed-off-by: Eric Blake <ebb9@byu.net>
* Use fastmap for better regex performance.Eric Blake2009-11-272-27/+23
| | | | | | | | | | * src/input.c (word_start): Delete. (pop_wrapup): Free memory on exit. (set_word_regexp): Compile a fastmap instead. (peek_token, next_token): Use the fastmap. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 950807234e3ffd376ad51b2a21cd276dd8b4e59c)
* Ignore write failures before stack overflow exit.Eric Blake2009-11-263-8/+19
| | | | | | | * m4/gnulib-cache.m4: Import ignore-value module. * src/m4.c (fault_handler): Use it to avoid compiler warning. Signed-off-by: Eric Blake <ebb9@byu.net>
* Allow use of compiler warnings.Eric Blake2009-11-2616-49/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m4/gnulib-cache.m4: Import manywarnings module. * configure.ac (WERROR_CFLAGS, WARN_CFLAGS): New variables. * src/Makefile.am (AM_CFLAGS): Use them. * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Turn on warnings during distcheck. * src/m4.h (M4_GNUC_NORETURN): New macro. (trace_post): Delete unused parameter. * src/m4.c (usage): Mark as noreturn. (main): Remove unused parameter. * src/debug.c (trace_post): Likewise. (trace_pre): Cover all enum values. * src/symtab.c (lookup_symbol): Likewise. * src/builtin.c (define_macro, m4_dumpdef): Likewise. (m4_define, m4_undefine, m4_pushdef, m4_popdef, m4_sysval) (m4_divert, m4_undivert, m4_dnl, m4_changequote, m4_changecom) (m4_changeword, m4_syscmd, m4_include, m4_sinclude, m4_m4exit) (m4_debugmode, m4_debugfile, m4_placeholder): Mark unused parameters. (mkstemp_helper): Use parameter. (substitute): Avoid signed vs. unsigned comparison. * src/format.c (arg_int, arg_long, arg_double): Likewise. * src/input.c (next_token): Likewise. * src/output.c (freeze_diversions): Likewise. (m4_tmpname): Allow C++ compilation. * src/freeze.c (produce_frozen_state, GET_NUMBER): Use correct type. * src/macro.c (call_macro): Cover all enum values. (expand_macro): Update caller. * src/path.c (m4_fopen): Remove unused parameter. (m4_path_search): Update caller. Signed-off-by: Eric Blake <ebb9@byu.net>
* Silence syntax-check warnings.Eric Blake2009-11-2614-26/+119
| | | | | | | | | | | | | | | | | | | | * src/m4.h (STREQ): New macro. * src/builtin.c (find_builtin_by_name): Use it. * src/input.c (set_word_regexp): Likewise. * src/m4.c (process_file): Likewise. (main): Consistently spell warning, and mark output strings. Avoid unsafe parsing functions. (process_file): Mark output strings. * src/output.c (make_diversion): Likewise. * src/format.c (arg_int, arg_long, arg_double): New helpers. (ARG_INT, ARG_LONG, ARG_DOUBLE): Use them to detect parse errors. * BACKLOG: Avoid whitespace problems. * TODO: Likewise. * HACKING: Likewise. * examples/esyscmd.m4: Likewise. * examples/file.m4: Likewise. * examples/fstab.m4: Likewise. * examples/patsubst.m4: Likewise.
* Use gnulib maintainer-makefile module.Eric Blake2009-11-2610-249/+32
| | | | | | | | | | | | | | | | * m4/gnulib-cache.m4: Import maintainer-makefile module. * cfg.mk (local-checks-to-skip): Drop changelog-check; add sc_cast_of_x_alloc_return_value. (gnulib_dir, gnu_rel_host, url_dir_list): Delete; provided by maint.mk. (config_h_header, old_NEWS_hash): New macros. * .prev-version: New file. * maint.mk: Remove from version control; use gnulib instead. * .gitignore: Update. * HACKING: Update. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 260383467b3ae57f2cb3c6821718b99fdf278c4b)
* Update from gnulib.Eric Blake2009-11-267-5/+66
| | | | | | | | | | | * gnulib: Update. * m4/gnulib-cache.m4: Use --makefile-name. * lib/Makefile.am: Wrap the gnulib-generated file. * tests/Makefile.am: Likewise. * .gitignore: Track our wrappers. * doc/m4.texinfo (Improved capitalize): Fix typo. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update from gnulib.Eric Blake2009-10-055-1/+12
| | | | | | | | | * gnulib: Update. * m4/gnulib-cache.m4: Import gnu-web-doc-update module. * build-aux/.gitignore: Ignore new file. * build-aux/.cvsignore: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update from gnulib.Eric Blake2009-08-243-0/+8
| | | | | | | * gnulib: Update. * AUTHORS: Mention recent copyright assignment. Signed-off-by: Eric Blake <ebb9@byu.net>
* Enhance test with closed descriptors.Eric Blake2009-08-182-1/+7
| | | | | | | * doc/m4.texinfo (Command line files): Enhance test from 2009-07-20 to actually test the bug being fixed. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update copyright year.Eric Blake2009-08-1721-25/+52
| | | | | | | | | | | | | | | | | | | | | | | | | * AUTHORS: Run UPDATE_COPYRIGHT_FORCE=1 make update-copyright. * BACKLOG: Likewise. * Makefile.am: Likewise. * TODO: Likewise. * acinclude.m4: Likewise. * c-boxes.el: Likewise. * cfg.mk: Likewise. * checks/Makefile.in: Likewise. * checks/check-them: Likewise. * checks/stackovf.test: Likewise. * doc/Makefile.am: Likewise. * examples/Makefile.am: Likewise. * src/Makefile.am: Likewise. * src/debug.c: Likewise. * src/eval.c: Likewise. * src/freeze.c: Likewise. * src/m4.h: Likewise. * src/macro.c: Likewise. * src/path.c: Likewise. * src/symtab.c: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Prepare to bulk update copyright year.Eric Blake2009-08-178-2/+51
| | | | | | | | | | | | | | | * gnulib: Update. * m4/gnulib-cache.m4: Import update-copyright and vc-list-files modules. * maint.mk: Fix copyright. (build_aux, VC_LIST, VC_LIST_EXCEPT, update-copyright): New macros and rules borrowed from gnulib. * cfg.mk (update-copyright-env): Enforce longhand behavior. * .cvsignore: Reflect these changes. * .gitignore: Likewise. * .x-update-copyright: New file. Signed-off-by: Eric Blake <ebb9@byu.net>
* Explicitly request GNU getopt extensions.Eric Blake2009-08-143-2/+8
| | | | | | | * gnulib: Update. * m4/gnulib-cache.m4: Use getopt-gnu, not obsolete getopt module. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix testsuite on Solaris.Eric Blake2009-07-213-1/+18
| | | | | | | | * doc/m4.texinfo (Command line files): Tolerate different spelling of EBADF. * src/builtin.c (m4_esyscmd): Clear errno before reaping. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix testsuite on mingw.Eric Blake2009-07-212-0/+5
| | | | | | * gnulib: Update. Signed-off-by: Eric Blake <ebb9@byu.net>
* Pick up gnulib fixes for sub-process execution.Eric Blake2009-07-204-1/+13
| | | | | | | | | * gnulib: Update. * doc/m4.texinfo (Command line files): Add test; regression introduced 2009-03-05. * NEWS: Document the change. Signed-off-by: Eric Blake <ebb9@byu.net>
* Avoid cygwin 1.7 crash with closed stdout.Eric Blake2009-07-204-0/+22
| | | | | | | | | * gnulib: Update. * doc/m4.texinfo (Command line files): Add test; regression introduced 2008-07-17. * NEWS: Document the change. Signed-off-by: Eric Blake <ebb9@byu.net>
* A status of 127 does not always imply esyscmd failure.Eric Blake2009-07-204-4/+20
| | | | | | | | | * src/builtin.c (m4_esyscmd): Silence gnulib message; regression introduced 2009-03-05. * doc/m4.texinfo (Sysval): Test this. * NEWS: Document the change. Signed-off-by: Eric Blake <ebb9@byu.net>
* Remove redundant ChangeLog entry.Eric Blake2009-07-031-8/+0
| | | | Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix description of limits on diversions.Eric Blake2009-06-253-5/+13
| | | | | | | | | * doc/m4.texinfo (Diversions): Fix grammar. Be less pessimistic about limitations. * THANKS: Update. Reported by Elias Benali. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update to latest gnulib.Eric Blake2009-06-173-0/+8
| | | | | | | | * gnulib: Import fixes for Interix compilation. * THANKS: Update. Reported by Jay Krell. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update to latest gnulib.Eric Blake2009-05-223-0/+8
| | | | | | | | * gnulib: Import fixes for AIX compilation. * THANKS: Update. Reported by Jens Rehsack. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix GFDL usage.Eric Blake2009-04-132-1/+8
| | | | | | | | * doc/m4.texinfo (copying): Complete transition to GFDL 1.3, started 2008-12-12. Reported by Santiago Vila. Signed-off-by: Eric Blake <ebb9@byu.net>
* Release Version 1.4.13.v1.4.13Eric Blake2009-04-012-1/+6
| | | | | | * NEWS: Mention the release. Signed-off-by: Eric Blake <ebb9@byu.net>
* Tweak submodule instructions.Eric Blake2009-03-313-2/+8
| | | | | | | * HACKING: Improve directions. * gnulib: Update to latest version. Signed-off-by: Eric Blake <ebb9@byu.net>
* Don't force file overwrites during bootstrap.Eric Blake2009-03-232-3/+6
| | | | | | * bootstrap: Ensure that rerunning bootstrap doesn't alter tree. Signed-off-by: Eric Blake <ebb9@byu.net>
* Drop dist-lzma, now that xz replaces lzma.Eric Blake2009-03-233-1/+9
| | | | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Drop dist-lzma. Until a stable automake release includes dist-xz, the release process will just manually create a .xz tarball. * gnulib: Update to latest gnulib. Signed-off-by: Eric Blake <ebb9@byu.net>