Imported Upstream version 1.6
[platform/upstream/ed.git] / ChangeLog
1 2012-01-01  Antonio Diaz Diaz  <ant_diaz@teleline.es>
2
3         * Version 1.6 released.
4         * io.c (put_tty_line): Null characters where incorrectly
5           shown by the `l' command. (Reported by Martin Guy).
6         * io.c (read_stream): Corrected the condition deciding when to
7           show the message "Newline appended".
8         * main_loop.c (exec_command): The `modified' flag is now set
9           when reading a non-empty file into an empty buffer.
10         * regex.c (translit_text): Fixed typo that prevented using NUL
11           characters in regular expressions.
12         * main_loop.c (exec_command): Return ERR if `system' can't
13           create a shell process.
14         * main_loop.c (main_loop): Flush stdout/stderr before reading a
15           new command.
16         * buffer.c (put_sbuf_line): Added size parameter.
17         * ed.1: Man page is now generated with `help2man'.
18         * ed.1: All command-line options are now documented in the man page.
19         * Restored copyright notices of Andrew L. Moore. It seems Andrew
20           granted some permissions but never assigned copyright to the FSF.
21
22 2010-08-30  Antonio Diaz Diaz  <ant_diaz@teleline.es>
23
24         * Version 1.5 released.
25         * buffer.c (append_lines): Fixed `a', `c' and `i' commands.
26           (When used in a global command list, the commands following
27           them in the list were ignored).
28         * main_loop.c (exec_command): Fixed `e' command. (It quitted
29           when invoked a second time with a modified buffer).
30         * main.c: Added new option `--restricted'.
31         * `red' has been converted to a script invoking `ed --restricted'.
32         * Description of ed in the manual has been changed.
33         * testsuite: Modified some tests and removed obsolete posix tests.
34         * main_loop.c: `ibufp' variable made local to main_loop.
35         * Defined type bool to make clear which functions and variables
36           are Boolean.
37         * Added `const' to all pointer declarations accepting it.
38         * regex.c (replace_matching_text): Make se_max an enum.
39         * signal.c: Include termios.h
40         * Converted C99 style comments `//' to C89 style comments `/* */'.
41         * ed.texinfo: Fixed an erratum.
42         * Changed copyright holder from Andrew, Antonio to the FSF.
43
44 2009-07-10  Antonio Diaz Diaz  <ant_diaz@teleline.es>
45
46         * Version 1.4 released.
47         * buffer.c, main_loop.c: Undo now restores the modified status.
48         * regex.c (search_and_replace): Fixed a race condition with user
49           interrupt.
50         * signal.c: Added functions resize_line_buffer and
51           resize_undo_buffer to definitively fix the aliasing warnings.
52         * Some minor corrections have been made to the manual.
53
54 2009-05-24  Antonio Diaz Diaz  <ant_diaz@teleline.es>
55
56         * Version 1.3 released.
57         * carg_parser.c (ap_resize_buffer): An aliasing related segfault
58           that only occurs when overoptimizing with GCC on some
59           architectures (alpha, sparc) has been (hopefully) fixed.
60         * signal.c (resize_buffer): Likewise.
61
62 2009-01-31  Antonio Diaz Diaz  <ant_diaz@teleline.es>
63
64         * Version 1.2 released.
65         * configure: Locale has been fixed to `C'.
66         * Makefile.in: Man page is now installed by default.
67         * `make install-info' should now work on Debian and OS X.
68         * ed.texinfo: License updated to GFDL version 1.3 or later.
69
70 2008-10-14  Antonio Diaz Diaz  <ant_diaz@teleline.es>
71
72         * Version 1.1 released.
73         * configure: Quote arguments stored in config.status.
74
75 2008-08-21  Antonio Diaz Diaz  <ant_diaz@teleline.es>
76
77         * Version 1.0 released.
78         * configure: Added option `--program-prefix'.
79         * signal.c (strip_escapes): Buffer overflow fixed.
80         * signal.c (resize_buffer): Pointer aliasing warning fixed.
81
82 2008-02-24  Antonio Diaz Diaz  <ant_diaz@teleline.es>
83
84         * Version 0.9 released.
85         * signal.c (sighup_handler): Return 0 if no error.
86         * Arg_parser updated to 1.1.
87
88 2007-08-18  Antonio Diaz Diaz  <ant_diaz@teleline.es>
89
90         * Version 0.8 released.
91         * check.sh: Testsuite exits unsuccesfully in case of error.
92         * ed.1: Fixed some minor problems in the manual page.
93         * ed.texinfo: Added 21kB of legalese (fdl.texinfo).
94
95 2007-07-18  Antonio Diaz Diaz  <ant_diaz@teleline.es>
96
97         * Version 0.7 released.
98         * buffer.c (dec_addr): Now returns correct address when wrapping.
99
100 2007-06-29  Antonio Diaz Diaz  <ant_diaz@teleline.es>
101
102         * Version 0.6 released.
103         * License updated to GPL version 3 or later.
104         * signal.c (sigwinch_handler, set_signal):
105           Fixed two minor compatibility problems.
106         * main_loop.c (main_loop):
107           Fixed an infinite loop when reading an empty script.
108
109 2007-03-09  Antonio Diaz Diaz  <ant_diaz@teleline.es>
110
111         * Version 0.5 released.
112         * main_loop.c (next_addr): '%' reimplemented as it was in ed 0.2.
113
114 2007-01-15  Antonio Diaz Diaz  <ant_diaz@teleline.es>
115
116         * Version 0.4 released.
117         * Fixed some minor problems in the testsuite.
118
119 2006-11-11  Antonio Diaz Diaz  <ant_diaz@teleline.es>
120
121         * Version 0.3 released.
122         * buffer.c (open_sbuf): Fixed symlink vulnerability using `tmpfile'.
123         * signal.c: Fixed signal handling for SIGINT.
124         * main_loop.c (exec_command): Fixed `c' and `i' commands with
125           address 0.
126         * The pause mode has been removed.
127         * main.c: Added new options `--loose-exit-status' and `--verbose'.
128         * carg_parser.c: New argument parser that replaces `getopt_long'.
129         * `configure' and `Makefile.in' have been replaced.
130         * Removed recursive make for testsuite.
131         * Created directory `doc'.
132         * Removed all pre ISO C89 code.
133         * Removed all global variables.
134         * ed.texinfo: Added the changes from Andrew and some mine.
135
136 Sun Jun 26 22:21:59 1994 Andrew Moore  <alm@worm.talke.org>
137
138         * GNU ed 0.2 release.
139
140         * main.c (yank_lines): Added yank buffer.
141           A range of lines may be cut ('d') to or yanked ('y') from
142           a yank buffer.  Lines in the buffer may be put ('x')
143           after the addressed line (. by default).
144
145         * main.c (display_lines): Page output of listed ('l') lines
146           if isatty(0).
147
148         * main.c (main): Replaced isatty(0) with is_regular_file().
149           Errors in piped scripts, as opposed to regular scripts or
150           here documents, do not force ed to exit.
151
152         * Capitilize error messages per the standard.
153
154 Wed Jun 22 01:06:11 1994 Andrew Moore  <alm@woops.talke.org>
155
156         * ed.h: Generic definition of INT_MAX <bson@ai.mit.edu>
157
158         * signal.c: Added #ifndef SIG_ERR <assar@stacken.kth.se>
159
160 Tue Apr 19 10:52:51 1994 Andrew Moore  <alm@woops.talke.org>
161
162         * Version 0.1.  Initial release for GNU.
163
164         * main.c (exec_command): Add comment command `#'.
165
166 Mon Mar 21 21:58:11 PST 1994 Andrew Moore  <alm@netcom.com>
167
168         *  Use umask 077 to open buffer file.
169
170 Sat Mar 19 14:06:52 PST 1994 Andrew Moore  <alm@netcom.com>
171
172         * Removed problematic DES and insque support.
173
174 Wed Jan 19 20:42:50 PST 1994 Andrew Moore  <alm@netcom.com>
175
176         * Added reliable signal(2) for SysV.
177
178 Dec 1993  François Pinard  <pinard@icule>
179
180         * GNUified ed.
181
182
183 Copyright (C) 1993 François Pinard
184 Copyright (C) 1994 Andrew Moore
185 Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012
186 Free Software Foundation, Inc.
187
188 This file is a collection of facts, and thus it is not copyrightable,
189 but just in case, you have unlimited permission to copy, distribute and
190 modify it.