<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nsxiv/config.def.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>2023-02-03T08:30:48Z</updated>
<entry>
<title>customization</title>
<updated>2023-02-03T08:30:48Z</updated>
<author>
<name>krolyxon</name>
<email>krolyxon@tutanota.com</email>
</author>
<published>2023-02-03T08:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=c28002125358ea355300c520aa5c2715ae9a6f6a'/>
<id>urn:sha1:c28002125358ea355300c520aa5c2715ae9a6f6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add cli flag --alpha-layer</title>
<updated>2023-01-28T10:23:11Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2023-01-17T09:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=1f788a318bedc0e6a83632c1f126e747c0430d6c'/>
<id>urn:sha1:1f788a318bedc0e6a83632c1f126e747c0430d6c</id>
<content type='text'>
now that we have long-opts, we don't have to worry about exhausting the
alphabet list for short-opts. so adding a cli flag to set/unset the
checker background makes sense.

ref: https://codeberg.org/nsxiv/nsxiv/issues/404
</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>allow disabling anti-aliasing via cli flag</title>
<updated>2022-09-10T13:43:07Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-08-17T14:54:14Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=88a480c9388d698f123bf892f33197d7bd1cfb9b'/>
<id>urn:sha1:88a480c9388d698f123bf892f33197d7bd1cfb9b</id>
<content type='text'>
simply running nsxiv with `--anti-alias` will enable anti-aliasing, and
running it with `--anti-alias=no` will disable it.

the cli flag will overwrite the config.h default.

Closes: https://codeberg.org/nsxiv/nsxiv/issues/349
</content>
</entry>
<entry>
<title>fix: build failure when _SC_PHYS_PAGES is not defined</title>
<updated>2022-08-11T01:58:26Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-08-07T13:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=becf1cc858d1590d75f00124b77f04578da7fae0'/>
<id>urn:sha1:becf1cc858d1590d75f00124b77f04578da7fae0</id>
<content type='text'>
_SC_PHYS_PAGES isn't POSIX and might not be defined. in such case, just
return back `CACHE_SIZE_FALLBACK`.

NOTE: POSIX says the `names` in `sysconf()` are "symbolic constants" not
necessarily macros. So we might end up returning the fallback in some
cases where `_SC_PHYS_PAGES` *was* available, but not defined as a
macro. which is not ideal, but nothing fatal.

in practice, this shouldn't be an issue since most systems seems to
define them to be macros, i've checked Glibc, Musl, OpenBSD, FreeBSD and
Haiku.

also add a (useful) comment on `config.h` describing the effect higher
cache size has.

Closes: https://codeberg.org/nsxiv/nsxiv/issues/354
</content>
</entry>
<entry>
<title>fix: don't use reserved identifiers</title>
<updated>2022-06-25T06:27:01Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-06-15T07:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=b28449e10c92c304434645872199d8f8cb2448b4'/>
<id>urn:sha1:b28449e10c92c304434645872199d8f8cb2448b4</id>
<content type='text'>
identifiers beginning with an underscore is reserved by the C standard.
</content>
</entry>
<entry>
<title>code-style: slight cleanups</title>
<updated>2022-03-02T09:32:35Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-02-27T09:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=bdd9521bf3ea86b3cd83b070728b58227d821ff8'/>
<id>urn:sha1:bdd9521bf3ea86b3cd83b070728b58227d821ff8</id>
<content type='text'>
* put TOP_STATUSBAR under the HAVE_LIBFONTS guard
* change get_win_title param to take unsigned char ptr
* init UTF8_STRING like other atoms
</content>
</entry>
<entry>
<title>add config.h option for top statusbar (#231)</title>
<updated>2022-02-26T16:38:53Z</updated>
<author>
<name>N-R-K</name>
<email>79544946+N-R-K@users.noreply.github.com</email>
</author>
<published>2022-02-26T16:38:53Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=bda70867ac50c35b3bb134cf408ce5ae3cf0c751'/>
<id>urn:sha1:bda70867ac50c35b3bb134cf408ce5ae3cf0c751</id>
<content type='text'>
Closes: https://github.com/nsxiv/nsxiv/issues/230
Co-authored-by: mamg22 &lt;45301823+mamg22@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>use win-title script for customizing window title (#213)</title>
<updated>2022-02-23T09:23:22Z</updated>
<author>
<name>N-R-K</name>
<email>79544946+N-R-K@users.noreply.github.com</email>
</author>
<published>2022-02-23T09:23:22Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=e26c81fe9ab43ef0148f51464dbae0f7a0e2b91e'/>
<id>urn:sha1:e26c81fe9ab43ef0148f51464dbae0f7a0e2b91e</id>
<content type='text'>
this removes the cli flag `-T` as well as related config.h options.

Co-authored-by: Berke Kocaoğlu &lt;berke.kocaoglu@metu.edu.tr&gt;</content>
</entry>
<entry>
<title>Add keybind to scroll to image center (#203)</title>
<updated>2022-01-15T22:51:31Z</updated>
<author>
<name>Nick Hanley</name>
<email>nicholasjhanley@gmail.com</email>
</author>
<published>2022-01-15T22:51:31Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=2ac44709bd9a9ec8d3ab60a40a81ac7ca3ad1b57'/>
<id>urn:sha1:2ac44709bd9a9ec8d3ab60a40a81ac7ca3ad1b57</id>
<content type='text'>
There are keybinds for scrolling to the edges of an image but there's no way back to the center. This is particularly annoying while zooming.</content>
</entry>
</feed>
