Skip to content

Releases: mptre/pick

v4.0.0

28 Apr 06:46
Compare
Choose a tag to compare

Changes

  • Remove -v option, your package manager of choice can already provide the
    same information
    (2905675)
    (Anton Lindqvist)

  • Remove -h option in favor of the manual.
    (93a552b)
    (Anton Lindqvist)

  • Do not output options as part of the usage output, in favor of the manual
    instead.
    (e253d7d)
    (Anton Lindqvist)

Bug fixes

  • Mark unused variables in compat files as extern in order to compile using
    GCC 10.
    (160d7be)
    (Benjamin Porter)

v3.0.1

10 Mar 08:49
Compare
Choose a tag to compare

Bug fixes

  • Honor PREFIX during configure.
    (adcba3c)
    (Anton Lindqvist)

  • Honor MANDIR during configure and install.
    (8c56f54)
    (Aggelos Avgerinos)

  • Honor INSTALL_MAN during configure and install.
    (869536f)
    (Leonardo Taccari)

  • Honor BINDIR during configure and install.
    (434c496)
    (Anton Lindqvist)

v3.0.0

27 Feb 19:20
Compare
Choose a tag to compare

Changes

  • pick is now available as a package on NetBSD.
    (ec5b83b)
    (Jenz Guenther)

  • Usage of autoconf and automake has been replaced in favor of a shell-script
    and plain Makefile(s). The process of building pick remains the same.
    (970c5f4)
    (Anton Lindqvist)

v2.0.2

10 Apr 20:06
Compare
Choose a tag to compare

Changes

