Andrew Wood
|
0e1750835e
|
Rewrite of "--remote", to use a temporary file for information exchange instead of a SysV IPC message queue, to correct the fault where "make check -j32" would fail due to every PV exit removing the message queue.
|
2023-10-01 01:20:16 +01:00 |
|
Andrew Wood
|
08ee154c09
|
Add more debugging to message receipt check, in sender.
|
2023-09-25 21:51:45 +01:00 |
|
Andrew Wood
|
55f7f94a6f
|
Additional fix for compilation with "--disable-ipc".
|
2023-09-25 21:36:02 +01:00 |
|
Andrew Wood
|
1e91713bb6
|
Add debugging to message receipt check, in sender.
|
2023-09-25 21:32:14 +01:00 |
|
Andrew Wood
|
b0a144fd54
|
Move variable declarations into the blocks in which they are used, to avoid compilation warnings on MacOS, as per patch from Benoit Pierre.
|
2023-09-25 21:14:30 +01:00 |
|
Andrew Wood
|
bfa4a23751
|
Move struct stat in pv_main_loop inside the #if HAVE_STRUCT_STAT_ST_BLKSIZE block to avoid compilation warnings, as per patch from Benoit Pierre.
|
2023-09-25 21:07:24 +01:00 |
|
Andrew Wood
|
7c6568865c
|
Move smb_bug in pv_crs_fini inside the #if HAVE_IPC block so the code can compile on non IPC systems, as per patch from Benoit Pierre.
|
2023-09-25 21:03:19 +01:00 |
|
Andrew Wood
|
ded6b69c3f
|
Minor splint workarounds.
|
2023-09-24 21:24:50 +01:00 |
|
Andrew Wood
|
e5cc71b4d2
|
Switched licensing to GPLv3+.
|
2023-09-24 21:09:52 +01:00 |
|
Andrew Wood
|
7bc91e10de
|
Version and string position updates.
|
2023-09-23 21:56:59 +01:00 |
|
Andrew Wood
|
2033c6085f
|
Addressed more issues raised by splint.
|
2023-09-23 21:53:31 +01:00 |
|
Andrew Wood
|
780b65a648
|
More type corrections.
|
2023-09-16 23:14:16 +01:00 |
|
Andrew Wood
|
20b8c9700a
|
Rename the functions to better describe what they do, remove single-letter variable names, add more explanatory comments, remove "_t" suffix from typedef as per FreeBSD style guide.
|
2023-09-16 00:55:40 +01:00 |
|
Andrew Wood
|
252213fbc2
|
Addressed more issues raised by splint, and corrected some type confusion between off_t and size_t / ssize_t.
|
2023-09-14 22:19:49 +01:00 |
|
Andrew Wood
|
e696b737e3
|
Addressed more issues raised by splint.
|
2023-09-13 23:50:20 +01:00 |
|
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
|
052c182278
|
Adjustments in line with "autoscan" recommendations.
|
2023-09-12 21:26:24 +01:00 |
|
Andrew Wood
|
df67cee38a
|
Addressed more issues raised by splint.
|
2023-09-11 23:06:57 +01:00 |
|
Andrew Wood
|
7f1cdc8527
|
Addressed the issues raised by splint and flawfinder.
|
2023-09-11 21:54:30 +01:00 |
|
Andrew Wood
|
896727b664
|
Addressed the issues raised by splint and flawfinder.
|
2023-09-10 23:04:43 +01:00 |
|
Andrew Wood
|
b0a67878bb
|
Addressed the issues raised by splint and flawfinder, with a TODO for a better cleanup for one issue.
|
2023-09-09 21:14:01 +01:00 |
|
Andrew Wood
|
e8dab7daf7
|
Addressed more issues raised by splint.
|
2023-09-07 22:59:19 +01:00 |
|
Andrew Wood
|
e7c332ad0b
|
Addressed more issues raised by splint.
|
2023-09-06 23:32:34 +01:00 |
|
Andrew Wood
|
e21ed5d2c5
|
Reformatted with indent.
|
2023-09-05 23:36:22 +01:00 |
|
Andrew Wood
|
2a8e6b36b3
|
Addressed more issues raised by splint.
|
2023-09-05 23:36:01 +01:00 |
|
Andrew Wood
|
52399ee812
|
Address some of the warnings raised by splint.
|
2023-09-03 22:12:18 +01:00 |
|
Andrew Wood
|
7f735b7282
|
Added TODO to re-check timespec casting.
|
2023-09-03 21:42:46 +01:00 |
|
Andrew Wood
|
8e781e0b51
|
Enforce zero-termination of dst even if system strlcat() is available.
|
2023-09-03 21:42:09 +01:00 |
|
Andrew Wood
|
1ad63a7a37
|
Address warnings raised by splint.
|
2023-09-03 18:18:17 +01:00 |
|
Andrew Wood
|
7fcf65e9c3
|
Address warnings raised by flawfinder.
|
2023-09-03 18:00:01 +01:00 |
|
Andrew Wood
|
befcddc994
|
Address warnings raised by splint.
|
2023-09-03 16:02:00 +01:00 |
|
Andrew Wood
|
7d7d5ddf2e
|
Added flawfinder notes.
|
2023-09-03 01:14:55 +01:00 |
|
Andrew Wood
|
86feafb721
|
Rename "doc" directory to "docs" to match Debian standards.
|
2023-09-03 00:40:26 +01:00 |
|
Andrew Wood
|
78bb93b288
|
Move terminal TOSTOP attribute changes into signal handling functions and only set/unset that attribute rather than saving and restoring the whole terminal state; keep track of whether we have changed it and change cursor positioning IPC data to a structure so the state change can be shared with all "pv -c" instances.
|
2023-09-02 22:06:31 +01:00 |
|
Andrew Wood
|
2b341c1a7f
|
Minor consistency fixes.
|
2023-09-02 01:33:11 +01:00 |
|
Andrew Wood
|
14ce832249
|
New "--error-skip-block" option.
|
2023-09-02 01:21:18 +01:00 |
|
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
|
d51a1b10f0
|
Corrections to file header comments.
|
2023-08-31 21:49:27 +01:00 |
|
Andrew Wood
|
a6849012a6
|
Minor automated indentation fixes.
|
2023-08-30 22:25:51 +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
|
0bd1b82d3a
|
Move libgen.h out of IPC conditional code since it is not related directly to IPC; adjust IPC configuration so that IPC support is auto-disabled if the relevant header files or library functions are missing.
|
2023-08-28 17:44:53 +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
|
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
|
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
|
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
|
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 |
|