Commit Graph
54 Commits
Author SHA1 Message Date
Andrew Wood 7794df7182 Capitalisation fix 2023-07-24 23:16:52 +01:00
Andrew Wood 923ef47056 Progress update 2023-07-24 23:15:09 +01:00
Andrew Wood 0518357560 Make the --numeric --bytes --line-mode combination more explicitly defined 2023-07-24 20:57:31 +01:00
Andrew Wood c39e97ec5a Fix byte prefix at low rates so it is two spaces, not one 2023-07-23 17:13:14 +01:00
Andrew Wood dbcae4a9ae Updated with latest news 2023-07-23 12:34:39 +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 e94600d7a4 Put all terminal writes through the same pv_write_retry function for consistency and to clear up compiler warnings. 2023-07-22 23:22:34 +01:00
Andrew Wood 9783f7ebef Cleanups to fscanf() and Apple-specific watchfd code 2023-07-22 22:53:02 +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 cab177814a Document the cleanups to "make test". 2023-07-22 20:49:25 +01:00
Andrew Wood 5f6f418cfd Added backticks note 2023-07-22 20:21:42 +01:00
Andrew Wood 8c284d863d TODO and version update to show unreleased status 2023-07-22 19:45:57 +01:00
Andrew Wood b923afc385 Added the new issues after 1.7.0 2023-07-18 07:29:32 +01:00
Andrew Wood 88dd09393c Set current release line 2023-07-17 22:05:29 +01:00
Andrew Wood 29124c585e Minor updates 2023-07-17 21:57:56 +01:00
Andrew Wood 65828899ea Version update pending new release 2023-07-17 21:53:54 +01:00
Andrew Wood 853190d36d Updated acknowledgements for stat64 patch 2023-07-17 21:48:16 +01:00
Andrew Wood f13f5e70c1 More macOS stat fixes 2023-07-17 21:37:54 +01:00
Andrew Wood 4e2ab087e5 Removed bug about no Cygwin output as it is not reproducible 2023-07-17 21:29:17 +01:00
Andrew Wood 242c19e4f6 Remove GH#27 as the rate limit changes have corrected this fault 2023-07-17 20:49:38 +01:00
Andrew Wood 3003f46313 Removed code that was making percentages go down after 100% in numeric mode 2023-07-17 12:28:32 +01:00
Andrew Wood c718a00e2c Note the translation file updates 2023-07-16 23:28:47 +01:00
Andrew Wood 461486ec4f Added --bits option 2023-07-16 23:12:12 +01:00
Andrew Wood fd46c9b1f6 Update manual month and year 2023-07-16 22:44:33 +01:00
Andrew Wood 001dfb71c2 Show elapsed time as D:HH:MM:SS after 1 day, to match the ETA format 2023-07-16 22:29:18 +01:00
Andrew Wood bcb33ce2aa Honour the --force setting when writing the progress display 2023-07-16 21:58:08 +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
Andrew Wood e8c0b6717f Update documentation regarding ETA issues 2023-07-16 12:27:20 +01:00
Andrew WoodandGitHub 56adce8edf Merge branch 'main' into eta_fix 2023-07-16 11:41:50 +01:00
Andrew Wood 008ee74a98 Update documentation to reflex bug fix GH#62, GH#32 2023-07-16 11:33:44 +01:00
Andrew Wood 29908cff6c Remove "-s @" / issue 44 from TODO list 2023-07-16 11:14:05 +01:00
Andrew Wood 456ab7cebb Applied OS X 11 stat64 configure.in patch from Dave Beckett 2023-07-16 11:11:09 +01:00
Andrew Wood 0d1d5b77ec Applied patch from Dave Beckett to support "@filename" as a "--size" argument. 2023-07-16 11:07:06 +01:00
Andrew Wood ff5efbe3eb Added issue #56 2023-07-16 01:54:00 +01:00
Andrew Wood 81d008a325 Updated to include mention of latest pull request 2023-07-16 01:43:07 +01:00
Andrew Wood 6ae07496d2 Minor formatting fixes 2023-07-16 01:35:58 +01:00
Andrew Wood cd60822380 Convert issue numbers to links, and bring the feature request list up to date. 2023-07-16 01:30:50 +01:00
Andrew Wood 0fdd9f0787 Formatting fix 2023-07-16 01:03:47 +01:00
Andrew Wood 0d520172ac Added new contributors and cleaned up formatting 2023-07-16 01:02:50 +01:00
Andrew Wood 04ea58f786 Added details of latest pull request 2023-07-16 00:56:24 +01:00
Andrew Wood 4c84060940 Markdown formatting cleanups 2023-07-16 00:44:21 +01:00
Andrew Wood 8fb3aecde5 Finalise pull from ikasty to show relative filenames in --watchfd 2023-07-16 00:28:58 +01:00
Andrew Wood 50c0b329c9 Moved NEWS and TODO to UTF-8 Markdown format, and linked them in from the README. 2023-07-16 00:00:19 +01:00
Andrew Wood 5c8e2707a4 Removed support for Red Hat Enterprise Linux package builds 2023-07-15 23:41:27 +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
lemonsqueeze 06824aee2d Fixed inaccurate ETAs: use current average rate over last 30 seconds instead of global rate
using global rate gives wildly inacurrate ETAs if rate changes over time.

this makes pv keep a history of progress over the last 30s interval and compute
current average rate over that, which fixes the issue.

fixed -a, --average-rate: show current average rate instead of global rate

[ quick test ]

- in one shell:
    $ dd if=/dev/zero of=/tmp/foo bs=1M count=5                 # simulate fast initial rate,
    $ (while true; do ls /*; sleep 1; done) >> /tmp/foo         # then slow rate. leave running ...

- in another shell:
    $ tail -f -n +1 /tmp/foo | pv -s 800M > /dev/null

    5.62MiB 0:00:17 [33.1KiB/s] [>                              ]  0% ETA 0:40:02
        bad:  (pv 1.6.6 - 1.6.20)
        ETA of a few minutes that keeps increasing ever and ever ...

    5.62MiB 0:00:16 [33.1KiB/s] [>                              ]  0% ETA 6:45:53
        good:
        ETA of 6+ hours, which is how long it'll take to reach 800Mb at 33k/s
2023-05-29 15:09:36 +02:00
Andrew Wood cc95aa67a3 Renamed README to README.md and altered it to Markdown format; moved contributors from the README to docs/ACKNOWLEDGEMENTS.md 2022-05-29 21:45:13 +01:00
Andrew Wood b78e58ab87 Moved all open issues into the GitHub issue tracker and copied in all related correspondence. 2022-05-29 21:00:43 +01:00
Andrew Wood 0ca8ef5187 Dates bumped for release of 1.6.20 2021-09-12 17:13:24 +01:00
Andrew Wood 386e3ac5fa Updated to include details of latest contributor 2021-09-08 17:26:13 +01:00