aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-26Fix segmentation violationDmitrij 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-26Testcase for removal from navigatorDmitrij D. Czarkoff
Test that removing items leads to predictable results. Right now test is fairly incomplete, because it does not cover moving in reversed direction.
2016-04-26Fix reporting image changeDmitrij D. Czarkoff
Apparently bg_next_frame() functions marked first frames of gifs old before imv_loader_get_image() had a chance to report them to the main loop. Move unsetting of ldr->out_is_new_image to imv_loader_get_image(). Fixes #81.
2016-04-26Indent fixDmitrij D. Czarkoff
2016-04-26Add vim modelinesDmitrij D. Czarkoff
2016-04-26Conditionally ignore key repeatDmitrij D. Czarkoff
For the following actions: * reset scaling ('s'), * redraw ('r'), * scale to actual size ('a'), * center image ('c'), * remove selection ('x'), * toggle fullscreen ('f'), * toggle playing (space), * print selection ('p'), * toggle overlay ('d') repeating action when key is held does not make sense. After acting upon these events ignore them until key is released or another key is pressed.
2016-04-25Include git commit hash in version numberDmitrij D. Czarkoff
When operating in git repo, build system will include abbreviated git hash in imv version number. If there is no git repo around (eg. building from tarball), fall back to version number in Makefile. Fixes #90
2016-04-25Merge pull request #89 from czarkoff/plusHarry Jeffery
Make '+' work on all layouts
2016-04-25Make '+' work on all layoutsDmitrij D. Czarkoff
Key handling code obuses the fact that plus sign is shifted key for equals sign on US keyboard. Add '+' as a control for layouts where this is not the case.
2016-04-23Merge pull request #86 from ShanaXXII/masterHarry Jeffery
fixed comment typo in loader.h
2016-04-22fixed comment typo in loader.hShanaXXII
2016-04-03Merge pull request #85 from whatevsz/wip-cycleHarry Jeffery
Add -x switch to exit imv when reaching end of file list.
2016-04-02Add -x switch to exit imv when reaching end of file list.Hannes Koerber
2016-03-08Merge pull request #83 from czarkoff/rapid_fireHarry Jeffery
Read file list from standard input continuosly
2016-03-06Forgot "imv" in exampleDmitrij D. Czarkoff
2016-03-06Note command for viewing images from the webDmitrij D. Czarkoff
2016-03-06Read file list from standard input continuoslyDmitrij D. Czarkoff
This reduces delay before initial draw in case of slow input, opening possibilities for use cases like: $ curl -Osw "%{filename_effective}\n" "http://www.example.com/[1-10].jpg" which will download all images and start showing them once first arrives.
2016-02-25Merge pull request #82 from czarkoff/exifHarry Jeffery
Use Exif rotation for JPEG images
2016-02-25Remove duplicated "-g" flagDmitrij D. Czarkoff
2016-02-21Honour EXIF orientation tagDmitrij D. Czarkoff
2016-02-21Add test to check for EXIF rotation of JPEG imagesDmitrij D. Czarkoff
2016-02-21Fix "check" targetDmitrij D. Czarkoff
for i in "..."; do ...; done ideom guarantees single iteration with $i set to everything between "in" and ';'.
2016-02-21Force "-g" flag for testsDmitrij D. Czarkoff
2016-02-08Release imv v2.0.0Harry Jeffery
2016-02-08Remove tabsHarry Jeffery
2016-02-08Fix #78Harry Jeffery
If the gif disposal method is unspecified, default to compositing instead of full disposal.
2016-01-24Fix bug in slideshow timingHarry Jeffery
2016-01-17Fix memory leak in imv_navigator_destroyHarry Jeffery
2016-01-16Merge pull request #79 from czarkoff/no_upscalingHarry Jeffery
Add third scaling mode: best fit
2016-01-16Add third scaling mode: best fitDmitrij D. Czarkoff
* Add new switches: "-S" to force (default) "perfect fit" mode and "-s" to force "best fit" mode. * Add new control key: "s" to switch scaling mode.
2016-01-16Provide some feedback to users when no arguments are givenHarry Jeffery
2016-01-16Trim usage information for -hHarry Jeffery
2016-01-15Merge pull request #76 from czarkoff/loaderHarry Jeffery
Loading image data from standard input
2016-01-14Note new syntax in README.mdDmitrij D. Czarkoff
2016-01-14Loading image data from standard inputDmitrij D. Czarkoff
This commit changes processing of arguments: * When called without arguments (with or without flags), imv reads list of files from standard input. * When called with "-" among arguments, read image data from standard input.
2016-01-13Use PATH_MAX for buffers holding pathsDmitrij D. Czarkoff
2016-01-13Sort static functionsDmitrij D. Czarkoff
2016-01-13Declare static functions above all codeDmitrij D. Czarkoff
2016-01-13Remove "imv_loader_" prefix from static functionsDmitrij D. Czarkoff
2016-01-13In 'void *' functions return NULL instead of 0Dmitrij D. Czarkoff
2016-01-13Fix strict build on GCCHarry Jeffery
2016-01-13Merge pull request #74 from czarkoff/masterHarry Jeffery
Add Travis CI support
2016-01-13Gather status of eXeC64/imv in Travis indicatorDmitrij D. Czarkoff
2016-01-12Add explicit CFLAGS to .travis.ymlDmitrij D. Czarkoff
Include "-Werror" among flags, so that it is easier to catch compiler warnings.
2016-01-09Add Travis CI supportDmitrij D. Czarkoff
Unfortunately, Travis only wants to use Ubuntu LTS releases, so at least until next Ubuntu LTS release we are stuck with ancient cmocka version. So no automated testing yet.
2016-01-07Merge pull request #73 from czarkoff/testHarry Jeffery
Test
2016-01-06Add test for file change detectionDmitrij D. Czarkoff
2016-01-06Fix navigator_add testDmitrij D. Czarkoff
It was not fixed after imv_navigator_poll_changed() function was changed.
2016-01-01Merge pull request #72 from czarkoff/timeoutsHarry Jeffery
Timeouts
2016-01-01Include <limits.h>Dmitrij D. Czarkoff