summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorLines
2018-04-18Always save absolute paths in ~/fehbg (closes #389)Daniel Friesel-2/+15
2018-04-04Add %g and %Z format specifiers (closes #391)Daniel Friesel-0/+12
2018-03-10Only set random seed onceDaniel Friesel-4/+2
Fixes non-random behaviour when randomizing file lists several times per second. Closes #349
2018-03-09rename --inner-geometry to --offset, discard width and height valuesDaniel Friesel-16/+14
2018-03-08add (experimental and still slightly buggy) --inner-geometry featureDaniel Friesel-0/+36
See #278
2018-03-07filelist: Fix misinterpretation of C99 inline semanticsDaniel Friesel-1/+1
2018-03-04Merge branch 'fix-toggle-fixed-geometry' of https://github.com/ulteq/feh ↵Daniel Friesel-0/+1
into ulteq-fix-toggle-fixed-geometry
2018-02-28Add toggle_auto_zoom key binding, defaulting to ZDaniel Friesel-0/+6
Closes #218
2018-02-28Respect --geometry in --bg-fill (closes #209)Daniel Friesel-1/+26
2018-02-28Merge branch 'fix-no-files-found-on-reload' of https://github.com/Ferada/feh ↵Daniel Friesel-0/+4
into Ferada-fix-no-files-found-on-reload
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.
2018-01-03Add files from file list file on reload.Olof-Joachim Frahm-0/+4
Fixes issue 325.
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-28Apply the toggle_fixed_geometry event to current imageulteq-0/+1
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