<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nsxiv/autoreload.h, 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>2017-10-16T19:10:35Z</updated>
<entry>
<title>One header file for type definitions and function declarations</title>
<updated>2017-10-16T19:10:35Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2017-10-16T19:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=148026007cae3b97d39d2cfee7562c139eb486b2'/>
<id>urn:sha1:148026007cae3b97d39d2cfee7562c139eb486b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detect all file overwrites in autoreload_inotify</title>
<updated>2017-05-17T18:20:39Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2017-05-17T18:16:16Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=a20173a42df64515c0a5d1c5fba0c056a633a441'/>
<id>urn:sha1:a20173a42df64515c0a5d1c5fba0c056a633a441</id>
<content type='text'>
mv(1) inside the same filesystem was not detected.

Supporting this case made it necessary to always watch the directory. Turns out
the logic and state keeping between arl_setup() and arl_handle() is easier,
when using different watch descriptors for the file and the directory and not
using a oneshot descriptor for the file.

Requiring an absolute canonical path for arl_setup() simplifies dir and base
name splitting. No need for dirname(3) and basename(3) anymore.
</content>
</entry>
<entry>
<title>Revised autoreload interface</title>
<updated>2017-05-17T18:07:32Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2017-05-17T18:07:32Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=3724d3fc17dc6135a05608cab5bdf00c6978282d'/>
<id>urn:sha1:3724d3fc17dc6135a05608cab5bdf00c6978282d</id>
<content type='text'>
Make the header only contain the public interface and nothing from the
implementation. All functions get a handle to their self object, like the img_
and tns_ and win_ functions. All necessary data (file path) is also passed as
an argument, so that no extern redeclarations are needed.

Make arl_setup_dir() private, it's not called outside the module.

Make arl_handle() return true if the file has changed, so that the reloading of
the file can be done by the caller.
</content>
</entry>
<entry>
<title>Add autoreload support by inotify (and dummy backend nop)</title>
<updated>2017-05-17T13:52:40Z</updated>
<author>
<name>Max Voit</name>
<email>max.voit+gtdv@with-eyes.net</email>
</author>
<published>2017-01-26T21:18:32Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=edb117e3bdb4d6bef4a4749d94144df8472c0a4d'/>
<id>urn:sha1:edb117e3bdb4d6bef4a4749d94144df8472c0a4d</id>
<content type='text'>
</content>
</entry>
</feed>
