Commit Graph
195 Commits
Author SHA1 Message Date
Andrew Wood f67d173aef Autogenerated files updated. 2023-08-28 18:17:26 +01:00
Andrew Wood a59465ff6e Support "make test" as an alias for "make check". 2023-08-28 17:46:56 +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 7d07db6526 Extend "make clean" to remove files from "make analyse". 2023-08-28 10:15:52 +01:00
Andrew Wood a8e232e894 Correction to Markdown manual link. 2023-08-28 10:07:09 +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 5495e0e808 More TODO items. 2023-08-26 22:17:04 +01:00
Andrew Wood 11e654ec90 Added plans to change build system and license. 2023-08-26 22:06:04 +01:00
Andrew Wood 4854fcf3e0 Note the --pidfile change. 2023-08-26 21:47:00 +01:00
Andrew Wood fb8bea390c Use mkstemp() to write the PID file more safely, avoiding potential symlink issues. 2023-08-26 21:45:31 +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 c39d81b71a Removed. 2023-08-16 17:18:09 +01:00
Andrew Wood 9ab690b7c0 Added some memory safety tests using valgrind. 2023-08-15 22:50:25 +01:00
Andrew Wood 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. 2023-08-15 22:33:18 +01:00
Andrew Wood 4c9f304a46 Adjustments and annotations as per splint and flawfinder reports, and a TODO marker for upcoming memory management cleanup work. 2023-08-15 22:32:13 +01:00
Andrew Wood a9c4c6e049 Add TODO markers for memory management cleanup work to come soon. 2023-08-15 22:30:56 +01:00
Andrew Wood 4cd28b23f0 Adjustments and annotations as per splint and flawfinder reports. 2023-08-14 23:07:37 +01:00
Andrew Wood b2989efd5c Added TODO highlighted by flawfinder. 2023-08-14 22:54:02 +01:00
Andrew Wood cc4d1a15e4 Make the filenames in the list constant. 2023-08-14 22:37:23 +01:00
Andrew Wood 7f25aff91d Adjustments and annotations as per splint and flawfinder reports. 2023-08-14 22:33:06 +01:00
Andrew Wood 32f984de56 Date/version bump. 2023-08-14 20:59:55 +01:00
Andrew Wood f01117d84e Adjustments and annotations as per splint and flawfinder reports. 2023-08-14 20:56:11 +01:00
Andrew Wood f3cd9a2664 Spacing changes from "make indent". 2023-08-13 16:19:45 +01:00
Andrew Wood fff425ec61 Added flawfinder notes for getenv(). 2023-08-13 16:18:22 +01:00
Andrew Wood c78e082192 Follow the current month. 2023-08-07 21:41:54 +01:00
Andrew Wood 34ba94ae63 Date/version bump. 2023-08-07 21:41:21 +01:00
Andrew Wood 82e1297d77 Added contributor for GH#73,74. 2023-08-07 21:40:41 +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 34c18d47a4 String location auto updates after latest changes. 2023-08-07 21:19:36 +01:00
Andrew Wood 6560137233 Do not fail the test if msgfmt was not available, as that would prevent localisation files being installed. 2023-08-06 20:50:48 +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 e7e7649d2f Deal with the various tmux versions out there. 2023-08-01 21:18:05 +01:00
Andrew Wood e63b6225f8 Bump for new unreleased version. 2023-07-31 23:23:39 +01:00
Andrew Wood 14fb0e7832 Terminal width detection test. 2023-07-31 23:22:51 +01:00
Andrew Wood 303d3ea359 Corrected Markdown list formatting. v1.7.24 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 85dd2603bf Added DEVELOPERS.md. 2023-07-30 19:59:19 +01:00
Andrew Wood b6c797af1a Track position movements due to reformatting. 2023-07-30 19:22:00 +01:00
Andrew Wood 40b9ef2a9d Version update for new release. 2023-07-30 18:56:09 +01:00
Andrew Wood 146add0ed3 Check for termios.h so that HAVE_TERMIOS_H is defined, otherwise terminal size detection is broken on Cygwin (issue GH#72). 2023-07-30 16:54:35 +01:00
Andrew Wood 911969c2a8 Cast char to int in isdigit() to satisfy GCC on Cygwin. 2023-07-30 16:52:31 +01:00