Andrew Wood
|
e04f50f0dc
|
Change all cursor positioning functions to use sub-structures rather than the whole state structure, and if turning off cursor positioning, do so via a new flag "cursor->disable" rather than changing the operator-supplied options in "control" (#165).
|
2025-07-27 17:05:04 +01:00 |
|
Andrew Wood
|
021dc6e054
|
Pass individual sub-structures to pv_display, but still keep state for now, until the functions cursor.c have been updated to take sub-structures rather than the whole state (#165).
|
2025-07-27 15:56:03 +01:00 |
|
Andrew Wood
|
7d7efac7c6
|
Move the terminal_supports_utf8, terminal_supports_colour, and checked_colour_support flags out of "control" and into "status", as they are not operator-supplied options, but are program-generated status flags; this will allow "control" to remain read-only for larger parts of the program (#165).
|
2025-07-27 15:37:16 +01:00 |
|
Andrew Wood
|
f79bed3cb8
|
Rename "can_display_colour" and "can_display_utf8" to "terminal_supports_colour" and "terminal_supports_utf8" to make it clearer that these are not operator-supplied option settings, they are derived from terminal capabilities (colour) and the environment (UTF-8).
|
2025-07-27 15:20:05 +01:00 |
|
Andrew Wood
|
2171f40703
|
Address the splint warning.
|
2025-07-27 00:34:09 +01:00 |
|
Andrew Wood
|
960ff1572f
|
Pass state->status, rather than state itself, to pv_format (#165).
|
2025-07-27 00:31:45 +01:00 |
|
Andrew Wood
|
da2a2e6fd2
|
Remove the state from the pv_error arguments, by adding a new function pv_set_error_prefix to call on startup, eliminating the need for a state program_name string; and add a private boolean to track whether there has been any output which means errors need preceding by a newline, which is updated by pv_display directly (#165).
|
2025-07-27 00:22:57 +01:00 |
|
Andrew Wood
|
005bc2f841
|
Pass the sub-structures separately to pv_format and pv__format_init rather than the whole state; but still pass state for now, as pv_error needs it (#165).
|
2025-07-26 22:49:29 +01:00 |
|
Andrew Wood
|
ecc0c0e414
|
Adjust the readonly structure pointer types so the pointer itself is not read-only but the thing it points to is; and change the display formatters to use pointers to control, transfer, and calc structures instead of the whole state, with read-only access enforced at compile time (#165).
|
2025-07-26 22:28:39 +01:00 |
|
Andrew Wood
|
18548d217b
|
Rename struct pvipcstate_s to pvcursorstate_s since it is for cursor positioning, not for IPC (#165).
|
2025-07-26 21:30:16 +01:00 |
|
Andrew Wood
|
653326ca9b
|
Rename struct pvcursorstate_s to pvipccursorstate_s for clarity since it is only for IPC (#165).
|
2025-07-26 21:29:20 +01:00 |
|
Andrew Wood
|
0cf8902d9b
|
Rename display structure member "display_visible" to "output_produced" for clarity.
|
2025-07-26 21:25:54 +01:00 |
|
Andrew Wood
|
762676f4e1
|
Make pv_tty_write take only the transient flags part of the state rather than the whole state, and rename the "flag" part of the state to "flags" for better readability (#165).
|
2025-07-26 21:18:13 +01:00 |
|
Andrew Wood
|
3bd49a0c3f
|
Ensure the current average rate calculation can't accidentally divide by zero.
|
2025-07-26 20:53:22 +01:00 |
|
Andrew Wood
|
870dfad9fd
|
Introduce read-only structure pointer typedefs for each of the state sub-structures, so the compiler will catch anywhere that a function would alter a structure it isn't expected to (#165).
|
2025-07-26 20:51:28 +01:00 |
|
Andrew Wood
|
3b0891b128
|
Pass more specific structures to pv_calculate_transfer_rate rather than the whole state (#165).
|
2025-07-26 19:22:07 +01:00 |
|
Andrew Wood
|
b3c854b27a
|
Add typedefs for the pointers to the sub-structures within struct pvstate_s, so they can be used as types in function declarations (#165).
|
2025-07-26 18:33:24 +01:00 |
|
Andrew Wood
|
a923bdaca4
|
Give struct names to each of the sub-structures within struct pvstate_s, so they can be used as types in function declarations (#165).
|
2025-07-26 18:24:47 +01:00 |
|
Andrew Wood
|
0070a74390
|
Correct a minor typo in a comment.
|
2025-07-26 17:57:46 +01:00 |
|
Andrew Wood
|
283bafa228
|
Word wrap update from auto generation.
v1.9.34
|
2025-07-26 14:58:02 +01:00 |
|
Andrew Wood
|
03bd428345
|
Timestamp updates.
|
2025-07-26 14:50:58 +01:00 |
|
Andrew Wood
|
f77b853f3f
|
Commit to a release date.
|
2025-07-26 14:50:39 +01:00 |
|
Andrew Wood
|
43a89a5c61
|
Line number updates.
|
2025-07-25 23:58:17 +01:00 |
|
Andrew Wood
|
44d7f94c31
|
Version bump.
|
2025-07-25 23:57:51 +01:00 |
|
Andrew Wood
|
7c84dc9890
|
Note the fix for #163.
|
2025-07-25 23:57:23 +01:00 |
|
Andrew Wood
|
025577a13f
|
Free default_bar_style on exit.
|
2025-07-25 23:46:24 +01:00 |
|
Andrew Wood
|
c180cc85cf
|
Allocate the state copy's default_bar_style using the setter function rather than pv_strdup directly (#163).
|
2025-07-25 23:44:12 +01:00 |
|
Andrew Wood
|
092a30dd7d
|
When watching file descriptors, duplicate the default_bar_style string rather than copying its pointer, to avoid double-free() (#163).
|
2025-07-25 23:40:41 +01:00 |
|
Andrew Wood
|
cd7c8f7849
|
Version bump.
|
2025-07-25 22:32:05 +01:00 |
|
Andrew Wood
|
89ee1332fe
|
Timestamp and line number update.
|
2025-07-25 22:31:52 +01:00 |
|
Andrew Wood
|
b926fffe80
|
Note issue #164.
|
2025-07-25 22:08:44 +01:00 |
|
Andrew Wood
|
7924a796ea
|
Add debugging message when SIGPIPE is received.
|
2025-07-25 20:49:50 +01:00 |
|
Andrew Wood
|
8d45738126
|
Line number updates.
|
2025-07-25 20:14:37 +01:00 |
|
Andrew Wood
|
e687c9b4d9
|
When EOF on input and output is reached but the output pipe buffer is not empty, sleep for a short time before looping while waiting for the buffer to empty, to avoid a busy-wait (#164).
|
2025-07-25 20:13:49 +01:00 |
|
Andrew Wood
|
d2e9028726
|
Add debugging output to pv_transfer wherever it returns zero (#164)
|
2025-07-25 19:49:02 +01:00 |
|
Andrew Wood
|
e6638faffc
|
New shorter home page URL.
|
2025-05-31 15:21:56 +01:00 |
|
Andrew Wood
|
f000530746
|
Correct which language Maxi_Mega is acknowledged for providing translations to.
|
2025-05-31 15:15:56 +01:00 |
|
Andrew Wood
|
5bf04f841b
|
Acknowledge translations from user milimarg.
|
2025-05-31 15:12:55 +01:00 |
|
Andrew Wood
|
5d95797aff
|
Merge pull request 'Translations update from Codeberg Translate' (#162) from translate/pv:weblate-pv-pv into main
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/162
|
2025-05-31 16:07:58 +02:00 |
|
 milimargandCodeberg Translate
|
9db2907a48
|
Translated using Weblate (French)
Currently translated at 100.0% (132 of 132 strings)
Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/fr/
|
2025-05-31 08:58:24 +00:00 |
|
Andrew Wood
|
5423ae40d6
|
Removed www. prefix from ivarch.com URL.
|
2025-02-19 23:18:56 +00:00 |
|
Andrew Wood
|
2de68acfea
|
Remove the bug reporting email address.
|
2025-02-19 21:55:28 +00:00 |
|
Andrew Wood
|
71e29b7388
|
Adjust project URL.
|
2025-02-19 20:42:22 +00:00 |
|
Andrew Wood
|
6d6619cbb4
|
Merge pull request 'Translations update from Codeberg Translate' (#129) from translate/pv:weblate-pv-pv into main
Reviewed-on: https://codeberg.org/a-j-wood/pv/pulls/129
|
2025-02-09 17:18:14 +00:00 |
|
 a-j-woodandCodeberg Translate
|
651053491e
|
Translated using Weblate (French)
Currently translated at 90.1% (119 of 132 strings)
Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/fr/
|
2025-02-09 17:17:10 +00:00 |
|
Andrew Wood
|
81f9919992
|
Acknowledge new French translations.
|
2025-02-09 17:16:44 +00:00 |
|
Andrew Wood
|
b57170d596
|
Merge pull request 'Translations update from Codeberg Translate' (#128) from translate/pv:weblate-pv-pv into main
Reviewed-on: https://codeberg.org/a-j-wood/pv/pulls/128
|
2025-02-09 17:11:41 +00:00 |
|
 Maxi_MegaandCodeberg Translate
|
60462c033b
|
Translated using Weblate (French)
Currently translated at 90.1% (119 of 132 strings)
Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/fr/
|
2025-02-09 16:43:58 +00:00 |
|
Andrew Wood
|
3f597e59e0
|
Adjust the installer test to retry with both "gmake" and "make", to work around strange behaviour on NetBSD.
v1.9.31
|
2025-01-28 22:10:49 +00:00 |
|
Andrew Wood
|
a62051e5ff
|
Adjust the sensitivity of the test.
|
2025-01-28 21:35:42 +00:00 |
|