heitbaum
6d8fbbf848
fix discard const qualifier from pointers
...
Since glibc-2.43 and ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr, strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return pointers into their input arrays now have definitions as macros that return a pointer to a const-qualified type when the input argument is a pointer to a const-qualified type.
Fixes:
../src/pv/display.c: In function 'pv__format_init':
../src/pv/display.c:715:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
715 | strchr(format_component_array[component_idx].match, (int) ':');
| ^~~~~~
2026-03-09 01:27:04 +01:00
Andrew Wood
d28d2f3155
Address the splint warning due to not recognising strlcat().
v1.10.4
2026-03-08 11:23:08 +00:00
Andrew Wood
9566e7d7ea
Run through "make indent" for consistency.
2026-03-08 11:21:38 +00:00
Andrew Wood
c39601bbb2
Datestamp updates.
2026-03-08 11:20:54 +00:00
Andrew Wood
e3fcc6ae71
Commit to release date.
2026-03-08 11:19:21 +00:00
Andrew Wood
9c18fecb98
Acknowledge #179 .
2026-03-08 11:10:10 +00:00
Andrew Wood
521391a495
Version bump.
2026-03-07 23:23:35 +00:00
Andrew Wood
f65caacfca
Version bump, and note the change to "--size @x" ( #179 ).
2026-03-07 23:23:13 +00:00
Andrew Wood
0a27a85b4a
Update the copyright years.
2026-03-07 23:20:20 +00:00
Andrew Wood
d186d618e3
Look up the right maxfds value to use with nftw() for the current system ( #179 ).
2026-03-07 23:15:09 +00:00
Andrew Wood
ae97565e13
Message line number updates.
2026-03-07 23:14:23 +00:00
Andrew Wood
d028d5165c
Make the gettext macros behave on Debian 13.
2026-03-07 22:34:28 +00:00
Andrew Wood
e17f64fce7
Allow "--size @dir" to read the size of all files under "dir" ( #179 ).
2026-03-07 22:23:10 +00:00
Andrew Wood
e4bc770054
Timestamp update.
v1.10.3
2025-12-15 20:11:17 +00:00
Andrew Wood
a890e8e0c8
Update version and release date.
2025-12-15 20:09:56 +00:00
Andrew Wood
3af38221ee
Correct the process title truncation.
2025-12-12 23:12:03 +00:00
Andrew Wood
579aebf6a7
Date update.
v1.10.2
2025-11-22 15:08:13 +00:00
Andrew Wood
d91bf78cac
Timestamp update.
2025-11-22 15:08:00 +00:00
Andrew Wood
6e45fe0f8d
Update translations count for Finnish.
2025-11-22 15:07:31 +00:00
Andrew Wood
8d7ced4195
Merge pull request 'Translations update from Codeberg Translate' ( #175 ) from translate/pv:weblate-pv-pv into main
...
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/175
2025-11-22 16:07:08 +01:00
artnay and Codeberg Translate
cae6049edd
Translated using Weblate (Finnish)
...
Currently translated at 43.5% (61 of 140 strings)
Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/fi/
2025-11-22 15:06:06 +00:00
Andrew Wood
1293f70575
Link to the Debian bug as well, and commit to a release date.
2025-11-22 15:03:53 +00:00
Andrew Wood
ff412009da
Version bump for #174 .
2025-11-21 23:27:47 +00:00
Andrew Wood
10bc46af6e
Suppress by source file name rather than function name, since in an LTO build the function name is optimised out ( #174 ).
2025-11-21 23:26:52 +00:00
Andrew Wood
1e5fae3b7b
Note the Finnish translations.
2025-11-21 05:53:21 +00:00
Andrew Wood
a6f72cf985
Merge pull request 'Translations update from Codeberg Translate' ( #173 ) from translate/pv:weblate-pv-pv into main
...
Reviewed-on: https://codeberg.org/ivarch/pv/pulls/173
2025-11-21 06:46:29 +01:00
artnay and Codeberg Translate
e617b92f2b
Translated using Weblate (Finnish)
...
Currently translated at 24.2% (34 of 140 strings)
Translation: pv/pv
Translate-URL: https://translate.codeberg.org/projects/pv/pv/fi/
2025-11-21 05:43:17 +00:00
Andrew Wood
b24771d224
Added empty Georgian language file as requested.
2025-11-20 21:18:50 +00:00
Andrew Wood
6de160192a
Renamed to something more specific.
2025-11-15 15:37:43 +00:00
Andrew Wood
72774e34ff
Timestamp update.
v1.10.1
2025-11-12 15:03:02 +00:00
Andrew Wood
4ab9536733
Set the release date.
2025-11-12 14:56:16 +00:00
Andrew Wood
bd9af0421c
Note the fix for --watchfd with multiple arguments ( #170 ).
2025-11-12 14:32:49 +00:00
Andrew Wood
7ba474509c
Version bump.
2025-11-12 14:32:39 +00:00
Andrew Wood
ac13765fa5
Test --watchfd with more than one argument ( #170 ).
2025-11-12 14:31:57 +00:00
Andrew Wood
ca7997fe7d
Use the new watchfd_count to size the array, not the one we just zeroed, otherwise multiple --watchfd arguments result in a memory error ( #170 )
2025-11-12 14:31:22 +00:00
Andrew Wood
22b729f9ea
Datestamp update.
2025-11-09 22:27:57 +00:00
Andrew Wood
864895f8f2
Commit to release date.
v1.10.0
2025-11-07 23:08:21 +00:00
Andrew Wood
5d185398ac
Position updates.
2025-10-31 19:48:12 +00:00
Andrew Wood
94b8b8625f
Bump minor version, since there is a new feature.
2025-10-31 19:47:07 +00:00
Andrew Wood
282823f660
Correct the stub functions used when PV_REMOTE_CONTROL is not set.
2025-10-30 22:54:02 +00:00
Andrew Wood
a5fd8d662e
Version bump, and mention the fix to timer behaviour when "--watchfd" is paused and resumed ( #169 ).
2025-10-30 21:18:26 +00:00
Andrew Wood
2904eacefe
Use the per-fd stoppage time rather than the global one ( #169 ).
2025-10-29 21:31:23 +00:00
Andrew Wood
5d538da63a
Add the stoppage time to the each of currently watched fds' counters ( #169 ).
2025-10-29 21:30:43 +00:00
Andrew Wood
fdfceb79c6
Add a TODO marker for next planned steps.
2025-10-28 23:34:42 +00:00
Andrew Wood
5aff62414a
Add a total stoppage time counter to the per-fd watchfd structure ( #169 ).
2025-10-28 23:34:26 +00:00
Andrew Wood
c7a6f85dd2
Remove unnecessary splint annotation.
2025-10-28 21:39:54 +00:00
Andrew Wood
22e9e00f63
Move the array of watchfd item information into the main state, instead of being local to the watchfd loop, so that in future we can add stoppage time to individual fd info and it will be accessible to the signal handler ( #169 ).
2025-10-27 20:41:32 +00:00
Andrew Wood
60ca91209a
Rename structure members for clarity - "tstp_time" becomes "when_tstp_arrived", and "toffset" becomes "total_stoppage_time".
2025-10-27 19:20:22 +00:00
Andrew Wood
8c440b5417
Move remote.c, line position updates, and new strings for --query / --remote option parsing.
2025-10-26 13:19:43 +00:00
Andrew Wood
07e6255e7e
Version bump, and mention the new "--query" option ( #101 ).
2025-10-26 13:14:28 +00:00