<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nsxiv/autoreload.c, branch master</title>
<subtitle>Nsxiv image view custom build
</subtitle>
<id>https://git.krolyxon.com/nsxiv/atom?h=master</id>
<link rel='self' href='https://git.krolyxon.com/nsxiv/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/'/>
<updated>2023-03-11T12:37:04Z</updated>
<entry>
<title>apply clang-format</title>
<updated>2023-03-11T12:37:04Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2023-02-10T05:35:53Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=f2f4903de4bd3ce06c03dd66f0c9a7dda97a3550'/>
<id>urn:sha1:f2f4903de4bd3ce06c03dd66f0c9a7dda97a3550</id>
<content type='text'>
minus the bogus changes

Co-authored-by: Berke Kocaoğlu &lt;berke.kocaoglu@metu.edu.tr&gt;
</content>
</entry>
<entry>
<title>update copyright year</title>
<updated>2023-01-28T10:29:36Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2023-01-15T09:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=a051ad210dc0571ec581c89171dc25b9ab35f4be'/>
<id>urn:sha1:a051ad210dc0571ec581c89171dc25b9ab35f4be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>autoreload: simplify and cleanup (#342)</title>
<updated>2022-07-30T08:05:10Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-07-30T08:05:10Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=94d531fd827457cf71fe7f3808c7a2f531dceba5'/>
<id>urn:sha1:94d531fd827457cf71fe7f3808c7a2f531dceba5</id>
<content type='text'>
the current code is quite hacky and complex as it mixes multiple pointers. all
of this complexity is unnecessary. drop it by introducing an explicit scratch
buffer instead of implicitly abusing `arl-&gt;filename` as one. this also reduces
some unnecessary allocation overhead.

additionally, the argument to arl_setup must be the result of `realpath(3)` (as
commented in `nsxiv.h`). instead of commenting it, assert it.

and lastly, rename `arl_setup` to `arl_add` since it's not doing any "setup"
but rather *adding* a file to watch.

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/342
Reviewed-by: explosion-mental &lt;explosion-mental@noreply.codeberg.org&gt;
</content>
</entry>
<entry>
<title>sort and group includes</title>
<updated>2022-06-28T19:28:06Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-06-16T07:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=b162aee497ef9be3730f59bb0c9d974171bfebee'/>
<id>urn:sha1:b162aee497ef9be3730f59bb0c9d974171bfebee</id>
<content type='text'>
* includes are sorted alphabetically

* their grouping and layout is the following:
  - nsxiv.h will be the first include
  - followed by any internal headers (e.g "commands.h" "config.h")
  - followed by system headers (&lt;stdlib.h&gt; etc)
  - followed by third party headers (X.h libwebp etc)

* also add `llvm-include-order` check to clang-tidy so that it can catch
  unsorted includes during CI.
</content>
</entry>
<entry>
<title>[ci]: slience some clang-tidy warnings</title>
<updated>2022-06-25T06:27:01Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-06-17T16:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=5c3a796e55a2de822692810d0ac77c6589b0f10e'/>
<id>urn:sha1:5c3a796e55a2de822692810d0ac77c6589b0f10e</id>
<content type='text'>
the warnings on r_readdir(), img_load_gif() and strcpy seems to be false
positives. the warning about fmt being unused is valid, but not worth
fixing with additional #ifdef guards.

use `assert` to silence the false positive cases when possible,
otherwise use a NOLINT comment with an explanation.
</content>
</entry>
<entry>
<title>merge autoreload_{inotify,nop}.c into autoreload.c (#263)</title>
<updated>2022-04-27T01:43:27Z</updated>
<author>
<name>explosion-mental</name>
<email>explosion0mental@gmail.com</email>
</author>
<published>2022-04-27T01:43:27Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=f9662efb1f522c1b554f789659d261a97a1918f5'/>
<id>urn:sha1:f9662efb1f522c1b554f789659d261a97a1918f5</id>
<content type='text'>
</content>
</entry>
</feed>
