<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nsxiv/autoreload_inotify.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>2022-04-27T01:43:27Z</updated>
<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>
<entry>
<title>mark functions and vars as static (#146)</title>
<updated>2021-11-20T03:51:49Z</updated>
<author>
<name>N-R-K</name>
<email>79544946+N-R-K@users.noreply.github.com</email>
</author>
<published>2021-11-20T03:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=c6275374b03ac4526a46f255f33ae2f81003d52b'/>
<id>urn:sha1:c6275374b03ac4526a46f255f33ae2f81003d52b</id>
<content type='text'>
the goal here to mark functions and variables not used outside the
translation unit as static. main reason for this is cleanliness. however
as a side-effect this can help compilers optimize better as it now has
guarantee that a certain function won't be called outside of that
translation unit.

one other side-effect of this is that accessing these vars/function from
config.h is now different.

if one wants to access a static var/func from different translation unit
in config.h, he would have to create a wrapper function under the right
ifdef. for static functions one would also need to forward declare it.
here's a dummy example of accessing the function `run_key_handler` from
config.h under _MAPPINGS_CONFIG

```
static void run_key_handler(const char *, unsigned);
bool send_with_ctrl(arg_t key) {
	run_key_handler(XKeysymToString(key), ControlMask);
	return false;
}
```
</content>
</entry>
<entry>
<title>code-style: fix consistency issues all over the codebase (#94)</title>
<updated>2021-10-11T03:07:18Z</updated>
<author>
<name>Berke Kocaoğlu</name>
<email>berke.kocaoglu@metu.edu.tr</email>
</author>
<published>2021-10-11T03:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=1449bfc5e960a61438c60a67c28da6d7c5bf2c7f'/>
<id>urn:sha1:1449bfc5e960a61438c60a67c28da6d7c5bf2c7f</id>
<content type='text'>
* remove duplicate comment
* remove empty tabs and blank lines
* move macros and globals ontop
* comment to seprate function implementation
* fix alignment
* switch to *argv[] similar to other suckless code
* kill all empty last lines
* append comment to endif
* reuse existing ARRLEN macro
* comment fall through
* use while (true) everywhere

Co-authored-by: NRK &lt;nrk@disroot.org&gt;</content>
</entry>
<entry>
<title>Rename, Update Docs and Prepare for Release (#9)</title>
<updated>2021-09-16T19:55:31Z</updated>
<author>
<name>Berke Kocaoğlu</name>
<email>berke.kocaoglu@metu.edu.tr</email>
</author>
<published>2021-09-16T09:32:59Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=7cce7ea857321c854fc9e061edee3a32f4831d18'/>
<id>urn:sha1:7cce7ea857321c854fc9e061edee3a32f4831d18</id>
<content type='text'>

Co-authored-by: Guilherme Rugai Freire &lt;41879254+GRFreire@users.noreply.github.com&gt;
Co-authored-by: N-R-K &lt;79544946+N-R-K@users.noreply.github.com&gt;
Co-authored-by: NRK &lt;nrk@disroot.org&gt;
Co-authored-by: Arthur Williams &lt;taaparthur@gmail.com&gt;
Co-authored-by: eylles &lt;ed.ylles1997@gmail.com&gt;</content>
</entry>
<entry>
<title>Ignore outdated inotify events</title>
<updated>2018-02-18T13:12:41Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2018-02-18T12:13:11Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=48e0b70ad3dd550bf29810ec9b4f6ebdab3d7605'/>
<id>urn:sha1:48e0b70ad3dd550bf29810ec9b4f6ebdab3d7605</id>
<content type='text'>
</content>
</entry>
<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>Update copyright notice in autoreload_inotify.c</title>
<updated>2017-05-17T18:38:34Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2017-05-17T18:38:34Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=c027122c5f0c2f4f1c513a074c42487bd326a91c'/>
<id>urn:sha1:c027122c5f0c2f4f1c513a074c42487bd326a91c</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>Compiler independent buffer alignment</title>
<updated>2017-05-17T18:15:35Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2017-05-17T18:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=de3d7827ce13a52b1bcf3b72e9dc2ee89152dea6'/>
<id>urn:sha1:de3d7827ce13a52b1bcf3b72e9dc2ee89152dea6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Read all available inotify events</title>
<updated>2017-05-17T18:14:36Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2017-05-17T18:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=0e1a85d22485e2aac1b9930d1e3e0897a2076db3'/>
<id>urn:sha1:0e1a85d22485e2aac1b9930d1e3e0897a2076db3</id>
<content type='text'>
Loop reading from inotify fd in arl_handle(); requires non-blocking inotify fd.
</content>
</entry>
</feed>
