<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nsxiv/commands.lst, 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>2021-10-13T00:05:00Z</updated>
<entry>
<title>Add ability to bind arbitrary functions.</title>
<updated>2021-10-13T00:05:00Z</updated>
<author>
<name>Arthur Williams</name>
<email>taaparthur@gmail.com</email>
</author>
<published>2021-09-18T19:27:12Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=12efa0e3b429675047cb2900d49e1f38afeb650b'/>
<id>urn:sha1:12efa0e3b429675047cb2900d49e1f38afeb650b</id>
<content type='text'>
Before all the predated commands where kept in an array and their
indexes were used in bindings. This meant that users couldn't add their
own functions from the config file. Now key/mouse bindings have been
changed to to store the function ptr (wrapped in a cmd_t struct to also
store the mode) directly instead.

General cleanup done in this commit:
Defined `MODE_ALL` instead of using magic number.

For example, suppose one had bindings like:
{ 0,                   XK_q,             g_quit,                     None },
{ ShitMask,            XK_q,             {quit_err},                 None }
{ ControlMask,         XK_q,             {quit_err, .mode=MODE_IMAGE}, None }

The existing binding `q` has been left unchanged and is defined the same
way. However, the new hypothetical binding `Shift-q` can be used to call
the custom function quit_err in any mode (default). `Ctrl-q` on the
other hand will be called only on image mode.

Closes #50
</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>Add mark range function</title>
<updated>2018-06-09T09:44:47Z</updated>
<author>
<name>Daniel Lublin</name>
<email>daniel@lublin.se</email>
</author>
<published>2018-06-04T20:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=6e696ba98c49715be8da2609f8a64be8a023547f'/>
<id>urn:sha1:6e696ba98c49715be8da2609f8a64be8a023547f</id>
<content type='text'>
Sets the marked state of all images ranging from the latest marked/unmarked
image to the current image, to the state of that latest toggled image.
</content>
</entry>
<entry>
<title>Improve mouse support</title>
<updated>2017-10-06T08:15:43Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2017-10-05T11:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=8081cbebf36e48297a589af02db400687c4ef261'/>
<id>urn:sha1:8081cbebf36e48297a589af02db400687c4ef261</id>
<content type='text'>
None of the mouse mappings uses a keyboard modifier, making it possible to
access the most basic features by only using the mouse.

Next/previous image with left button depending on cursor position, middle
button for dragging, right button for switching to thumnail mode and wheel for
zooming.

Users can keep the old behaviour by simply not adapting the changes to the
buttons array in config.def.h to their config.h file.
</content>
</entry>
<entry>
<title>Apply gamma value on thumbnails too; fixes issue #193</title>
<updated>2015-01-05T19:53:04Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2015-01-05T19:53:04Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=47e6cd066902ec6e6295c6ae55245f8f4e53a56a'/>
<id>urn:sha1:47e6cd066902ec6e6295c6ae55245f8f4e53a56a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added thumbnail zooming...</title>
<updated>2014-09-27T22:28:50Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2014-09-27T22:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=7b91e10f225797cef26ce7094bf2ac6b94901b33'/>
<id>urn:sha1:7b91e10f225797cef26ce7094bf2ac6b94901b33</id>
<content type='text'>
- Key mappings +/- are now general commands
- Use JPG as thumbnail cache file format instead of PNG
- Fixes issue #161
</content>
</entry>
<entry>
<title>Added command to remove all image marks, bound to Ctrl-m; fixes issue #163</title>
<updated>2014-08-17T18:27:01Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2014-08-17T18:27:01Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=1094def1833c19b4fcb84954f2ae2aaf36dd7a5f'/>
<id>urn:sha1:1094def1833c19b4fcb84954f2ae2aaf36dd7a5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revised command structure and key and mouse button mappings</title>
<updated>2014-07-23T19:50:31Z</updated>
<author>
<name>Bert Münnich</name>
<email>ber.t@posteo.de</email>
</author>
<published>2014-07-23T19:50:31Z</published>
<link rel='alternate' type='text/html' href='https://git.krolyxon.com/nsxiv/commit/?id=06164c29b759c3e21e79be03b285bdf3da6f5a25'/>
<id>urn:sha1:06164c29b759c3e21e79be03b285bdf3da6f5a25</id>
<content type='text'>
</content>
</entry>
</feed>
