Blame ChangeLog

Packit Bot a3ac83
2017-02-22  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.14.2 released.
Packit Bot a3ac83
	* main.c (show_strerror) Revert to using '!scripted' instead of
Packit Bot a3ac83
	  'verbose' to suppress diagnostics.
Packit Bot a3ac83
Packit Bot a3ac83
2017-01-10  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.14.1 released.
Packit Bot a3ac83
	* Print counts, messages, '?' and '!' to stdout instead of stderr.
Packit Bot a3ac83
	* buffer.c (append_lines): Fixed current address after empty 'i'.
Packit Bot a3ac83
	* regex.c (set_subst_regex): Treat missing delimiters consistently.
Packit Bot a3ac83
	  (extract_replacement): Don't replace 'a' with '%' in 's/a/%'.
Packit Bot a3ac83
	  Fixed infinite loop with EOF in the middle of a replacement.
Packit Bot a3ac83
	  Don't accept newlines in replacement in a global command.
Packit Bot a3ac83
	  Last delimiter can't be omitted if not last in command list.
Packit Bot a3ac83
	  (search_and_replace): Set current address to last line modified.
Packit Bot a3ac83
	* main_loop.c (extract_addresses): Fixed address offsets;
Packit Bot a3ac83
	  '3 ---- 2' was calculated as -2 instead of 1.
Packit Bot a3ac83
	  Accept ranges with the first address omitted.
Packit Bot a3ac83
	  (exec_command): Fixed current address after empty replacement
Packit Bot a3ac83
	  text in 'c' command.
Packit Bot a3ac83
	  Don't clear the modified status after writing the buffer to a
Packit Bot a3ac83
	  shell command. (Reported by Jérôme Frgacic).
Packit Bot a3ac83
	  (get_command_suffix): Don't allow repeated print suffixes.
Packit Bot a3ac83
	  (command_s): Accept suffixes in any order.
Packit Bot a3ac83
	  Don't allow multiple count suffixes.
Packit Bot a3ac83
	  'sp' now toggles all print suffixes.
Packit Bot a3ac83
	  (main_loop): Make EOF on stdin behave as a 'q' command.
Packit Bot a3ac83
	* ed.texi: Fixed the description of commands 'acegijkmqrsuw'.
Packit Bot a3ac83
	  Documented that ed allows any combination of print suffixes.
Packit Bot a3ac83
	* testsuite: Improved most tests. Simplified bug reporting.
Packit Bot a3ac83
	* configure: Avoid warning on some shells when testing for gcc.
Packit Bot a3ac83
	* Makefile.in: Detect the existence of install-info.
Packit Bot a3ac83
Packit Bot a3ac83
2016-01-24  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.13 released.
Packit Bot a3ac83
	* buffer.c (put_sbuf_line): Fixed a memory leak.
Packit Bot a3ac83
	* io.c (read_file, write_file): Close file on error.
Packit Bot a3ac83
	  (Both issues reported by Cédric Picard).
Packit Bot a3ac83
Packit Bot a3ac83
2015-07-04  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.12 released.
Packit Bot a3ac83
	* ed.texi: Removed extra spaces from some commands.
Packit Bot a3ac83
Packit Bot a3ac83
2015-03-30  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.11 released.
Packit Bot a3ac83
	* main_loop.c (exec_command): Fixed 'z' command.
Packit Bot a3ac83
	  (zN printed N + 1 lines).
Packit Bot a3ac83
	* ed.texi: Documented the window size used by the 'z' command.
Packit Bot a3ac83
	* Makefile.in: Added new targets 'install*-compress'.
Packit Bot a3ac83
	* Restored original copyright notices in the code. I assigned to
Packit Bot a3ac83
	  the FSF the copyright on changes made to the part of ed already
Packit Bot a3ac83
	  copyrighted by the FSF, which seems to be just the manual.
Packit Bot a3ac83
Packit Bot a3ac83
2014-01-22  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.10 released.
Packit Bot a3ac83
	* ed.texinfo: Renamed to ed.texi.
Packit Bot a3ac83
Packit Bot a3ac83
2013-06-18  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.9 released.
Packit Bot a3ac83
	* check.sh: Don't feed shell scripts to ed.
