Commit Graph
316 Commits
Author SHA1 Message Date
Andrew Wood c9dede08d4 Adjust the decimal units flag variable name from "si" to "decimal_units" so it does not overlap with other words like "size" and "signal"; add man page entry and adjust the "-L" man page entry; and allow this flag to also change how input prefixes are processed. 2024-03-19 22:17:43 +00:00
Andrew Wood 3b721112e6 Acknowledge pull request #85. 2024-03-19 21:42:08 +00:00
Andrew Wood 0093fb8276 Merge pull request 'Support for decimal SI units' (#85) from kevinruddy/pv:si-patch into main
Reviewed-on: https://codeberg.org/a-j-wood/pv/pulls/85
2024-03-19 21:30:01 +00:00
kevinruddy fe8137521a Support for decimal SI units 2024-03-19 16:57:57 -04:00
Andrew Wood 2bc7a1bb10 Added #83. 2024-03-13 21:56:34 +00:00
Andrew Wood 120ba0ba9a Minor typo correction. 2024-03-13 21:48:57 +00:00
Andrew Wood 88d93737aa Merge pull request 'Update to po/fr.po' (#83) from tbertels/pv:tbertels-patch-1 into main
Reviewed-on: https://codeberg.org/a-j-wood/pv/pulls/83
2024-03-13 21:44:46 +00:00
tbertels 317d5a3aba Update to po/fr.po
Missing strings and corrections
2024-03-12 07:31:42 +00:00
Andrew Wood ddc5cb0224 Added TODO #81. 2024-01-08 23:42:31 +00:00
Andrew Wood 4b4ec17ff9 Timestamp updates. v1.8.5 2023-11-19 16:39:51 +00:00
Andrew Wood cc9534fc7b Cast of values for pv_snprintf() is required on Cygwin. 2023-11-19 16:39:32 +00:00
Andrew Wood c8762821fb Version update. 2023-11-19 14:16:56 +00:00
Andrew Wood 272dacdd3a Update to reflect closure of #77. 2023-10-22 17:48:45 +01:00
Andrew Wood 78548460b7 Stamp and string position updates. 2023-10-22 17:44:45 +01:00
Andrew Wood 3eee7a1409 Addressed more issues raised by flawfinder. 2023-10-22 17:43:40 +01:00
Andrew Wood e446782c1f Addressed more issues raised by splint, and refactored out state_array so that state is part of info_array and each state is allocated and deallocated properly instead of referencing pointers multiple times. 2023-10-22 16:23:53 +01:00
Andrew Wood d8664ca4c1 Stamp and string position updates. 2023-10-22 00:09:06 +01:00
Andrew Wood d06374a0f1 Addressed more issues raised by splint and flawfinder. 2023-10-22 00:08:35 +01:00
Andrew Wood 9a9c117411 Addressed more issues raised by flawfinder. 2023-10-18 23:10:29 +01:00
Andrew Wood 2255dcc2bf Stamp and string position updates. 2023-10-18 23:10:14 +01:00
Andrew Wood be4402c1ff Addressed more issues raised by flawfinder. 2023-10-17 22:09:04 +01:00
Andrew Wood 4d46dbe545 Comment wording correction. 2023-10-17 21:02:21 +01:00
Andrew Wood 3fdf8d5a69 Improved comments. 2023-10-16 22:47:02 +01:00
Andrew Wood 7c0aea0b1e Stamp and string position updates. 2023-10-15 23:53:24 +01:00
Andrew Wood b4d6c5ed2a Addressed more issues raised by splint, and improved variable names and comments. 2023-10-15 23:42:04 +01:00
Andrew Wood d8e0674da0 Move locally scoped variables from "switch" statement into outer "for" loop, to avoid triggering a crash in the "splint" code analyser. 2023-10-15 22:29:37 +01:00
Andrew Wood b0df2e53a8 Replace str_* in state structure with an array of components of enumerated types, to avoid pointers everywhere in the format array and to allow for later expansion which will separate "string length" from "displayed width" to allow for wide character support. 2023-10-14 17:18:20 +01:00
Andrew Wood 94ffdaf60d Group state structure into sub-structures to allow future changes to watchpid code that will do a better job of duplicating the relevant parts of the internal state for each fd. 2023-10-14 01:23:54 +01:00
Andrew Wood 376aa5a8fa Stamp and string position updates. 2023-10-14 00:08:37 +01:00
Andrew Wood 7fcc7af07d Addressed more issues raised by flawfinder. 2023-10-14 00:04:56 +01:00
Andrew Wood 03d42555e7 Addressed more issues raised by splint. 2023-10-14 00:04:24 +01:00
Andrew Wood b8624035e0 Addressed more issues raised by splint. 2023-10-13 23:36:15 +01:00
Andrew Wood 41b223a757 Addressed more issues raised by splint. 2023-10-13 23:31:28 +01:00
Andrew Wood 03fb1dc673 Correct percentage formatting so it is always 3 characters wide. 2023-10-11 22:22:53 +01:00
Andrew Wood e864eca78d Only check for the IPC functions we are still using. 2023-10-01 15:16:31 +01:00
Andrew Wood ddafc2e897 Only check for the IPC functions we are still using. 2023-10-01 15:15:07 +01:00
Andrew Wood bf3f76e02e Position and string updates. 2023-10-01 15:10:48 +01:00
Andrew Wood 4398cd8677 It is now October. 2023-10-01 12:52:24 +01:00
Andrew Wood dbf55eff3c For message passing for "--remote", fall back to $HOME/.pv instead of /tmp if /run/user/<uid> is unavailable. 2023-10-01 12:41:27 +01:00
Andrew Wood 07f894f66c Minor formatting change from "indent". 2023-10-01 12:40:22 +01:00
Andrew Wood a9737ca05e Correct the test skip reason message, if "--remote" is not supported. 2023-10-01 01:50:52 +01:00
Andrew Wood 0e1750835e Rewrite of "--remote", to use a temporary file for information exchange instead of a SysV IPC message queue, to correct the fault where "make check -j32" would fail due to every PV exit removing the message queue. 2023-10-01 01:20:16 +01:00
Andrew Wood 965cc52815 Stamp and string position updates. 2023-09-25 22:24:21 +01:00
Andrew Wood 08ee154c09 Add more debugging to message receipt check, in sender. 2023-09-25 21:51:45 +01:00
Andrew Wood 37cacf3da4 Added another contributor. 2023-09-25 21:44:20 +01:00
Andrew Wood 55f7f94a6f Additional fix for compilation with "--disable-ipc". 2023-09-25 21:36:02 +01:00
Andrew Wood 1e91713bb6 Add debugging to message receipt check, in sender. 2023-09-25 21:32:14 +01:00
Andrew Wood 27f52cac6b Version update. 2023-09-25 21:20:24 +01:00
Andrew Wood b0a144fd54 Move variable declarations into the blocks in which they are used, to avoid compilation warnings on MacOS, as per patch from Benoit Pierre. 2023-09-25 21:14:30 +01:00
Andrew Wood bfa4a23751 Move struct stat in pv_main_loop inside the #if HAVE_STRUCT_STAT_ST_BLKSIZE block to avoid compilation warnings, as per patch from Benoit Pierre. 2023-09-25 21:07:24 +01:00