Skip to content

Releases: johnsonjh/OpenVi

OpenVi 7.9.33

Choose a tag to compare

@johnsonjh johnsonjh released this 25 Jun 00:10
7.9.33
d36b087

Changes since 7.7.32

  • Update README to mention optional pkg-config prerequisite
  • Do not include termio.h on Linux systems
  • Update email address (johnsonjh.dev@gmail.com)
  • Avoid set but not used warnings, from Walter Alejandro Iglesias
  • Whitespace fixes, prompted by a diff by Walter Alejandro Iglesias
  • Fix underflows in ex(1) and vi(1) +cmd parser
  • vs_split() uses sp's visual map without checking it exists;
  • When updating the ranges after an insertion or deletion, the range should be up to and including the current line number. This behavior is consistent with historic vi as well as modern vim. Reported by Tim Case, fix from Walter Alejandro Iglesias
  • Fix a misapplied patch, the goto belongs outside the len check.
  • Prevent ( from moving the cursor forward. Fixes an issue where ( moved forward the start of the next (not previous) sentence when used within whitespace at the start if a line. From Debian bug 193498 (Tommy Pettersson) via nvi2.
  • Fix special case of ) when the cursor is on white-space. The forward sentence code has a special case to support moving to the start of the next sentence when it is in the middle of a empty line or whitespace between sentences. However, the logic was incorrect and applied when the curson was on any white-space. This change adds logic to look back and detect whether the cursor is actually in between two sentences. Based on a diff from Walter Alejandro.
  • Allow !} and !) at EOF, even though there is no forward movement. The updated behavior differs from traditional vi but matches vim. It is already possible to run bang commands at EOF in conjunction with some other forward movement commands such as l and w. From Walter Alejandro Iglesias.
  • Check for E_CLRFLAG in ecp->cmd->flags, not ecp->iflags. Fixes a problem where an extra line is printed at the end of the output when the "number" command is given the "l" (literal display) flag. From Jeremy Mates and Walter Alejandro Iglesias.
  • Make the behavior of the ( command match the ) command. Previously, the ) command required a sentence to end with two blanks, but ( only required a single space. Historic vi (and the documentation) requires two spaces in both directions. Based on a diff from Walter Alejandro Iglesias.
  • Allocate a buffer for the line cache instead of reaching into db data. Previously, vi used the db internal data buffer directly. Fixes a problem where the line cache could become corrupted when the db data changes out from under it. From Walter Alejandro Iglesias.

OpenVi 7.7.32

Choose a tag to compare

@johnsonjh johnsonjh released this 02 Oct 03:55
7.7.32
9b48bf7

Changes since 7.6.31

  • Try to query pkg-config for ncurses flags and libs on some systems
  • Fix filename completion using D_NAMLEN as defined in the compat include/compat.h header; patch from @jerryfletcher21; closes #22.
  • Fix p command when used with a count
  • Fix crash with expandtab and running external commands; fix from Jerry Fletcher, OK job@
  • Update docs to add percentage to ruler after recent changes

OpenVi 7.6.31

Choose a tag to compare

@johnsonjh johnsonjh released this 06 Apr 15:28
7.6.31
21ca49f

Changes since 7.6.30

  • Don't require xinstall to be built for install, strip, and sstrip targets to complete successfully.
  • In xinstall's create_tempfile() pass pointer to full pathname to strlcat(); fixes a potential buffer overrun; also check strlcpy() and strlcat() return value to detect truncation; based on a diff from naddy@; ok naddy@ tb@ deraadt@
  • Support building for Managarm (xbstrap cross-compilation only)

OpenVi 7.6.30

Choose a tag to compare

@johnsonjh johnsonjh released this 07 Oct 20:51
7.6.30
65ad527

Changes since 7.5.29

  • Bump for OpenBSD 7.6 release

OpenVi 7.5.29

Choose a tag to compare

@johnsonjh johnsonjh released this 21 May 05:53
7.5.29
84d6a84

Changes since 7.5.28

  • Support building natively on OS/400
    • Verified using PASE for IBM i 7.5 with GCC 10.5 and ncurses 6.0 packages
  • Add a new output level, M_XINFO, which outputs an informational message and ignores the state of the verbose and silent flags
  • Show version command output even in ex silent mode; closes GitHub Issue #38
  • Update the usage help text to document the new -C option
  • Minor changes to xinstall.c to appease Oracle Lint warnings
  • Consistently use .Dq for double-quoting in man pages
  • Fix various spelling errors and typos, mostly in comments
  • Increase buf size

OpenVi 7.5.28

Choose a tag to compare

@johnsonjh johnsonjh released this 07 Apr 20:06
7.5.28
78d2be8

Changes since 7.4.27

  • Add -C cmd startup option; similar to -c but always runs cmd; closes GitHub Issue #37
  • Remove duplicate include statements from xinstall.c
  • Add showfilename set option to just display file name; OK millert@ otto@
  • Avoid use after free of frp and frp->tname; found by smatch, ok miod@ millert@
  • Fix fd leaks in error paths; ok miod@

OpenVi 7.4.27

Choose a tag to compare

@johnsonjh johnsonjh released this 22 Nov 19:33
7.4.27
81e6235

Changes since 7.4.26

  • Update README.md file with additional links and packaging information
  • Always suppress db_err output when !lno; closes GitHub Issue #34
  • Update minpwcache.c to OpenBSD pwcache.c v1.16; contains spelling fixes from Paul Tagliamonte; only comments, no user-facing change
  • Use openbsd_strlcpy for strlcpy in ptym_open; fixes compilation on IBM AIX and some other System V-derived systems

OpenVi 7.4.26

Choose a tag to compare

@johnsonjh johnsonjh released this 27 Oct 23:23
7.4.26
aa20a6b

Changes since 7.4.25

  • Add a fallback path for altnotation mode; fixes a crash on macOS
  • Bump MAX_CHARACTER_COLUMNS to 6 for future usage
  • Eliminate strcpy usage in ptym_open function

OpenVi 7.4.25

Choose a tag to compare

@johnsonjh johnsonjh released this 27 Oct 11:57
7.4.25
f719729

Changes since 7.4.24

  • Add a new option, altnotation (abbreviation an), inspired by the Nvi2 option of the same name; if set, most control characters less than 0x20 will be displayed in <C-char> notation, and carriage feed, escape, and delete will be displayed as <Ret>, <Esc>, and <Del>, respectively

OpenVi 7.4.24

Choose a tag to compare

@johnsonjh johnsonjh released this 10 Oct 20:19
7.4.24
ad78477

Changes since 7.4.23

  • Silence a warning when building with recent Clang compilers.
  • Treat consecutive paragraph indicators as different paragraphs; Consecutive empty lines count toward the same state, so there are 2x states (to get in and out). ^L and .PP are counted as text, hitting those in the text should be treated as getting out of a paragraph and then getting in. From Walter Alejandro Iglesias and Zhihao Yuan in nvi2; ok bluhm@
  • Fix typo in last ChangeLog entry