Commit Graph
1018 Commits
Author SHA1 Message Date
Andrew Wood ebbcdf4b4d Remove obsolete TODO - there is no open issue for it, and it doesn't explain what "better" means. 2026-04-19 12:16:48 +01:00
Andrew Wood b3410cf8c0 Adjust the lower boundary to make failure less likely on a heavily loaded system. 2026-04-19 00:19:29 +01:00
Andrew Wood dc51002ba4 Reword the introduction, and mention monitor mode. 2026-04-19 00:09:26 +01:00
Andrew Wood 9bc5903337 Remove the empty translation catalogues for Spanish and Georgian, as they are unmaintained and have never received any submissions. 2026-04-18 22:34:32 +01:00
Andrew Wood 26c4ad45bd Note the error reporting change. 2026-04-18 22:30:39 +01:00
Andrew Wood cb8cac81aa Message line number updates. 2026-04-18 22:24:09 +01:00
Andrew Wood 7dc02a475e Make pv_error() and pv_perror() available outside of src/pv/, and use them throughout the program. 2026-04-18 22:23:28 +01:00
Andrew Wood 25f43e129f Use pv_perror() rather than perror(), for consistency. 2026-04-18 21:46:16 +01:00
Andrew Wood b12681d667 Add a pv_perror() function to remove all the repeated strerror(errno) calls from pv_error() arguments, and standardise the error lines so the filename in question always comes first. 2026-04-18 21:07:08 +01:00
Andrew Wood 0af9cb2314 Use pv_error() instead of writing directly to stderr. 2026-04-18 20:33:07 +01:00
Andrew Wood fc364d381f Dynamically allocate the error message prefix, instead of copying it into a static buffer. 2026-04-18 20:30:39 +01:00
Andrew Wood 0481e99c2f Use pv_error() instead of writing directly to stderr. 2026-04-18 20:29:40 +01:00
Andrew Wood 7eedf884ea Add TODO markers for changes to make the code easier to understand. 2026-04-18 20:11:20 +01:00
Andrew Wood ebefc02f4e Tidy up comments. 2026-04-18 18:00:48 +01:00
Andrew Wood 17d9ee59e7 Tidy up comments. 2026-04-18 17:41:14 +01:00
Andrew Wood fec4253f07 Tidy up comments. 2026-04-18 17:23:13 +01:00
Andrew Wood 505a6d9d2b Tidy up comments. 2026-04-18 14:48:13 +01:00
Andrew Wood 3a90959f9c Tidy up comments. 2026-04-18 14:37:29 +01:00
Andrew Wood 73d1237f1b Tidy up comments. 2026-04-17 23:27:30 +01:00
Andrew Wood 1b5a936ebf Tidy up comments. 2026-04-16 21:59:49 +01:00
Andrew Wood 7de5e2ca33 Tidy up comments. 2026-04-16 20:49:44 +01:00
Andrew Wood 854186c942 Tidy up comments. 2026-04-16 20:46:07 +01:00
Andrew Wood 39c7d4f586 Tidy up comments. 2026-04-15 22:00:50 +01:00
Andrew Wood 2e08bbb20a Tidy up comments. 2026-04-14 22:17:00 +01:00
Andrew Wood bea21335c0 Add TODO markers for the removal of fprintf(stderr). 2026-04-14 21:54:33 +01:00
Andrew Wood ba80d546bc Tidy up comments. 2026-04-14 21:49:50 +01:00
Andrew Wood d120d654c6 Tidy up comments. 2026-04-13 21:25:03 +01:00
Andrew Wood b68560a5b6 Tidy up comments. 2026-04-13 20:16:48 +01:00
Andrew Wood d66343d6f6 Fix a typo in a comment. 2026-04-12 21:33:57 +01:00
Andrew Wood 7e1aa366b6 Note the cleanups made so far. 2026-04-12 20:14:37 +01:00
Andrew Wood 4749cdbb27 Tidy up comments, add a TODO marker for removal of a static buffer. 2026-04-12 20:08:21 +01:00
Andrew Wood 70fd445307 Fix a typo in a comment. 2026-04-12 18:41:15 +01:00
Andrew Wood 99d27893eb Add TODO markers for later improvements. 2026-04-12 18:39:38 +01:00
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