summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2011-09-13Use enum for opt.image_bg, rename --image-bg default to --image-bg checksDaniel Friesel-8/+16
2011-09-12feh_load_image: Do not add file to rm filelist unless it is cachedDaniel Friesel-2/+9
This fixes a "memory leak" (though strictly speaking it is none) when using feh --reload on http URLs.
2011-09-11Aaand another regression-fix release (1.16.1)1.16.1Daniel Friesel-0/+6
2011-09-07feh_reload_image: Fix regression of old caching issue (closes #63)Daniel Friesel-8/+16
This was broken by the changes allowing --reload to retry ad infinitum. Now force_new is used to decide whether or not to work around the Imlib2 caching issue. Because of this, a few feh_reload_image calls needed to be changed.
2011-09-05Release v1.161.16Daniel Friesel-2/+5
2011-09-04Add tests for --draw-tintedDaniel Friesel-1/+43
2011-09-03Rename support.c to wallpaper.cDaniel Friesel-7/+7
2011-09-03utils.c: Remove unused functions stroflen, feh_get_tmp_dir, feh_get_user_nameDaniel Friesel-47/+0
2011-09-02winwidget.c: Simplify draw_checksDaniel Friesel-14/+3
2011-09-02imlib.c: fill_text_bg: Simplify background initialization (patch by penma)Daniel Friesel-5/+3
fixes valgrind warning about use of uninitialized values
2011-09-02list.c: printf %s\n -> putsDaniel Friesel-2/+2
2011-09-02events.c: Clean up winwid checks in ButtonPress/ButtonRelease handlersDaniel Friesel-92/+59
2011-09-02update changelogDaniel Friesel-0/+2
2011-09-02menu.c: feh_menu_entry_get_size: Remove unused parameterDaniel Friesel-3/+3
2011-09-02imlib.c: Remove font loading code duplication (thx penma)Daniel Friesel-75/+27
2011-09-02Fix memory leak in cb_reload_timer (--reload for directories) (closes #62)Daniel Friesel-2/+8
Patch by livibetter
2011-09-01feh_reload_image: Try to reload unloadable (still existing) images ad infinitumDaniel Friesel-4/+13
This commit removes the feh_file_remove_from_list call from feh_reload_image. We can safely do this because if the file itself was removed, cb_reload_timer will take care of updating the filelist, and in all other cases it is intended to leave the image in the filelist and retry. A warning will be displayed in the image if the reload failed.
2011-09-01Revert "feh_reload_image: Always die if reload failed"Daniel Friesel-17/+26
This reverts commit 8b79bc33f37db12cbb672bdb47dcfeb0f2030bce.
2011-08-31Update test images (draw_all_{one,multi})Daniel Friesel-0/+0
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel-26/+17
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-30winwidget.c: create_window: Remove useless use of ternary operatorDaniel Friesel-1/+1
2011-08-30winwidget.c: resize: Fix non-fulllscreen Xinerama issues on screens =! 1 ↵Daniel Friesel-25/+26
(see #5)
2011-08-29Update ChangelogDaniel Friesel-0/+2
2011-08-29winwidget.c: resize: Respect max width/height set by Xinerama (see #5)Daniel Friesel-2/+12
This fixes half of the issue - windows on Xinerama screen 0 no longer become too large, but the bug still appears on the other screens (unless XINERAMA_SCREEN is set)
2011-08-29Various code fixupsDaniel Friesel-15/+4
* 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-27feh(1): Fix typoDaniel Friesel-1/+1
2011-08-26Deprecate feh-cam and gen-cam-menu (they will be removed by 2013)Daniel Friesel-0/+24
Most screenshot-based webcams are no longer around, and I don't think the few remaining ones need the feh-cam tool. Unless I get lots of mails from people still using it, of course.
2011-08-26Minor documentation fixupDaniel Friesel-4/+5
2011-08-24--filelist: Support reading from /dev/stdin ("-" as shortcut)Daniel Friesel-17/+25
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-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-23Fix default zoom behaviourDaniel Friesel-1/+1
67e41d607413d8e95124b1d28b6ae74924e74ab9 moved the ZOOM_MODE from options.h defines to a feh.h enum, but did not set the values correctly.
2011-08-23Deprecate the --collage option (aka collage mode)Daniel Friesel-18/+5
It is pretty random and I doubt anyone actually uses it. Also, after removing it, there are only two duplicates of the image index code instead of three...
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-40/+41
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-18feh(1): EXAMPLES: Add link to websiteDaniel Friesel-1/+2
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-18--action: Reload image if hold_action flag (;) is set (closes #59)Daniel Friesel-4/+15
An action may be used to alter the image or specific parts of it displayed by --info, so if a user invokes an action with hold_action set, the image and all relevant information must be reloaded.
2011-08-16Release v1.15.11.15.1Daniel Friesel-0/+7
2011-08-16events.c: Fix recent fix for thumbnail window (closes #58)Daniel Friesel-2/+2
2011-08-15Release v1.151.15Daniel Friesel-35/+18
2011-08-15Update some test-x11 images (font changes, apparently)Daniel Friesel-0/+0
2011-08-15Fix some compiler warningsDaniel Friesel-7/+9
2011-08-15Update documentationDaniel Friesel-2/+7
2011-08-15Convert C++ style comments to /* */Daniel Friesel-6/+7
2011-08-15slideshow.c: Make --reload properly handle --geometry/--fullscreen (closes #57)Daniel Friesel-1/+1
2011-08-15Merge pull request #56 from livibetter/reload-dirDaniel Friesel-0/+47
Add reload functionality for directories
2011-08-13Add reload functionality for directories (derf#14)Yu-Jie Lin-0/+47
2011-08-11Disable blur/rotation in thumbnail viewerDaniel Friesel-0/+3
2011-08-11Show correct file number after deleting imageDaniel Friesel-22/+26
In the image_remove function, slideshow_change_image needs to be called before removing the image from the filelist. Because of this, the "x of y" displayed by --draw-filename is wrong (y is 1 too high). This commit introduces a new 'render' argument to slideshow_chingae_image. The image_remove function calls it with render=0, edits the filelist and then runs by winwidget_render_image itself. Patch by Yu-Jie Lin.
2011-08-11keyevents.c: Do not force aliasing when using scroll_*_pageDaniel Friesel-4/+4