Packit Bot a3ac83
	* configure: Options now accept a separate argument.
Packit Bot a3ac83
Packit Bot a3ac83
2013-04-23  Antonio Diaz Diaz  <antonio@gnu.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.8 released.
Packit Bot a3ac83
	* io.c (get_tty_line): Removed "double EOF" behavior.
Packit Bot a3ac83
Packit Bot a3ac83
2012-10-09  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.7 released.
Packit Bot a3ac83
	* main.c (main): Set invocation_name before calling show_error.
Packit Bot a3ac83
	* Changed quote characters in messages as advised by GNU Standards.
Packit Bot a3ac83
	* ed.texinfo: Fixed description of address offsets.
Packit Bot a3ac83
	* ed.texinfo: Fixed a link to the Bash manual.
Packit Bot a3ac83
	* configure: 'datadir' renamed to 'datarootdir'.
Packit Bot a3ac83
	* Makefile.in: Added new target 'install-bin'.
Packit Bot a3ac83
Packit Bot a3ac83
2012-01-01  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.6 released.
Packit Bot a3ac83
	* io.c (put_tty_line): Null characters where incorrectly
Packit Bot a3ac83
	  shown by the 'l' command. (Reported by Martin Guy).
Packit Bot a3ac83
	* io.c (read_stream): Corrected the condition deciding when to
Packit Bot a3ac83
	  show the message "Newline appended".
Packit Bot a3ac83
	* main_loop.c (exec_command): The 'modified' flag is now set
Packit Bot a3ac83
	  when reading a non-empty file into an empty buffer.
Packit Bot a3ac83
	* regex.c (translit_text): Fixed typo that prevented using NUL
Packit Bot a3ac83
	  characters in regular expressions.
Packit Bot a3ac83
	* main_loop.c (exec_command): Return ERR if 'system' can't
Packit Bot a3ac83
	  create a shell process.
Packit Bot a3ac83
	* main_loop.c (main_loop): Flush stdout/stderr before reading a
Packit Bot a3ac83
	  new command.
Packit Bot a3ac83
	* buffer.c (put_sbuf_line): Added size parameter.
Packit Bot a3ac83
	* ed.1: Man page is now generated with 'help2man'.
Packit Bot a3ac83
	* ed.1: All command-line options are now documented in the man page.
Packit Bot a3ac83
	* Restored copyright notices of Andrew L. Moore. It seems Andrew
Packit Bot a3ac83
	  granted some permissions but never assigned copyright to the FSF.
Packit Bot a3ac83
Packit Bot a3ac83
2010-08-30  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.5 released.
Packit Bot a3ac83
	* buffer.c (append_lines): Fixed 'a', 'c' and 'i' commands.
Packit Bot a3ac83
	  (When used in a global command list, the commands following
Packit Bot a3ac83
	  them in the list were ignored).
Packit Bot a3ac83
	* main_loop.c (exec_command): Fixed 'e' command.
Packit Bot a3ac83
	  (It quitted when invoked a second time with a modified buffer).
Packit Bot a3ac83
	* main.c: Added new option '--restricted'.
Packit Bot a3ac83
	* 'red' has been converted to a script invoking 'ed --restricted'.
Packit Bot a3ac83
	* Description of ed in the manual has been changed.
Packit Bot a3ac83
	* testsuite: Modified some tests and removed obsolete posix tests.
Packit Bot a3ac83
	* main_loop.c: 'ibufp' variable made local to main_loop.
Packit Bot a3ac83
	* Defined type bool to make clear which functions and variables
Packit Bot a3ac83
	  are Boolean.
Packit Bot a3ac83
	* Added 'const' to all pointer declarations accepting it.
Packit Bot a3ac83
	* regex.c (replace_matching_text): Make se_max an enum.
Packit Bot a3ac83
	* signal.c: Include termios.h
Packit Bot a3ac83
	* Converted C99 style comments '//' to C89 style comments '/* */'.
Packit Bot a3ac83
	* ed.texinfo: Fixed an erratum.
Packit Bot a3ac83
	* Changed copyright holder from Andrew, Antonio to the FSF.
