| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* testsuite/Makefile.am (EXTRA_DIST): Add y-zero.*,
not y-NUL.* here.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
2012-12-21 Paolo Bonzini <bonzini@gnu.org>
* gnulib: Update.
* testsuite/version.gin: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
| |
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 == '&'.
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* testsuite/version.gin: Regenerate.
|
|
|
|
|
|
| |
2009-10-14 Yuri G. Kudryashov <urkud.urkud@gmail.com> (tiny change)
* testsuite/Makefile.tests: Override LC_ALL, not LANG.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-05-11 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (snarf_char_class): Fix logic bug with [[[ in regular
expressions (and a possibly uninitialized use of variable delim stemming
from the bug). Uninitialized variable bug reported by Zhongxing Xu.
* testsuite/brackets.good: New.
* testsuite/brackets.inp: New.
* testsuite/brackets.sed: New.
* testsuite/Makefile.am: Add test.
* testsuite/Makefile.tests: Add test.
2009-05-11 Paolo Bonzini <bonzini@gnu.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-05-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Define COPYRIGHT_YEAR.
* Makefile.am (dist-hook): Test it.
* sed/mbcs.c: Fix copyright years.
* sed/sed.c: Fix copyright years. Change COPYRIGHT_NOTICE to
COPYRIGHT_YEAR.
* sed/utils.c: Fix copyright years.
* testsuite/version.gin: Use COPYRIGHT_YEAR.
|
|
|
|
|
|
|
|
| |
2009-04-27 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Do not create homonymous links from builddir to srcdir.
* testsuite/Makefile.tests: Create readin.in2 here.
* testsuite/Makefile.am: Do not distribute it.
|
|
|
|
|
|
| |
2009-04-27 Paolo Bonzini <bonzini@gnu.org>
* testsuite/Makefile.tests: Handle CRLF endings for mingw.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-04-27 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Link readin.in2 into builddir.
* configure: Regenerate.
* doc/Makefile.am: Do not distribute sed.html. Do not update
sed.texi if the output does not change.
* sed/Makefile.am: Order libraries according to their dependencies.
* sed/compile.c (get_openfile): Declare FAIL as int.
* sed/sed.c: Avoid printf ("") if REG_PERL is not defined.
* testsuite/eval.in2: Do not include in the repository.
* testsuite/Makefile.am: Clean always eval.in2 and never readin.in2.
* testsuite/Makefile.tests: Provide a default empty definition of TIME
and remove rules for readin.in2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-31 Paolo Bonzini <bonzini@gnu.org>
* sed/sed.c (contact): New.
(usage): From here.
(main): Use it for `sed --version' too.
* configure.ac: Point to GNU project mailing lists.
* sed/sed.c (contact): Use PACKAGE_BUGREPORT.
* testsuite/version.gin: Likewise.
* testsuite/version.good: Regenerate.
* doc/sed.1: Regenerate.
* bootstrap.sh.in (PACKAGE_BUGREPORT): New.
* bootstrap.sh: Regenerate.
|
|
|
|
|
|
| |
2009-03-31 Paolo Bonzini <bonzini@gnu.org>
* testsuite/Makefile.am: Distribute utf8-3 and utf8-4 test files.
|
|
|
|
|
|
|
| |
2009-02-17 Paolo Bonzini <bonzini@gnu.org>
* testsuite/Makefile.tests: Rewrite rule for utf8-[1234].
Reported by Ralf Wildenhues.
|
|
|
|
|
|
|
| |
2009-02-17 Paolo Bonzini <bonzini@gnu.org>
* sed/sed.c (usage): Print homepage URL.
* testsuite/version.gin: Update.
|
|
|
|
|
|
|
|
|
| |
2009-01-28 Paolo Bonzini <bonzini@gnu.org>
* sed/sed.c (usage): Only print the bug report address for `sed --help'.
(main): Print it for `sed --version' too.
* testsuite/version.gin: Adapt.
* testsuite/Makefile.tests: Refine help message test.
|
|
|
|
|
|
| |
2009-01-09 Paolo Bonzini <bonzini@gnu.org>
* tests/SPENCER.tests: Add testcases for glibc bugzilla 697.
|
|
|
|
|
|
|
| |
2009-01-05 Paolo Bonzini <bonzini@gnu.org>
* execute.c (read_pattern_space): Reset hold space at end-of-file
if input->reset_at_next_file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-29 Paolo Bonzini <bonzini@gnu.org>
* testsuite/Makefile.am: Add the utf8-{1,2,3,4} tests.
* testsuite/Makefile.tests: Add the utf8-{1,2,3,4} tests.
* testsuite/runtest: Support skipping tests.
* testsuite/utf8-1.good: New.
* testsuite/utf8-1.inp: New.
* testsuite/utf8-1.sed: New.
* testsuite/utf8-2.good: New.
* testsuite/utf8-2.inp: New.
* testsuite/utf8-2.sed: New.
* testsuite/utf8-3.good: New.
* testsuite/utf8-3.inp: New.
* testsuite/utf8-3.sed: New.
* testsuite/utf8-4.good: New.
* testsuite/utf8-4.inp: New.
* testsuite/utf8-4.sed: New.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-29 Paolo Bonzini <bonzini@gnu.org>
* BUGS: Document s/.*.// behavior with invalid multibyte sequences.
* NEWS: Document `z' extension.
* doc/sed-in.texi: Document both things.
* sed/compile.c (compile_program): Recognize `z'.
* sed/execute.c (execute_program): Execute `z'.
* testsuite/Makefile.am: Add badenc test.
* testsuite/Makefile.tests: Add badenc test.
* testsuite/badenc.good: New.
* testsuite/badenc.inp: New.
* testsuite/badenc.sed: New.
|
|
|
|
|
|
|
|
|
| |
2008-04-24 Paul Eggert <eggert@twinsun.com>
* sed/compile.c (match_slash): Treat 's&foo&\&&' compatibly with
traditional 'sed'.
* testsuite/bsd.sh: Add test case for this.
* testsuite/bsd.good: Add test case output.
|
| |
|
|
|
|
| |
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-94
|
|
|
|
|
|
|
|
|
| |
2007-02-05 Paolo Bonzini <bonzini@gnu.org>
* testsuite/bug-regex27.c, testsuite/bug-regex28.c: New, from
glibc (written by Jakub Jelinek).
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-93
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-01-26 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (check_final_program): Don't set text if the
pending_text is initialized but empty.
* sed/execute.c (output_line): Don't print text if it is NULL.
* tests/Makefile.am (TESTS): Add insert.
* tests/Makefile.tests (insert): New.
* tests/insert.good, tests/insert.sed, tests/insert.inp: New
testcase from Jonas Koelker.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-92
|
|
|
|
| |
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-82
|
|
|
|
| |
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-81
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2006-09-24 Paolo Bonzini <bonzini@gnu.org>
* sed/execute.c: Support ACLs.
* lib/utils.c: Move...
* sed/utils.c: ... here, and remove xmalloc.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-74
|
|
|
|
|
|
|
|
| |
2006-02-03 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (compile_program) <case 'y'>: Pass false to match_slash.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-62
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-08-30 Paolo Bonzini <bonzini@gnu.org>
* sed/execute.c (reset_addresses): Never activate ADDR_IS_NUM_MOD
addresses.
* testsuite/modulo.good, testsuite/modulo.inp, testsuite/modulo.sed:
New.
* testsuite/Makefile.tests: Add new testcase.
* testsuite/Makefile.am: Add new testcase.
* testsuite/Makefile.in: Regenerate.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-52
|
|
|
|
| |
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-49
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-10 Paolo Bonzini <bonzini@gnu.org>
* testsuite/appquit.good, testsuite/appquit.inp,
testsuite/appquit.sed: New testcase.
* testsuite/readin.sed: Quit after the last r command.
* testsuite/readin.good: Adjust.
* sed/execute.c (execute_program): Dump the results of the
a/r/R commands just before quitting.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-44
|
|
|
|
|
|
|
|
|
|
| |
2005-02-10 Paolo Bonzini <bonzini@gnu.org>
* lib/regcomp.c (lower_subexp): Do not optimize empty
subexpressions even with REG_NOSUB.
* testsuite/SPENCER.tests: Add a previously failing testcase.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-43
|
|
|
|
| |
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-38
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-26 Paolo Bonzini <bonzini@gnu.org>
* posix/regcomp.c (peek_token): Fix ctx_type for \B.
(parse_expression): Lower token->opr.ctx_type == NOT_WORD_DELIM.
* posix/regex_internal.h (re_context_type): Add NOT_WORD_DELIM
and OUTSIDE_WORD.
* posix/PCRE.tests: Adjust \B tests to check if it matches outside
a word.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-36
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-12-26 Paolo Bonzini <bonzini@gnu.org>
Do not use leftmost-longest matching for addresses.
* NEWS: Add a note about this.
* testsuite/recall2.good, testsuite/recall2.inp,
testsuite/recall2.sed: New test.
* testsuite/Makefile.am, testsuite/Makefile.tests: Add the
recall2 test.
* sed/sed.h (struct regex): New.
(struct addr, struct subst, compile_regex, match_regex,
release_regex): Use it instead of regex_t.
* sed/compile.c (compile_program): Update for new meaning of
the third parameter of compile_regex.
* sed/execute.c (do_subst): Pass less conservative value to
the regsize parameter of match_regex.
* sed/regexp.c (compile_regex_1): New, extracted out of
compile_regex. The third parameter, needed_sub, now includes
\0 (so 10 means that \0 .. \9 are needed). Pass RE_NO_SUB
if needed_sub is zero.
(compile_regex): Accept a struct regex instead of a regex_t.
Save the regular expression's text.
(match_regex): Accept a struct regex instead of a regex_t.
Recompile the pattern if it was compiled with RE_NO_SUB.
(release_regex): Accept a struct regex instead of a regex_t.
* doc/Makefile.am: Generate sed.texi correctly when
building outside srcdir.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-11-23 Paolo Bonzini <bonzini@gnu.org>
* regcomp.c (analyze_tree): Always call calc_epsdest.
(calc_inveclosure): Use re_node_set_insert_last.
(parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)?
rather than X?X?X?X?X?.
* regex_internal.h (re_node_set_insert_last): New declaration.
* regex_internal.c (re_node_set_insert_last): New function.
* PCRE.tests: Add testcases.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-22
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-11-11 Paolo Bonzini <bonzini@gnu
* tst-rxspecer.c: Do not mix instructions and
declarations.
* basicdefs.h: Include locale.h before #defining
gettext, to avoid breakage under Solaris.
* sed/sed.c: do not include locale.h.
po:
2004-11-11 Paolo Bonzini <bonzini@gnu.org>
* Makevars: New.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-18
|
|
|
|
| |
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-11-03 Paolo Bonzini <bonzini@gnu
* bug-regex11.c: Improve portability.
* bug-regex12.c: Improve portability.
* bug-regex13.c: Improve portability.
* bug-regex14.c: Improve portability.
* bug-regex21.c: Improve portability.
* bug-regex9.c: Improve portability.
* tst-boost.c: Improve portability.
* tst-pcre.c: Improve portability.
* tst-regex.c: Improve portability.
* tst-rxspencer.c: Improve portability.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-9
|
|
(automatically generated log message)
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--base-0
|