Commit Graph
985 Commits
Author SHA1 Message Date
Andrew Wood ef730dda06 Minor corrections to the comments. 2026-04-12 17:42:16 +01:00
Andrew Wood e82aa71f26 Update message positions. 2026-04-11 15:52:28 +01:00
Andrew Wood e0f091384f Replace fgets() with getline() to eliminate buffers of a fixed size. 2026-04-11 15:51:42 +01:00
Andrew Wood bca6fc9542 Tidy up the comments. 2026-04-11 13:39:51 +01:00
Andrew Wood 937298eec2 Update message positions. 2026-04-11 13:39:35 +01:00
Andrew Wood 2ff99ab1cd Add TODO markers for elimination of fixed size buffers. 2026-04-09 22:01:54 +01:00
Andrew Wood 593723ba92 Explain the error branch. 2026-04-09 21:58:38 +01:00
Andrew Wood 989a34b7c7 Explain what's going on with realloc(). 2026-04-09 21:44:57 +01:00
Andrew Wood 49b6c71f42 Message line number updates. 2026-04-08 22:05:32 +01:00
Andrew Wood b3eacc71d0 Note the --help fix on small terminals. 2026-04-07 23:09:42 +01:00
Andrew Wood 0eab393715 Make it clearer what display_word_wrap() does and set the margins more appropriately when the terminal size is small. 2026-04-07 23:08:53 +01:00
Andrew Wood 52585447f0 Correct the wrapping width on lines after the first, improve the commenting, and avoid size_t underflow on very narrow terminals. 2026-04-07 22:20:55 +01:00
Andrew Wood 3eff81f1a6 Update the translations count for coralpink. 2026-04-06 16:58:15 +01:00
Andrew Wood 72376e2d29 Merge changes from weblate (#186). 2026-04-06 16:44:15 +01:00
Coral PinkandCodeberg Translate 7532f33c7d Translated using Weblate (Polish)
Currently translated at 100.0% (145 of 145 strings)

Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/pl/
2026-04-06 15:34:16 +00:00
Andrew Wood cf68a17f33 Message line number updates. 2026-04-06 16:08:10 +01:00
Andrew Wood f4a3d61a17 Restructure the "monitor remaining side" part to avoid the need for a fallthrough in the case statement, getting rid of compiler warnings on CentOS 5, 6, and 7, and arguably making the code easier to follow. 2026-04-06 16:07:56 +01:00
Andrew Wood e01e456825 Note the cleanup of the OpenBSD warning. 2026-04-06 15:20:08 +01:00
Andrew Wood ba0738496e In the stub pv_remote_check() used where remote control is unavailable (OpenBSD), return false so there is a return value. 2026-04-06 15:19:24 +01:00
Andrew Wood bec0b6924e Update message positions, and add the new strings for monitor mode. 2026-04-06 14:12:59 +01:00
Andrew Wood 1f96f368bd Note the correction to --pidfile error checking. 2026-04-05 20:42:05 +01:00
Andrew Wood 3aac6a7b64 Tidy up the comments. 2026-04-05 20:23:38 +01:00
Andrew Wood fc23d71226 Return an error from pv__write_pidfile() if the final rename() fails. 2026-04-05 19:34:00 +01:00
Andrew Wood c2474f5c33 Tidy up the comments. 2026-04-05 19:30:51 +01:00
Andrew Wood 9427d210d8 Remove the "ratio" option flag, as it is not needed (#67). 2026-04-05 15:10:53 +01:00
Andrew Wood bd5b709dda Calculate the size, in monitor mode (#67). 2026-04-04 21:43:43 +01:00
Andrew Wood b79273bb91 At the end of the transfer, exchange information with the other monitor when in "monitor both" mode, so both sides learn each other's final transfer value, to give the correct final ratio (#67). 2026-04-04 21:07:04 +01:00
Andrew Wood f5fd94ef77 Note the warning cleanup. 2026-04-04 13:44:47 +01:00
Andrew Wood 7c0573c847 Version bump for feature addition. 2026-04-04 13:37:15 +01:00
Andrew Wood 02b3f215fc Update to match the source material, for --monitor (#67). 2026-04-04 13:35:52 +01:00
Andrew Wood 00b03fbfea Note the --monitor option (#67). 2026-04-04 13:34:14 +01:00
Andrew Wood 74de4e9a01 Merge branch 'wrap_process' 2026-04-04 13:30:50 +01:00
Andrew Wood d8cc637b56 Add the "%{ratio}" formatter (#67). 2026-04-03 21:49:41 +01:00
Andrew Wood 8f19633dd7 In "-M both" mode, exchange information about the total amount transferred with the other side (#67). 2026-04-03 21:12:13 +01:00
Andrew Wood 6c3a08af2b Document the ratio formatting sequence (#67). 2026-04-03 20:32:14 +01:00
Andrew Wood 7892e54d7e Rather than setting an option flag for ratio, add it to the default format string on the "out" side (#67). 2026-04-03 20:20:50 +01:00
Andrew Wood d7327aaf95 Replace pv_state_set_format() with pv_set_format_options(), which takes a structure rather than a long list of arguments, to make it easier to pass around - and rely on pv_state_name_set() being called first rather than doing it within this function, so it is only doing one job (#67). 2026-04-03 20:00:42 +01:00
Andrew Wood 80358e84f3 If no display options are passed and "-M both" is active, set a "ratio" option flag to display the in:out ratio as well (#67). 2026-04-02 23:08:49 +01:00
Andrew Wood 002780fbaf Ignore files autogenerated by "autoreconf" (#185). 2026-04-01 22:14:57 +01:00
Andrew Wood 1003bbb121 Remove src/include/config.h.in from the repository as it is generated by "autoreconf" and causes conflicts (#185). 2026-04-01 22:11:40 +01:00
Andrew Wood f36ff9b378 Remove po/Makefile.in.in from the repository as it is generated by "autoreconf" and causes conflicts (#185). 2026-04-01 22:09:19 +01:00
Andrew Wood ad834055db Acknowledge PR#180. 2026-03-31 22:18:00 +01:00
Andrew Wood 7ce6d275ba Merge pull request 'fix discard const qualifier from pointers' (#180) from heitbaum/pv:const into main
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/180
2026-03-31 23:10:13 +02:00
Andrew Wood 8ef4ff2e84 If an empty format string is supplied, such as -F "", make that imply -q and cancel -c, so that -F "" -F "%b %t %r %p %e" -M both will monitor both sides but only display the output side - which will be useful when ratio is added (#67). 2026-03-30 21:41:16 +01:00
Andrew Wood 00f06f2b2c Pass the othermonitor_* values into the main state, and add TODO markers for next steps (#67). 2026-03-29 21:49:47 +01:00
Andrew Wood 2a54d4edcc Set up a pair of pipes for the in and out monitors to use to pass progress details between each other, and replace repeated "close if open" code with a macro (#67). 2026-03-28 22:40:45 +00:00
Andrew Wood 8281b918ef Add a TODO marker for monitor mode suggesting another way to pass ratio information between in and out (#67). 2026-03-27 22:28:07 +00:00
Andrew Wood 3c8393f8be Note the translation updates. 2026-03-26 23:42:56 +00:00
Andrew Wood b1178b2ee2 Acknowledge Finnish translations submitter (#184). 2026-03-25 23:46:22 +00:00
Andrew Wood d670d47542 Merge pull request 'Translations update from Codeberg Translate' (#184) from translate/pv:weblate-pv-pv into main
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/184
2026-03-26 00:43:49 +01:00