Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Releases: a-j-wood/pv

v1.7.24

30 Jul 19:50
303d3ea
Compare
Choose a tag to compare

Correction to terminal size detection. This was broken by the configuration script rewrite in 1.7.17.

This release also introduces the first step towards further code cleanups, which should improve robustness. The code analysis tools splint and flawfinder are being used on all source files. The first thing they highlighted was the potentially unsafe DEBUG environment variable (only used when "--enable-debugging" is passed to "./configure"), so this has been removed. When debugging mode is enabled, developers must now use the "--debug" option to specify the debugging output file, instead of the environment variable.

As an introduction to Unicode output support (a precursor to possibly implementing GH#15 "Unicode output for more granular progress" in future), the "--help" option will now word-wrap and align its output appropriately for the terminal size, taking character widths into account rather than byte counts.

1.7.24 - 30 July 2023

  • fix: correct terminal size detection, broken in 1.7.17 by the configuration script rewrite (GH#72)
  • security: removed DEBUG environment variable in debug mode, added "--debug" instead
  • cleanup: added "make analyse" to run "splint" and "flawfinder" on all source files
  • cleanup: corrected detection of boolean capability
  • cleanup: word wrapping of "--help" output is now multi-byte locale aware
  • cleanup: adjusted "indent" rules to line length of 120 and reformatted code

v1.7.18

28 Jul 10:47
Compare
Choose a tag to compare

Correction to the configuration script - language file installation was broken by the rewrite in 1.7.17.

1.7.18 - 28 July 2023

  • fix: language file installation had been broken by the configuration script rewrite

v1.7.17

27 Jul 21:54
Compare
Choose a tag to compare

New transfer modification features for sync and direct I/O, a minor display formatting fix, extensions to the test framework, and the first round of cleanups.

  • feature: new "--sync" option to flush cache to disk after every write (related to GH#6, to improve accuracy when writing to slow disks)
  • feature: new "--direct-io" option to bypass cache - implements GH#29 "Option to enable O_DIRECT" - requested by Romain Kang, Jacek Wielemborek
  • fix: correct byte prefix size to 2 spaces in rate display, so progress display size remains constant at low transfer rates
  • cleanup: rewrote configure.in as per suggestions in newer "autoconf" manuals
  • cleanup: replaced header.in with one generated by "autoheader", moving custom logic to a separate header file "config-aux.h"
  • cleanup: added copyright notice to all source files as per GNU standards
  • cleanup: changed "--version" output to conform to GNU standards
  • cleanup: replaced backticks with $() in all shell scripts that did not come from elsewhere, as backticks are deprecated and harder to read
  • cleanup: improved the output formatting of "make test"
  • cleanup: extended the "make test" mechanism to allow certain tests to be skipped on platforms that cannot support them
  • cleanup: skip the "pipe" test (for SIGPIPE) if GNU "head" is not available, so that "make test" on stock OpenBSD 7.3 works
  • cleanup: added a lot more tests to "make test"
  • cleanup: replace all calls to sprintf() and snprintf() with a new wrapper function pv_snprintf() to improve security and compatibility
  • cleanup: replace all calls to strcat() with a wrapper pv_strlcat() to improve security and compatibility
  • cleanup: replace all write() calls to the terminal with a wrapper pv_write_retry() for consistency
  • cleanup: tidy up and fix compilation warning in "--watchfd" code
  • cleanup: rewrote all local shell scripts to pass analysis by ShellCheck

v1.7.0

17 Jul 21:14
Compare
Choose a tag to compare

Rollup of a lot of bugfixes and features that were pending.

v1.6.20

12 Sep 16:25
Compare
Choose a tag to compare

Minor compilation bugfix.

  • fix: add missing stddef.h include to number.c (Sam James)

v1.6.19

05 Sep 19:02
Compare
Choose a tag to compare

Release was delayed because of a backlog of patches which I kept thinking I would have time to merge in, but it kept not happening. So this is a rollup of the various bug fixes and cleanups which have been waiting to be released for a while, instead of waiting forever.

  • fix: starting pv in the background no longer immediately stops unless the transfer is to/from the terminal (Andriy Gapon, Jonathan Elchison)
  • fix: using -B, -A, or -T now switches on -C implicitly (Johannes Gerer, André Stapf)
  • fix: AIX build fixes (Peter Korsgaard)
  • i18n: updated German "--help" translations (Richard Fonfara)
  • i18n: switched to UTF-8 encoding, added missing translations (de,fr,pt)
  • docs: new "common switches" manual section (Jacek Wielemborek)
  • docs: use placeholder instead of /dev/sda in the manual (Pranav Peshwe)
  • docs: mention MacOS pipes and "-B 1024" in the manual (Jan Venekamp)
  • docs: correct shell in autoconf/scripts/index.sh (Juan Picca)
  • cleanup: various compiler warnings cleaned up

v1.6.6

04 Sep 19:53
Compare
Choose a tag to compare
Initial commit based on v1.6.6