aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-01Include <limits.h>Dmitrij 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-30Allow fractional slideshow timeoutDmitrij D. Czarkoff
Accept slideshow timeout expressed as fractional numbers. It is intentionally lax, so that arguments like ".1" or "5." are accepted and give no surprises.
2015-12-28Hide functions that are not exposed via headersDmitrij D. Czarkoff
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-26Improve readability of g_optionsHarry Jeffery
The default options block was getting quite ridiculous to try and read. Let's improve the readability.
2015-12-26Merge pull request #62 from czarkoff/fontHarry Jeffery
Use default font
2015-12-25Document default font change in help textDmitrij D. Czarkoff
2015-12-25Use default fontDmitrij D. Czarkoff
"Monospace" is a font name reserved for default monospace font, which is supposed to be set to particular font user prefers.
2015-12-25Don't use "stdin" variable nameDmitrij D. Czarkoff
At least on OpenBSD stdin, stdout and stderr are macros, and thus they are expanded before compilation.
2015-12-10don't create chequered bg if its not usedAleksandra Kosiacka
fixes #40
2015-12-10hide mouse on key pressAleksandra Kosiacka
fixes #37
2015-12-10Add support for reloading filesJose Diez
Closes #8.
2015-12-10Move text rendering into a util functionHarry Jeffery
2015-12-10Make imv_loader_get_image more informativeHarry Jeffery
2015-12-10Clean up redraw logicHarry Jeffery
2015-12-10fix images not resizing when toggling fullscreen modeAleksandra Kosiacka
fixes #31
2015-12-10add -l option for listing all open images on exitAleksandra Kosiacka
fixes #43
2015-12-09Add slideshow option.Hannes Koerber
2015-12-08Refactor imv_navigator interfaceHarry Jeffery
2015-12-07Permit falling back to software rendererHarry Jeffery
2015-12-04Handle null window/renderer gracefullyHarry Jeffery
2015-11-30Comment main.c more thoroughlyHarry Jeffery
2015-11-30Document imv_loader's methodsHarry Jeffery
2015-11-30Document imv_texture's methodsHarry Jeffery
2015-11-30Document utilsHarry Jeffery
2015-11-30Document imv_viewport's methodsHarry Jeffery
2015-11-30Document imv_navigator's methodsHarry Jeffery
2015-11-28Improve cancellation responsivenessHarry Jeffery
2015-11-28Clean up overlays on exitHarry Jeffery
2015-11-28Don't use a possibly NULL current_pathHarry Jeffery
2015-11-28Use correct free function for SDL_SurfaceHarry Jeffery
2015-11-28Resume playback on image changeHarry Jeffery