Commit Graph
75 Commits
Author SHA1 Message Date
Andrew Wood 153285bec0 Use off_t for file sizes, size_t for buffer sizes. 2023-09-13 23:17:53 +01:00
Andrew Wood 8a2ddac50e Type consistency corrections - use booleans for boolean operations, use size_t for byte counts. 2023-09-12 23:42:23 +01:00
Andrew Wood 896727b664 Addressed the issues raised by splint and flawfinder. 2023-09-10 23:04:43 +01:00
Andrew Wood 86feafb721 Rename "doc" directory to "docs" to match Debian standards. 2023-09-03 00:40:26 +01:00
Andrew Wood 14ce832249 New "--error-skip-block" option. 2023-09-02 01:21:18 +01:00
Andrew Wood d51a1b10f0 Corrections to file header comments. 2023-08-31 21:49:27 +01:00
Andrew Wood 1f320dd7a2 Replace all gettimeofday() calls, and elapsed time arithmetic, with a new set of elapsed time functions based on clock_gettime(), to avoid faults due to time zone / DST changes and machine suspend/resume. 2023-08-30 22:23:43 +01:00
Andrew Wood b7eb3c9e90 Record whether the width or height were set manually, and refrain from changing a manually set value when the terminal size changes. 2023-08-28 22:03:14 +01:00
Andrew Wood 9e5bdeb3a4 Added "--discard" option. 2023-08-28 21:05:45 +01:00
Andrew Wood 2a092c9495 Rename "null" state boolean to "null_terminated_lines" so it is more descriptive and less confusing. 2023-08-28 16:18:51 +01:00
Andrew Wood 66cae656d1 Rename state variable "no_op" to the more descriptive "no_display", as pv is not doing nothing when this is set, it is still transferring data. 2023-08-28 15:20:51 +01:00
Andrew Wood e99548ea8a Major restructuring to switch build system from old scripts to GNU Automake. 2023-08-28 10:04:39 +01:00
Andrew Wood 4cd28b23f0 Adjustments and annotations as per splint and flawfinder reports. 2023-08-14 23:07:37 +01:00
Andrew Wood 7f25aff91d Adjustments and annotations as per splint and flawfinder reports. 2023-08-14 22:33:06 +01:00
Andrew Wood b9f96d9508 Provide new option "--debug" instead of using insecure environment variable DEBUG. 2023-07-28 23:14:14 +01:00
Andrew Wood ae81f83e9b New option "--direct-io". 2023-07-27 21:44:30 +01:00
Andrew Wood 6cff3c1c2a First draft of new "--sync" option. 2023-07-26 22:17:00 +01:00
Andrew Wood c7e0bb727e Introduce strlcat() instead of strcat(), and replace all sizeof() of buffers inside structures with constants where possible, to avoid bugs caused by reading the size of a pointer instead of the size of the buffer it points to. 2023-07-23 01:57:00 +01:00
Andrew Wood b6d1f62979 Centralise all sprintf()/snprintf() calls in a compatibility wrapper pv_snprintf() 2023-07-22 22:40:07 +01:00
Andrew Wood 7448c7f320 Rewrote configure.in and replaced header.in with one generated by autoheader, added copyright notice to all source files as per GNU standards, and changed "pv --version" output to conform to GNU standards. 2023-07-22 19:35:43 +01:00
Andrew Wood 461486ec4f Added --bits option 2023-07-16 23:12:12 +01:00
Andrew Wood 4fddf40436 Rename --eta-window to --average-rate-window, since that is what it does, and correct the behaviour of the final update so the final rate shown is the average rate across the whole transfer. 2023-07-16 21:00:08 +01:00
lemonsqueeze 6bdb951af4 Added -m, --eta-window option: set time window for average rate computation (default 30s) 2023-05-29 15:11:37 +02:00
Andrew Wood 7d68a574ca Added all changes made between v1.6.6 and June 2020 2021-09-04 21:00:00 +01:00
Andrew Wood 12f28d0689 Initial commit based on v1.6.6 2021-09-04 20:51:25 +01:00