summaryrefslogtreecommitdiff
path: root/src/feh.h
AgeCommit message (Collapse)AuthorLines
2017-08-29Handle detaching the controlling tty from a feh processDaniel Friesel-0/+2
2017-08-22Add experimental support for (remote) control via stdinDaniel Friesel-0/+1
2017-02-26Also update window title for thumbnail windows (closes #280)Daniel Friesel-0/+1
2017-01-12Pass windidget to feh_action_run, making it possible to use format specifiersANogin-1/+1
like %o and %z in slideshow actions (I would like to use this to zoom in, pan, and then use an action to crop the window to zoomed in view).
2016-08-28dedup key/button initializationDaniel Friesel-0/+1
2016-08-27Key actions can now also be bound to buttons. not vice versa, thoughDaniel Friesel-0/+1
2016-05-28Add prev_dir and next_dir navigation actionsguns-1/+3
Many image collections are organized by directory, so it is nice to have jump-to-adjacent-directory navigation. e.g. Given the following file hierarchy: . ├── A │   ├── 1.jpg │   ├── 2.jpg │   └── C │   ├── 1.jpg │   ├── 2.jpg │   └── 3.jpg └── B ├── 1.jpg ├── 2.jpg └── 3.jpg `feh --recursive` creates the following filelist: A/1.jpg <---- current_file A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg If we press [next_dir], we move the current_file pointer to: A/1.jpg A/2.jpg A/C/1.jpg <-- current_file A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg Pressing [next_dir] again moves the pointer to: A/1.jpg A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg <---- current_file B/2.jpg B/3.jpg [next_dir] now moves the pointer back to the top of the list: A/1.jpg <---- current_file A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg B/2.jpg B/3.jpg Pressing [prev_dir] from here moves backwards to the first image of the previous directory: A/1.jpg A/2.jpg A/C/1.jpg A/C/2.jpg A/C/3.jpg B/1.jpg <---- current_file B/2.jpg B/3.jpg When starting from an position that is not the first image of a directory, [prev_dir] moves the pointer to the first image of the current directory. These actions combine well with `--sort dirname` since all regular files in a directory will be sorted before any subdirectories, avoiding a filelist like the following: A/1.jpg A/SUBDIR/2.jpg A/SUBDIR/3.jpg A/4.jpg With `--sort dirname` that filelist becomes: A/1.jpg A/4.jpg A/SUBDIR/2.jpg A/SUBDIR/3.jpg
2015-04-07fix gib_imlib_save_image_with_error_return in imported giblib codeDaniel Friesel-2/+0
2014-05-06remove gib_utils, the same functionality is provided by utils alreadyDaniel Friesel-1/+0
2014-05-04strip unneded parts from giblib, part 1Daniel Friesel-1/+5
Not all functions were examined yet. Also TODO: * check strdup / malloc calls (some are apparently unchecked in giblib), maybe use estrdup / emalloc for those * Check includes and update dependency list if needed
2014-04-26respect --image-bg=checks in fullscreen mode (closes #156)Daniel Friesel-1/+1
2012-09-12print imlib2 error strings when save failedDaniel Friesel-0/+1
2012-09-12Proper workaround for broken gib_imlib_save_image_with_error_returnDaniel Friesel-0/+2
2012-08-12Add %o, %r and %z format specifiers (see #95)Daniel Friesel-2/+2
2012-03-13Experimental code to limit imagemagick convert runtime (see #82)Daniel Friesel-0/+3
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)
2012-03-03use convert (imagemagick) for unsupported file typesDaniel Friesel-1/+0
2012-02-26feh_printf: Fix/Add %S/%P for human-readable sizes, use them in --listDaniel Friesel-0/+1
2012-01-27optional exif support (build with exif=1), initial patch importDaniel Friesel-0/+3
2011-09-28Use buttons config instead of button optionsDaniel Friesel-0/+1
2011-09-28Set max/min zoom for both key and mouse zoomingDaniel Friesel-0/+3
2011-09-13Use enum for opt.image_bg, rename --image-bg default to --image-bg checksDaniel Friesel-0/+2
2011-09-01Revert "feh_reload_image: Always die if reload failed"Daniel Friesel-1/+1
This reverts commit 8b79bc33f37db12cbb672bdb47dcfeb0f2030bce.
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel-1/+1
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-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-23Add --draw-tinted option to draw overlay text on a semi-transparent ↵Daniel Friesel-0/+4
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-11Show correct file number after deleting imageDaniel Friesel-1/+1
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-09Merge patch by livibetter: Add flip and mirror in-place edit actions (closes ↵Daniel Friesel-2/+5
#53)
2011-08-09Add flip/mirror in-placec edit actions (derf/#9)Yu-Jie Lin-0/+3
2011-04-30Initial support for in-image warning display (closes #43)Daniel Friesel-0/+2
2011-04-26Only create caption directory when writing out a caption (closes #42)Daniel Friesel-1/+1
2011-04-22Remove unused feh_strip_hostname functionDaniel Friesel-1/+0
2011-01-17Copyright FooDaniel Friesel-0/+1
2011-01-13First step towards configurable key bindingsDaniel Friesel-0/+1
2010-12-04imlib.c: Use getaddrinfo in builtin http client, enables IPv6 supportPascal Bleser-1/+0
Signed-off-by: Daniel Friesel <derf@finalrewind.org>
2010-09-10Add --info optionDaniel Friesel-0/+1
2010-08-27Remove --bg-seamlessDaniel Friesel-1/+1
2010-08-27Patch by Stefan Mark: Add --bg-max wallpaper modeDaniel Friesel-1/+1
2010-07-08index.c: Remove unused function chop_file_From_full_pathDaniel Friesel-1/+0
2010-06-12Remove ipc.c/ipc.s, they seem to be used nowhereDaniel Friesel-1/+0
2010-06-11debug.h: call_level is no longer relevant, pretty debug message formatDaniel Friesel-1/+0
2010-06-10options.c: show_usage etc. aren't used elsewhereDaniel Friesel-2/+0
2010-05-03Fix remaining compiler warnings (I probably won't implement these options ↵Daniel Friesel-1/+1
anyways)
2010-03-23Implement random slideshow jump ('z')Decklin Foster-1/+1
2010-03-21Remove autoconf (from branch 'autocruft')Daniel Friesel-2/+0
Use config.mk for configuration, both GNU make and FreeBSD make are supported.
2010-03-21Fix a few compiler warnings (-Wall -Wextra)Daniel Friesel-0/+1
2010-03-01Apply patchto add --bg-fill (fullscreen background preserving aspect ratio)Daniel Friesel-2/+2
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-16/+15
2010-02-08Make -O work without X as well. Closes bugs.debian.org #373209Daniel Friesel-0/+1
2010-02-05Initial commit (upstream 1.3.4)Daniel Friesel-0/+178