From 704f8228bfb52f1fa19f7477eb63db7296a9c28f Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 15 May 2016 20:48:35 +0200 Subject: [PATCH] Update ChangeLog and bump version for v3.0 release Signed-off-by: Joachim Nilsson --- ChangeLog.md | 25 ++++++++++++++++++------- configure.ac | 2 +- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index dded83f..b55b107 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -3,8 +3,8 @@ Change Log All relevant changes to the project are documented in this file. -[v3.0][UNRELEASED] - UNRELEASED -------------------------------- +[v3.0][] - 2016-05-15 +--------------------- First release based on [Mg2a][] from OpenBSD 5.9. The work on [Mg3a][], by Bengt Larsson, is not a part of this project. The version number was @@ -14,24 +14,26 @@ set as Mg3a. ### Changes - Import mg from OpenBSD 5.9 -- Conditionalize OpenBSD specific API's and modules, e.g. the `pledge()` - API and the `theo.c` module - Use libite (-lite) to provide missing OpenBSD/NetBSD API's - Add GNU configure and build system for portability to other systems: - Detect existence and correct version of libite (v1.6.0 or later) + - Detect `-ltermcap`, `-ltinfo`, or `-lcurses`. We only use the termcap + functionality in Mg, but can link with either of them + - Detect `term.h`, we cannot use `termcap.h` because of cookies - Make OpenBSD developed features optional with configure, e.g. integrated ctags and cscope support - Add `--enable-size-optimizations` option - Add `--with-startup=FILE` for alternate init file -- Build with `-ltermcap` rather than require `-lcurses`, we're only - using the termcap functionality in Mg +- Conditionalize OpenBSD specific API's and modules, e.g. the `pledge()` + API and the `theo.c` module ... `#ifdef __OpenBSD__` - Add missing `M-x version` for compatibility with GNU Emacs - Add `-h` command line option for a simple usage text - Change Mg built-in version to use configure script's `PACKAGE_STRING` + rather than hardcoded, and rather outdated, `Mg 2a` - Add LICENSE file, from licensing info (Public Domain) in README - Add AUTHORS file, from author listing in README - Create README.md from text in README and `mg.1` with information - about this project and motivation for it + about this project and the motivation for it ### Fixes - Convert from `fgetln()` to standard POSIX `getline()` @@ -44,6 +46,15 @@ set as Mg3a. - Integration fixes: - `fisdir()` already exists in [libite][] - `makedir()` is a [libite][] function, rename to `make_dir()` +- Fix unsafe enabling of non-blocking mode on file descriptor used + when piping buffer contents (`M-|`) to an external program. +- Collect forked off children in `M-|`, missing `waitpid()` +- Fixes for bugs found by Coverity Scan: + - Fix file descriptor leaks + - Add missing NULL pointer checks + - Missing checks for return value from both internal and C library + functions. Some simply marked as "don't care" + - Fix missing initialization of stack variables [UNRELEASED]: https://github.com/troglobit/mg/compare/TAIL...HEAD [v3.0]: https://github.com/troglobit/mg/compare/TAIL...v3.0 diff --git a/configure.ac b/configure.ac index 6171db1..a3affb7 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([Mg], [3.0-rc1], [https://github.com/troglobit/mg/issues], [mg]) +AC_INIT([Mg], [3.0], [https://github.com/troglobit/mg/issues], [mg]) AM_INIT_AUTOMAKE([1.11 foreign]) AC_CONFIG_SRCDIR([main.c])