summaryrefslogtreecommitdiff
path: root/src/options.c
AgeCommit message (Collapse)AuthorLines
2011-08-29Various code fixupsDaniel Friesel-13/+3
* 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-24--filelist: Support reading from /dev/stdin ("-" as shortcut)Daniel Friesel-1/+4
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-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-15Fix some compiler warningsDaniel Friesel-3/+3
2011-08-13Add reload functionality for directories (derf#14)Yu-Jie Lin-0/+2
2011-08-10Remove unused variablesDaniel Friesel-3/+2
2011-08-01options.c: Fix getopt/optind handling (closes #49, patch by Yu-Jie Lin)Daniel Friesel-1/+1
2011-06-07Add toggle_info key (closes #48)Daniel Friesel-0/+1
2011-05-11feh_parse_options_from_string: Make sure not to write beyond array boundariesDaniel Friesel-0/+5
2011-05-11feh_parse_options_from_string: allocate argv list on stackDaniel Friesel-8/+2
This fixes a really weird bug where continued theme definitions containing just one option/value pair caused feh to mis-parse parts of the following line. Apparently, subsequent realloc calls mixed with strdups in another function caused parts of the list (argv) content to be overwritten by the content of the list pointer itself. I wasn't able to find out the exact causes / conditions.
2011-04-30Do not include help text by defaultDaniel Friesel-0/+4
2011-04-30Replace some printf calls by fputs/putcDaniel Friesel-2/+3
2011-04-27Deprecate --menu-bg option (closes #27)Daniel Friesel-1/+2
2011-04-26Improve '.fehrc -> .config/feh/themes' warning messageDaniel Friesel-2/+4
2011-04-16options.c: Do not read current directory when setting a background (closes #40)Daniel Friesel-1/+1
2011-04-01options.c: Do not run "feh ." when calling "feh nonexistant"Daniel Friesel-8/+8
2011-03-21Add method to forcefully disable antialiasing (closes GH-17)Daniel Friesel-0/+4
2011-03-19When called without file arguments: Show files in $PWDDaniel Friesel-2/+4
2011-03-02Switch --zoom max/fill to make them work like --bg-max/-fill (closes GH-8)Daniel Friesel-1/+1
2011-02-27options.c: Remove obsolete feh_parse_environment_options declarationDaniel Friesel-1/+0
2011-02-16Remove builtin HTTP clientDaniel Friesel-7/+1
2011-02-16feh -v: Show compiletime switchesDaniel Friesel-1/+17
2011-02-16Remove wget support, use libcurl by defaultDaniel Friesel-6/+1
2011-02-15Add libcurl option -{Andrew Potter-1/+6
2011-01-29Deprecate --menu-styleDaniel Friesel-0/+1
2011-01-25options.c: Move hold-action check to check_options.Daniel Friesel-8/+8
In feh_parse_option_array, when a hold-action is set from a theme it would behave differently than one set from commandline. Theme: ;;foo would become foo (incorrect) cmdline: ;;foo would become ;foo (correct) I doubt anybody would ever have noticed it, since ;foo is a shell syntax error anyways, but it's definitely better to be on the safe side.
2011-01-24Remove support for FEH_OPTIONS (it was deprecated over 5 years ago)Daniel Friesel-20/+0
2011-01-23Parse commandline options _after_ theme options (closes GH-23)Daniel Friesel-4/+26
2011-01-22Add --zoom fill as equivalent to --auto-zoomDaniel Friesel-2/+7
2011-01-17Copyright FooDaniel Friesel-0/+1
2011-01-15BC for ~/.fehrcDaniel Friesel-0/+9
2011-01-15Screw --rcpath, check XDG_CONFIG_HOME insteadDaniel Friesel-24/+16
2011-01-15Read themes from ~/.config/feh/themes, don't autocreate for nowDaniel Friesel-23/+2
2010-09-14Remove --action-hold-slide, add per-action method instead.Daniel Friesel-5/+8
When executing an action starting with a semicolon, feh will not skip to the next slide. The semicolon is not passed on to the executing shell, of course. This is kinda ugly, but at least it makes action handling somewhat more flexible.
2010-09-10Add --info optionDaniel Friesel-0/+4
2010-09-05Option --action-hold-slide. If specified, when in slideshow mode images will ↵Levi Smith-0/+11
not automatically change after running user action. Otherwise, slideshow images will cycle after action as usual.
2010-08-27Add short option -Y for --hide-pointerDaniel Friesel-3/+3
2010-08-27Remove --bg-seamlessDaniel Friesel-5/+0
2010-08-27Patch by Stefan Mark: Add --bg-max wallpaper modeDaniel Friesel-0/+5
2010-07-17--debug-level → --debugDaniel Friesel-17/+17
2010-07-09Add new short options -P, -K, -G, -JDaniel Friesel-9/+10
2010-07-08opt.no_jump_on_resort -> opt.jump_on_resortDaniel Friesel-2/+2
2010-07-08Remove --menu-border optionDaniel Friesel-5/+0
2010-07-04options.c: CleanupDaniel Friesel-94/+93
2010-07-04--full-screen -> --fullscreen (more correct[tm])Daniel Friesel-1/+2
2010-06-25Remove --wget-timestamp option (contained a remote code execution hole)Daniel Friesel-5/+1
2010-06-19Move fehrc / help from options.c into separate filesDaniel Friesel-408/+6
2010-06-19Allow multiline theme definitions in .fehrcDaniel Friesel-8/+38
2010-06-19Rename --screen-clip to --no-screen-clip, the default cannot be changedDaniel Friesel-3/+3
2010-06-16Make --font set the global default fontDaniel Friesel-2/+2