summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2020-12-05fix memory leak when (re)loading HTTP files with --no-conversion-cacheDaniel Friesel-1/+1
2020-12-05fix memory leak when using exif=1 and reloading an imageDaniel Friesel-6/+15
2020-12-05Fix memory leak in feh_draw_exifDaniel Friesel-0/+1
2020-12-05free accompanying EXIF data when freeing an imageDaniel Friesel-1/+21
This fixes two memory bugs that only manifest with exif=1 and long-running slideshows. * when feh loads an image, it writes exif data to file->ed. Previously, this data was never free'd, causing a memory leak on subsequent loads of the same file. * As file->ed is never free'd, the accumulated EXIF data consumes a significant amount of memory over time. with slideshow-delay = 10 and two days of runtime, feh may exceed 1 GB of memory usage. If the slideshow is so large that feh does not encounter the same image twice in this time, this is not detected as a memory leak, as each EXIF data chunk is referenced from the filelist. See <https://github.com/derf/feh/issues/553> for details. Closes #553
2020-11-30Release v3.63.6Daniel Friesel-0/+12
2020-11-30menu: Set flip/rotate menu title based on --editDaniel Friesel-1/+6
If --edit is set, it is indeed "Edit in Place". Otherwise, it changes the view, but not the image on the disk.
2020-11-30Merge branch 'Eelis-menu'Daniel Friesel-0/+10
2020-11-30Merge branch 'menu' of https://github.com/Eelis/feh into Eelis-menuDaniel Friesel-0/+10
2020-11-30Merge pull request #562 from orbea/manDaniel Friesel-1/+2
man: Silence mandoc warning.
2020-11-30Check magic bytes before passing a file to Imlib2's loaderDaniel Friesel-4/+118
This works around a regression in Imlib2, which makes (un)loadable file detection quite slow when handling e.g. large video files. See <https://phab.enlightenment.org/T8739> and <https://github.com/derf/feh/issues/505> for details. Closes #505
2020-11-14Add menu entries for mirror and flip operationsEelis van der Weegen-0/+10
2020-10-07man: Silence mandoc warning.orbea-1/+2
feh.1:588:33: WARNING: new sentence, new line
2020-08-29Release v3.53.5Daniel Friesel-1/+3
2020-08-29feh(1): Document missing reload functionality in montage/index/thumbnail modeDaniel Friesel-0/+5
Closes #545
2020-08-29feh(1): consistent declaration of enabled/disabled build flags and librariesDaniel Friesel-2/+2
2020-08-29feh(1): Fix --action exampleDaniel Friesel-1/+1
2020-08-29feh(1): Remove FUTURE PLANS. There isn't much going on at the moment.Daniel Friesel-15/+3
2020-08-29changelogDaniel Friesel-0/+8
2020-08-28Github CI: oh FFSDaniel Friesel-4/+6
2020-08-28Fix segfault when closing a window in multi-window reload modeDaniel Friesel-2/+37
Issue: * start feh --multiwindow --reload 5 * close a window with "x" * wait up to 5 seconds * segfault The issue was caused by the closed window's reload timer still being active even after the winwidget was free'd.
2020-08-28Fix segmentation fault when combining --multiwindow and --reloadDaniel Friesel-36/+43
Introduced in 3fa39154f089a6fadc1a14eb6b206e2d2875be71
2020-06-17Merge pull request #500 from reiseb/masterDaniel Friesel-0/+15
add option 'a' to show play/paused information in slideshow mode
2020-06-17toggle_pause: Re-render the image instead of reloadingDaniel Friesel-2/+2
When the slideshow state is toggled, the info line needs to be redrawn as it may use the %a format specifier (which shows whether the slideshow is running or paused). feh_reload_image does this, but also resets all pan and zoom options and reloads the image from disk. winwidget_render_image only redraws info, caption and similar lines in this case, which is more efficient and does not incur unwanted side-effects.
2020-06-17Merge pull request #540 from tbvdm/strverscmpDaniel Friesel-17/+69
Enable --version-sort on systems without strverscmp()
2020-06-17re-add verscmp flag to --version outputDaniel Friesel-0/+4
2020-06-16change play/pause to playing/paused to improve UXreiseb-4/+4
2020-06-16fix indentation (all tabs)reiseb-8/+8
2020-06-16add option 'a' to show play/paused information in slideshow modereiseb-0/+15
2020-06-15Enable --version-sort on systems without strverscmp()Tim van der Molen-19/+67
The --version-sort option requires strverscmp(), but this is a glibc extension that does not exist on OpenBSD and other systems. To enable --version-sort on those systems, provide an internal implementation of strverscmp(). The implementation is from the musl C library and is MIT-licensed. The build process remains the same: the verscmp flag should be set to 1 only if strverscmp() is available in libc. If verscmp is 0, then the internal implementation is used.
2020-05-30Update zoom in / zom out keys in feh --helpDaniel Friesel-2/+2
2020-05-29Release v3.4.13.4.1Daniel Friesel-0/+6
2020-05-29Fix lossless rotate for Imlib2 ≥ 1.6Daniel Friesel-2/+4
Closes #532
2020-04-11update copyrightDaniel Friesel-26/+26
2020-04-11Release v3.43.4Daniel Friesel-0/+18
2020-04-11ensure cache != NULL before accessing itDaniel Friesel-1/+1
Closes #521
2020-04-11feh(1): clarify that --start-at does work for local URLsDaniel Friesel-1/+1
2020-04-11Handle file:/// URLs as local paths in --start-atDaniel Friesel-1/+10
2020-04-08Notify user when attempting to edit caption of a URLDaniel Friesel-1/+4
2020-04-08fix a memory leak when loading a non-native image more than onceDaniel Friesel-0/+12
feh_file_info_load is called even if file_info is already populated, so the original file_info struct is never freed. This results in a leak of ~44 Byte for each subsequenc image load
2020-04-08github ci: reduce parallelism to decrease container overheadDaniel Friesel-6/+2
2020-04-06Switch from Travis CI to GitHub actionsDaniel Friesel-30/+40
2020-04-05Use conversion cache for imlib2 and dcraw imagesDaniel Friesel-21/+37
2020-03-30Merge branch 'awalgarg-master'Daniel Friesel-81/+138
2020-03-30bypass HTTP cache when reloading an imageDaniel Friesel-3/+16
2020-03-30move feh_reload_image to imlib.c (next to feh_load_image)Daniel Friesel-76/+76
2020-03-30add manpage entry for HTTP cacheDaniel Friesel-0/+13
It's called conversion-cache for now, as it will also be used for ImageMagick/dcraw-sourced images in the future. This should also help avoid confusion between HTTP/ImageMagick/dcraw cache (files on disk), Imlib2 cache (images in memory), and thumbnail cache.
2020-03-30Enable HTTP cache by defaultDaniel Friesel-2/+5
2020-03-30Enable re-using downloaded http cacheAwal Garg-2/+21
2020-03-29Document --start-at adjustmentsDaniel Friesel-0/+7
2020-03-29Merge branch 'iglosiggio-start-at-supports-urls'Daniel Friesel-2/+4