Skip to content

Mg v3.1

Compare
Choose a tag to compare
@troglobit troglobit released this 21 Jul 22:22
· 501 commits to master since this release

The standalone release, with lots of OpenBSD fixes and improvements.

Changes

  • Remove libite (-lite) build/runtime requirement. All OpenBSD compat functions now maintained in-tree, used automatically when missing
  • Keep current buffer if switch-to-buffer is aborted, from OpenBSD
  • Present the default choice before the colon in prompts, from OpenBSD
  • Extract compile_mode command status with WEXITSTATUS, from OpenBSD
  • Let the Insert key toggle overwrite mode, from OpenBSD
  • GNU Emacs compatibility with query-replace & capitilisation, from OpenBSD
  • When exiting i-search with ^M, drop mark, like GNU Emacs, from OpenBSD
  • Remove theo analyzer from OpenBSD build, archived upstream
  • Enable regexp search by default in configure script, now all features are on parity and can be disabled/enabled in the same fashion
  • Clarify licensing of project, everything is in the public domain

Fixes

  • Fix #1: Enable M-x no-tab-mode, disabled in OpenBSD by default
  • Fix line numbering bug, from OpenBSD
  • Fix display of overlong lines containing non-ASCII bytes, from OpenBSD
  • Fix description of delete-non-matching-lines, from OpenBSD
  • Backups saved to wrong directory when running as another user, from OpenBSD
  • Fix editing files in a directory without read permission, use relative
    paths if we cannot get the CWD, from OpenBSD
  • Fixes to warnings from Coverity Scan (static code analyzer):
    • Insecure data handling in getkeyname()
    • Possible NULL pointer deref(s) in dired.c
    • Fix explicit NULL pointer deref in dired.c
    • Fix unchecked return value in delleadwhite() and indent()
    • Fix explicit NULL pointer deref in excline()
    • Fix many dereference after NULL check in veread()
    • Fix possible memory leak in error handling of veread()