<feed xmlns='http://www.w3.org/2005/Atom'>
<title>slstatus/util.c, branch master</title>
<subtitle>Status monitor for window managers that use WM_NAME or stdin to fill the status bar</subtitle>
<id>https://git.ikboikov.net/slstatus/atom?h=master</id>
<link rel='self' href='https://git.ikboikov.net/slstatus/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/'/>
<updated>2024-02-14T20:47:31Z</updated>
<entry>
<title>Avg cpu freq, bit more compact</title>
<updated>2024-02-14T20:47:31Z</updated>
<author>
<name>ivan-boikov</name>
<email>ik.boikov.public@protonmail.com</email>
</author>
<published>2024-02-14T20:47:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=db8d69656ae4ce7f146e0ac7baea60cf3958a894'/>
<id>urn:sha1:db8d69656ae4ce7f146e0ac7baea60cf3958a894</id>
<content type='text'>
</content>
</entry>
<entry>
<title>verr: Remove special "usage" case</title>
<updated>2022-12-19T01:44:21Z</updated>
<author>
<name>planet36</name>
<email>planet36@users.noreply.github.com</email>
</author>
<published>2021-03-05T19:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e'/>
<id>urn:sha1:0e2ff8dc1009dccab4d2e17ed53ba65c4e99450e</id>
<content type='text'>
In function verr, remove special case for "usage"
string

Co-authored-by: drkhsh &lt;me@drkhsh.at&gt;
Signed-off-by: drkhsh &lt;me@drkhsh.at&gt;
</content>
</entry>
<entry>
<title>radical re-formatting 2/3: Fix blocks</title>
<updated>2022-10-27T23:03:38Z</updated>
<author>
<name>drkhsh</name>
<email>me@drkhsh.at</email>
</author>
<published>2022-10-27T22:51:34Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=3251e911878b78b0aad8fc09c782f8d81c878f75'/>
<id>urn:sha1:3251e911878b78b0aad8fc09c782f8d81c878f75</id>
<content type='text'>
Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
</content>
</entry>
<entry>
<title>Follow International System of Units spacing rules</title>
<updated>2019-02-17T15:53:56Z</updated>
<author>
<name>Ingo Feinerer</name>
<email>feinerer@logic.at</email>
</author>
<published>2019-02-16T16:59:44Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=b14e039639ed28005fbb8bddeb5b5fa0c93475ac'/>
<id>urn:sha1:b14e039639ed28005fbb8bddeb5b5fa0c93475ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Consistency with 80 char limit and breaks</title>
<updated>2018-07-08T15:42:58Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-07-08T15:42:58Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc'/>
<id>urn:sha1:96ddf4e1dee808d6ae8162fc1a13126a3d4c77dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change uint64_t to uintmax_t</title>
<updated>2018-07-07T08:50:25Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-07-07T08:50:25Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=43a12832a343747b7317987b552a87eb8ed5b42d'/>
<id>urn:sha1:43a12832a343747b7317987b552a87eb8ed5b42d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fmt_human: Improve types</title>
<updated>2018-07-06T05:56:46Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-07-06T05:56:46Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=381c2fa12a82948318ddcc7bc8c26b60c3b20081'/>
<id>urn:sha1:381c2fa12a82948318ddcc7bc8c26b60c3b20081</id>
<content type='text'>
size_t may not be enough, use 64 bit integers
</content>
</entry>
<entry>
<title>Refactor snprintf-usage in util.c</title>
<updated>2018-05-23T17:56:04Z</updated>
<author>
<name>Laslo Hunhold</name>
<email>dev@frign.de</email>
</author>
<published>2018-05-23T11:51:50Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=13d77cd268bade5e9ee9c07d9b94ca7c733cbe3d'/>
<id>urn:sha1:13d77cd268bade5e9ee9c07d9b94ca7c733cbe3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor fmt_human() and fix a bug</title>
<updated>2018-05-21T18:28:57Z</updated>
<author>
<name>Laslo Hunhold</name>
<email>dev@frign.de</email>
</author>
<published>2018-05-21T18:08:56Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=ceb13206a4d9f410ab49c3824c487658c341d8c8'/>
<id>urn:sha1:ceb13206a4d9f410ab49c3824c487658c341d8c8</id>
<content type='text'>
It is not necessary to copy memory or anything. Just keep a pointer to
the active prefix-array and assign the length of the arrays to a
variable.

Make the code more readable by using a switch, be more strict when an
invalid base is passed to it and fix a small oversight in the bottom of
the code where the base 1024 was forgotten to generalized.
</content>
</entry>
<entry>
<title>Merge fmt_human_2 and fmt_human_10 to one function</title>
<updated>2018-05-21T12:44:21Z</updated>
<author>
<name>Aaron Marcher</name>
<email>me@drkhsh.at</email>
</author>
<published>2018-05-21T12:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.ikboikov.net/slstatus/commit/?id=10dbc9543edd5b5a7929dd8fa87ed33dd545375c'/>
<id>urn:sha1:10dbc9543edd5b5a7929dd8fa87ed33dd545375c</id>
<content type='text'>
Now only one function, fmt_human, takes an additional argument "base".
</content>
</entry>
</feed>
