Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-07 | navigator: Don't pickup child directories when non-recursive | Harry Jeffery | |
2019-08-07 | navigator: Use generic list implementation | Harry Jeffery | |
2019-07-30 | navigator: Small refactor | Harry Jeffery | |
2019-07-24 | Improve select_rel | Andreas Stallinger | |
select_rel was capped to -1 and 1 before | |||
2019-07-19 | navigator: Remove unused variable | Harry Jeffery | |
2019-05-26 | Expand relative paths (fixes #149) | vglfr | |
2019-02-16 | navigator: Simplify file polling | Harry Jeffery | |
We don't need to know when all paths were last touched, just when we switched to the current path, and the last time that the file changed. This also fixes a bug where imv would double-load images as it refreshed its internal mtime. | |||
2019-02-10 | Tweak allocation sizeof operator usage | Harry Jeffery | |
2019-01-14 | Provide backup PATH_MAX value for Hurd | Harry Jeffery | |
2018-01-07 | Never return null from imv_navigator_selection | Harry Jeffery | |
This fixes a crash where a null pointer would be used to set an environment variable. Fixes #123 | |||
2017-11-25 | Don't duplicate license text in all source files | Harry Jeffery | |
If moving to dual-licensing, this text will be confusing. It's also a lot of noise. | |||
2017-11-24 | Make the navigator interface opaque | Harry Jeffery | |
2017-11-23 | Move remaining actions to bindable commands | Harry Jeffery | |
2017-08-22 | Remove year from copyright notices | Harry Jeffery | |
It was falling out of date, and has no legal bearing to my knowledge. | |||
2017-08-20 | Implement documented -l flag | Harry Jeffery | |
2017-04-14 | Refactor navigator poll rate limiting | Harry Jeffery | |
2017-04-14 | Refactor navigator to new style | Harry Jeffery | |
2016-05-01 | Make imv_navigator_add() return an integer value | Dmitrij D. Czarkoff | |
In case of error return non-zero value instead of cleaning up navigator. This way main loop may do some more cleanup, or maybe even act differently. | |||
2016-05-01 | Remove buf_size from struct imv_navigator | Dmitrij D. Czarkoff | |
Implementation details should not leak to other parts of the code. While at it, clean up initialization and destruction of navigator. | |||
2016-04-29 | Remember files' modification times, not their directories' | Dmitrij D. Czarkoff | |
2016-04-26 | Reimplement '-x' flag | Dmitrij D. Czarkoff | |
This change effectively backs out f1737ddd06141afbe99f37af3b5c2d0f1df5fe7a, implementing the same functionality in a simpler and more correct way. Implementation details: * imv_navigator.wrapped - a new field that has value "0" by default; once navigator wraps around the list, this field recieves value "1". * imv_navigator_wrapped(&nav) - a new function that returns non-zero value iff navigator wrapped around the list. Currently just returns value of imv_navigator.wrapped. While at it, expanded "test_navigator_remove" and merged it with "test_navigator_add". Resulting test is called "test_navigator_add_remove". Fixes #94. | |||
2016-04-26 | Fix segmentation violation | Dmitrij D. Czarkoff | |
When non-cycling mode prevents navigator from wrapping to the other end of list, undo change to nav->cur_path. Otherwise it will remain out-of-bounds, so that subsequent calls to navigator functions may produce unexpected results, up to segmentation violation. Fixes #93 | |||
2016-04-26 | Add vim modelines | Dmitrij D. Czarkoff | |
2016-04-02 | Add -x switch to exit imv when reaching end of file list. | Hannes Koerber | |
2016-01-17 | Fix memory leak in imv_navigator_destroy | Harry Jeffery | |
2016-01-13 | Use PATH_MAX for buffers holding paths | Dmitrij D. Czarkoff | |
2015-12-30 | Reduce amount of stat(2) calls | Dmitrij D. Czarkoff | |
Add 8-bit variable that is passed to imv_navigator_poll_changed(). Decrement it on each run of main loop. When it gets to 0, call stat(2). | |||
2015-12-28 | Remove names from file copyright headers | Harry Jeffery | |
2015-12-28 | Add checks for malloc(3) | Dmitrij D. Czarkoff | |
Exit(3) if memory allocation fails. | |||
2015-12-28 | Use stat(2) to monitor file changes | Dmitrij D. Czarkoff | |
Makes file monitoring in imv completely POSIX. | |||
2015-12-28 | Use realloc(3) for extending buffer | Dmitrij D. Czarkoff | |
It may save some CPU cycles if there is enough space to grow the array without copying memory chunks. Two side effects of the change: proper error checking added and dangerous memcpy(3) call removed. | |||
2015-12-08 | Refactor imv_navigator interface | Harry Jeffery | |
2015-11-28 | Fix memory corruption bug in imv_navigator_remove_path | Harry Jeffery | |
2015-11-28 | Load still images in the background | Harry Jeffery | |
2015-11-27 | add imv_navigator_remove_path function | Harry Jeffery | |
2015-11-20 | Remove unnecessary malloc casts | Harry Jeffery | |
2015-11-20 | Add support for -n PATH starting specifier | Harry Jeffery | |
Fixes #36 | |||
2015-11-13 | imv_navigator_set_path | Michal Koutenský | |
2015-11-12 | Relicence imv to GPLv2+ | Harry Jeffery | |
2015-11-11 | Update makefile to use a build directory | Harry Jeffery | |