* cfg.mk (local-checks-to-skip): Remove its exemption.
* testsuite/Makefile.am (LDADD, TESTS_ENVIRONMENT): Use $(...)
rather than obsolescent @...@ notation.
* cfg.mk (local-checks-to-skip): Remove exemptions
for immutable NEWS as well as the two config.h checks.
Also accept "sed.h", since the first thing it does is
to include <config.h>.
* sed/sed.h: Change "config.h" to <config.h>, for consistency
with other GNU tools.
* sed/utils.c: Likewise, here and for each of the following.
* testsuite/bug-regex10.c:
* testsuite/bug-regex11.c:
* testsuite/bug-regex12.c:
* testsuite/bug-regex13.c:
* testsuite/bug-regex14.c:
* testsuite/bug-regex15.c:
* testsuite/bug-regex16.c:
* testsuite/bug-regex21.c:
* testsuite/bug-regex7.c:
* testsuite/bug-regex8.c:
* testsuite/bug-regex9.c:
* testsuite/runptests.c:
* testsuite/runtests.c:
* testsuite/tst-boost.c:
* testsuite/tst-pcre.c:
* testsuite/tst-regex.c:
* testsuite/tst-regex2.c:
* testsuite/tst-rxspencer.c:
* THANKS.in: Renamed from THANKS, adjusted formatting
and added header. Also remove from this list of names those
that are now generated automatically.
* THANKS: Removed, now that it's generated.
* thanks-gen: New file.
* Makefile.am (EXTRA_DIST): Add thanks-gen
(THANKS): New rule.
* .mailmap: New file.
* configure.ac: Turn on silent rules, by default.
Use git-derived versions all the time. Required a new, signed
v4.2.2 tag, which I've pushed.
Distribute .tar.xz tarballs, not .bzip2 or .gz.
* Makefile.am (AUTOMAKE_OPTIONS): Remove.
* bootstrap.conf (gnulib_modules): Add git-version-gen.
First, run this command:
git grep -l ' $'|xargs perl -pi -e 's/[ \t]+$//'
Then some minor fix-up to make the two newly-failing tests
pass once again:
* testsuite/mac-mf.sed: Append this, s/ $//,
to eliminate trailing spaces in the actual output.
* testsuite/y-newline.good: Manually remove a trailing
space between two concatenated prompts.
* ChangeLog-2014: Renamed from ChangeLog.
* po/ChangeLog-2014: Renamed from po/ChangeLog.
* Makefile.am (EXTRA_DIST): Add the two new file names.
(dist-hook): Generate ChangeLog at tarball-creation time.
(gen-ChangeLog): New rule. Just like the one in coreutils and grep.
* bootstrap.conf (gnulib_modules): Add the modules, readme-release
and gitlog-to-changelog, and revamp to be much more like grep and
coreutils.
* lib/Makefile.am: Update.
* sed/execute.c (do_list) [case 'y']: Handle NUL bytes
in the RHS of a y/LHS/RHS/ transliteration.
* testsuite/y-zero.good: New test-related files.
* testsuite/y-zero.inp:
* testsuite/y-zero.sed:
* testsuite/Makefile.am (SEDTESTS): Add y-zero here.
* testsuite/Makefile.tests: And here.
* NEWS (Bug fixes): Describe it.
The bug was reported by table@inventati.org,
with the execute.c change mostly by Paolo Bonzini.
2014-03-26 Jose E. Marchesi <jemarch@gnu.org>
* doc/sed.texi (Regular Expressions): avoid a potential
misunderstanding in the description of the \| operator.
2013-10-16 David A. Wheeler <dwheeler@dwheeler.com>
* doc/sed-in.texi: Document "-E" option to use EREs.
GNU sed already supported "-E" as an undocumented synonym
for "-r", but "-E" is now in POSIX.
See: http://austingroupbugs.net/view.php?id=528.
* doc/sed.1: Likewise.
* doc/sed.texi: Likewise.
* doc/sed.x: Likewise.
* sed/sed.c: Likewise.
headers.
2013-10-06 Jose E. Marchesi <jemarch@gnu.org>
* basicdefs.h (PATH_MAX): Defined to some constant in case it is
not defined by system headers.
* sed/utils.c: Do not include pathmax.h anymore.
* bootstrap.conf (gnulib_modules): Do not use the gnulib module
pathmax.
2013-09-30 Jose E. Marchesi <jemarch@gnu.org>
* doc/sed.texi (Regular Expressions): Typo: implicity numbered ->
implicitly numbered.
Reported by Arthur Budco.
2013-07-12 Jose E. Marchesi <jemarch@gnu.org>
* doc/sed-in.texi (Extended regexps): Add an example on using | in
extended regular expressions. Suggested by Nils Barth.
The Automake-provided parallel testsuite harness take care of
redirection the stdout and stderr of the run test cases to a
corresponding log file, so we no longer have to worry about
avoiding to pollute the "make test" output.
* testsuite/runtest: Adjust and simplify.
Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
It is better than the older test driver. It is also the default now,
starting from Automake 1.13; so having it enabled unconditionally will
allow GNU sed to be seamlessly bootstrapped by Automake 1.13.
* configure.ac (AM_INIT_AUTOMAKE): Add 'parallel-tests' option. Also
require Automake 1.11.1, since that is the minimal version to have a
sane 'parallel-tests' support.
(AC_PREREQ): Bump requirement to 2.62, since that is the minimal
version required by Automake 1.11.1.
* testsuite/Makefile.am (TESTS_ENVIRONMENT): Remove the invocation
for the test runner "$(srcdir)/runtest"; it's correct place is ...
(LOG_COMPILER): ... here.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Without this change, trying to bootstrap GNU sed from a freshly-cloned
Git checkout aborts with an error like this:
./bootstrap: aclocal --force -I m4 ...
./bootstrap: autoconf --force ...
configure.ac:20: error: possibly undefined macro: gl_DISABLE_THREADS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
* bootstrap.conf (gnulib_modules): Add 'threadlib'.
Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2012-04-13 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (convert_number): Remove default_char argument,
expect buf to point to it. Remove maxdigits argument and compute
it on the fly.
(normalize_text): Unify calls to convert_number under the convert
label. For TEXT_REPLACEMENT add a backslash to the output if
convert_number returns ch == '&'.