Advertisement
Guest User

GNU ed changelog 1.15

a guest
Jan 4th, 2019
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.80 KB | None | 0 0
  1. 2019-01-01 Antonio Diaz Diaz <antonio@gnu.org>
  2.  
  3. * Version 1.15 released.
  4. * io.c (print_line): Make 'l' command print '\\' before every
  5. '$' within the text. (Reported by Ori Avtalion).
  6. * main_loop.c (extract_addresses): Fixed address ',,' to mean
  7. '$,$' instead of '1,$'. (Reported by Matthieu Felix).
  8. * regex.c (extract_replacement): Allow newlines even if global.
  9. * main_loop.c (exec_command): Make 'c' command reject address 0.
  10. * ed.texi: Minor fixes.
  11. * configure: Accept appending to CFLAGS, 'CFLAGS+=OPTIONS'.
  12.  
  13. 2017-02-22 Antonio Diaz Diaz <antonio@gnu.org>
  14.  
  15. * Version 1.14.2 released.
  16. * main.c (show_strerror) Revert to using '!scripted' instead of
  17. 'verbose' to suppress diagnostics.
  18.  
  19. 2017-01-10 Antonio Diaz Diaz <antonio@gnu.org>
  20.  
  21. * Version 1.14.1 released.
  22. * Print counts, messages, '?' and '!' to stdout instead of stderr.
  23. * buffer.c (append_lines): Fixed current address after empty 'i'.
  24. * regex.c (set_subst_regex): Treat missing delimiters consistently.
  25. (extract_replacement): Don't replace 'a' with '%' in 's/a/%'.
  26. Fixed infinite loop with EOF in the middle of a replacement.
  27. Don't accept newlines in replacement in a global command.
  28. Last delimiter can't be omitted if not last in command list.
  29. (search_and_replace): Set current address to last line modified.
  30. * main_loop.c (extract_addresses): Fixed address offsets;
  31. '3 ---- 2' was calculated as -2 instead of 1.
  32. Accept ranges with the first address omitted.
  33. (exec_command): Fixed current address after empty replacement
  34. text in 'c' command.
  35. Don't clear the modified status after writing the buffer to a
  36. shell command. (Reported by J駻e Frgacic).
  37. (get_command_suffix): Don't allow repeated print suffixes.
  38. (command_s): Accept suffixes in any order.
  39. Don't allow multiple count suffixes.
  40. 'sp' now toggles all print suffixes.
  41. (main_loop): Make EOF on stdin behave as a 'q' command.
  42. * ed.texi: Fixed the description of commands 'acegijkmqrsuw'.
  43. Documented that ed allows any combination of print suffixes.
  44. * testsuite: Improved most tests. Simplified bug reporting.
  45. * configure: Avoid warning on some shells when testing for gcc.
  46. * Makefile.in: Detect the existence of install-info.
  47.  
  48. 2016-01-24 Antonio Diaz Diaz <antonio@gnu.org>
  49.  
  50. * Version 1.13 released.
  51. * buffer.c (put_sbuf_line): Fixed a memory leak.
  52. * io.c (read_file, write_file): Close file on error.
  53. (Both issues reported by C馘ric Picard).
  54.  
  55. 2015-07-04 Antonio Diaz Diaz <antonio@gnu.org>
  56.  
  57. * Version 1.12 released.
  58. * ed.texi: Removed extra spaces from some commands.
  59.  
  60. 2015-03-30 Antonio Diaz Diaz <antonio@gnu.org>
  61.  
  62. * Version 1.11 released.
  63. * main_loop.c (exec_command): Fixed 'z' command.
  64. (zN printed N + 1 lines).
  65. * ed.texi: Documented the window size used by the 'z' command.
  66. * Makefile.in: Added new targets 'install*-compress'.
  67. * Restored original copyright notices in the code. I assigned to
  68. the FSF the copyright on changes made to the part of ed already
  69. copyrighted by the FSF, which seems to be just the manual.
  70.  
  71. 2014-01-22 Antonio Diaz Diaz <antonio@gnu.org>
  72.  
  73. * Version 1.10 released.
  74. * ed.texinfo: Renamed to ed.texi.
  75.  
  76. 2013-06-18 Antonio Diaz Diaz <antonio@gnu.org>
  77.  
  78. * Version 1.9 released.
  79. * check.sh: Don't feed shell scripts to ed.
  80. * configure: Options now accept a separate argument.
  81.  
  82. 2013-04-23 Antonio Diaz Diaz <antonio@gnu.org>
  83.  
  84. * Version 1.8 released.
  85. * io.c (get_tty_line): Removed "double EOF" behavior.
  86.  
  87. 2012-10-09 Antonio Diaz Diaz <ant_diaz@teleline.es>
  88.  
  89. * Version 1.7 released.
  90. * main.c (main): Set invocation_name before calling show_error.
  91. * Changed quote characters in messages as advised by GNU Standards.
  92. * ed.texinfo: Fixed description of address offsets.
  93. * ed.texinfo: Fixed a link to the Bash manual.
  94. * configure: 'datadir' renamed to 'datarootdir'.
  95. * Makefile.in: Added new target 'install-bin'.
  96.  
  97. 2012-01-01 Antonio Diaz Diaz <ant_diaz@teleline.es>
  98.  
  99. * Version 1.6 released.
  100. * io.c (put_tty_line): Null characters where incorrectly
  101. shown by the 'l' command. (Reported by Martin Guy).
  102. * io.c (read_stream): Corrected the condition deciding when to
  103. show the message "Newline appended".
  104. * main_loop.c (exec_command): The 'modified' flag is now set
  105. when reading a non-empty file into an empty buffer.
  106. * regex.c (translit_text): Fixed typo that prevented using NUL
  107. characters in regular expressions.
  108. * main_loop.c (exec_command): Return ERR if 'system' can't
  109. create a shell process.
  110. * main_loop.c (main_loop): Flush stdout/stderr before reading a
  111. new command.
  112. * buffer.c (put_sbuf_line): Added size parameter.
  113. * ed.1: Man page is now generated with 'help2man'.
  114. * ed.1: All command-line options are now documented in the man page.
  115. * Restored copyright notices of Andrew L. Moore. It seems Andrew
  116. granted some permissions but never assigned copyright to the FSF.
  117.  
  118. 2010-08-30 Antonio Diaz Diaz <ant_diaz@teleline.es>
  119.  
  120. * Version 1.5 released.
  121. * buffer.c (append_lines): Fixed 'a', 'c' and 'i' commands.
  122. (When used in a global command list, the commands following
  123. them in the list were ignored).
  124. * main_loop.c (exec_command): Fixed 'e' command.
  125. (It quitted when invoked a second time with a modified buffer).
  126. * main.c: Added new option '-r, --restricted'.
  127. * 'red' has been converted to a script invoking 'ed --restricted'.
  128. * Description of ed in the manual has been changed.
  129. * testsuite: Modified some tests and removed obsolete POSIX tests.
  130. * main_loop.c: 'ibufp' variable made local to main_loop.
  131. * Defined type bool to make clear which functions and variables
  132. are Boolean.
  133. * Added 'const' to all pointer declarations accepting it.
  134. * regex.c (replace_matching_text): Make se_max an enum.
  135. * signal.c: Include termios.h
  136. * Converted C99 style comments '//' to C89 style comments '/* */'.
  137. * ed.texinfo: Fixed an erratum.
  138. * Changed copyright holder from Andrew, Antonio to the FSF.
  139.  
  140. 2009-07-10 Antonio Diaz Diaz <ant_diaz@teleline.es>
  141.  
  142. * Version 1.4 released.
  143. * buffer.c, main_loop.c: Undo now restores the modified status.
  144. * regex.c (search_and_replace): Fixed a race condition with user
  145. interrupt.
  146. * signal.c: Added functions resize_line_buffer and
  147. resize_undo_buffer to definitively fix the aliasing warnings.
  148. * Some minor corrections have been made to the manual.
  149.  
  150. 2009-05-24 Antonio Diaz Diaz <ant_diaz@teleline.es>
  151.  
  152. * Version 1.3 released.
  153. * carg_parser.c (ap_resize_buffer): An aliasing related segfault
  154. that only occurs when overoptimizing with GCC on some
  155. architectures (alpha, sparc) has been (hopefully) fixed.
  156. * signal.c (resize_buffer): Likewise.
  157.  
  158. 2009-01-31 Antonio Diaz Diaz <ant_diaz@teleline.es>
  159.  
  160. * Version 1.2 released.
  161. * configure: Locale has been fixed to 'C'.
  162. * Makefile.in: Man page is now installed by default.
  163. * 'make install-info' should now work on Debian and OS X.
  164. * ed.texinfo: License updated to GFDL version 1.3 or later.
  165.  
  166. 2008-10-14 Antonio Diaz Diaz <ant_diaz@teleline.es>
  167.  
  168. * Version 1.1 released.
  169. * configure: Quote arguments stored in config.status.
  170.  
  171. 2008-08-21 Antonio Diaz Diaz <ant_diaz@teleline.es>
  172.  
  173. * Version 1.0 released.
  174. * configure: Added option '--program-prefix'.
  175. * signal.c (strip_escapes): Buffer overflow fixed.
  176. * signal.c (resize_buffer): Pointer aliasing warning fixed.
  177.  
  178. 2008-02-24 Antonio Diaz Diaz <ant_diaz@teleline.es>
  179.  
  180. * Version 0.9 released.
  181. * signal.c (sighup_handler): Return 0 if no error.
  182. * Arg_parser updated to 1.1.
  183.  
  184. 2007-08-18 Antonio Diaz Diaz <ant_diaz@teleline.es>
  185.  
  186. * Version 0.8 released.
  187. * check.sh: Testsuite exits unsuccesfully in case of error.
  188. * ed.1: Fixed some minor problems in the manual page.
  189. * ed.texinfo: Added 21kB of legalese (fdl.texinfo).
  190.  
  191. 2007-07-18 Antonio Diaz Diaz <ant_diaz@teleline.es>
  192.  
  193. * Version 0.7 released.
  194. * buffer.c (dec_addr): Now returns correct address when wrapping.
  195.  
  196. 2007-06-29 Antonio Diaz Diaz <ant_diaz@teleline.es>
  197.  
  198. * Version 0.6 released.
  199. * License updated to GPL version 3 or later.
  200. * signal.c (sigwinch_handler, set_signal):
  201. Fixed two minor compatibility problems.
  202. * main_loop.c (main_loop):
  203. Fixed an infinite loop when reading an empty script.
  204.  
  205. 2007-03-09 Antonio Diaz Diaz <ant_diaz@teleline.es>
  206.  
  207. * Version 0.5 released.
  208. * main_loop.c (next_addr): '%' reimplemented as it was in ed 0.2.
  209.  
  210. 2007-01-15 Antonio Diaz Diaz <ant_diaz@teleline.es>
  211.  
  212. * Version 0.4 released.
  213. * Fixed some minor problems in the testsuite.
  214.  
  215. 2006-11-11 Antonio Diaz Diaz <ant_diaz@teleline.es>
  216.  
  217. * Version 0.3 released.
  218. * buffer.c (open_sbuf): Fixed symlink vulnerability using 'tmpfile'.
  219. * signal.c: Fixed signal handling for SIGINT.
  220. * main_loop.c (exec_command): Modified 'c' and 'i' commands to
  221. treat address 0 a synonym for address 1, as per POSIX.
  222. * The pause mode has been removed.
  223. * main.c: Added new option '-l, --loose-exit-status'.
  224. * main.c: Added new option '-v, --verbose'.
  225. * carg_parser.c: New argument parser that replaces 'getopt_long'.
  226. * 'configure' and 'Makefile.in' have been replaced.
  227. * Removed recursive make for testsuite.
  228. * Created directory 'doc'.
  229. * Removed all pre ISO C89 code.
  230. * Removed all global variables.
  231. * ed.texinfo: Added the changes from Andrew and some mine.
  232.  
  233. Sun Jun 26 22:21:59 1994 Andrew Moore <alm@worm.talke.org>
  234.  
  235. * GNU ed 0.2 release.
  236.  
  237. * main.c (yank_lines): Added yank buffer.
  238. A range of lines may be cut ('d') to or yanked ('y') from
  239. a yank buffer. Lines in the buffer may be put ('x')
  240. after the addressed line (. by default).
  241.  
  242. * main.c (display_lines): Page output of listed ('l') lines
  243. if isatty(0).
  244.  
  245. * main.c (main): Replaced isatty(0) with is_regular_file().
  246. Errors in piped scripts, as opposed to regular scripts or
  247. here documents, do not force ed to exit.
  248.  
  249. * Capitilize error messages per the standard.
  250.  
  251. Wed Jun 22 01:06:11 1994 Andrew Moore <alm@woops.talke.org>
  252.  
  253. * ed.h: Generic definition of INT_MAX <bson@ai.mit.edu>
  254.  
  255. * signal.c: Added #ifndef SIG_ERR <assar@stacken.kth.se>
  256.  
  257. Tue Apr 19 10:52:51 1994 Andrew Moore <alm@woops.talke.org>
  258.  
  259. * Version 0.1. Initial release for GNU.
  260.  
  261. * main.c (exec_command): Add comment command '#'.
  262.  
  263. Mon Mar 21 21:58:11 PST 1994 Andrew Moore <alm@netcom.com>
  264.  
  265. * Use umask 077 to open buffer file.
  266.  
  267. Sat Mar 19 14:06:52 PST 1994 Andrew Moore <alm@netcom.com>
  268.  
  269. * Removed problematic DES and insque support.
  270.  
  271. Wed Jan 19 20:42:50 PST 1994 Andrew Moore <alm@netcom.com>
  272.  
  273. * Added reliable signal(2) for SysV.
  274.  
  275. Dec 1993 Fran輟is Pinard <pinard@icule>
  276.  
  277. * GNUified ed.
  278.  
  279.  
  280. Copyright (C) 1993 Fran輟is Pinard
  281. Copyright (C) 1994 Andrew Moore
  282. Copyright (C) 2006-2019 Antonio Diaz Diaz.
  283.  
  284. This file is a collection of facts, and thus it is not copyrightable,
  285. but just in case, you have unlimited permission to copy, distribute and
  286. modify it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement