Commit Graph
637 Commits
Author SHA1 Message Date
Andrew Wood 1ef1d858f8 Initialise the newly allocated memory. 2024-12-22 11:24:52 +00:00
Andrew Wood 74c75d36cc Move the array bounds check outside the conditional section, so that it is also performed on macOS. 2024-12-22 11:15:29 +00:00
Andrew Wood 7a4264fe1e Do not show negative timer values. 2024-12-22 00:42:01 +00:00
Andrew Wood 5decddeb42 Ensure the dynamic segment width never tries to go negative. 2024-12-22 00:21:34 +00:00
Andrew Wood 0f08153214 Skip the valgrind tests when building an RPM, as it appears that the optimisation flags do not work well with valgrind and lead to false results. v1.9.24 2024-12-19 22:01:56 +00:00
Andrew Wood 5c3743e1f8 Skip the valgrind tests when building an RPM, as it appears that the optimisation flags do not work well with valgrind and lead to false results. 2024-12-19 21:40:11 +00:00
Andrew Wood 4a287f96fd Timestamp update. 2024-12-19 21:11:17 +00:00
Andrew Wood 0c35ae8d9e Add missing formatter source to POTFILES.in. 2024-12-19 21:10:44 +00:00
Andrew Wood ddb2ff9b06 Follow similar formatting conventions to the manual. 2024-12-19 21:03:48 +00:00
Andrew Wood 32398dd5fb Follow similar formatting conventions to the manual. 2024-12-19 21:01:15 +00:00
Andrew Wood cec252f98f Version adjustment and news reformatting for release. 2024-12-19 20:50:06 +00:00
Andrew Wood c186198a7e Line number updates. 2024-12-18 22:41:38 +00:00
Andrew Wood ec46261757 Type boundary checks. 2024-12-18 22:23:19 +00:00
Andrew Wood ff0355ca9c Make the moving indicator more granular on wide displays by calculating its position with floating point rather than integer values. 2024-12-18 21:59:17 +00:00
Andrew Wood 2bd364fee8 Add TODO note. 2024-12-18 00:01:10 +00:00
Andrew Wood 823350a186 Preliminary version update. 2024-12-17 23:57:26 +00:00
Andrew Wood c58ddb4d66 Line number updates. 2024-12-17 23:57:07 +00:00
Andrew Wood 447ec06234 Note the memory footprint reduction. 2024-12-17 23:56:00 +00:00
Andrew Wood 21ca350946 Use specific types for display widths, byte counts, and type of format string component, mainly to have the option of packing more into less space. 2024-12-17 23:55:15 +00:00
Andrew Wood 46902e1c0c Line number updates. 2024-12-17 23:02:44 +00:00
Andrew Wood 02bf302f96 If ncurses is not supported, provide code to call "tputs" via popen(), but do not enable it because it is not very safe, and instead just assume colour is always available. 2024-12-17 22:48:43 +00:00
Andrew Wood 76327fdf01 Only set format_uses_colour if colour is permitted for this display (i.e. the display is for a terminal and not a process or window title). 2024-12-17 22:47:41 +00:00
Andrew Wood 0044ed18ae Use AS_HELP_STRING() consistently. 2024-12-17 21:42:56 +00:00
Andrew Wood a9bbb55220 Preliminary version update. 2024-12-17 21:37:11 +00:00
Andrew Wood 69a2358d47 Add a version and date. 2024-12-16 21:25:39 +00:00
Andrew Wood 8664395e5b Adjust the script so it does not specifically apply to this package and can be re-used in others. 2024-12-16 21:25:25 +00:00
Andrew Wood 3c09b31f92 Add colour code support with a %{sgr:...} format sequence. 2024-12-15 23:25:20 +00:00
Andrew Wood 43e2eaa4db Removed misplaced splint annotation. 2024-12-15 22:54:15 +00:00
Andrew Wood f3e98da13b Prevent the background test components from waiting forever for the following PV process to start. 2024-12-15 15:00:51 +00:00
Andrew Wood 25eaa2661a Note the test race condition cleanup. 2024-12-15 14:42:52 +00:00
Andrew Wood 4f58a3d751 Make background test processes wait for their subsequent foreground PV to start, to make a race condition less likely to trigger test failures on slower systems. 2024-12-15 13:36:14 +00:00
Andrew Wood 7d18083dda Handle the fact that the GNU Hurd sets the signal sender PID to -1, not either 0 or the signal sender, in the siginfo structure. 2024-12-14 23:41:24 +00:00
Andrew Wood f0aca0a2ce Store the calculated percentage as a double rather than an int, so the granular progress bar is still granular on wide displays. 2024-12-14 17:06:37 +00:00
Andrew Wood 18c76175b2 Read the PID from the correct work file when testing remote control of the extra display. 2024-12-14 16:28:51 +00:00
Andrew Wood 6dbde0c559 Acknowledge issue #15. 2024-12-14 00:08:57 +00:00
Andrew Wood 8fa9df6e7a New --bar-style option; replace "default" with "plain" or with a lookup against the selected default, as appropriate. 2024-12-14 00:06:30 +00:00
Andrew Wood e3382b1a62 Document the %{bar-*} format sequences. 2024-12-13 23:15:08 +00:00
Andrew Wood 29c7a21725 Increase the size of the progress bar buffer. 2024-12-13 20:55:39 +00:00
Andrew Wood 7a0ee9c7fa Correct the width calculations. 2024-12-13 20:54:11 +00:00
Andrew Wood cb71277df4 Allocate more space for the display buffer, as wide characters take up more room. 2024-12-13 20:38:45 +00:00
Andrew Wood 9f5923864b Inhibit UTF-8 based bar formats when UTF-8 output support is not detected, falling back to the default format instead. 2024-12-13 20:17:01 +00:00
Andrew Wood 60563f3e3c New bar formats - default, block, granular, shaded - with the granular format providing a smoother bar using Unicode block characters (#15) 2024-12-13 20:02:36 +00:00
Andrew Wood c49abf1608 Indentation updates. 2024-12-13 19:57:18 +00:00
Andrew Wood 250a794873 Add globs to the indent, indentclean, and clean-local targets. 2024-12-13 19:46:31 +00:00
Andrew Wood 78f4a60bf7 Change the formatter functions to take their 6 arguments as one struct pointer, making it less messy. 2024-12-12 22:36:07 +00:00
Andrew Wood 2a93e33d38 Add a rate-limiting example. 2024-12-11 21:40:08 +00:00
Andrew Wood 5efd4d045f Adjust the way the leading space is formatted, to better translate to Markdown. 2024-12-10 23:10:57 +00:00
Andrew Wood 0516ba53bd Remove the example with "dialog" and add a more usual use case with tar. 2024-12-10 23:08:00 +00:00
Andrew Wood 1d76c0bc64 Permit decimals with suffix for --size, --rate-limit, --buffer-size, and --error-skip-block (#35); and document the types of numbers allowed in the manual. 2024-12-10 22:09:32 +00:00
Andrew Wood 73bc1ab139 Classify --watchfd and --remote as "alternative operating modes" rather than "data transfer modifiers" since they change the way PV runs entirely. 2024-12-10 21:05:59 +00:00