Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Squashed commit of the following:
commit 55e66e15af898f4c01d7d265013124fefce795e4
Author: Daniel Friesel <derf@finalrewind.org>
Date: Mon Sep 26 19:59:46 2011 +0200
Save all filenames in ~/.fehbg
commit afc2774f315fc379aa96de58decf8370772036af
Author: Daniel Friesel <derf@finalrewind.org>
Date: Mon Sep 26 19:24:38 2011 +0200
Update test/bg --bg-fill images (off-by-one due to changed implementation)
commit bd4210cff2e895414df12868f6cab7f193c5adf5
Author: Daniel Friesel <derf@finalrewind.org>
Date: Mon Sep 26 14:47:00 2011 +0200
Fix feh_wm_set_bg_maxed
commit d9ada9dc2a74aef6ae0924e9c0ff296b94ee25bc
Author: Daniel Friesel <derf@finalrewind.org>
Date: Mon Sep 26 14:39:11 2011 +0200
Fix for non-xinerama setups
commit be2cf0f1f8c00b737e7141a372d3cbc9db4c949f
Author: Daniel Friesel <derf@finalrewind.org>
Date: Mon Sep 26 14:24:44 2011 +0200
Move wallpaper calculation code into separate functions
commit 4e07c1f9734569fdd778a813c5a85c63b51b3175
Author: Daniel Friesel <derf@finalrewind.org>
Date: Mon Sep 26 13:01:46 2011 +0200
Remove unnecessary temporary variable
commit 23d1d733b21d1560e1fbcadddc34cae3d666b21d
Author: Daniel Friesel <derf@finalrewind.org>
Date: Mon Sep 26 12:46:25 2011 +0200
Initial conversion, works with --bg-scale
|
|
|
|
|
|
|
|
This fixes a "memory leak" (though strictly speaking it is none) when using
feh --reload on http URLs.
|
|
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.
|
|
|
|
|
|
|
|
fixes valgrind warning about use of uninitialized values
|
|
|
|
|
|
|
|
|
|
Patch by livibetter
|
|
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.
|
|
This reverts commit 8b79bc33f37db12cbb672bdb47dcfeb0f2030bce.
|
|
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.
|
|
|
|
(see #5)
|
|
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)
|
|
* 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
|
|
|
|
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.
|
|
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.
|
|
67e41d607413d8e95124b1d28b6ae74924e74ab9 moved the ZOOM_MODE from options.h
defines to a feh.h enum, but did not set the values correctly.
|
|
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...
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
gib_imlib_save_image_with_error_return was used, but it tries to set the Imlib
image format by examining the filename to save to. However, it only supports
lowercase file endings (as in .jpg) and breaks with others (like .JPG).
Since giblib is unmaintained, for now the fix is only used here.
|