86feafb721
Rename "doc" directory to "docs" to match Debian standards.
Andrew Wood2023-09-03 00:40:26 +01:00
57f66c0b99
Move release checklist into the developer notes file, and expand on several points; add TODO for translation tests.
Andrew Wood2023-09-03 00:31:16 +01:00
ff571539cb
Add i18n libs to the correct variable.
Andrew Wood2023-09-02 23:27:19 +01:00
307db0d802
Automatic updates to translation files.
Andrew Wood2023-09-02 22:08:41 +01:00
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.
Andrew Wood2023-09-02 22:06:31 +01:00
756b48e7b6
Minor formatting fix, and work around a pandoc bug.
Andrew Wood2023-09-02 01:40:46 +01:00
f7ccb79147
Corrected manual formatting of arguments - all replaceable items such as arguments should be in italic, as per the conventions described in man(1).
Andrew Wood2023-09-02 00:38:33 +01:00
decae290d4
Improve the comments, and add support in the SI prefix code for negative numbers.
Andrew Wood2023-08-31 22:51:23 +01:00
d51a1b10f0
Corrections to file header comments.
Andrew Wood2023-08-31 21:49:27 +01:00
a8867b1882
Translations file update, no new translations.
Andrew Wood2023-08-30 23:34:53 +01:00
749d23705e
Check whether librt is required for clock_gettime().
Andrew Wood2023-08-30 23:34:12 +01:00
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.
Andrew Wood2023-08-30 22:23:43 +01:00
46e5948425
Add Debian bug IDs to the appropriate outstanding items.
Andrew Wood2023-08-28 22:51:32 +01:00
b7eb3c9e90
Record whether the width or height were set manually, and refrain from changing a manually set value when the terminal size changes.
Andrew Wood2023-08-28 22:03:14 +01:00
2cd74c7ff7
Move gettext macros earlier, so the right include directory is used when checking for libintl.h, and add the relevant options to LDFLAGS.
Andrew Wood2023-08-28 20:28:41 +01:00
4c71e96cba
Skip valgrind tests if the tool is present but does not support the options we use.
Andrew Wood2023-08-28 19:37:49 +01:00
a59465ff6e
Support "make test" as an alias for "make check".
Andrew Wood2023-08-28 17:46:56 +01:00
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.
Andrew Wood2023-08-28 17:44:53 +01:00
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).
Andrew Wood2023-08-28 17:15:16 +01:00
2a092c9495
Rename "null" state boolean to "null_terminated_lines" so it is more descriptive and less confusing.
Andrew Wood2023-08-28 16:18:51 +01:00
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".
Andrew Wood2023-08-28 16:12:31 +01:00
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.
Andrew Wood2023-08-28 15:20:51 +01:00
b1ef744058
Use posix_fadvise() on input files, where available.
Andrew Wood2023-08-28 13:10:38 +01:00
7d07db6526
Extend "make clean" to remove files from "make analyse".
Andrew Wood2023-08-28 10:15:52 +01:00
a8e232e894
Correction to Markdown manual link.
Andrew Wood2023-08-28 10:07:09 +01:00
e99548ea8a
Major restructuring to switch build system from old scripts to GNU Automake.
Andrew Wood2023-08-28 10:04:39 +01:00
fb8bea390c
Use mkstemp() to write the PID file more safely, avoiding potential symlink issues.
Andrew Wood2023-08-26 21:45:31 +01:00
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.
Andrew Wood2023-08-26 20:49:30 +01:00
c0abc9ce3c
Adjustments for migration to Codeberg.
Andrew Wood2023-08-16 17:30:10 +01:00
9ab690b7c0
Added some memory safety tests using valgrind.
Andrew Wood2023-08-15 22:50:25 +01:00
6cb207667d
No longer run tests with "sh -e", but just with "sh", for greater flexibility; all current tests already explicitly exit with the correct status.
Andrew Wood2023-08-15 22:33:18 +01:00
4c9f304a46
Adjustments and annotations as per splint and flawfinder reports, and a TODO marker for upcoming memory management cleanup work.
Andrew Wood2023-08-15 22:32:13 +01:00
a9c4c6e049
Add TODO markers for memory management cleanup work to come soon.
Andrew Wood2023-08-15 22:30:56 +01:00
4cd28b23f0
Adjustments and annotations as per splint and flawfinder reports.
Andrew Wood2023-08-14 23:07:37 +01:00
b2989efd5c
Added TODO highlighted by flawfinder.
Andrew Wood2023-08-14 22:54:02 +01:00
cc4d1a15e4
Make the filenames in the list constant.
Andrew Wood2023-08-14 22:37:23 +01:00
7f25aff91d
Adjustments and annotations as per splint and flawfinder reports.
Andrew Wood2023-08-14 22:33:06 +01:00
18d17beb93
Merged in GH#75, "configure --enable-static".
Andrew Wood2023-08-07 21:35:37 +01:00
34c18d47a4
String location auto updates after latest changes.
Andrew Wood2023-08-07 21:19:36 +01:00
6560137233
Do not fail the test if msgfmt was not available, as that would prevent localisation files being installed.
Andrew Wood2023-08-06 20:50:48 +01:00
ada5748d2f
Possible workaround for OS X oddity with fdatasync() - GH#73.
Andrew Wood2023-08-06 20:45:46 +01:00
c2e77cd005
Replaced AC_HEADER_TIOCGWINSZ and always just include sys/ioctl.h if it is available - GH#74.
Andrew Wood2023-08-06 20:31:02 +01:00
8e3b47bf89
Added test to check that "make install" installs the expected set of files.
Andrew Wood2023-08-01 21:42:59 +01:00
e7e7649d2f
Deal with the various tmux versions out there.
Andrew Wood2023-08-01 21:18:05 +01:00
146add0ed3
Check for termios.h so that HAVE_TERMIOS_H is defined, otherwise terminal size detection is broken on Cygwin (issue GH#72).
Andrew Wood2023-07-30 16:54:35 +01:00
911969c2a8
Cast char to int in isdigit() to satisfy GCC on Cygwin.
Andrew Wood2023-07-30 16:52:31 +01:00
4b3b49806f
Added notes about code reformatting, and "--help" word wrapping.
Andrew Wood2023-07-29 22:37:16 +01:00
943c05a8a0
Reformatted with "indent" to a line length of 120.
Andrew Wood2023-07-29 22:21:32 +01:00
34fe796806
Refactored "--help" to support multi-byte character locales when word wrapping, and clear all "splint" and "flawfinder" warnings.
Andrew Wood2023-07-29 21:32:34 +01:00
907b449c6b
Set line length to 120 in "make indent".
Andrew Wood2023-07-29 21:29:22 +01:00
7e374be0d7
Minor spacing changes due to "indent".
Andrew Wood2023-07-28 23:15:09 +01:00
b9f96d9508
Provide new option "--debug" instead of using insecure environment variable DEBUG.
Andrew Wood2023-07-28 23:14:14 +01:00
08a8c2ea70
Version bump and first changes listed.
Andrew Wood2023-07-28 22:36:42 +01:00
1f103d6a11
Include POSIX library in splint calls.
Andrew Wood2023-07-28 22:35:50 +01:00
7f3924db77
Added "make analyse" to run analysis tools on the source.
Andrew Wood2023-07-28 22:28:07 +01:00
cd9f057f15
Removed incorrect undef HAVE_STDBOOL_H which caused standard boolean types to be redefined unnecessarily.
Andrew Wood2023-07-28 21:55:57 +01:00
7088833627
Closed issue #70 - the problem was successfully reproduced with 1.7.0 and then observed to have been resolved in 1.7.18.
Andrew Wood2023-07-28 21:38:42 +01:00
57f8daff30
Closed issue #69 - confirmation received that this is fixed in 1.7.18.
Andrew Wood2023-07-28 21:33:12 +01:00
275cc6c10d
Updated "make release" to sign using a specific key, and only do tar.gz files.
Andrew Wood2023-07-28 17:57:55 +01:00
8491b5cdd5
Updated "make release" for upcoming change.
Andrew Wood2023-07-28 17:50:12 +01:00