ed/ed.changes

405 lines
17 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Sun Jan 21 07:46:14 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 1.20:
* New command-line options for jumping to a line number or match
* Improved handling of file names containing control characters
* Tweak workflow for fewer 'buffer modified' warnings
* Tilde expansion is now performed on file names
* Warn on modifying a buffer from a read-only file
* Create missing intermediate directories when writing to a file
* Documentation updates
- drop obsolete makeinfo marcos
-------------------------------------------------------------------
Mon Jan 16 22:16:48 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 1.19:
* Reading a non-existent file with commands 'e' or 'E' did set the
'modified' flag, which prevented a following 'e' command from
succeeding
* The long name of option '-s' has been changed to '--script'.
Option '-s' now only suppresses byte counts and the '!' prompt
as mandated by POSIX. It no longer suppresses diagnostic
messages written to stderr.
* The short name '-q' has been assigned to options '--quiet' and
'--silent'. Option '-q' now only suppresses diagnostic messages
written to stderr.
* The help message showing the line where a script error happened
when ed's input is from a regular file is now printed to stdout
instead of stderr because it is enabled by the 'H' command.
* Ed no longer processes file names for backslash escapes.
* It has been documented in the manual that address 0 is valid as
a starting point for searches so that '0;/RE/' can match the
regular expression RE in the first line of the buffer.
* It has been documented in the manual how to achieve the effect
of ex style '!' filtering with a sequence of commands.
Accepting request 963368 from home:dirkmueller:Factory - update to 1.18: * The shell escape command (!) now flushes stdout so that the modified command is always printed before being executed even if standard output is fully buffered (for example, a file). * A couple of harmless memory leaks have been fixed. (They both happened just before ed exits). * The pointer returned by the function 'strip_escapes' is now checked. (It may be null if memory is exhausted). * The shell escape command (!) now removes the backslash from each escaped '%' character within the text of the shell command line. * Case-insensitive regular expressions have been implemented as in GNU sed. * Syntax errors in regular expressions, for example unmatched ( or \(, no longer overwrite a previously compiled regular expression, preventing a "No previous pattern" error. * The option '--strip-trailing-cr', which removes carriage returns at end of text lines, has been added. * Loading a file now fails if a line is longer than INT_MAX bytes or if the file contains more than INT_MAX lines (usually 2 Gi lines). (Instead of overflowing line addresses). * In interactive mode ed now sets final exit status to 1 if a fatal error happens while reading the file passed in the command line. * red now reports "Directory access restricted" instead of "Invalid filename" when trying to edit a file outside of the current directory. * The new chapter "The 's' Command" has been added to the manual. - switch to zstd - remove usrmerged handling OBS-URL: https://build.opensuse.org/request/show/963368 OBS-URL: https://build.opensuse.org/package/show/utilities/ed?expand=0&rev=39
2022-03-21 08:08:30 +01:00
-------------------------------------------------------------------
Sun Mar 20 21:35:29 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.18:
* The shell escape command (!) now flushes stdout so that the modified command
is always printed before being executed even if standard output is fully
buffered (for example, a file).
* A couple of harmless memory leaks have been fixed. (They both happened just
before ed exits).
* The pointer returned by the function 'strip_escapes' is now checked. (It may
be null if memory is exhausted).
* The shell escape command (!) now removes the backslash from each escaped '%'
character within the text of the shell command line.
* Case-insensitive regular expressions have been implemented as in GNU sed.
* Syntax errors in regular expressions, for example unmatched ( or \(, no
longer overwrite a previously compiled regular expression, preventing a
"No previous pattern" error.
* The option '--strip-trailing-cr', which removes carriage returns at end of
text lines, has been added.
* Loading a file now fails if a line is longer than INT_MAX bytes or if the
file contains more than INT_MAX lines (usually 2 Gi lines). (Instead of
overflowing line addresses).
* In interactive mode ed now sets final exit status to 1 if a fatal error
happens while reading the file passed in the command line.
* red now reports "Directory access restricted" instead of "Invalid filename"
when trying to edit a file outside of the current directory.
* The new chapter "The 's' Command" has been added to the manual.
- switch to zstd
- remove usrmerged handling
-------------------------------------------------------------------
Mon Jan 25 10:34:49 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
- Update to 1.17
* The commands 'q' and 'Q' now work in a global command.
* The new option '-E, --extended-regexp' has been added. It tells
ed to use extended regular expressions instead of the basic
regular expressions mandated by POSIX
* Print the file name in case of read or write error
-------------------------------------------------------------------
Fri Oct 16 09:46:50 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Tue Mar 3 10:22:48 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Update to 1.16
* regex.c (line_replace): Accept 's/^/#/g' as valid.
(Reported by Bjoern Wibben).
* main_loop.c: Removed length limit of prompt string.
(Reported by Tim Chase).
* main.c: Set a valid invocation_name even if argc == 0.
* ed.texi: Extended operators depend on regex implementation.
(Reported by Brian Zwahr).
* ed.texi: Several fixes and improvements.
-------------------------------------------------------------------
Thu Jan 10 08:54:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Switch back to hand provided tarball in order to avoid pulling
lzip to the Ring0
-------------------------------------------------------------------
Mon Jan 7 08:49:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Use upstream released tarball
-------------------------------------------------------------------
Fri Jan 4 13:30:10 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Avoid repetition of package name in summary.
-------------------------------------------------------------------
Thu Jan 03 16:39:11 UTC 2019 - sean@suspend.net
- Update to version 1.15:
* io.c (print_line): Make '1' command print '\\' before every
'$' within the text.
* main_loop.c (extract_addresses): Fixed address ',,' to mean
'$,$' instead of '1,$'.
* regex.c (extract_replacement): Allow newlines even if global.
* main_loop.c (exec_command): Make 'c' command reject address 0.
* ed.texi: Minor fixes.
* configure: Accept appending to CFLAGS, 'CFLAGS+=OPTIONS'.
* Switch archive format to tar.
-------------------------------------------------------------------
Sat Feb 25 07:42:57 UTC 2017 - mpluskal@suse.com
- Update to version 1.14.2:
* main.c (show_strerror) Revert to using '!scripted' instead of
'verbose' to suppress diagnostics.
* Print counts, messages, '?' and '!' to stdout instead of stderr.
* buffer.c (append_lines): Fixed current address after empty 'i'.
* regex.c (set_subst_regex): Treat missing delimiters consistently.
(extract_replacement): Don't replace 'a' with '%' in 's/a/%'.
Fixed infinite loop with EOF in the middle of a replacement.
Don't accept newlines in replacement in a global command.
Last delimiter can't be omitted if not last in command list.
(search_and_replace): Set current address to last line modified.
* main_loop.c (extract_addresses): Fixed address offsets;
'3 ---- 2' was calculated as -2 instead of 1.
Accept ranges with the first address omitted.
(exec_command): Fixed current address after empty replacement
text in 'c' command.
Don't clear the modified status after writing the buffer to a
shell command. (Reported by Jérôme Frgacic).
(get_command_suffix): Don't allow repeated print suffixes.
(command_s): Accept suffixes in any order.
Don't allow multiple count suffixes.
'sp' now toggles all print suffixes.
(main_loop): Make EOF on stdin behave as a 'q' command.
* ed.texi: Fixed the description of commands 'acegijkmqrsuw'.
Documented that ed allows any combination of print suffixes.
* testsuite: Improved most tests. Simplified bug reporting.
* configure: Avoid warning on some shells when testing for gcc.
* Makefile.in: Detect the existence of install-info.
-------------------------------------------------------------------
Sat Jan 7 13:35:45 UTC 2017 - mpluskal@suse.com
- Update to version 1.14:
* Print counts, messages, '?' and '!' to stdout instead of stderr.
* buffer.c (append_lines): Fixed current address after empty 'i'.
* regex.c (set_subst_regex): Treat missing delimiters consistently.
* (extract_replacement): Don't replace 'a' with '%' in 's/a/%'.
* Fixed infinite loop with EOF in the middle of a replacement.
* Don't accept newlines in replacement in a global command.
* Last delimiter can't be omitted if not last in command list.
* (search_and_replace): Set current address to last line modified.
* main_loop.c (extract_addresses): Fixed address offsets;
* '3 ---- 2' was calculated as -2 instead of 1.
* Accept ranges with the first address omitted.
* (exec_command): Fixed current address after empty replacement
text in 'c' command.
* Don't clear the modified status after writing the buffer to a
shell command. (Reported by Jérôme Frgacic).
* (get_command_suffix): Don't allow repeated print suffixes.
* (command_s): Accept suffixes in any order.
* Don't allow multiple count suffixes.
* 'sp' now toggles all print suffixes.
* (main_loop): Make EOF on stdin behave as a 'q' command.
* ed.texi: Fixed the description of commands 'acegijkmqrsuw'.
* Documented that ed allows any combination of print suffixes.
* testsuite: Improved most tests. Simplified bug reporting.
* configure: Avoid warning on some shells when testing for gcc.
* Makefile.in: Detect the existence of install-info.
-------------------------------------------------------------------
Fri Feb 12 17:51:01 UTC 2016 - mpluskal@suse.com
- Update to 1.13
* buffer.c (put_sbuf_line): Fixed a memory leak.
* io.c (read_file, write_file): Close file on error.
-------------------------------------------------------------------
Sat Jul 11 09:49:02 UTC 2015 - mpluskal@suse.com
- Update to 1.12
* ed.texi: Removed extra spaces from some commands.
-------------------------------------------------------------------
Fri Apr 3 06:33:35 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Update to 1.11
* main_loop.c (exec_command): Fixed 'z' command.
(zN printed N + 1 lines).
* ed.texi: Documented the window size used by the 'z' command.
* Makefile.in: Added new targets 'install*-compress'.
* Restored original copyright notices in the code. I assigned to
the FSF the copyright on changes made to the part of ed already
copyrighted by the FSF, which seems to be just the manual.
-------------------------------------------------------------------
Fri Feb 21 08:47:45 UTC 2014 - mvyskocil@suse.com
- update to 1.10
+ "ed.texinfo" has been renamed to "ed.texi" following the advice
of recent Automake about obsolete categories
- repackage tarball to xz as lzip is unlike ed not a part of bootstrap
- drop xz and keyring, they are pointless with changed tarball
-------------------------------------------------------------------
Tue Jul 16 11:18:54 UTC 2013 - mvyskocil@suse.com
- update to 1.9
+ Testsuite no more feeds shell scripts to ed.
+ "configure" now accepts options with a separate argument.
-------------------------------------------------------------------
Mon Jun 17 12:44:22 UTC 2013 - coolo@suse.com
- revert the use gpg-offline for bootstrap packages
-------------------------------------------------------------------
Fri Apr 26 08:28:40 UTC 2013 - mvyskocil@suse.com
- update to 1.8
+ Ed now stops reading stdin when reaching real End Of File the first
time. (Before it needed to reach EOF twice).
+ Show the "Try 'ed --help' for more information." message if a bad
option is given in the command line.
+ Quote characters in messages have been changed as advised by GNU
Coding Standards.
+ The description of address offsets in the manual and a link to the
Bash manual have been fixed.
+ Displaying of null characters by the "l" command has been fixed.
+ The condition deciding when to show the message "Newline appended" has
been corrected.
+ The "modified" flag is now set when reading a non-empty file into
an empty buffer.
+ An error that prevented using NUL characters in regular expressions
has been fixed.
+ Ed now signals an error if it can't create a shell process when
executing a shell command.
+ Ed now flushes stdout/stderr before reading a new command.
+ Man page is now generated with "help2man". All command-line options
are now documented in the man page.
- use gpg-offline to verify the package tarball
- adapt the Summary and Description according current README
-------------------------------------------------------------------
Tue Mar 26 08:23:07 UTC 2013 - mmeister@suse.com
- Added url as source.
Please see http://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Tue Oct 23 14:00:30 UTC 2012 - cfarrell@suse.com
- license update: GPL-3.0+ and LGPL-2.1+
Semicolon is ambiguous
-------------------------------------------------------------------
Fri Feb 3 15:02:12 UTC 2012 - rschweikert@suse.com
- switch license to spdx format
- keep executable in /usr (UsrMerge project)
-------------------------------------------------------------------
Mon Jan 2 15:16:42 UTC 2012 - dlovasko@suse.com
- Update to 1.6 (bugfix release)
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant/obsolete tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Sun Sep 19 10:31:09 CEST 2010 - vuntz@opensuse.org
- Update to version 1.5:
+ The "a", "c" and "i" commands have been fixed. (When used in a
global command list, the commands following them in the list
were ignored).
+ The "e" command has been fixed. (It quitted when invoked a
second time with a modified buffer).
+ The new option "--restricted" has been added.
+ "red" has been converted to a script invoking "ed
--restricted".
+ Description of ed in the manual has been changed.
+ Obsolete posix tests have been removed from testsuite.
- Remove AutoReqProv: it's default now.
-------------------------------------------------------------------
Mon Nov 30 12:56:22 UTC 2009 - mvyskocil@suse.cz
- updated to latest upstream version 1.4 - major rewrite and bugfixes (see
Changelog for details)
- obsoleted all patches
-------------------------------------------------------------------
Fri Oct 20 13:06:16 CEST 2006 - lrupp@suse.de
- revert to 0.2: new version is broken (#212749)
-------------------------------------------------------------------
Mon Oct 9 22:30:42 CEST 2006 - agruen@suse.de
- dash-option.diff: Fix `ed - filename' invocation.
-------------------------------------------------------------------
Mon Oct 9 17:25:42 CEST 2006 - schwab@suse.de
- Update to ed 0.3-pre2.
* The symlink vulnerability has been fixed using the "tmpfile" function.
* The manual has been updated.
* An extensive code cleanup has been done.
- Fix signal handing again.
-------------------------------------------------------------------
Wed Jan 25 21:30:09 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Oct 1 11:30:33 CEST 2004 - schwab@suse.de
- Fix signal handling
(<http://lists.gnu.org/archive/html/bug-gnu-utils/2004-09/msg00123.html>).
-------------------------------------------------------------------
Sat Sep 11 00:14:27 CEST 2004 - schwab@suse.de
- Don't use __P from glibc headers.
-------------------------------------------------------------------
Sat Jan 10 20:37:14 CET 2004 - adrian@suse.de
- add %defattr
-------------------------------------------------------------------
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
-------------------------------------------------------------------
Tue Apr 15 17:01:02 CEST 2003 - coolo@suse.de
- use BuildRoot
-------------------------------------------------------------------
Mon Mar 3 15:32:09 CET 2003 - ro@suse.de
- fixed typo in dir entry
-------------------------------------------------------------------
Mon Mar 3 12:37:44 CET 2003 - ro@suse.de
- added info dir entry
-------------------------------------------------------------------
Fri Feb 7 02:22:57 CET 2003 - ro@suse.de
- use install_info macros
-------------------------------------------------------------------
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Tue Dec 19 12:34:24 CET 2000 - werner@suse.de
- Close temporary file security hole
-------------------------------------------------------------------
Fri Feb 25 15:10:51 CET 2000 - kukuk@suse.de
- Use RPM_OPT_FLAGS
- Move /usr/{info,man} -> /usr/share/{info,man}
-------------------------------------------------------------------
Sat Nov 6 13:40:42 CET 1999 - bs@suse.de
- moved binary to /bin/ed and provide symlink /usr/bin/ed
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.