Commit Graph

  • 760cb41a61 Minor shuffle. Andrew Wood 2023-09-03 01:06:02 +01:00
  • 926e74fd02 List indentation update. Andrew Wood 2023-09-03 00:56:47 +01:00
  • 86feafb721 Rename "doc" directory to "docs" to match Debian standards. Andrew Wood 2023-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 Wood 2023-09-03 00:31:16 +01:00
  • 05f964ee25 Added new "make release" target. Andrew Wood 2023-09-02 23:40:03 +01:00
  • ff571539cb Add i18n libs to the correct variable. Andrew Wood 2023-09-02 23:27:19 +01:00
  • 307db0d802 Automatic updates to translation files. Andrew Wood 2023-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 Wood 2023-09-02 22:06:31 +01:00
  • 756b48e7b6 Minor formatting fix, and work around a pandoc bug. Andrew Wood 2023-09-02 01:40:46 +01:00
  • 2f975cd3d2 Version bump. Andrew Wood 2023-09-02 01:34:16 +01:00
  • 2b341c1a7f Minor consistency fixes. Andrew Wood 2023-09-02 01:33:11 +01:00
  • 14ce832249 New "--error-skip-block" option. Andrew Wood 2023-09-02 01:21:18 +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 Wood 2023-09-02 00:38:33 +01:00
  • decae290d4 Improve the comments, and add support in the SI prefix code for negative numbers. Andrew Wood 2023-08-31 22:51:23 +01:00
  • d51a1b10f0 Corrections to file header comments. Andrew Wood 2023-08-31 21:49:27 +01:00
  • a8867b1882 Translations file update, no new translations. Andrew Wood 2023-08-30 23:34:53 +01:00
  • 749d23705e Check whether librt is required for clock_gettime(). Andrew Wood 2023-08-30 23:34:12 +01:00
  • a6849012a6 Minor automated indentation fixes. Andrew Wood 2023-08-30 22:25:51 +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 Wood 2023-08-30 22:23:43 +01:00
  • 46e5948425 Add Debian bug IDs to the appropriate outstanding items. Andrew Wood 2023-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 Wood 2023-08-28 22:03:14 +01:00
  • 9e5bdeb3a4 Added "--discard" option. Andrew Wood 2023-08-28 21:05:45 +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 Wood 2023-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 Wood 2023-08-28 19:37:49 +01:00
  • f67d173aef Autogenerated files updated. Andrew Wood 2023-08-28 18:17:26 +01:00
  • a59465ff6e Support "make test" as an alias for "make check". Andrew Wood 2023-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 Wood 2023-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 Wood 2023-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 Wood 2023-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 Wood 2023-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 Wood 2023-08-28 15:20:51 +01:00
  • b1ef744058 Use posix_fadvise() on input files, where available. Andrew Wood 2023-08-28 13:10:38 +01:00
  • 7d07db6526 Extend "make clean" to remove files from "make analyse". Andrew Wood 2023-08-28 10:15:52 +01:00
  • a8e232e894 Correction to Markdown manual link. Andrew Wood 2023-08-28 10:07:09 +01:00
  • e99548ea8a Major restructuring to switch build system from old scripts to GNU Automake. Andrew Wood 2023-08-28 10:04:39 +01:00
  • 5495e0e808 More TODO items. Andrew Wood 2023-08-26 22:17:04 +01:00
  • 11e654ec90 Added plans to change build system and license. Andrew Wood 2023-08-26 22:06:04 +01:00
  • 4854fcf3e0 Note the --pidfile change. Andrew Wood 2023-08-26 21:47:00 +01:00
  • fb8bea390c Use mkstemp() to write the PID file more safely, avoiding potential symlink issues. Andrew Wood 2023-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 Wood 2023-08-26 20:49:30 +01:00
  • c0abc9ce3c Adjustments for migration to Codeberg. Andrew Wood 2023-08-16 17:30:10 +01:00
  • c39d81b71a Removed. Andrew Wood 2023-08-16 17:18:09 +01:00
  • 9ab690b7c0 Added some memory safety tests using valgrind. Andrew Wood 2023-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 Wood 2023-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 Wood 2023-08-15 22:32:13 +01:00
  • a9c4c6e049 Add TODO markers for memory management cleanup work to come soon. Andrew Wood 2023-08-15 22:30:56 +01:00
  • 4cd28b23f0 Adjustments and annotations as per splint and flawfinder reports. Andrew Wood 2023-08-14 23:07:37 +01:00
  • b2989efd5c Added TODO highlighted by flawfinder. Andrew Wood 2023-08-14 22:54:02 +01:00
  • cc4d1a15e4 Make the filenames in the list constant. Andrew Wood 2023-08-14 22:37:23 +01:00
  • 7f25aff91d Adjustments and annotations as per splint and flawfinder reports. Andrew Wood 2023-08-14 22:33:06 +01:00
  • 32f984de56 Date/version bump. Andrew Wood 2023-08-14 20:59:55 +01:00
  • f01117d84e Adjustments and annotations as per splint and flawfinder reports. Andrew Wood 2023-08-14 20:56:11 +01:00
  • f3cd9a2664 Spacing changes from "make indent". Andrew Wood 2023-08-13 16:19:45 +01:00
  • fff425ec61 Added flawfinder notes for getenv(). Andrew Wood 2023-08-13 16:18:22 +01:00
  • c78e082192 Follow the current month. Andrew Wood 2023-08-07 21:41:54 +01:00
  • 34ba94ae63 Date/version bump. Andrew Wood 2023-08-07 21:41:21 +01:00
  • 82e1297d77 Added contributor for GH#73,74. Andrew Wood 2023-08-07 21:40:41 +01:00
  • 25baeb4375 URL correction. Andrew Wood 2023-08-07 21:40:16 +01:00
  • 18d17beb93 Merged in GH#75, "configure --enable-static". Andrew Wood 2023-08-07 21:35:37 +01:00
  • 34c18d47a4 String location auto updates after latest changes. Andrew Wood 2023-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 Wood 2023-08-06 20:50:48 +01:00
  • ada5748d2f Possible workaround for OS X oddity with fdatasync() - GH#73. Andrew Wood 2023-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 Wood 2023-08-06 20:31:02 +01:00
  • 8e3b47bf89 Added test to check that "make install" installs the expected set of files. Andrew Wood 2023-08-01 21:42:59 +01:00
  • e7e7649d2f Deal with the various tmux versions out there. Andrew Wood 2023-08-01 21:18:05 +01:00
  • e63b6225f8 Bump for new unreleased version. Andrew Wood 2023-07-31 23:23:39 +01:00
  • 14fb0e7832 Terminal width detection test. Andrew Wood 2023-07-31 23:22:51 +01:00
  • 303d3ea359 Corrected Markdown list formatting. v1.7.24 Andrew Wood 2023-07-30 20:11:30 +01:00
  • 318954d21e Add link to issue describing terminal sizing bug. Andrew Wood 2023-07-30 20:04:17 +01:00
  • 85dd2603bf Added DEVELOPERS.md. Andrew Wood 2023-07-30 19:59:19 +01:00
  • b6c797af1a Track position movements due to reformatting. Andrew Wood 2023-07-30 19:22:00 +01:00
  • 40b9ef2a9d Version update for new release. Andrew Wood 2023-07-30 18:56:09 +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 Wood 2023-07-30 16:54:35 +01:00
  • 911969c2a8 Cast char to int in isdigit() to satisfy GCC on Cygwin. Andrew Wood 2023-07-30 16:52:31 +01:00
  • 4b3b49806f Added notes about code reformatting, and "--help" word wrapping. Andrew Wood 2023-07-29 22:37:16 +01:00
  • 943c05a8a0 Reformatted with "indent" to a line length of 120. Andrew Wood 2023-07-29 22:21:32 +01:00
  • 630d92fef6 Added splint annotation. Andrew Wood 2023-07-29 22:19:43 +01:00
  • 34fe796806 Refactored "--help" to support multi-byte character locales when word wrapping, and clear all "splint" and "flawfinder" warnings. Andrew Wood 2023-07-29 21:32:34 +01:00
  • 907b449c6b Set line length to 120 in "make indent". Andrew Wood 2023-07-29 21:29:22 +01:00
  • b59b1bad4b Added note about DEBUG. Andrew Wood 2023-07-28 23:16:41 +01:00
  • 7e374be0d7 Minor spacing changes due to "indent". Andrew Wood 2023-07-28 23:15:09 +01:00
  • b9f96d9508 Provide new option "--debug" instead of using insecure environment variable DEBUG. Andrew Wood 2023-07-28 23:14:14 +01:00
  • 08a8c2ea70 Version bump and first changes listed. Andrew Wood 2023-07-28 22:36:42 +01:00
  • 1f103d6a11 Include POSIX library in splint calls. Andrew Wood 2023-07-28 22:35:50 +01:00
  • 7f3924db77 Added "make analyse" to run analysis tools on the source. Andrew Wood 2023-07-28 22:28:07 +01:00
  • cd9f057f15 Removed incorrect undef HAVE_STDBOOL_H which caused standard boolean types to be redefined unnecessarily. Andrew Wood 2023-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 Wood 2023-07-28 21:38:42 +01:00
  • 57f8daff30 Closed issue #69 - confirmation received that this is fixed in 1.7.18. Andrew Wood 2023-07-28 21:33:12 +01:00
  • 275cc6c10d Updated "make release" to sign using a specific key, and only do tar.gz files. Andrew Wood 2023-07-28 17:57:55 +01:00
  • 8491b5cdd5 Updated "make release" for upcoming change. Andrew Wood 2023-07-28 17:50:12 +01:00
  • 6496c8785b Removed an obsolete step. Andrew Wood 2023-07-28 17:40:44 +01:00
  • 506ec4a8ec Updating as a result of msgmerge during release. Andrew Wood 2023-07-28 17:34:29 +01:00
  • 5a140b689f Updated for new release v1.7.18 Andrew Wood 2023-07-28 11:10:30 +01:00
  • 38ddb5e32a Corrected language list in NLS support. Andrew Wood 2023-07-28 11:08:49 +01:00
  • 173de4fafd Bump version for new release. v1.7.17 Andrew Wood 2023-07-27 22:19:42 +01:00
  • ae81f83e9b New option "--direct-io". Andrew Wood 2023-07-27 21:44:30 +01:00
  • 9f07a28065 Formatting fix for short multiline test output on wide terminals Andrew Wood 2023-07-27 21:11:08 +01:00
  • 60913618be Adjust lower threshold in case of heavy load during testing. Andrew Wood 2023-07-27 20:49:14 +01:00
  • 43dc9d6469 Added test for "--sync" Andrew Wood 2023-07-26 22:43:00 +01:00
  • 6cff3c1c2a First draft of new "--sync" option. Andrew Wood 2023-07-26 22:17:00 +01:00