Commit Graph
39 Commits
Author SHA1 Message Date
Jim Meyering 113e401ea4 switch to external gettext
2008-10-03  Paolo Bonzini  <bonzini@gnu.org>
	    Jim Meyering  <meyering@redhat.com>

	* Makefile.am: Remove intl subdir.  Require Automake 1.10.
	* configure.ac: Remove useless macros, switch to external gettext.
	* lib/Makefile.am: Remove intl subdir from CPPFLAGS.
	* sed/Makefile.am: Remove intl subdir from CPPFLAGS.
2008-10-03 10:34:17 +02:00
Paolo Bonzini a9afc06ca2 sync autoboot with gnulib's build-aux/bootstrap
2008-09-29  Paolo Bonzini  <bonzini@gnu.org>

	* autoboot: Sync with gnulib's build-aux/bootstrap.
2008-10-03 10:26:49 +02:00
Paolo Bonzini d9031cf783 update gnulib
2008-09-29  Paolo Bonzini  <bonzini@gnu.org>

	* autoboot.conf: Add vasnprintf.
	* basicdefs.h: Replace alloca cruft with alloca.h.
	* bootstrap.sh.in: Update for new gnulib.
	* bootstrap.sh: Update for new gnulib.
	* configure.ac: Move gnulib macros earlier.
	* sed/execute.c: Do not include acl.h when bootstrapping.
