Commit Graph
1144 Commits
Author SHA1 Message Date
Andrew Wood 983f75c7df Message line number updates. 2026-05-23 00:33:08 +01:00
Andrew Wood e043efd259 Handle splice failures more robustly when the intermediate pipe is involved. 2026-05-23 00:32:50 +01:00
Andrew Wood 7e99aa5b13 Expand the description of --no-splice. 2026-05-22 21:43:30 +01:00
Andrew Wood 2d08b3208a Expand the explanation of "--name" and "--cursor" and remove "you". 2026-05-22 21:31:09 +01:00
Andrew Wood 944ae9aca1 Reword to remove implied agency. 2026-05-22 21:18:34 +01:00
Andrew Wood e82d5e48f4 Simplify the explanation of --delay-start. 2026-05-22 21:15:06 +01:00
Andrew Wood 98c92e0239 Make the --wait example a little clearer. 2026-05-22 20:52:42 +01:00
Andrew Wood 6c5d86c66f Add the missing closing bracket. 2026-05-22 20:44:43 +01:00
Andrew Wood 9d96c7d6eb Fill in more empty translations, using coreutils translations as a guide. 2026-05-21 21:31:43 +01:00
Andrew Wood 1f27ba3b35 Try to explain more clearly. 2026-05-20 22:58:53 +01:00
Andrew Wood 4aa73d5fc6 Note the updated translations. 2026-05-19 21:30:28 +01:00
Andrew Wood 50150d0d66 Fill in empty translations, move accidentally repeated comment. 2026-05-19 21:22:05 +01:00
Andrew Wood 192566a9fd Fill in empty translations and make capitalisation more consistent. 2026-05-19 21:21:24 +01:00
Andrew Wood 6dcb41f2fa Fill in empty translations. 2026-05-19 21:20:02 +01:00
Andrew Wood 54b0c8bc23 Datestamp update. 2026-05-18 22:00:54 +01:00
Andrew Wood 6609500d90 Note the addition of a partial Georgian translation catalogue. 2026-05-17 21:27:47 +01:00
Andrew Wood 905e27ad47 Remove overly specific edge-case error messages, where just the filename and the system error would suffice; replace all the different types of memory allocation error with "memory allocation failure", since the action for the end-user is the same in all cases; and use the error messages "memory allocation failure", "interrupted by a signal", "error closing file", "input file is also the output", and "write error" since these are all used by either coreutils and grep, in similar contexts, so their translations can be copied. 2026-05-17 00:31:46 +01:00
Andrew Wood df77b78e23 Merge pull request 'Translations update from Codeberg Translate' (#195) from translate/pv:weblate-pv-pv into main
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/195
2026-05-16 21:27:26 +02:00
a-j-woodandCodeberg Translate 87f2326012 Translated using Weblate (Georgian)
Currently translated at 54.0% (80 of 148 strings)

Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/ka/
2026-05-16 19:25:57 +00:00
Andrew Wood a0cd6a5d18 Describe the values in the --stats line in the correct order. 2026-05-16 20:21:31 +01:00
Andrew Wood e11d1dec19 Message line number updates. 2026-05-16 16:13:51 +01:00
Andrew Wood b51afc07e2 Correct the --bar-style description to use the same placeholder as in the option spec. 2026-05-16 16:13:26 +01:00
Andrew Wood 813f6aaeab Note the fixes in splice() handling. 2026-05-16 16:12:39 +01:00
Andrew Wood 49adee62c4 Merge pull request 'Translations update from Codeberg Translate' (#194) from translate/pv:weblate-pv-pv into main
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/194
2026-05-16 17:06:10 +02:00
a-j-woodandCodeberg Translate 35d1e59f74 Translated using Weblate (Georgian)
Currently translated at 20.2% (30 of 148 strings)

Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/ka/
2026-05-16 15:05:00 +00:00
Andrew Wood 1a00a7fdf5 Correct the off_t/size_t max_to_write overflow check. 2026-05-15 23:42:49 +01:00
Andrew Wood d546e90a94 Break pv__transfer_read() into smaller functions to separate out the different parts, and improve the splice() handling when rate limiting and when EOF / Control-D is typed into stdin. 2026-05-15 23:23:24 +01:00
Andrew Wood 82de6be6fd Adjust removal note now Georgian has been restored. 2026-05-14 21:54:07 +01:00
Andrew Wood 958cacf4bb Restore the empty Georgian language file as requested. 2026-05-14 21:53:11 +01:00
Andrew Wood 8198058bb2 Message line number updates. 2026-05-14 21:51:45 +01:00
Andrew Wood 60203aabf5 Add retries on signal interrupt to the splicing into and out of the intermediate input pipe, and add a TODO marker highlighting a problem with the way splice() is currently handled. 2026-05-13 22:19:03 +01:00
Andrew Wood d65dbd2f37 Make pv_format() static, as it is only used in one place (cppcheck recommendation). 2026-05-12 23:06:09 +01:00
Andrew Wood 65741d9b2e Remove needless "continue" in the empty "for" loop (cppcheck recommendation). 2026-05-11 20:59:42 +01:00
Andrew Wood 4fbcfebc6c Remove needless comparisons that would always be true here (cppcheck recommendation). 2026-05-11 20:56:10 +01:00
Andrew Wood 270bcb066e Make pv_watchfd_info() and pv_reset_watchfd() static, as they are only used in one place (cppcheck recommendation). 2026-05-11 20:50:43 +01:00
Andrew Wood 229aadf194 Make the struct dirent a const (cppcheck recommendation). 2026-05-11 20:43:45 +01:00
Andrew Wood 6b0f8477d0 Message line number updates. 2026-05-10 20:52:15 +01:00
Andrew Wood 61b412b0f1 Mark pointers to constant buffers as const (cppcheck recommendation). 2026-05-10 20:38:49 +01:00
Andrew Wood 6772d7e5a1 Read the EOF values in the debug statements by dereferencing the eof_in and eof_out pointers, not by using the pointers as a truth value. 2026-05-10 20:17:11 +01:00
Andrew Wood f6b2196369 Reduce the scope of offset (cppcheck recommendation). 2026-05-10 20:05:42 +01:00
Andrew Wood d2c183d234 Remove redundant assigment (cppcheck recommendation). 2026-05-10 19:55:02 +01:00
Andrew Wood e09976042d Reduce the scope of the first keyword_index (cppcheck recommendation), and in the formatter, guard against a size_t underflow by checking the write position each time it's used (implied by cppcheck). 2026-05-10 19:25:07 +01:00
Andrew Wood 7ddbc72525 Make the struct tm a const (cppcheck recommendation). 2026-05-10 19:19:30 +01:00
Andrew Wood 7c19f58e75 Mark pointers to constant buffers as const (cppcheck recommendation). 2026-05-10 19:18:01 +01:00
Andrew Wood 723d96b54b Mark argument as pointer to const, since only the pointer changes (cppcheck recommendation). 2026-05-10 19:17:12 +01:00
Andrew Wood 6b5d217e22 Reduce the scope of end_idx (cppcheck recommendation). 2026-05-10 19:15:54 +01:00
Andrew Wood d9eb83e1f5 Make the struct tm a const (cppcheck recommendation). 2026-05-10 19:15:17 +01:00
Andrew Wood 411f9529a2 Message line number updates. 2026-05-09 20:25:04 +01:00
Andrew Wood adf2767763 Additional commentary on total_written and rate limiting. 2026-05-09 20:24:49 +01:00
Andrew Wood 4fc5d10671 Remove spurious extra word. 2026-05-09 20:08:25 +01:00