Andrew Wood
|
73bc1ab139
|
Classify --watchfd and --remote as "alternative operating modes" rather than "data transfer modifiers" since they change the way PV runs entirely.
|
2024-12-10 21:05:59 +00:00 |
|
Andrew Wood
|
35fdb331e4
|
Add a leading space to the exit status codes, for readability.
|
2024-12-10 21:01:38 +00:00 |
|
Andrew Wood
|
9ceda2059d
|
Set the indent so that the exit status items do not waste a line each.
|
2024-12-10 20:59:04 +00:00 |
|
Andrew Wood
|
0e24c9f453
|
Use long options in examples where it makes sense to do so, for readability.
|
2024-12-10 20:56:25 +00:00 |
|
Andrew Wood
|
ad54067b48
|
Note that --watchfd works on macOS as well as Linux, and correct the capitalisation of macOS elsewhere.
|
2024-12-10 20:50:53 +00:00 |
|
Andrew Wood
|
e99a58b430
|
Remove the SY macros from the manual since they are not universally supported, and replace the technically correct and complete, but user-hostile, synopsis with a simplified version that lists the main modes of operation.
|
2024-12-10 20:44:43 +00:00 |
|
Andrew Wood
|
51a5de71c1
|
Add a "can_display_utf8" flag based on the current locale, for future use.
|
2024-12-09 23:23:07 +00:00 |
|
Andrew Wood
|
06eca8cefa
|
Renamed for consistency - pv__ for static functions, and name the array an array.
|
2024-12-09 21:52:25 +00:00 |
|
Andrew Wood
|
a4494159ea
|
Positions update after moving the formatter functions.
|
2024-12-09 21:46:00 +00:00 |
|
Andrew Wood
|
c95e25776e
|
Move the formatter functions into separate files so that display.c is less of a monolith; and replace the ctype.h macros with internal versions.
|
2024-12-09 21:42:16 +00:00 |
|
Andrew Wood
|
c2a5be6aa9
|
Allow SKIP_VALGRIND_TESTS to be passed through to package building.
v1.9.15
|
2024-12-08 23:15:31 +00:00 |
|
Andrew Wood
|
135eb71a75
|
Make the issues into links.
|
2024-12-08 23:13:29 +00:00 |
|
Andrew Wood
|
af99120067
|
Timestamp update.
|
2024-12-08 22:22:22 +00:00 |
|
Andrew Wood
|
2d28520ae4
|
Version bump.
|
2024-12-08 22:21:45 +00:00 |
|
Andrew Wood
|
35d5b9efab
|
Handle wide characters and ECMA-48 CSI sequences in the format string when calculating string widths.
|
2024-12-08 21:38:38 +00:00 |
|
Andrew Wood
|
f495303177
|
List all supported format sequences in the output of "--help".
|
2024-12-08 20:40:05 +00:00 |
|
Andrew Wood
|
fb2e6b4074
|
New "--format" sequences "{progress-bar-only}" and "{progress-amount-only}".
|
2024-12-08 20:13:33 +00:00 |
|
Andrew Wood
|
4ffdee0002
|
Introduce the pv_strwidth() function so that in future we can add support for escape sequences and UTF-8 in format strings.
|
2024-12-08 17:40:12 +00:00 |
|
Andrew Wood
|
5c5d53e1d1
|
Address two splint-related TODOs.
|
2024-12-08 17:31:59 +00:00 |
|
Andrew Wood
|
269d2f5729
|
Correction to "make indentclean".
|
2024-12-08 17:27:06 +00:00 |
|
Andrew Wood
|
57149c2d03
|
Add long names to format sequences, such as "%{rate}".
|
2024-12-08 17:16:02 +00:00 |
|
Andrew Wood
|
838ebcb78f
|
Improve the handling of dangling or invalid "%" sequences.
|
2024-12-08 16:18:58 +00:00 |
|
Andrew Wood
|
6298a7be9d
|
Refactor the display formatters into their own functions, remove the static arrays for component contents, and start tracking the displayed width of each segment separately from the length in bytes.
|
2024-12-08 16:04:00 +00:00 |
|
Andrew Wood
|
cfea00b200
|
Use standalone flags to indicate whether we are tracking the last bytes output or the previous line written, so that the component array is not needed outside of display.c.
|
2024-12-08 10:23:24 +00:00 |
|
Andrew Wood
|
3d52919411
|
Remove the caveat about only specifying "%p" once, as it can now be used more than once.
|
2024-12-07 23:26:12 +00:00 |
|
Andrew Wood
|
52ea1b5ba2
|
Acknowledge %nL (#121).
|
2024-12-07 23:24:51 +00:00 |
|
Andrew Wood
|
619a84949f
|
New format sequence "%nL" to display the most recently written line (#121).
|
2024-12-07 23:12:41 +00:00 |
|
Andrew Wood
|
c3648af57f
|
Handle the progress bar appearing more than once in the format string.
|
2024-12-07 20:23:20 +00:00 |
|
Andrew Wood
|
53b5ea54c6
|
Track the chosen size of format segments so that "%nA" can appear more than once, with different "n" values (#122).
|
2024-12-07 19:39:44 +00:00 |
|
Andrew Wood
|
c4c7b9ec00
|
Refer to "bytes" rather than "length", so that in future we can differentiate between the number of bytes in a string and how many display columns it occupies.
|
2024-12-07 17:17:59 +00:00 |
|
Andrew Wood
|
b428e7613d
|
Revert back to one test at a time, make it tunable.
|
2024-12-07 16:39:12 +00:00 |
|
Andrew Wood
|
0e9534c10e
|
Correct how the permissions are set, now that subdirectories are present.
|
2024-12-07 16:20:48 +00:00 |
|
Andrew Wood
|
7f8aa3f985
|
Timestamp update.
|
2024-12-07 14:31:54 +00:00 |
|
Andrew Wood
|
238e07e7d7
|
Add a section to generate OS packages containing the compiled program.
|
2024-12-07 14:30:27 +00:00 |
|
Andrew Wood
|
b6462ad865
|
Correction for compatibility with Debian 11.
|
2024-12-07 14:27:38 +00:00 |
|
Andrew Wood
|
2d7d854a97
|
Allow all tests to be skipped if SKIP_ALL_TESTS is 1.
|
2024-12-07 14:23:03 +00:00 |
|
Andrew Wood
|
0626737a15
|
Pass "-j4" to "make" during the checks.
|
2024-12-07 13:34:36 +00:00 |
|
Andrew Wood
|
17a1c9d639
|
Keep the exit trap.
|
2024-12-07 02:29:48 +00:00 |
|
Andrew Wood
|
31ea20dbd3
|
New script to help with the release process.
|
2024-12-07 02:20:30 +00:00 |
|
Andrew Wood
|
97c48c8901
|
Allow valgrind tests to be skipped with an environment variable.
|
2024-12-07 02:20:04 +00:00 |
|
Andrew Wood
|
bb339ba519
|
New script to build a package from the source (.rpm, .deb).
|
2024-12-07 01:26:44 +00:00 |
|
Andrew Wood
|
499f8418bf
|
Move dev/test scripts from dist_doc_DATA to EXTRA_DIST so they do not get installed in /usr/share/doc/ but are just included in the sources.
|
2024-12-07 01:23:20 +00:00 |
|
Andrew Wood
|
b84432ec7f
|
Change buffer pointer type to "char *" to avoid doing pointer arithmetic on "void *".
|
2024-12-06 22:46:28 +00:00 |
|
Andrew Wood
|
111b514a05
|
Replace non-standard \e with \033.
|
2024-12-06 19:39:57 +00:00 |
|
Andrew Wood
|
90829dad51
|
Minor formatting tweaks.
|
2024-12-05 23:32:34 +00:00 |
|
Andrew Wood
|
943e433f7e
|
Implement test of cross-compilation with the check being run on a host of the target type.
|
2024-12-05 21:54:16 +00:00 |
|
Andrew Wood
|
02e6d0e04c
|
Skip this test if environment file XCFILE is set to 1.
|
2024-12-05 21:52:57 +00:00 |
|
Andrew Wood
|
1e7c92a107
|
Reworked to allow cross-compilation, but not yet finished.
|
2024-12-04 23:53:31 +00:00 |
|
Andrew Wood
|
2a97d699a8
|
Minor updates.
|
2024-12-04 22:05:17 +00:00 |
|
Andrew Wood
|
2d0321e544
|
Draft test script to run "make check" on multiple VMs at once.
|
2024-12-04 22:02:59 +00:00 |
|