summaryrefslogtreecommitdiff
path: root/src/imlib.c
AgeCommit message (Collapse)AuthorLines
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel-2/+2
This fixes a segfault in --reload when the image becomes unloadable while feh is running. Note that this does not affect --reload with more than one file: If the current image is removed, feh will simply jump to the next image. feh will only quit if the file still exists, but can no longer be loaded.
2011-08-23imlib.c: feh_draw_info: Fix overlay image dimensions (for --draw-tinted)Daniel Friesel-24/+37
feh_draw_info used to iterate line-wise over the info output, but now we need to cache it somewhere to get the length of the longest line.
2011-08-23imlib.c: feh_draw_info: Fix info box offsetsDaniel Friesel-2/+2
The info text used to be located 2px away from the bottom / left edges. Now that --draw-tinted has been implemented, that leaves us with an ugly edge, so move it directly to the edge.
2011-08-23Add --draw-tinted option to draw overlay text on a semi-transparent ↵Daniel Friesel-37/+23
background (closes #60, #61) By default, feh draws white text with a black drop-shadow, which is well readable in most, but not all cases. The --draw-tinted option draws a semi-transparent black box around all texts. This improves readability, but does not look as nice, so it won't become default behaviour. It was suggested to use #7f7f7f7f for the background, but I decided that for small images surrounded by a black border.
2011-08-18imlib.c: feh_draw_info: Only kill a line's last character if it's a newlineDaniel Friesel-1/+3
feh_draw_info used to unconditionally swallow the last character of a line, assuming that it must be a newline. However, the very last line of a program's output may not end in a newline, in which case its last output character was omitted.
2011-08-09Merge patch by livibetter: Add flip and mirror in-place edit actions (closes ↵Daniel Friesel-14/+31
#53)
2011-08-09Add flip/mirror in-placec edit actions (derf/#9)Yu-Jie Lin-14/+31
2011-05-31Fix --draw-filename "x of y" being cut off by short filenames (closes #45)Daniel Friesel-12/+20
2011-05-12imlib.c: Do not include curl.h unless we use libcurlDaniel Friesel-0/+3
2011-04-30Replace some printf calls by fputs/putcDaniel Friesel-5/+5
2011-04-30Convert some more weprintf statements to im_weprintfDaniel Friesel-3/+3
2011-04-30Initial support for in-image warning display (closes #43)Daniel Friesel-9/+75
2011-04-27feh_edit_inplace_lossless_rotate: Fix rotate arg in error messageDaniel Friesel-1/+1
2011-04-27Merge branch 'libcurl' of git://github.com/talisein/fehDaniel Friesel-1/+1
2011-04-26Only create caption directory when writing out a caption (closes #42)Daniel Friesel-4/+9
2011-04-22Remove unused feh_strip_hostname functionDaniel Friesel-25/+0
2011-02-16Fix use after free()Andrew Potter-1/+1
2011-02-16Remove builtin HTTP clientDaniel Friesel-242/+55
2011-02-16Make -lcurl optional (enabled by default), rework feature en-/disablingDaniel Friesel-0/+7
2011-02-16Remove wget support, use libcurl by defaultDaniel Friesel-29/+0
2011-02-16imlib.c indentation fixesDaniel Friesel-35/+35
2011-02-16imlib.c: Fix segfault introdused by talisein's patch.Daniel Friesel-1/+1
2011-02-15Fix errant whitespace screwupAndrew Potter-1/+1
2011-02-15Initial libcurl supportAndrew Potter-2/+53
2011-02-15Add libcurl option -{Andrew Potter-0/+3
2011-02-09imlib.c: Use wget --no-clobberDaniel Friesel-1/+2
This prevents a (highly unlikely) case of an attacker knowing feh's PID and the user's URL rewriting user files by means of a TOCTTOU attack. It is still possible to _create_ arbitrary files via dangling symlinks. That will be fixed once I switch from wget to libcurl.
2011-01-17Copyright FooDaniel Friesel-0/+1
2010-12-04imlib.c: Use getaddrinfo in builtin http client, enables IPv6 supportPascal Bleser-32/+20
Signed-off-by: Daniel Friesel <derf@finalrewind.org>
2010-11-07imlib.c: Fix buffer overflow in draw_actions (thx Gabe)Daniel Friesel-1/+1
2010-10-03imlib.c: Fix draw_actions offsetDaniel Friesel-3/+1
2010-10-02--draw-filename: Always show filelist positionDaniel Friesel-3/+2
2010-09-16Display image info in bottom left cornerDaniel Friesel-6/+2
2010-09-10imlib.c: Calculate correct window sizeDaniel Friesel-1/+0
2010-09-10Add --info optionDaniel Friesel-0/+79
2010-09-06Work around Xinerama Fuckups: Read screen number from XINERAMA_SCREEN env varDaniel Friesel-1/+4
2010-07-17--debug-level → --debugDaniel Friesel-7/+7
2010-06-30imlib.c: Give slightly more helpful error messages if exec failsDaniel Friesel-2/+2
2010-06-25Don't add ?randomnumber to URLs when downloadingDaniel Friesel-21/+4
2010-06-25Remove --wget-timestamp option (contained a remote code execution hole)Daniel Friesel-26/+5
2010-06-16Make --font set the global default fontDaniel Friesel-4/+20
2010-06-16imlib.c: Remove ./ttfonts from default font pathDaniel Friesel-1/+0
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-63/+41
2010-06-07--caption-path: Autocreate caption directories if they don't existDaniel Friesel-1/+16
2010-06-07Show a little message in caption editing mode to indicate that is activeDaniel Friesel-14/+22
2010-05-03Fix remaining compiler warnings (I probably won't implement these options ↵Daniel Friesel-4/+2
anyways)
2010-05-03Rework menu.c & fix various compiler warnings (from menu_code) + update TODODaniel Friesel-6/+4
2010-03-29patch: url image loading: cleanup tmp files on errorDaniel Friesel-0/+9
2010-03-21Add -pedantic to default CFLAGSDaniel Friesel-1/+1
2010-03-15lossless rotate: Use execlp instead of system for jpegtranDaniel Friesel-13/+23
2010-02-26Remove the (now unneccessary) libjpeg codeDaniel Friesel-6/+0