Packit Bot a3ac83
Packit Bot a3ac83
2009-07-10  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.4 released.
Packit Bot a3ac83
	* buffer.c, main_loop.c: Undo now restores the modified status.
Packit Bot a3ac83
	* regex.c (search_and_replace): Fixed a race condition with user
Packit Bot a3ac83
	  interrupt.
Packit Bot a3ac83
	* signal.c: Added functions resize_line_buffer and
Packit Bot a3ac83
	  resize_undo_buffer to definitively fix the aliasing warnings.
Packit Bot a3ac83
	* Some minor corrections have been made to the manual.
Packit Bot a3ac83
Packit Bot a3ac83
2009-05-24  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.3 released.
Packit Bot a3ac83
	* carg_parser.c (ap_resize_buffer): An aliasing related segfault
Packit Bot a3ac83
	  that only occurs when overoptimizing with GCC on some
Packit Bot a3ac83
	  architectures (alpha, sparc) has been (hopefully) fixed.
Packit Bot a3ac83
	* signal.c (resize_buffer): Likewise.
Packit Bot a3ac83
Packit Bot a3ac83
2009-01-31  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.2 released.
Packit Bot a3ac83
	* configure: Locale has been fixed to 'C'.
Packit Bot a3ac83
	* Makefile.in: Man page is now installed by default.
Packit Bot a3ac83
	* 'make install-info' should now work on Debian and OS X.
Packit Bot a3ac83
	* ed.texinfo: License updated to GFDL version 1.3 or later.
Packit Bot a3ac83
Packit Bot a3ac83
2008-10-14  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.1 released.
Packit Bot a3ac83
	* configure: Quote arguments stored in config.status.
Packit Bot a3ac83
Packit Bot a3ac83
2008-08-21  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 1.0 released.
Packit Bot a3ac83
	* configure: Added option '--program-prefix'.
Packit Bot a3ac83
	* signal.c (strip_escapes): Buffer overflow fixed.
Packit Bot a3ac83
	* signal.c (resize_buffer): Pointer aliasing warning fixed.
Packit Bot a3ac83
Packit Bot a3ac83
2008-02-24  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.9 released.
Packit Bot a3ac83
	* signal.c (sighup_handler): Return 0 if no error.
Packit Bot a3ac83
	* Arg_parser updated to 1.1.
Packit Bot a3ac83
Packit Bot a3ac83
2007-08-18  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.8 released.
Packit Bot a3ac83
	* check.sh: Testsuite exits unsuccesfully in case of error.
Packit Bot a3ac83
	* ed.1: Fixed some minor problems in the manual page.
Packit Bot a3ac83
	* ed.texinfo: Added 21kB of legalese (fdl.texinfo).
Packit Bot a3ac83
Packit Bot a3ac83
2007-07-18  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.7 released.
Packit Bot a3ac83
	* buffer.c (dec_addr): Now returns correct address when wrapping.
Packit Bot a3ac83
Packit Bot a3ac83
2007-06-29  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.6 released.
Packit Bot a3ac83
	* License updated to GPL version 3 or later.
Packit Bot a3ac83
	* signal.c (sigwinch_handler, set_signal):
Packit Bot a3ac83
	  Fixed two minor compatibility problems.
Packit Bot a3ac83
	* main_loop.c (main_loop):
Packit Bot a3ac83
	  Fixed an infinite loop when reading an empty script.
Packit Bot a3ac83
Packit Bot a3ac83
2007-03-09  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.5 released.
Packit Bot a3ac83
	* main_loop.c (next_addr): '%' reimplemented as it was in ed 0.2.
Packit Bot a3ac83
Packit Bot a3ac83
2007-01-15  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.4 released.
Packit Bot a3ac83
	* Fixed some minor problems in the testsuite.
Packit Bot a3ac83
Packit Bot a3ac83
2006-11-11  Antonio Diaz Diaz  <ant_diaz@teleline.es>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.3 released.
Packit Bot a3ac83
	* buffer.c (open_sbuf): Fixed symlink vulnerability using 'tmpfile'.
Packit Bot a3ac83
	* signal.c: Fixed signal handling for SIGINT.
Packit Bot a3ac83
	* main_loop.c (exec_command): Fixed 'c' and 'i' commands with
