summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2024-06-30cache stat(2) callsNaïm Favier-52/+67
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.
2024-06-30feh(1): it's xrandr --listmonitors, not --listmonitorBirte Kristina Friesel-1/+1
Closes #735
2024-06-30Fix --no-recursive bugwwsmiff-1/+1
2024-06-29feh_thumbnail_generate: pass-through for images <= thumbnail sizeBirte Kristina Friesel-0/+7
2024-06-29Add support for x-large and xx-large XDG thumbnail directoriesBirte Kristina Friesel-4/+8
2024-04-19No Maintenance IntendedBirte Kristina Friesel-1/+3
2024-02-23Small error in man-pagebecca-1/+1
There's a place, under BACKGROUND SETTING, where it says to use `xrandr --listmonitor` to determine how Xinerama monitor IDs map to screens etc. This should be `xrandr --listmonitors` with an 's' at the end.
2023-12-29feh(1): Mention --action execution in --(un)loadable documentationBirte Kristina Friesel-0/+6
Previously, the fact that --action interacts with --(un)loadable was only mentioned in the documentation for --action, thus posing an elevated risk for misunderstandings. Closes #741
2023-12-04Release v3.10.23.10.2Birte Kristina Friesel-0/+6
2023-12-03Re-structure READMEBirte Kristina Friesel-60/+60
2023-11-29feh(1): clarify that --conversion-timeout is mandatory for convert and dcrawBirte Kristina Friesel-10/+18
Closes #733
2023-11-29feh(1): remove redundant libmagic enabled/disabled hintBirte Kristina Friesel-1/+0
2023-11-26add mailmapBirte Kristina Friesel-0/+4
2023-11-26Fix for right-click buffer overflowAmetov Imil-10/+6
2023-11-17add_stdin_to_filelist: fix resource leak upon fwrite failureBirte Kristina Friesel-0/+1
Closes #730
2023-10-02Release v3.10.13.10.1Birte Kristina Friesel-1/+6
2023-10-02comment out documentation for %W for now; it's not ready yetBirte Kristina Friesel-4/+7
2023-10-02move signal-unsafe functions out of signal handlersBirte Kristina Friesel-20/+37
A signal interrupts the blocking function calls in the main iteration, so there is really no need to do (unsafe) heavy lifting in the signal handler. Closes #705
2023-10-02changelog: name changeBirte Kristina Friesel-110/+110
2023-09-18add %W format specifier (#719)Birte Kristina Friesel-0/+11
2023-07-30document new name of `--cycle-once`Eli the Bearded-2/+5
2023-07-12update copyrightBirte Kristina Friesel-31/+31
2023-07-12feh(1): update copyrightBirte Kristina Friesel-2/+2
2023-04-06Release v3.103.10Daniel Friesel-0/+8
2023-04-06We do not use gib_imlib_load_image; comment it outDaniel Friesel-1/+4
2023-04-06Sync strverscmp.c with upstream muslTim van der Molen-3/+3
2023-04-06imlib.c: handle new Imlib2 return codesDaniel Friesel-0/+8
2023-04-05feh.t: Adjust for magic=1 and imlib2 1.8+Daniel Friesel-1/+4
2023-02-15Add --sort=noneDaniel Friesel-2/+9
2023-02-15Use `grep` instead of `fgrep`a1346054-1/+1
No need to use `grep -F` here
2023-01-22src: Fix build with clang 16orbea-18/+17
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-08-22Release v3.9.13.9.1Daniel Friesel-0/+6
2022-08-22winwidget: do not add an inotify watch if file is a urlAnthony Iliopoulos-1/+1
inotify_add_watch calls fail when the file is a url, since it does not correspond to an actual on-disk path. The temporary file path fetched by curl could be kept and monitored, but since this is unlikely to change just avoid monitoring files opened via a url.
2022-08-21README: Add libXt to list of dependenciesDaniel Friesel-0/+1
Closes #665
2022-06-13Set libcurl user agentDaniel Friesel-0/+1
The default user agent is empty, which is not that friendly. Closes #660
2022-06-12update tests for magic=0Daniel Friesel-1/+1
2022-06-12changelog: add an attribution. whoops.Daniel Friesel-1/+1
2022-06-12release v3.93.9Daniel Friesel-0/+20
2022-06-12feh(1), --version: Document libmagic compile flagDaniel Friesel-9/+20
2022-06-10MotionNotify handler: only call generic handler if winwid != NULLDaniel Friesel-10/+12
Closes #656
2022-06-10do not enable libmagic by defaultDaniel Friesel-3/+6
2022-04-27add heic supportMichael-1/+1
2022-02-10Merge pull request #645 from eworm-de/magicDaniel Friesel-82/+85
use libmagic to detect valid file formats
2022-02-10Run init_magic before init_parse_optionsDaniel Friesel-4/+5
init_parse_options calls feh_prepare_filelist, which in turn calls feh_file_info_preload if opt.preload is set. This function will load all images in the filelist to determine their attributes, so we need to initialize libmagic before calling init_parse_options.
2022-02-08global initialization for libmagicChristian Hesse-40/+66
Add a global `magic_t magic` and initialize it just once. Also `feh_is_image()` now calls itself to check compressed files, saving some duplicate code.
2022-02-08use libmagic to detect valid file formatsChristian Hesse-83/+59
Writing our own magic bytes detection is prone to errors and an everlasting catch-up-game. Let's use libmagic to get things right, this is less code and makes things more reliable. Building without libmagic is still possible. That will make the code act like specifying FEH_SKIP_MAGIC=1, effectively passing everything to imlib2.
2022-01-21Define _DARWIN_C_SOURCE for mkdtemp and mkstempsRyan Schmidt-1/+1
When _POSIX_C_SOURCE is defined, macOS hides the definitions of mkdtemp and mkstemps, among others. Define _DARWIN_C_SOURCE to counteract that.
2022-01-16remove local getopt_long() implementationGuilherme Janczak-1256/+1
getopt_long() is widely supported these days, removing it from the source tree should be okay. Here's documentation or the implementation of getopt_long on many systems: All the BSDs: https://man.netbsd.org/NetBSD-9.2-STABLE/getopt_long.3 https://man.openbsd.org/OpenBSD-7.0/getopt_long https://www.freebsd.org/cgi/man.cgi?query=getopt_long https://leaf.dragonflybsd.org/cgi/web-man?command=getopt_long Illumos (OpenSolaris fork): https://illumos.org/man/3c/getopt_long The musl, newlib, and uclibc-ng libcs: https://gogs.waldemar-brodkorb.de/oss/uclibc-ng/src/master/libc/unistd/getopt_long-simple.c#L49-L52 https://git.musl-libc.org/cgit/musl/tree/src/misc/getopt_long.c#n140 https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/stdlib/getopt.c;h=d4f225a7a735dc741d2874eb6c131b6fce2967c5;hb=HEAD#l475 Mingw-w64: https://github.com/mirror/mingw-w64/blob/master/mingw-w64-crt/misc/getopt.c#L542-L549 Mac OS X: https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/getopt_long.3.html
2022-01-03Release v3.83.8Daniel Friesel-0/+13
Closes #642
2022-01-03Fix spellinga1346054-9/+9