Commit Graph
97 Commits
Author SHA1 Message Date
Andrew Wood cecc8649c2 Further display improvements and cleanups 2023-07-23 17:16:04 +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 909355619b Restructure tests and adjust display format, to better understand what each test is testing. 2023-07-23 16:25:52 +01:00
Andrew Wood b086ddf599 Rewrote most of run-test, and gave variables clearer names 2023-07-23 14:54:45 +01:00
Andrew Wood a0e5d5e9e7 Rebuild timestamp update 2023-07-23 14:27:19 +01:00
Andrew Wood dbcae4a9ae Updated with latest news 2023-07-23 12:34:39 +01:00
Andrew Wood 4ba1343c20 Added test of large file support 2023-07-23 12:28:11 +01:00
Andrew Wood ee3c02fd7f Renamed tests for consistency 2023-07-23 11:41:56 +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 80e3f791c4 Rebuilt automatically 2023-07-23 01:50:04 +01:00
Andrew Wood 74325282e7 Corrected quoting issue in sed 2023-07-23 01:49:48 +01:00
Andrew Wood ab20f9406f Corrected path handling which was writing bad dependency files 2023-07-23 00:35:49 +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 2303da77db Skip the pipe test if GNU head is not available. 2023-07-22 20:46:51 +01:00
Andrew Wood 264e3a5879 Format output with printf, allow test scripts to write output to be displayed, and allow test scripts to be skipped. 2023-07-22 20:46:35 +01:00
Andrew Wood 5f6f418cfd Added backticks note 2023-07-22 20:21:42 +01:00
Andrew Wood 3b2e274907 Check for ctags and cproto before starting any work 2023-07-22 20:20:48 +01:00
Andrew Wood a24342a072 Replace backticks in shell scripts with S() 2023-07-22 20:20:15 +01:00
Andrew Wood 101294195b Remove references to 64-bit file functions - stat, lstat, lseek, etc - as part of large file support rewrite. 2023-07-22 19:55:55 +01:00
Andrew Wood 5cf5eda406 Minor correction to cleanup. 2023-07-22 19:55:07 +01:00
Andrew Wood 8c284d863d TODO and version update to show unreleased status 2023-07-22 19:45:57 +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 b923afc385 Added the new issues after 1.7.0 2023-07-18 07:29:32 +01:00
Andrew Wood 88dd09393c Set current release line v1.7.0 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 01f627b2de Recoded Polish PO file from ISO8859-2 to UTF-8, and removed potentially incorrect fuzzy matches from all PO files 2023-07-16 23:24:53 +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 c8090806f9 Added debugging output to pv_in_foreground() 2023-07-16 21:31:17 +01:00
Andrew Wood 3403ebd857 Adjust threshold to cope with new ETA calculation mechanism 2023-07-16 21:16:02 +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 62b5ac26df Reverse the average rate history early-return logic to make it easier to understand 2023-07-16 20:49:59 +01:00
Andrew Wood e8c0b6717f Update documentation regarding ETA issues 2023-07-16 12:27:20 +01:00
Andrew Wood 2bf76577dd Remove assertions from ETA history, set minimum boundary on ETA window, check for history structure allocation success 2023-07-16 12:14:07 +01:00
Andrew Wood 90d9638488 Minor format changes as per indent(1) standardisation 2023-07-16 11:53:36 +01:00
Andrew WoodandGitHub f6d0135cc6 Merge pull request #65 from lemonsqueeze/eta_fix
Alter ETA calculation to use the rate over the past 30 seconds instead of over the whole transfer, and allow that 30 second window to be adjusted.
2023-07-16 11:46:23 +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