summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
2018-02-28Add Makefile flag to disable version sorting on C libraries without strverscmpDaniel Friesel-14/+22
2018-02-28Merge branch 'natural-sort' of https://github.com/ulteq/feh into ↵Daniel Friesel-4/+22
ulteq-natural-sort
2018-02-27Handle transparency when setting background imagesDaniel Friesel-4/+4
2018-02-27Merge branch 'custom-background-color' of https://github.com/ulteq/feh into ↵Daniel Friesel-41/+29
ulteq-custom-background-color
2018-02-25Fix segfault when using %m format specifier in slideshow modeDaniel Friesel-1/+1
Closes: #382, #384
2018-02-14Only check image dimensions on the fly in multiwindow and slideshow modeDaniel Friesel-10/+34
This introduces a new feh_should_ignore_image function which is called at appropriate places in those modes to skip images which are loadable but undesired.
2018-02-14Merge branch 'dimension-pruning-without-preload' of ↵Daniel Friesel-9/+13
https://github.com/ulteq/feh into ulteq-dimension-pruning-without-preload
2018-02-09parse_options_from_string: only leave quote if start and end character matchDaniel Friesel-4/+6
Closes #381
2018-01-29Makefile: Also honor CFLAGS when building deps.mkDaniel Friesel-2/+2
2018-01-29Include system headers before local ones to fix type conflict on OpenBSDDaniel Friesel-8/+11
2018-01-24Simplify window title generationulteq-140/+33
2018-01-23Add natural sort of (version) numbersulteq-4/+22
2018-01-20Fix the --magick-timeout handlingulteq-19/+6
* Prevents nasty loading loops * Prevents zombie subprocesses * Fixes the conversion timeout detection routine
2018-01-19Removes unnecessary codeulteq-7/+1
Halves the start-up time of the slideshow if the title contains data from 'file->info'
2018-01-17Allow any XColor values as --image-bg argumentPaul O'Day-41/+29
2018-01-14Handle --min-dimension and --max-dimension without preloadulteq-9/+13
This will (by default) check the image dimension on-the-fly, but you can still do it beforehand by specifying the preload flag.
2018-01-07fflush in src/list.c to make tested behavior consistentMax Rees-0/+2
On glibc, if output is redirected to a file, output will look like this: touch test/ok/gif touch test/ok/jpg touch test/ok/png touch test/ok/pnm test/ok/gif test/ok/jpg test/ok/png test/ok/pnm On musl, if stdout is redirected to a file, output looks like this: test/ok/gif touch test/ok/gif touch test/ok/jpg touch test/ok/png touch test/ok/pnm test/ok/jpg test/ok/png test/ok/pnm On glibc and musl, if stdout is interactive, it looks like this: test/ok/gif touch test/ok/gif test/ok/jpg touch test/ok/jpg test/ok/png touch test/ok/png test/ok/pnm touch test/ok/pnm Adding two fflush calls makes all behavior look like the last example. Test cases have been updated accordingly.
2017-12-29Merge pull request #360 from ulteq/minor-code-cleanupDaniel Friesel-6/+4
Only calculate required zoom ratio when necessary
2017-12-28Only calculate needed zoom when necessaryulteq-6/+4
This will prevent unnecessary calls to 'feh_calc_needed_zoom'
2017-12-28Always check file modification time before loading images from cacheDaniel Friesel-0/+10
2017-12-28Merge branch 'cache-size-option' of https://github.com/ulteq/feh into ↵Daniel Friesel-0/+16
ulteq-cache-size-option
2017-12-28Merge branch 'imlib-cache-utilization' of https://github.com/ulteq/feh into ↵Daniel Friesel-1/+1
ulteq-imlib-cache-utilization
2017-12-28Add option to change the imlib cache sizeulteq-0/+16
This option allows you to change the default imlib2 image cache size of 4 MiB.
2017-12-27Utilize the imlib cache properlyulteq-1/+1
This prevents removing the image data from the cache, when moving back and forth between images. As suggested by the Imlib documentation: http://alien.cern.ch/cache/imlib2-1.0.6/doc/
2017-12-09Merge pull request #350 from Limero/masterDaniel Friesel-1/+1
Fixed typo
2017-12-07Compile with std=c11 and set appropriate glibc feature test macrosDaniel Friesel-0/+2
might resolve #333 and #348
2017-12-07Disable automatic zoom adjustment of thumbnail windowsDaniel Friesel-4/+4
Closes #351
2017-12-04Fixed typoDavid Pedersen-1/+1
2017-11-07Only set CURLOPT_CAINFO if CURL_CA_BUNDLE is setDaniel Friesel-1/+1
2017-11-07Fix ~/.fehbg no longer being source-able (closes #342)2.22.1Daniel Friesel-2/+2
2017-11-01wallpaper.c: Remove unused variableDaniel Friesel-2/+0
2017-11-01Fix ~/.fehbg not being updated when setting wallpaper via menuDaniel Friesel-44/+25
2017-10-30imlib: Look up CA certificates by $CURL_CA_BUNDLE.Marius Bakke-0/+4
Similar to the `curl` command-line tool.
2017-10-03Always save user-provided commandline in ~/.fehbgDaniel Friesel-41/+7
This fixes --force-aliasing (and possibly other options) missing from the file.
2017-10-03Make shell_escape available as a generic utility functionDaniel Friesel-23/+24
2017-10-02Fix segfault when running slideshow mode with !opt.displayDaniel Friesel-1/+4
Happens e.g. when using -O without enabling thumbnail/index mode Closes #335
2017-09-26Fix dead codeNiclas Zeising-3/+4
The check if buffer == NULL is always false, since buffer is an autoamtic variable allocated when entering the function. What we instead want to do is to check if the string is empty after the call to exif_get_info(), since that means we could not read any exif information. When the code once more is enabled, I discovered that we need to copy the information string into info_buf as well as into buffer, since it is the former that is used to print the exif information on top of the picture. Without this change, imlib warns about trying to write NULL strings.
2017-09-26Remove unused variableNiclas Zeising-4/+0
2017-09-24Replace keybinding struct with an array of named bindingsDaniel Friesel-400/+272
2017-09-16Add toggle_fixed_geometry ("g") keybinding to enable/disable window auto-resizeDaniel Friesel-0/+13
Closes #326
2017-09-16Initialize png comment hash after setjmp() to avoid clobbering itDaniel Friesel-7/+7
2017-09-16Replace legacy signal(...) call with sigaction(...)Daniel Friesel-6/+22
2017-09-13Improve handling of lost terminalsDaniel Friesel-21/+38
When feh loses its controlling terminal at runtime, e.g. due to backgrounding / disowning, it will no longer issue a warning on each terminal keystroke.
2017-09-13Only restore terminal settings if stdin still belongs to us (closes #324)Daniel Friesel-1/+9
2017-09-05Work around ImageMagick bug when converting to file descriptors (#323)Daniel Friesel-4/+12
2017-09-05Remove image from filelist if it was removed by an action (closes #322)Daniel Friesel-0/+3
2017-09-02Respect -N / --no-menus option (broken in 2.17)Daniel Friesel-1/+1
2017-08-31Add support for caption editing to stdin key inputDaniel Friesel-51/+54
2017-08-29Handle detaching the controlling tty from a feh processDaniel Friesel-4/+13
2017-08-27Do not accept control from stdin when running in the backgroundDaniel Friesel-1/+11