summaryrefslogtreecommitdiff
path: root/src/imlib.c
AgeCommit message (Collapse)AuthorLines
2017-12-28Always check file modification time before loading images from cacheDaniel Friesel-0/+10
2017-12-28Add option to change the imlib cache sizeulteq-0/+2
This option allows you to change the default imlib2 image cache size of 4 MiB.
2017-11-07Only set CURLOPT_CAINFO if CURL_CA_BUNDLE is setDaniel Friesel-1/+1
2017-11-07Fix ~/.fehbg no longer being source-able (closes #342)2.22.1Daniel Friesel-1/+1
2017-10-30imlib: Look up CA certificates by $CURL_CA_BUNDLE.Marius Bakke-0/+4
Similar to the `curl` command-line tool.
2017-09-26Fix dead codeNiclas 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-26Remove unused variableNiclas Zeising-4/+0
2017-09-05Work around ImageMagick bug when converting to file descriptors (#323)Daniel Friesel-4/+12
2017-08-25Silence warningsorbea-1/+1
2017-08-05Show ImageMagick output on the terminal unless --quiet is specifiedDaniel Friesel-3/+5
(cf #309)
2016-10-30imlib.c: Move orientation logic inside HAVE_LIBEXIFDaniel Friesel-2/+2
2016-10-29add cmdline opt --auto-rotate to rotate according to EXIF infoElliot Wolk-1/+1
2016-10-29imlib: fix autorotate EXIF parsingElliot Wolk-12/+15
2016-07-24support rotation for images loaded via libcurl and imagemagickDaniel Friesel-29/+29
2016-07-22I may have fixed rotate etc. on remote images (not magick ones, though)Daniel Friesel-3/+20
2016-06-24Also handle fork() failure in magick_load_imageDaniel Friesel-1/+7
2016-06-23imlib/rotate: Fail gracefully when fork() failsDaniel Friesel-3/+3
2016-06-20imlib.c: Do not call atexit hooks when terminating a child process (closes #245)Daniel Friesel-5/+5
2016-05-03feh_draw_filename: Set correct list number in multiwindow mode (closes #237)Daniel Friesel-2/+6
2016-02-10add preliminary action-title support (#224)Daniel Friesel-5/+5
2016-01-07Changes: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-23use --xinerama-index instead of XINERAMA_INDEX to override xinerama screen ↵Daniel Friesel-2/+2
selection
2015-04-07fix gib_imlib_save_image_with_error_return in imported giblib codeDaniel Friesel-27/+1
2015-04-06im_weprintf: fix memory leak when winwidget is not setDaniel Friesel-0/+2
2014-08-03make all opt.verbose messages print to stderrNoah Birnel-8/+8
manually changed in collage, imlib, filelist, thumbnail, slideshow, index feh_display_status also changed
2014-05-06Fix dead code found by LLVM's scan-build utilityDaniel Friesel-2/+0
2014-05-04import partial giblib source into feh, do not link with giblibDaniel Friesel-2/+2
2014-04-14Use new path_is_url helper instead of repeated strncmp chainsDaniel Friesel-5/+1
2013-12-03pass (potentially URL-encoded) file:// URLs to curlDaniel 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-31fix some clang warningsDaniel Friesel-1/+1
2013-03-21autorotate images based on EXIF orientation (with exif=1)Daniel Friesel-1/+17
2013-02-14Determine active Xinerama screen by pointer positionDaniel Friesel-4/+23
2013-02-08fix imlib2 and x11 warnings when opening a URL that returned an HTTP errorDaniel Friesel-1/+2
2013-02-08handle stdin when loading filelist so it also works with --list, rotation, etc.Daniel Friesel-38/+1
2013-02-01support "feh -" to read from stdin. closes #118Daniel Friesel-1/+39
2012-09-27Fix lossless rotation if jpegexiforient is unavailable (closes #100)2.6.3Daniel Friesel-4/+3
2012-09-21imlib.c: Fix debug builds (add missing semicolon)Daniel Friesel-1/+1
2012-09-17Fix EXIF orientation tag after lossless rotateDaniel Friesel-2/+30
2012-09-13Show error message if normal load failed (broken by 2.4) + update tests2.6.1Daniel Friesel-7/+1
2012-09-12print imlib2 error strings when save failedDaniel Friesel-48/+54
2012-09-12Fix lossless rotate error message for non-JPEG imagesDaniel Friesel-1/+5
2012-09-12Proper workaround for broken gib_imlib_save_image_with_error_returnDaniel Friesel-0/+26
2012-08-14imlib.c: When opening via URL, always use URL as filenameDaniel Friesel-8/+1
2012-08-12Add %o, %r and %z format specifiers (see #95)Daniel Friesel-1/+1
2012-04-04Lots of EXIF mode fixes and improvements by Dennis Real (closes #87)Daniel Friesel-5/+5
Squashed commit of the following: commit 58dd2e303c5ee380527d92a3fa3d6baeeacb50a1 Merge: cf6f032 82a976e Author: Dennis Real <github@tildepipe.org> Date: Sat Mar 31 18:43:47 2012 +0200 Merge branch 'master' of git://github.com/derf/feh commit cf6f0320c15abd753951990a963d5c94b180bbde Merge: 10b7b1e 877e634 Author: Dennis Real <github@tildepipe.org> Date: Sun Mar 25 19:07:30 2012 +0200 Merge branch 'master' of git://github.com/derf/feh commit 10b7b1e3e10ba650b240a742947cb6850bbadd23 Author: Dennis Real <github@tildepipe.org> Date: Sat Mar 24 14:41:15 2012 +0100 Support for Canon Exif makernote tags commit 3c284dc81dcb26249114b7ecf32ed0000f492b8b Author: Dennis Real <github@tildepipe.org> Date: Thu Mar 22 19:44:32 2012 +0100 Support for Active D-Lightning commit ad5aea8cb853cc9d1b322c69f4812ad0bcb08ef3 Merge: cc6de20 9c43b64 Author: Dennis Real <github@tildepipe.org> Date: Thu Mar 22 19:01:38 2012 +0100 Merge remote branch 'upstream/master' commit cc6de20061eaa7172aa0184e03df947da14d713e Author: Dennis Real <github@tildepipe.org> Date: Thu Mar 22 19:00:30 2012 +0100 Nikon makernote parts changed commit e401bd9c78a82b8290ec524e56b7c832631725e6 Author: Dennis Real <github@tildepipe.org> Date: Wed Mar 21 19:47:15 2012 +0100 1. Own module for nikon maker notes 2. Support for AFInfo2 commit 39cbd1ed2b6693beea5e974a6ae83207c6e9a826 Merge: 9e1bbf8 a100123 Author: Dennis Real <github@tildepipe.org> Date: Fri Mar 16 22:22:28 2012 +0100 Merge remote branch 'upstream/master' commit 9e1bbf874500e99506baffec3c6b54ed04e60a2f Author: Dennis Real <github@tildepipe.org> Date: Fri Mar 16 22:20:58 2012 +0100 - exif handling changed - gps info added if available commit 8e96382805eb77a82209df9d71dbf9c0dd1c4cdb Merge: 77fa5ac 29cd868 Author: Dennis Real <github@tildepipe.org> Date: Fri Mar 16 19:13:47 2012 +0100 Merge branch 'master' of git://github.com/derf/feh commit 77fa5aca182435f2771511832ea198d027393ceb Merge: 93a90e6 3b2756b Author: Dennis Real <github@tildepipe.org> Date: Wed Mar 7 17:18:07 2012 +0100 Merge branch 'master' of git://github.com/derf/feh commit 93a90e60d0cf093ca71c34f4f5dbfde974f433f0 Merge: a81465d 52d5da9 Author: Dennis Real <github@tildepipe.org> Date: Tue Mar 6 21:42:40 2012 +0100 Merge branch 'master' of git://github.com/derf/feh commit a81465d019593cfd1e506eb66f20f6b5e10488f3 Merge: a19e50d 31afac4 Author: Dennis Real <github@tildepipe.org> Date: Mon Mar 5 17:23:40 2012 +0100 Merge branch 'master' of git://github.com/derf/feh commit a19e50deb749c5188bdbc75a5c1cd6ab1f3f3a3a Merge: 1c89da1 fe9a16b Author: Dennis Real <github@tildepipe.org> Date: Sun Mar 4 15:35:45 2012 +0100 Merge branch 'master' of ssh://github.com/reald/feh commit 1c89da1269089d98529a6635c36d014da1b08eb4 Author: Dennis Real <github@tildepipe.org> Date: Tue Feb 28 22:37:22 2012 +0100 test case adapted to new testfile commit bb3c9d3571e43f913c6f659fefd9cd34971fd004 Author: Dennis Real <github@tildepipe.org> Date: Tue Feb 28 22:34:51 2012 +0100 test file with some exif data added commit fe9a16bce3f06d45acf103fc4439c1af2dc4ac6c Author: Dennis Real <github@tildepipe.org> Date: Tue Feb 28 22:37:22 2012 +0100 test case adapted to new testfile commit e0bedc0438cf4ab4eafe43afca0886ad63591560 Merge: 46801fe 69ecc5c Author: Dennis Real <github@tildepipe.org> Date: Tue Feb 28 22:36:08 2012 +0100 Merge remote branch 'upstream/master' commit 46801fee8de26f4e0af2ed294c3a4f7fc1c45ca3 Author: Dennis Real <github@tildepipe.org> Date: Tue Feb 28 22:34:51 2012 +0100 test file with some exif data added
2012-03-28feh_magick_load_image: Fix memory leak when encountering unloadable fileDaniel Friesel-0/+1
2012-03-15feh_magick_load_image: close stdin as wellDaniel Friesel-2/+2
2012-03-14Terminate convert when receiving SIG{INT,TERM,QUIT}Daniel Friesel-1/+2
2012-03-14imlib.c: "Fix" Zombie issueDaniel Friesel-0/+11
Still to do: signal handler for sigint/quit/term
2012-03-13Experimental code to limit imagemagick convert runtime (see #82)Daniel Friesel-6/+24
Problems so far: * leaks zombie processes * does not work when terminating feh with a signal (since the convert process is no longer in feh's process group)