<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nsxiv/commands.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-04-14T19:45:39Z</updated>
<entry>
<title>add a pick quit keybind (#432)</title>
<updated>2023-04-14T19:45:39Z</updated>
<author>
<name>eylles</name>
<email>eylles@noreply.codeberg.org</email>
</author>
<published>2023-04-14T19:45:39Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=733916ad70b5b2d92e7adfecdf53a74dd4617b74'/>
<id>urn:sha1:733916ad70b5b2d92e7adfecdf53a74dd4617b74</id>
<content type='text'>
The last time[0] this was discussed, no-one was against it but no-one
was confident in it either and so it was added to nsxiv-extra as a
patch.

But now that enough time has passed, it seems like there's a pretty high
demand for something like this because there's plenty of use-cases that
use nsxiv as a "picker" where it's meant to quickly pick a single file.

And so add this as a convenient default key-bind.

[0]: https://codeberg.org/nsxiv/nsxiv-record/pulls/42

Co-authored-by: eylles &lt;ed.ylles1997@gmail.com&gt;
Co-authored-by: NRK &lt;nrk@disroot.org&gt;
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/432
Reviewed-by: NRK &lt;nrk@disroot.org&gt;
Co-authored-by: eylles &lt;eylles@noreply.codeberg.org&gt;
Co-committed-by: eylles &lt;eylles@noreply.codeberg.org&gt;
</content>
</entry>
<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>make some changes prepping for clang-format</title>
<updated>2023-03-11T12:36:26Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-07-02T15:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=2434e83807360bfe43e3c404be12438f00a894ab'/>
<id>urn:sha1:2434e83807360bfe43e3c404be12438f00a894ab</id>
<content type='text'>
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>img_t: rename alpha -&gt; alpha_layer for consistency</title>
<updated>2023-01-28T10:23:11Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2023-01-17T09:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=6ffc64a04e5e4200103db9df6bd85f958a942d9f'/>
<id>urn:sha1:6ffc64a04e5e4200103db9df6bd85f958a942d9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add brightness and contrast (#396)</title>
<updated>2022-12-22T11:21:40Z</updated>
<author>
<name>Berke Kocaoğlu</name>
<email>kberke@metu.edu.tr</email>
</author>
<published>2022-12-22T11:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=95bc9b463b87236d30d86626e1052e6979d6510f'/>
<id>urn:sha1:95bc9b463b87236d30d86626e1052e6979d6510f</id>
<content type='text'>
* Imlib2 supports modifying gamma, brightness and contrast directly
  while sxiv only supports gamma. Makes sense to extend it to brightness
  and contrast as well.

* Since color corrections need to be aware of each other, they have been
  refactored into one centralized function.

* This also makes the code more hackable as it makes it easier to add
  more color correction functions without them interfering with each
  other.

Co-authored-by: 0ion9 &lt;finticemo@gmail.com&gt;
Co-authored-by: NRK &lt;nrk@disroot.org&gt;
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/396
Reviewed-by: NRK &lt;nrk@disroot.org&gt;
Reviewed-by: TAAPArthur &lt;taaparthur@noreply.codeberg.org&gt;
Co-authored-by: Berke Kocaoğlu &lt;kberke@metu.edu.tr&gt;
Co-committed-by: Berke Kocaoğlu &lt;kberke@metu.edu.tr&gt;
</content>
</entry>
<entry>
<title>compress duplicated logic into a function (#384)</title>
<updated>2022-11-04T23:01:56Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-11-04T23:01:56Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=3804b5065643ff21f0e4974ca8fe7837d55ef597'/>
<id>urn:sha1:3804b5065643ff21f0e4974ca8fe7837d55ef597</id>
<content type='text'>
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/384
Reviewed-by: TAAPArthur &lt;taaparthur@noreply.codeberg.org&gt;
</content>
</entry>
<entry>
<title>fix: statusbar not updating when switching bar (#353)</title>
<updated>2022-08-08T14:13:28Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-08-08T14:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=8dc126194fc72f641ca097ab4f8433cd9c268b67'/>
<id>urn:sha1:8dc126194fc72f641ca097ab4f8433cd9c268b67</id>
<content type='text'>
Closes: https://codeberg.org/nsxiv/nsxiv/issues/352
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/353
Reviewed-by: explosion-mental &lt;explosion-mental@noreply.codeberg.org&gt;
</content>
</entry>
<entry>
<title>fix: -Wsign-compare warnings (#336)</title>
<updated>2022-07-15T20:46:23Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-07-15T20:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=c131b1ed83da70fd739aff90ea3e8e829549ff43'/>
<id>urn:sha1:c131b1ed83da70fd739aff90ea3e8e829549ff43</id>
<content type='text'>
mixing signed and unsigned types in comparison can end up having
unintended results. for example:

	if (-1 &lt; 1U)
		printf("true\n");
	else
		printf("false\n");

previously we silenced these warnings, instead just fix them properly
via necessary casting, and in cases where the value cannot be negative
(e.g width/height members) make them unsigned.

Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/336
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>
</feed>
