summaryrefslogtreecommitdiff
path: root/src/filelist.c
AgeCommit message (Collapse)AuthorLines
2023-07-12update copyrightBirte Kristina Friesel-1/+1
2023-01-22src: Fix build with clang 16orbea-3/+2
These are no longer supported in upcoming clang versions. warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
2022-01-03Trim trailing whitespacea1346054-1/+1
2021-07-24Fix implicit definition of `strverscmp`.Olof-Joachim Frahm (欧雅福)-8/+4
2021-07-23Fix out of boundary access on illegal argumentTobias Stoeckmann-1/+1
Calling feh with an empty argument leads to out of boundary access. This can be seen best when compiled with asan: $ feh ""
2021-02-28Merge pull request #531 from Ferada/fix-some-warningsDaniel Friesel-2/+3
Fix some warnings from `gcc`.
2021-01-24Handle URL-encoded components in "feh --start-at file://...."Daniel Friesel-0/+28
Closes #584
2020-12-24save_filelist: Respect --output-dirDaniel Friesel-1/+10
Closes #577
2020-06-15Enable --version-sort on systems without strverscmp()Tim van der Molen-4/+0
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-29Fix some warnings from `gcc`.Olof-Joachim Frahm-2/+3
2020-04-11update copyrightDaniel Friesel-1/+1
2019-04-01Merge remote-tracking branch 'original/master'Sven Willner-1/+6
2018-12-04Declare sig_exit as volatileDaniel Friesel-1/+1
sig_exit may be changed by a signal handler, so its value should always be read from RAM.
2018-10-02Actually remove collage mode after ~7 years.Olof-Joachim Frahm-1/+1
2018-09-20Handle SIGTERM, SIGINT, SIGQUIT during preloadDaniel Friesel-0/+5
2018-09-13Merge branch 'master' of github.com:derf/fehSven Willner-11/+31
2018-08-05Merge --dcraw-timeout and --magick-timeout into --conversion-timeoutDaniel Friesel-4/+4
2018-05-11Update copyright noticeDaniel Friesel-1/+1
2018-03-07filelist: Fix misinterpretation of C99 inline semanticsDaniel Friesel-1/+1
2018-02-28Add Makefile flag to disable version sorting on C libraries without strverscmpDaniel Friesel-14/+15
2018-02-28Merge branch 'natural-sort' of https://github.com/ulteq/feh into ↵Daniel Friesel-4/+15
ulteq-natural-sort
2018-02-14Only check image dimensions on the fly in multiwindow and slideshow modeDaniel Friesel-1/+11
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-01-23Add natural sort of (version) numbersulteq-4/+15
2018-01-14Handle --min-dimension and --max-dimension without preloadulteq-3/+1
This will (by default) check the image dimension on-the-fly, but you can still do it beforehand by specifying the preload flag.
2017-08-24added inotify supportSven Willner-1/+1
2016-06-06next/priv directory: Use PATH_MAX instead of FEH_MAX_DIRNAME_LENDaniel Friesel-3/+3
2016-06-06Define PATH_MAX ourselves if it isn't defined by the OS (closes #90)Daniel Friesel-1/+2
This is kinda sloppy coding (feh --filelist and --bg-* will fail when running on a system with path lengths >= 4096 and PATH_MAX not defined), but that's sufficiently improbable to be okay. (plus, I ain't getting paid for this, so if you want to improve it feel free to do so)
2016-05-28New sort option: dirnameguns-0/+28
Sort filelist by dirname, then by name. This results in file entries sorting before subdirectory entries. Useful in conjunction with upcoming prev_dir and next_dir navigation actions.
2016-02-18filelist: Do not print error when a correct filelist file is specifiedDaniel Friesel-6/+10
2016-02-18also, don't fclose() /dev/stdinDaniel Friesel-1/+2
2016-02-18filelist: Don't try to fopen() stdin (it's a stream, not a file)Daniel Friesel-1/+7
2015-04-07feh_file_info_preload: free feh_file data structure when removing list itemsDaniel Friesel-1/+3
2014-08-03make all opt.verbose messages print to stderrNoah Birnel-1/+1
manually changed in collage, imlib, filelist, thumbnail, slideshow, index feh_display_status also changed
2014-04-14feh_absolute_path: Do not alter URLs (closes #153)Daniel Friesel-1/+1
2014-04-14Use new path_is_url helper instead of repeated strncmp chainsDaniel Friesel-5/+1
2013-12-29Fix for segfault due to errononeous free() in case of scandir error ^Cailed ↵Michael Vorburger-19/+19
to scan directory'
2013-12-03pass (potentially URL-encoded) file:// URLs to curlDaniel Friesel-1/+2
This means it will be treated like an HTTP image (no write operations, copying to /tmp etc), but it's still better than no file:// support. Also, this is why it's not documented yet.
2013-02-08delete temporary stdin-files when exitingDaniel Friesel-0/+1
2013-02-08handle stdin when loading filelist so it also works with --list, rotation, etc.Daniel Friesel-2/+36
2013-02-01support "feh -" to read from stdin. closes #118Daniel Friesel-0/+5
2013-01-30New sort option: mtimeguns-1/+23
Sort filelist by modification time, newer files first. Useful for perusing a directory of images by most recently added or changed.
2012-10-13Add --min-dimension and --max-dimension options (closes #101)Daniel Friesel-1/+9
2012-08-27fix --filelist trying to load .txt and similar with magick. (closes #96)Daniel Friesel-0/+4
2012-03-01quiet/verbose adjustmentsDaniel Friesel-13/+8
2012-02-06EXIF fixes by reald (closes #80)Daniel Friesel-1/+4
commit 9c8226a1a54d1246e086923bb1b36e3827b25767 Merge: e4483e5 132ecc0 Author: Dennis Real <github@tildepipe.org> Date: Sun Feb 5 17:24:17 2012 +0100 Merge branch 'master' of ssh://github.com/reald/feh commit e4483e5e25a1471728a31a18d22ba86def489509 Author: Dennis Real <github@tildepipe.org> Date: Sun Feb 5 16:56:29 2012 +0100 - improved handling of images which have exif tags but not ours - fixed uninitialized pointer in thumbnail mode - added nikon lens info if available commit 132ecc0f9f0a2243c4f6745d0af36be810bf9eba Author: Dennis Real <github@tildepipe.org> Date: Sun Feb 5 16:56:29 2012 +0100 - improved handling of images which have exif tags but not ours - fixed uninitialzed pointer in thumbnail mode - added nikon lens info if available
2012-01-27optional exif support (build with exif=1), initial patch importDaniel Friesel-0/+8
2012-01-27filelist.c: refactor stat error checksDaniel Friesel-38/+29
2012-01-27filelist.c: Remove redundant "Couldn't load image" warningDaniel Friesel-4/+1
2012-01-26feh --filelist: Do not overwrite filelist file if it is an imageDaniel Friesel-0/+13
2011-10-10filelist.c, imlib.c: Simplify opt.quiet handlingDaniel Friesel-34/+28