Packit Bot a3ac83
	  address 0.
Packit Bot a3ac83
	* The pause mode has been removed.
Packit Bot a3ac83
	* main.c: Added new options '--loose-exit-status' and '--verbose'.
Packit Bot a3ac83
	* carg_parser.c: New argument parser that replaces 'getopt_long'.
Packit Bot a3ac83
	* 'configure' and 'Makefile.in' have been replaced.
Packit Bot a3ac83
	* Removed recursive make for testsuite.
Packit Bot a3ac83
	* Created directory 'doc'.
Packit Bot a3ac83
	* Removed all pre ISO C89 code.
Packit Bot a3ac83
	* Removed all global variables.
Packit Bot a3ac83
	* ed.texinfo: Added the changes from Andrew and some mine.
Packit Bot a3ac83
Packit Bot a3ac83
Sun Jun 26 22:21:59 1994 Andrew Moore  <alm@worm.talke.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* GNU ed 0.2 release.
Packit Bot a3ac83
Packit Bot a3ac83
	* main.c (yank_lines): Added yank buffer.
Packit Bot a3ac83
	  A range of lines may be cut ('d') to or yanked ('y') from
Packit Bot a3ac83
	  a yank buffer.  Lines in the buffer may be put ('x')
Packit Bot a3ac83
	  after the addressed line (. by default).
Packit Bot a3ac83
Packit Bot a3ac83
	* main.c (display_lines): Page output of listed ('l') lines
Packit Bot a3ac83
	  if isatty(0).
Packit Bot a3ac83
Packit Bot a3ac83
	* main.c (main): Replaced isatty(0) with is_regular_file().
Packit Bot a3ac83
	  Errors in piped scripts, as opposed to regular scripts or
Packit Bot a3ac83
	  here documents, do not force ed to exit.
Packit Bot a3ac83
Packit Bot a3ac83
        * Capitilize error messages per the standard.
Packit Bot a3ac83
Packit Bot a3ac83
Wed Jun 22 01:06:11 1994 Andrew Moore  <alm@woops.talke.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* ed.h: Generic definition of INT_MAX <bson@ai.mit.edu>
Packit Bot a3ac83
Packit Bot a3ac83
	* signal.c: Added #ifndef SIG_ERR <assar@stacken.kth.se>
Packit Bot a3ac83
Packit Bot a3ac83
Tue Apr 19 10:52:51 1994 Andrew Moore  <alm@woops.talke.org>
Packit Bot a3ac83
Packit Bot a3ac83
	* Version 0.1.  Initial release for GNU.
Packit Bot a3ac83
Packit Bot a3ac83
	* main.c (exec_command): Add comment command '#'.
Packit Bot a3ac83
Packit Bot a3ac83
Mon Mar 21 21:58:11 PST 1994 Andrew Moore  <alm@netcom.com>
Packit Bot a3ac83
Packit Bot a3ac83
	*  Use umask 077 to open buffer file.
Packit Bot a3ac83
Packit Bot a3ac83
Sat Mar 19 14:06:52 PST 1994 Andrew Moore  <alm@netcom.com>
Packit Bot a3ac83
Packit Bot a3ac83
	* Removed problematic DES and insque support.
Packit Bot a3ac83
Packit Bot a3ac83
Wed Jan 19 20:42:50 PST 1994 Andrew Moore  <alm@netcom.com>
Packit Bot a3ac83
Packit Bot a3ac83
	* Added reliable signal(2) for SysV.
Packit Bot a3ac83
Packit Bot a3ac83
Dec 1993  François Pinard  <pinard@icule>
Packit Bot a3ac83
Packit Bot a3ac83
	* GNUified ed.
Packit Bot a3ac83
Packit Bot a3ac83
Packit Bot a3ac83
Copyright (C) 1993 François Pinard
Packit Bot a3ac83
Copyright (C) 1994 Andrew Moore
Packit Bot a3ac83
Copyright (C) 2006-2017 Antonio Diaz Diaz.
Packit Bot a3ac83
Packit Bot a3ac83
This file is a collection of facts, and thus it is not copyrightable,
Packit Bot a3ac83
but just in case, you have unlimited permission to copy, distribute and
Packit Bot a3ac83
modify it.