Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2020-03-26 | Quit curl cleanly even if libcurl is old. | c99pedant | -0/+6 | |
Building feh 3.3 on CentOS 7 x86_64 warns `curl_quit_function` in `imlib.c` is unused: ``` cc -g -O2 -Wall -Wextra -pedantic -std=c11 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DHAVE_LIBCURL -DHAVE_VERSCMP -DHAVE_LIBXINERAMA -DHAVE_LIBEXIF -DPREFIX=\"/usr/local\" -DPACKAGE=\"feh\" -DVERSION=\"3.3\" -c -o imlib.o imlib.c imlib.c:545:12: warning: ‘curl_quit_function’ defined but not used [-Wunused-function] static int curl_quit_function(void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow) ^ ``` The `curl_quit_function` code was added in response to pull [#435](https://github.com/derf/feh/pull/435) In issue [#485](https://github.com/derf/feh/issues/485) a fellow CentOS 7 user had an error building feh because CentOS 7 is locked into an old version of libcurl. In the fix, a version guard was wrapped around the `curl_easy_setopt` call, but the rest of the code was unchanged. Since I don't want to maintain a local build of libcurl, I looked at the curl docs and noticed there is an older callback which serves the same purpose: https://curl.haxx.se/libcurl/c/CURLOPT_PROGRESSFUNCTION.html The difference between `PROGRESS` and `XFERINFO` is the callback's argument types, with `PROGRESS` using `double` and `XFERINFO` using `curl_off_t`: https://curl.haxx.se/libcurl/c/CURLOPT_XFERINFOFUNCTION.html The callback's return value logic and use of `CURLOPT_NOPROGRESS` is the same. For context, the latest libcurl RPM I'm getting from yum updates is `libcurl-7.29.0-54.el7_7.2.x86_64`. The "stable" versions of other distros may encounter similar issues. The CentOS 7 "End of Life" date is 2024-06-30 so you should hear the end of this by then, at least from us pesky CentOS users. | ||||
2019-11-07 | Guard CURLOPT_XFERINFOFUNCTION usage with LIBCURL_VERSION_NUM check | Daniel Friesel | -0/+2 | |
Closes #485 | ||||
2018-12-04 | Declare sig_exit as volatile | Daniel Friesel | -1/+1 | |
sig_exit may be changed by a signal handler, so its value should always be read from RAM. | ||||
2018-11-29 | Handle SIGINT while doing libcurl transfers | Daniel Friesel | -1/+24 | |
See also #435 | ||||
2018-11-23 | Decrease libcurl timeout from indefinite to 30 minutes | Daniel Friesel | -0/+7 | |
2018-11-04 | Fix segfault when editing an image without info struct | Daniel Friesel | -4/+12 | |
2018-11-04 | Disable in-place editing by default | Daniel Friesel | -1/+1 | |
2018-11-04 | Merge branch 'no-inplace-edit' of https://github.com/ulteq/feh into ↵ | Daniel Friesel | -0/+16 | |
ulteq-no-inplace-edit | ||||
2018-10-04 | Add missing EXIF rotations. | Olof-Joachim Frahm | -1/+13 | |
2018-08-22 | Add an option to disable inplace edit | ulteq | -0/+16 | |
2018-08-05 | Merge --dcraw-timeout and --magick-timeout into --conversion-timeout | Daniel Friesel | -5/+5 | |
2018-08-05 | Merge branch 'dcraw' of https://github.com/ulteq/feh into ulteq-dcraw | Daniel Friesel | -8/+102 | |
2018-05-11 | Update copyright notice | Daniel Friesel | -1/+1 | |
2018-05-11 | Use custom temporary directory for ImageMagick calls and clean it up afterwards | Daniel Friesel | -1/+50 | |
2018-03-10 | Only set random seed once | Daniel Friesel | -3/+0 | |
Fixes non-random behaviour when randomizing file lists several times per second. Closes #349 | ||||
2018-03-03 | Utilize dcraw to preview RAW files | ulteq | -8/+102 | |
Uses the camera-generated thumbnail to display RAW images that could otherwise not be loaded. | ||||
2018-02-14 | Only check image dimensions on the fly in multiwindow and slideshow mode | Daniel Friesel | -0/+12 | |
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-20 | Fix the --magick-timeout handling | ulteq | -19/+6 | |
* Prevents nasty loading loops * Prevents zombie subprocesses * Fixes the conversion timeout detection routine | ||||
2017-12-28 | Always check file modification time before loading images from cache | Daniel Friesel | -0/+10 | |
2017-12-28 | Add option to change the imlib cache size | ulteq | -0/+2 | |
This option allows you to change the default imlib2 image cache size of 4 MiB. | ||||
2017-11-07 | Only set CURLOPT_CAINFO if CURL_CA_BUNDLE is set | Daniel Friesel | -1/+1 | |
2017-11-07 | Fix ~/.fehbg no longer being source-able (closes #342)2.22.1 | Daniel Friesel | -1/+1 | |
2017-10-30 | imlib: Look up CA certificates by $CURL_CA_BUNDLE. | Marius Bakke | -0/+4 | |
Similar to the `curl` command-line tool. | ||||
2017-09-26 | Fix dead code | Niclas Zeising | -3/+4 | |
The check if buffer == NULL is always false, since buffer is an autoamtic variable allocated when entering the function. What we instead want to do is to check if the string is empty after the call to exif_get_info(), since that means we could not read any exif information. When the code once more is enabled, I discovered that we need to copy the information string into info_buf as well as into buffer, since it is the former that is used to print the exif information on top of the picture. Without this change, imlib warns about trying to write NULL strings. | ||||
2017-09-26 | Remove unused variable | Niclas Zeising | -4/+0 | |
2017-09-05 | Work around ImageMagick bug when converting to file descriptors (#323) | Daniel Friesel | -4/+12 | |
2017-08-25 | Silence warnings | orbea | -1/+1 | |
2017-08-05 | Show ImageMagick output on the terminal unless --quiet is specified | Daniel Friesel | -3/+5 | |
(cf #309) | ||||
2016-10-30 | imlib.c: Move orientation logic inside HAVE_LIBEXIF | Daniel Friesel | -2/+2 | |
2016-10-29 | add cmdline opt --auto-rotate to rotate according to EXIF info | Elliot Wolk | -1/+1 | |
2016-10-29 | imlib: fix autorotate EXIF parsing | Elliot Wolk | -12/+15 | |
2016-07-24 | support rotation for images loaded via libcurl and imagemagick | Daniel Friesel | -29/+29 | |
2016-07-22 | I may have fixed rotate etc. on remote images (not magick ones, though) | Daniel Friesel | -3/+20 | |
2016-06-24 | Also handle fork() failure in magick_load_image | Daniel Friesel | -1/+7 | |
2016-06-23 | imlib/rotate: Fail gracefully when fork() fails | Daniel Friesel | -3/+3 | |
2016-06-20 | imlib.c: Do not call atexit hooks when terminating a child process (closes #245) | Daniel Friesel | -5/+5 | |
2016-05-03 | feh_draw_filename: Set correct list number in multiwindow mode (closes #237) | Daniel Friesel | -2/+6 | |
2016-02-10 | add preliminary action-title support (#224) | Daniel Friesel | -5/+5 | |
2016-01-07 | Changes: | William Woodruff | -7/+11 | |
* Added an --insecure option to disable host/peer verification in libcurl. This allows feh to load images on HTTPS hosts with self-signed certificates. For security, this is not the default. * Fixed an include in show_usage. | ||||
2015-07-23 | use --xinerama-index instead of XINERAMA_INDEX to override xinerama screen ↵ | Daniel Friesel | -2/+2 | |
selection | ||||
2015-04-07 | fix gib_imlib_save_image_with_error_return in imported giblib code | Daniel Friesel | -27/+1 | |
2015-04-06 | im_weprintf: fix memory leak when winwidget is not set | Daniel Friesel | -0/+2 | |
2014-08-03 | make all opt.verbose messages print to stderr | Noah Birnel | -8/+8 | |
manually changed in collage, imlib, filelist, thumbnail, slideshow, index feh_display_status also changed | ||||
2014-05-06 | Fix dead code found by LLVM's scan-build utility | Daniel Friesel | -2/+0 | |
2014-05-04 | import partial giblib source into feh, do not link with giblib | Daniel Friesel | -2/+2 | |
2014-04-14 | Use new path_is_url helper instead of repeated strncmp chains | Daniel Friesel | -5/+1 | |
2013-12-03 | pass (potentially URL-encoded) file:// URLs to curl | Daniel Friesel | -2/+4 | |
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-05-31 | fix some clang warnings | Daniel Friesel | -1/+1 | |
2013-03-21 | autorotate images based on EXIF orientation (with exif=1) | Daniel Friesel | -1/+17 | |
2013-02-14 | Determine active Xinerama screen by pointer position | Daniel Friesel | -4/+23 | |