2008-09-29 10:53:40 +02:00
Paolo Bonzini 42ee512d47 add `z' extension
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-09-29 10:30:29 +02:00
Paolo Bonzini 1e9ea64481 close input files if not in -i mode!
2008-08-27  Paolo Bonzini  <bonzini@gnu.org>

	* sed/execute.c (closedown): Close the input file!
2008-08-27 14:05:02 +02:00
Paolo Bonzini c391287a32 add gl_DISABLE_THREADS to configure.ac
2008-08-20  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac: Add gl_DISABLE_THREADS.
2008-08-21 09:32:09 +02:00
Ralf Wildenhues 87a14c0518 drop leading whitespace from the info documentation
2008-08-20  Ralf Wildenhues  <ralf.wildenhues@gmx.de

	* doc/sed-in.texi: Drop leading whitespace where appropriate,
	do not use TABs.
	* doc/sed.texi: Regnerate.
2008-08-21 09:32:08 +02:00
Paolo Bonzini f5d0816872 gnulib removed strverscmp.c
2008-08-19  Paolo Bonzini  <bonzini@gnu.org>

	* sed/compile.c: Do not include strverscmp.c.
2008-08-20 10:09:35 +02:00
Paolo Bonzini 2121a3b414 remove northpark.edu address for sed FAQ
2008-07-21  Paolo Bonzini  <bonzini@gnu.org>

	* doc/sed-in.texi: Remove northpark.edu address for sed FAQ.
	* doc/sed.texi: Regenerate.
2008-07-21 19:25:59 +02:00
Paolo Bonzini 23933b640d clarify description of ^ and $ in the manual
2008-07-10  Paolo Bonzini  <bonzini@gnu.org>

        * doc/sed-in.texi: Make the description of ^ and $ more precise.
        * doc/sed.texi: Regenerate.
2008-07-11 14:12:53 +02:00
Paolo Bonzini f3f4680e98 update for newer gnulib
2008-05-15  Paolo Bonzini  <bonzini@gnu.org>

	* autoboot.conf: Update for newer gnulib.
2008-05-15 10:22:45 +02:00
Paolo Bonzini 42f9191aa0 update bootstrap.sh
2008-05-15  Paolo Bonzini  <bonzini@gnu.org>

	* bootstrap.sh.in: Define bool, true, false.  Reported by
	Jason Stover.  Adjust for gnulib changes.
	* bootstrap.sh: Regenerate.
2008-05-14 21:35:12 +02:00
Paul Eggert 1215d0e830 treat 's&foo&\&&' compatibly with traditional 'sed'
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.
2008-04-24 16:24:12 +02:00
Paolo Bonzini e332c757f7 fix bug with \& in POSIX mode, reported by Samuel Colin
2008-04-24  Paolo Bonzini  <bonzini@gnu.org>

	* sed/compile.c (setup_replacement): Fix bug with \& in POSIX mode.
2008-04-24 16:24:09 +02:00
Paolo Bonzini 4fb5d4a879 Parenthesize assignment used as "for-loop" expression.
2008-01-16  Jim Meyering  <meyering@redhat.com>

	* sed/execute.c (open_next_file, get_backup_file_name): Avoid
	warnings from gcc.
2008-01-16 15:41:50 +01:00
Jim Meyering 1e9d9bff8b sed/compile.c: Avoid uninitialized variable usage in snarf_char_class
2008-01-16  Jim Meyering  <meyering@redhat.com>

	* sed/compile.c (snarf_char_class): Reverse order of conjuncts
	so that "delim" is not used uninitialized.
2008-01-16 15:03:42 +01:00
Jim Meyering 1c474855c0 sed/utils.c: Remove declaration of unused local, "fd".
2008-01-16  Jim Meyering  <meyering@redhat.com>

	* sed/utils.c (panic): Remove declaration of unused local, "fd".
2008-01-16 15:03:41 +01:00
Jim Meyering de919f15a1 sed/execute.c: Avoid warnings from gcc, avoid shadowing global "pipe".
2008-01-16  Jim Meyering  <meyering@redhat.com>

	* sed/execute.c (open_next_file, get_backup_file_name): Avoid
	warnings from gcc.  Avoid shadowing global "pipe".
2008-01-16 15:03:40 +01:00
Paolo Bonzini 1b63ebc638 autoboot.conf (gnulib_modules): Add stat-macros and pathmax. 2008-01-16 15:03:13 +01:00
Paolo Bonzini 6cbea7cb7b merge from GNU sed up to patch-97
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-94
   switch to GPLv3

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-95
   document what's a GNU extension in sed(1)

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-96
   fix cross-device links with --follow-symlinks

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-97
   document q/Q in sed man page, improve html doc generation

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-40
2008-01-09 16:18:57 +01:00
Paolo Bonzini 78d70edda0 merge from GNU sed
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-91
   bump version to 4.1c and fix some warnings

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-92
   fix '/foo/i\'

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-39
2008-01-09 16:18:56 +01:00
Paolo Bonzini 3d4a48e9ee portability fixes from Bruno Haible
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-90
   portability fixes from Bruno Haible

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-38
2008-01-09 16:18:56 +01:00
Paolo Bonzini 63e9827c79 include string.h where necessary
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-89
   include string.h where necessary

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-37
2008-01-09 16:18:55 +01:00
Paolo Bonzini 4fabe6e89a remove a line which is dead code
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-88
   remove a line which is dead code

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-36
2008-01-09 16:18:54 +01:00
Paolo Bonzini b8d58d678d merge from CVS sed
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-83
   don't download bad translations

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-84
   --posix disables all extensions to regular expressions

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-85
   bump version number to 4.1b

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-86
   document --follow-symlinks

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-87
   fixes from Ralf Wildenhues

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-35
2008-01-09 16:18:53 +01:00
Paolo Bonzini 561f677dda gnulibification and other sed merges
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-69
   don't rely on malloc(0) != NULL

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-71
   treat cygwin CR/LF correctly (and by design, not by chance)

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-72
   fix cygwin binary mounts

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-73
   accept NUL for `.'

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-74
   gnulibify and add ACL support

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-75
   more gnulib fixes, ensure regex tests use gnulib regex

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-76
   gnulibify part 2, use gnulib-tool in autoboot and remove PO files from repo

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-77
   always set LINGUAS, even if --skip-po

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-31
2008-01-09 16:18:50 +01:00
Paolo Bonzini ae382af78e merge from GNU sed
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-67
   do not mention Estonian locale in BUGS

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-70
   hack to speed up UTF-8 processing

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-30
2008-01-09 16:14:05 +01:00
Paolo Bonzini 202623b7d6 fix bootstrap process
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-68
   robustify bootstrap process, ensure distribution of updated boostrap.sh

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-29
2008-01-09 16:14:05 +01:00
Paolo Bonzini 56a8cfb3cf merge from GNU sed
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-64
   fix for freebsd sed

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-65
   document that sed -i breaks links

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-66
   Fix compilation on non-GCC compilers, update po files

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-28
2008-01-09 16:14:05 +01:00
Paolo Bonzini 100396401f fix y/[/X/ and add more testcases for the y command
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-62
   fix y/[/X/ and add more testcases for the y command

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-27
2008-01-09 16:14:04 +01:00
Paolo Bonzini bb3c41042c sync with sed--stable--4.1
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-45
   do not add a default command-line in in-place editing mode

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-47
   fix handling of [^]xyz]

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-48
   add cache variable for -lcP test

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-49
   update FSF address

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-50
   more updates to the FSF address

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-51
   merge regex with glibc and adjust doc/.arch-inventory

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-52
   fix 0~2, signaled by Guglielmo Bondioni

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-53
   provide a better name for the man page

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-55
   remove RCS markers

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-56
   fix typo in docs/Makefile.am

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-57
   add LANG_SORBIAN and other mingw fixes

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-58
   fix sed faq address

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-24
2008-01-09 16:14:03 +01:00
Paolo Bonzini faaf9ad2cd sync with sed--stable--4.1
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.

2005-02-10  Paolo Bonzini  <bonzini@gnu.org>

	* sed/regexp.c: Fix off-by-one error in the "invalid reference
	to subexpression" message.  Debian bug 294339.

Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-42
   fix debian bug 294339

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-43
   fix crash on /\(\)/x

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-44
   fix a/r/R commands when q is encountered

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-19
2008-01-09 16:14:01 +01:00
Paolo Bonzini bfb9f502b4 merge with sed--stable--4.1
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-39
   make --enable-html enable building .html files, not just installing

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-40
   add Ulrich Drepper to the THANKS file

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-41
   include config.h from within obstack.h

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-17
2008-01-09 16:14:00 +01:00
Paolo Bonzini 35ae01e7b3 sync with sed 4.1.4
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-35
   prepare for 4.1.4 release

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-37
   finishing touches :-) for 4.1.4

