summaryrefslogtreecommitdiff
path: root/src/filelist.h
AgeCommit message (Collapse)AuthorLines
2024-06-30cache stat(2) callsNaïm Favier-4/+6
When the user requests sorting by size or mtime, do a "soft preload" of the file list that only calls stat(2) without loading images. This avoids calling stat(2) repeatedly on the same files when sorting the file list, and achieves faster startup on slow filesystems.
2023-01-22src: Fix build with clang 16orbea-1/+1
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
2021-01-24Handle URL-encoded components in "feh --start-at file://...."Daniel Friesel-0/+1
Closes #584
2016-06-06next/priv directory: Use PATH_MAX instead of FEH_MAX_DIRNAME_LENDaniel Friesel-1/+0
2016-06-06Define PATH_MAX ourselves if it isn't defined by the OS (closes #90)Daniel Friesel-0/+10
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-2/+12
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.
2013-01-30New sort option: mtimeguns-1/+2
Sort filelist by modification time, newer files first. Useful for perusing a directory of images by most recently added or changed.
2012-01-27optional exif support (build with exif=1), initial patch importDaniel Friesel-0/+7
2011-08-13Add reload functionality for directories (derf#14)Yu-Jie Lin-0/+1
2010-12-29o Add each directory's files to the filelist alphanumerically, ratherAndrew Potter-0/+1
than the filesystem's (possibly random) order.
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-23/+21
2010-02-05Initial commit (upstream 1.3.4)Daniel Friesel-0/+89