aboutsummaryrefslogtreecommitdiff
path: root/src/navigator.c
AgeCommit message (Collapse)Author
2016-01-13Use PATH_MAX for buffers holding pathsDmitrij D. Czarkoff
2015-12-30Reduce amount of stat(2) callsDmitrij 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-28Remove names from file copyright headersHarry Jeffery
2015-12-28Add checks for malloc(3)Dmitrij D. Czarkoff
Exit(3) if memory allocation fails.
2015-12-28Use stat(2) to monitor file changesDmitrij D. Czarkoff
Makes file monitoring in imv completely POSIX.
2015-12-28Use realloc(3) for extending bufferDmitrij 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-08Refactor imv_navigator interfaceHarry Jeffery
2015-11-28Fix memory corruption bug in imv_navigator_remove_pathHarry Jeffery
2015-11-28Load still images in the backgroundHarry Jeffery
2015-11-27add imv_navigator_remove_path functionHarry Jeffery
2015-11-20Remove unnecessary malloc castsHarry Jeffery
2015-11-20Add support for -n PATH starting specifierHarry Jeffery
Fixes #36
2015-11-13imv_navigator_set_pathMichal Koutenský
2015-11-12Relicence imv to GPLv2+Harry Jeffery
2015-11-11Update makefile to use a build directoryHarry Jeffery