Other patch logs that were added are for regex matcher patches, that do
not apply to ssed:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-24
   fix off by one error in check_dst_limits_calc_pos_1

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-25
   simplify handling of subexpressions

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-26
   do not make single-byte searches go through slow MBCS paths

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-27
   Fix bugs in the accept_mb optimization.

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-28
   speed up parentheses

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-29
   separate parsing and creation of the NFA.  Avoid recursion on the parse tree.

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-30
   speed up transit_state_mb

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-34
   compute inveclosure only if actually needed.

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-36
   fix meaning of \B

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-38
   finally resync with glibc

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-16
2008-01-09 16:14:00 +01:00
Paolo Bonzini a3f130089b do not use leftmost-longest matching for addresses.
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-33
   do not use leftmost-longest matching for addresses.

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-15
2008-01-09 16:13:59 +01:00
Paolo Bonzini 91cadc0e8c include GNU sed documentation about localization issues
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-31
   warn against localization issues

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-13
2008-01-09 16:13:52 +01:00
Paolo Bonzini 9b89f6a333 fix \l and \u in a multi-byte configuration
2004-11-15  Paolo Bonzini  <bonzini@gnu.org>

	* sed/execute.c (str_append_modified): Copy the first character
	when using \l or \u in a multi-byte configuration.  Use
	WCRTOMB instead of wcrtomb.
	* sed/sed.h (WCRTOMB): New.

Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-19
   fix \l and \u in a multi-byte configuration

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-11
2008-01-09 16:13:52 +01:00
Paolo Bonzini a1286e5f6e fix more gettext 0.14 fallout
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-18
   more portability improvements

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-10
2008-01-09 16:13:51 +01:00
Paolo Bonzini 9c9919efe2 initial import
(automatically generated log message)

git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--base-0
2004-10-20 21:42:31 +00:00