aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
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-28Use stat(2) to monitor file changesDmitrij D. Czarkoff
Makes file monitoring in imv completely POSIX.
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-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-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
2015-11-28Remove unused parameterHarry Jeffery
2015-11-28Move utility functions from main.c to util.cHarry Jeffery
2015-11-28Reintroduce text overlayHarry Jeffery
2015-11-28Hack image changing logic back into shapeHarry Jeffery
2015-11-28Fix pausingHarry Jeffery
2015-11-28Implement background frame loadingHarry Jeffery
2015-11-28Add some infrastructure for gif playbackHarry Jeffery
2015-11-28Load still images in the backgroundHarry Jeffery
2015-11-27Retrive viewport image dimensions from texture, not loaderHarry Jeffery
2015-11-20Add support for -n PATH starting specifierHarry Jeffery
Fixes #36
2015-11-19Rename imv_image -> imv_loader to prepare for refactoringHarry Jeffery
2015-11-19Use fontconfig to search for fontsHarry Jeffery
2015-11-19Don't recommend -i in documentationHarry Jeffery
2015-11-17Add an overlay option '-d'.Harry Jeffery
TODO: The font needs to be configurable with an option. Refs #35
2015-11-16Support upper-case hexHarry Jeffery
Fixes #32
2015-11-14Rework zoomingHarry Jeffery
2015-11-14Add -u option for nearest neighbour resamplingHarry Jeffery
2015-11-14Add -b option to set backgroundHarry Jeffery
2015-11-14Add support for chequered/colored backgroundsHarry Jeffery
2015-11-13Remove obsolete 's' hotkeyHarry Jeffery
2015-11-13imv_navigator_set_pathMichal Koutenský
2015-11-13sxiv-like 'start at' optionMichal Koutenský
2015-11-13Fix out of date usage synopsisHarry Jeffery