Bug fixes

  • Remove Werror compiler flag.
    It's generally considered bad practice to ship software with this flag.
    Issue revealed while updating the port on OpenBSD.
    (8008d1e, #272)
    (Anton Lindqvist)

  • Make the cursor keys work in the rxvt terminal emulator.
    (4fec5f6, #275, #277)
    (Jenz Guenther)

  • Limit usage of malloc.conf options to OpenBSD since the options used have a
    different meaning on both FreeBSD and NetBSD.
    (6e91e29, #282)
    (Anton Lindqvist, Jenz Guenther, Mike Burns)

  • Define the LC_ALL environment variable instead of LC_CTYPE when running
    the tests.
    Makes a couple of failing tests pass when running in an environment with a non
    UTF-8 locale.
    (43a9f02, #281, #283)
    (Anton Lindqvist, Jenz Guenther, giappi)

v2.0.1

01 Jan 15:50
Compare
Choose a tag to compare

Bug fixes

  • Typing a query fast could yield incorrect results.
    (494ce29, #268, #270)
    (Anton Lindqvist, Jenz Guenther)

v2.0.0

07 Nov 07:33
Compare
Choose a tag to compare

New features

  • Add Ctrl-O key binding used to toggle sorting.
    (d36423b)
    (Anton Lindqvist)

Bug fixes

  • Inline CCEQ macro since it's missing in musl libc.
    (21f16d0, #249, #250)
    (Anton Lindqvist, Michael Gehring)

  • Ignore OSC escape sequences while calculating the line width and filtering.
    (e821307, a380b41, #248)
    (Anton Lindqvist)

  • Do not ignore return value from mbtowc(3).
    Fixes an issue discovered while compiling using GCC 4.7 on Debian 7.
    (274969a, #255)
    (Jenz Guenther)

  • Fix exit code for -h option.
    (f833b3a)
    (Anton Lindqvist)

Changes

  • Optimize filtering by safely reducing the number of choices to reconsider
    when the query grew longer.
    (c0c18ef, #251)
    (Anton Lindqvist)

  • Replace example in manual with a more portable but equally useful one.
    (ad57355, 031817f, 871ddd9, #253)
    (Jenz Guenther)

  • pick is now available as a package on Void Linux.
    (dce2ddf, #257)
    (Michael Gehring)

  • pick is now available as a package on CRUX.
    (26eea32, #258)
    (rtlanceroad)

  • Only redraw the choices when necessary.
    (1e8fb53, #254, #264)
    (Anton Lindqvist, Jenz Guenther)

v1.9.0

19 Sep 07:24
Compare
Choose a tag to compare

New features

  • Add -K option used to disable toggling of keyboard transmit mode.
    Fixes a bug causing the arrow keys to stop working after running pick from
    within Vim.
    (6fca1c4, #246, #247)
    (Anton Lindqvist)

Bug fixes

  • Fix a path issue related to make distcheck.
    (9034255, #242)
    (Anton Lindqvist)

  • Do not reset the selection on redraw.
    (58c5b46, #221)
    (Anton Lindqvist, Jenz Guenther)

  • Explicitly handle Ctrl-{C,Z} control characters.
    The previous SIGINT handler was broken since it invokes functions that are
    not considered asynchronous safe.
    Instead,
    do not turn control characters into signal but instead handle the relevant
    ones.
    A pleasant side-effect is that suspend/resumes now behaves correctly.
    (9886750, #240)
    (Anton Lindqvist)

Changes

  • Make Ctrl-W implement the ALTWERASE algorithm,
    a sequence of alphanumeric and underscore characters are recognized as a word.
    (c1e0a91, #231, #234)
    (Anton Lindqvist, Jenz Guenther)

  • Add clang 5.0 to the build matrix on Travis.
    (2092491)
    (Anton Lindqvist)

  • Recognize Alt-Backspace as an alias for Ctrl-W and Alt-Space for
    Page-Down.
    Borrowed from less(1).
    (7d0a568, #238)
    (Jenz Guenther)

  • Improve the semantics of the manual and clarify a few things.
    (6713d37, 964b75b, 78a02b6)
    (Anton Lindqvist)

  • Fallback to pkg-config(1) while looking for ncurses library.
    Makes pick build on Gentoo where ncurses and libtinfo are split out.
    (615c536, #241)
    (Anton Lindqvist, Mike Burns, Tim Harder)

  • pick is now available as a package on Gentoo.
    (99d5a6f, #243, #244)
    (Tim Harder)

v1.8.0

28 Aug 08:36
Compare
Choose a tag to compare

v1.8.0 - 2017-08-28

New features

Bug fixes

  • Declare functions as __dead when appropriate in pick-test(1).
    Discovered while compiling using GCC 7.
    (bf666ed, dd29ca2, #202, #204)
    (Anton Lindqvist)

  • Make sure $IFS is not an empty string.
    (e894dd0)
    (Anton Lindqvist)

  • Disable IEXTEN to solve Ctrl-V conflict.
    (8a70fe7)
    (Anton Lindqvist)

  • Declare functions as __dead when appropriate.
    (91d7bba, #210)
    (Jenz Guenther)

  • Always pass 9 parameters to tparm(3).
    Partial fix to make pick compile on NetBSD.
    (d3a158d, #216, #218)
    (Anton Lindqvist, Jenz Guenther)

  • Ensure blocking read in non-canonical mode.
    (98a8779, #219)
    (Jenz Guenther)

  • Prefix UP (and DOWN for consistency) since it's already defined on NetBSD.
    Partial fix to make pick compile on NetBSD.
    (1cdf592, #216)
    (Anton Lindqvist, Jenz Guenther)

  • Use compound-list in pick-test.sh for POSIX compatibility.
    (716fc0a, #224)
    (Jenz Guenther)

  • Fix and simplify horisontal scrolling.
    (1ef7970, #230)
    (Anton Lindqvist, Jenz Guenther)

  • Fix scroll up bug.
    (50e2748, #232)
    (Anton Lindqvist, Jenz Guenther)

  • Always favor the shortest match.
    This bug only occurs when a choice contains multiple instances of the query
    and the right-most match is the shortest one.
    (d7d25a8, #233)
    (Anton Lindqvist)

Changes

  • Use reallocarray(3) in pick-test(1).
    (58b17e0, 478e715)
    (Anton Lindqvist)

  • Run cppcheck(1) and Coverity Scan on Travis.
    (1560686, f493b93)
    (Anton Lindqvist)

  • NUL-terminate the input buffer by assignment rather than using memset(3).
    (3e04320)
    (Anton Lindqvist)

  • Update documentation on development and contributing.
    (50e2176, #214)
    (Anton Lindqvist)

  • Lower requirements for autoconf and automake.
    Makes it possible to compile pick on Debian 5.
    (054b323, #220)
    (Jenz Guenther)

v1.7.0

30 Jun 10:55
v1.7.0
Compare
Choose a tag to compare

New features

  • Add support for HOME and END keys (10f04ae, 0a545bc, 1402ecc, #195) (Jenz)

  • Read keys from the terminfo(3) database, currently limited to HOME and END (19ff2ea, 71f9505, 1ee1a1d, b8857fd, #197) (Anton Lindqvist)

  • Add support for Ctrl-V/Alt-V and Alt- alternative key bindings for HOME and END, and Page-Down and Page-Up respectively (128418a, #201) (Jenz)

Bug fixes

  • Don't move the cursor upwards if no choices where printed (ecdca3d, #196, #198) (Anton Lindqvist)

  • Selection bar vanishes on Page-Down (92e492b, #199, #200) (Jenz)

Changes

v1.6.1

24 Apr 14:32
v1.6.1
Compare
Choose a tag to compare

Bug fixes

  • Fix tab output bug (db2d9f4) (Anton Lindqvist)