<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dmenu, branch 5.2</title>
<subtitle>dmenu fork - https://tools.suckless.org/dmenu/</subtitle>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/'/>
<entry>
<title>bump version to 5.2</title>
<updated>2022-10-04T17:36:02+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-10-04T17:36:02+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=1d2b462acf1210b8f86966b8dd9bb6e36e369ee1'/>
<id>1d2b462acf1210b8f86966b8dd9bb6e36e369ee1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dmenu: use die() to print the usage message</title>
<updated>2022-10-01T11:20:40+00:00</updated>
<author>
<name>Tom Schwindl</name>
<email>schwindl@posteo.de</email>
</author>
<published>2022-09-26T09:24:15+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=7ec32fe4944d4f7137cf2a23366324ffe0f10a70'/>
<id>7ec32fe4944d4f7137cf2a23366324ffe0f10a70</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove workaround for a crash with color emojis on some systems, now fixed in libXft 2.3.5</title>
<updated>2022-09-17T13:32:26+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-09-16T21:05:07+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=fce06f437dcec646ee0a2728fe695f3084cc6ccb'/>
<id>fce06f437dcec646ee0a2728fe695f3084cc6ccb</id>
<content type='text'>
https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://gitlab.freedesktop.org/xorg/lib/libxft/-/blob/libXft-2.3.5/NEWS
</pre>
</div>
</content>
</entry>
<entry>
<title>fix a regression in the previous commit for tab complete</title>
<updated>2022-09-02T17:09:50+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-09-02T17:09:50+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=1e8c5b68f4881bd4ae257c780fd41f129c79f419'/>
<id>1e8c5b68f4881bd4ae257c780fd41f129c79f419</id>
<content type='text'>
Reported by Santtu Lakkala &lt;inz@inz.fi&gt;, thanks!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by Santtu Lakkala &lt;inz@inz.fi&gt;, thanks!
</pre>
</div>
</content>
</entry>
<entry>
<title>tab-complete: figure out the size before copying</title>
<updated>2022-09-02T11:00:48+00:00</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-09-01T17:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=528d39b011afb7ef6fd794ba6b74155d4e69bc68'/>
<id>528d39b011afb7ef6fd794ba6b74155d4e69bc68</id>
<content type='text'>
we already need to know the string length since `cursor` needs to be
adjusted.

so just calculate the length beforehand and use `memcpy` to copy exactly
as much as needed (as opposed to `strncpy` which always writes `n`
bytes).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we already need to know the string length since `cursor` needs to be
adjusted.

so just calculate the length beforehand and use `memcpy` to copy exactly
as much as needed (as opposed to `strncpy` which always writes `n`
bytes).
</pre>
</div>
</content>
</entry>
<entry>
<title>readstdin: use getline(3)</title>
<updated>2022-09-02T10:53:34+00:00</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-09-01T18:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=32db2b125190d366be472ccb7cad833248696144'/>
<id>32db2b125190d366be472ccb7cad833248696144</id>
<content type='text'>
currently readstdin():
   - fgets() into a local buffer,
   - strchr() the buffer to eleminate the newline
   - stdups() the buffer into items

a simpler way is to just use getline(3), which will do the allocation
for us; eliminating the need for stdup()-ing.

additionally getline returns back the amount of bytes read, which
eliminates the need for strchr()-ing to find the newline.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
currently readstdin():
   - fgets() into a local buffer,
   - strchr() the buffer to eleminate the newline
   - stdups() the buffer into items

a simpler way is to just use getline(3), which will do the allocation
for us; eliminating the need for stdup()-ing.

additionally getline returns back the amount of bytes read, which
eliminates the need for strchr()-ing to find the newline.
</pre>
</div>
</content>
</entry>
<entry>
<title>sync code-style patch from libsl</title>
<updated>2022-08-08T08:42:54+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-08-08T08:42:54+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=e35976f4a50f884c2162f71e4128d7c273e3e042'/>
<id>e35976f4a50f884c2162f71e4128d7c273e3e042</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: add manual path for OpenBSD</title>
<updated>2022-05-01T16:38:25+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-05-01T16:38:25+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=28fb3e28120db29ea45d1951eee7047b4109ab5f'/>
<id>28fb3e28120db29ea45d1951eee7047b4109ab5f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix incorrect comment, math is hard</title>
<updated>2022-04-30T11:19:33+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-04-30T11:19:33+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=fe5d5c6709a77ac5d554e26dda76a67df68618ae'/>
<id>fe5d5c6709a77ac5d554e26dda76a67df68618ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>inputw: improve correctness and startup performance, by NRK</title>
<updated>2022-04-29T18:18:02+00:00</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2022-04-29T18:15:48+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/x/dmenu/commit/?id=e1e1de7b3b8399cba90ddca9613f837b2dbef7b9'/>
<id>e1e1de7b3b8399cba90ddca9613f837b2dbef7b9</id>
<content type='text'>
Always use ~30% of the monitor width for the input in horizontal mode.

Patch adapted from NRK patches.
This also does not calculate inputw when using vertical mode anymore (because
the code is removed).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Always use ~30% of the monitor width for the input in horizontal mode.

Patch adapted from NRK patches.
This also does not calculate inputw when using vertical mode anymore (because
the code is removed).
</pre>
</div>
</content>
</entry>
</feed>
