Andrew Wood
|
decae290d4
|
Improve the comments, and add support in the SI prefix code for negative numbers.
|
2023-08-31 22:51:23 +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
|
65eac50c21
|
Alter file processing to silently skip unreadable input files at the size calculation stage, and report - and skip rather than exiting - unreadable files at the point they are needed during the transfer, more like "cat" does; also, more variable name corrections for bad names (single letters).
|
2023-08-28 17:15:16 +01:00 |
|
Andrew Wood
|
10296f93e4
|
Use dormant code to calculate total line count in line mode when all inputs are regular files, and fix unwise variable naming in size calculation functions, no more "i" and "j".
|
2023-08-28 16:12:31 +01:00 |
|
Andrew Wood
|
b1ef744058
|
Use posix_fadvise() on input files, where available.
|
2023-08-28 13:10:38 +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
|
4854fcf3e0
|
Note the --pidfile change.
|
2023-08-26 21:47:00 +01:00 |
|
Andrew Wood
|
fe22f0e449
|
Store name and format string in internal state as their own copies rather than pointers to strings outside the state, for memory safety and to avoid a leak on remote control.
|
2023-08-26 20:49:30 +01:00 |
|
Andrew Wood
|
c0abc9ce3c
|
Adjustments for migration to Codeberg.
|
2023-08-16 17:30:10 +01:00 |
|
Andrew Wood
|
32f984de56
|
Date/version bump.
|
2023-08-14 20:59:55 +01:00 |
|
Andrew Wood
|
34ba94ae63
|
Date/version bump.
|
2023-08-07 21:41:21 +01:00 |
|
Andrew Wood
|
25baeb4375
|
URL correction.
|
2023-08-07 21:40:16 +01:00 |
|
Andrew Wood
|
18d17beb93
|
Merged in GH#75, "configure --enable-static".
|
2023-08-07 21:35:37 +01:00 |
|
Andrew Wood
|
ada5748d2f
|
Possible workaround for OS X oddity with fdatasync() - GH#73.
|
2023-08-06 20:45:46 +01:00 |
|
Andrew Wood
|
c2e77cd005
|
Replaced AC_HEADER_TIOCGWINSZ and always just include sys/ioctl.h if it is available - GH#74.
|
2023-08-06 20:31:02 +01:00 |
|
Andrew Wood
|
8e3b47bf89
|
Added test to check that "make install" installs the expected set of files.
|
2023-08-01 21:42:59 +01:00 |
|
Andrew Wood
|
e63b6225f8
|
Bump for new unreleased version.
|
2023-07-31 23:23:39 +01:00 |
|
Andrew Wood
|
303d3ea359
|
Corrected Markdown list formatting.
|
2023-07-30 20:11:30 +01:00 |
|
Andrew Wood
|
318954d21e
|
Add link to issue describing terminal sizing bug.
|
2023-07-30 20:04:17 +01:00 |
|
Andrew Wood
|
40b9ef2a9d
|
Version update for new release.
|
2023-07-30 18:56:09 +01:00 |
|
Andrew Wood
|
4b3b49806f
|
Added notes about code reformatting, and "--help" word wrapping.
|
2023-07-29 22:37:16 +01:00 |
|
Andrew Wood
|
b59b1bad4b
|
Added note about DEBUG.
|
2023-07-28 23:16:41 +01:00 |
|
Andrew Wood
|
08a8c2ea70
|
Version bump and first changes listed.
|
2023-07-28 22:36:42 +01:00 |
|
Andrew Wood
|
5a140b689f
|
Updated for new release
|
2023-07-28 11:10:30 +01:00 |
|
Andrew Wood
|
173de4fafd
|
Bump version for new release.
|
2023-07-27 22:19:42 +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
|
caf7d6ff18
|
Unreleased version bump
|
2023-07-25 22:41:41 +01:00 |
|
Andrew Wood
|
d343669f45
|
Added note about adding more tests.
|
2023-07-25 22:39:48 +01:00 |
|
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
|
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
|
88dd09393c
|
Set current release line
|
2023-07-17 22:05:29 +01:00 |
|
Andrew Wood
|
f13f5e70c1
|
More macOS stat fixes
|
2023-07-17 21:37:54 +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
|
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 |
|