@@ -3,8 +3,8 @@ Change Log
33
44All relevant changes to the project are documented in this file.
55
6- [ v3.0] [ UNRELEASED ] - UNRELEASED
7- -------------------------------
6+ [ v3.0] [ ] - 2016-05-15
7+ ---------------------
88
99First release based on [ Mg2a] [ ] from OpenBSD 5.9. The work on [ Mg3a] [ ] ,
1010by Bengt Larsson, is not a part of this project. The version number was
@@ -14,24 +14,26 @@ set as Mg3a.
1414
1515### Changes
1616- Import mg from OpenBSD 5.9
17- - Conditionalize OpenBSD specific API's and modules, e.g. the ` pledge() `
18- API and the ` theo.c ` module
1917- Use libite (-lite) to provide missing OpenBSD/NetBSD API's
2018- Add GNU configure and build system for portability to other systems:
2119 - Detect existence and correct version of libite (v1.6.0 or later)
20+ - Detect ` -ltermcap ` , ` -ltinfo ` , or ` -lcurses ` . We only use the termcap
21+ functionality in Mg, but can link with either of them
22+ - Detect ` term.h ` , we cannot use ` termcap.h ` because of cookies
2223 - Make OpenBSD developed features optional with configure,
2324 e.g. integrated ctags and cscope support
2425 - Add ` --enable-size-optimizations ` option
2526 - Add ` --with-startup=FILE ` for alternate init file
26- - Build with ` -ltermcap ` rather than require ` -lcurses ` , we're only
27- using the termcap functionality in Mg
27+ - Conditionalize OpenBSD specific API's and modules, e.g. the ` pledge() `
28+ API and the ` theo.c ` module ... ` #ifdef __OpenBSD__ `
2829- Add missing ` M-x version ` for compatibility with GNU Emacs
2930- Add ` -h ` command line option for a simple usage text
3031- Change Mg built-in version to use configure script's ` PACKAGE_STRING `
32+ rather than hardcoded, and rather outdated, ` Mg 2a `
3133- Add LICENSE file, from licensing info (Public Domain) in README
3234- Add AUTHORS file, from author listing in README
3335- Create README.md from text in README and ` mg.1 ` with information
34- about this project and motivation for it
36+ about this project and the motivation for it
3537
3638### Fixes
3739- Convert from ` fgetln() ` to standard POSIX ` getline() `
@@ -44,6 +46,15 @@ set as Mg3a.
4446- Integration fixes:
4547 - ` fisdir() ` already exists in [ libite] [ ]
4648 - ` makedir() ` is a [ libite] [ ] function, rename to ` make_dir() `
49+ - Fix unsafe enabling of non-blocking mode on file descriptor used
50+ when piping buffer contents (` M-| ` ) to an external program.
51+ - Collect forked off children in ` M-| ` , missing ` waitpid() `
52+ - Fixes for bugs found by Coverity Scan:
53+ - Fix file descriptor leaks
54+ - Add missing NULL pointer checks
55+ - Missing checks for return value from both internal and C library
56+ functions. Some simply marked as "don't care"
57+ - Fix missing initialization of stack variables
4758
4859[ UNRELEASED ] : https://github.com/troglobit/mg/compare/TAIL...HEAD
4960[ v3.0 ] : https://github.com/troglobit/mg/compare/TAIL...v3.0
0 commit comments