summaryrefslogtreecommitdiff
path: root/src/filelist.c
AgeCommit message (Collapse)AuthorLines
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.
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
2011-10-09Add stat64 (-D_FILE_OFFSET_BITS=64) makeflag to support 64bit CIFS shares on ↵Daniel Friesel-0/+4
32bit hosts
2011-10-03feh_display_info: Allow state to be reset for successive callsDaniel Friesel-1/+1
Required e.g. for feh --preload --thumbnails
2011-09-30feh_file_info_load: do not display error when run with --quietDaniel Friesel-1/+2
2011-09-29feh_printf: Check feh_file_info_load return statusDaniel Friesel-5/+4
2011-08-29Various code fixupsDaniel Friesel-1/+0
* remove unused variable Im1 in filelist.c * options are initialised as 0, so only explicitly set those to 0 for which it makes sense because of their context * Make a few warnings about wrong option combinations fatal
2011-08-24--filelist: Support reading from /dev/stdin ("-" as shortcut)Daniel Friesel-14/+1
Note that read_filelist used to check if its argument was an image (for people accidentaly typing "feh -df *" instead of "feh -dF *"); this was removed because it failed on /dev/stdin. I might re-add it, but I'm not yet sure about the future of feh's automatic filelist saving.
2011-08-15Convert C++ style comments to /* */Daniel Friesel-1/+1
2011-08-13Add reload functionality for directories (derf#14)Yu-Jie Lin-0/+1
2011-05-23filelist.c: Fix memleak in add_file_to_filelist_recursively scandir callDaniel Friesel-1/+1
2011-04-30Replace some printf calls by fputs/putcDaniel Friesel-2/+2
2011-04-27Merged pull request #20 from talisein/sortdir.Daniel Friesel-7/+26
Add directory's files to filelist alphanumerically
2011-01-17Copyright FooDaniel Friesel-0/+1
2010-12-29o Add each directory's files to the filelist alphanumerically, ratherAndrew Potter-7/+26
than the filesystem's (possibly random) order.
2010-07-17--debug-level → --debugDaniel Friesel-14/+14
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-68/+39
2010-03-25Actually detect an empty filelistDaniel Friesel-0/+2
This fixes imlib2 warnings (and occasional X errors/segfaults), which used to occur when all files in feh's filelist were suddenly deleted by an external application. Now, feh simply quits with "No more slides in show" (which makes more sense, IMHO).
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-491/+432