Commit 237ac1a1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

changelog, BC case or [ -L %F ] and similar actions using /bin/[

parent b92a5731
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
* Release v2.15
    * Patch by William Woodruff: Add --insecure option to disable HTTPS
      certificate checks
    * Patch by guraga: Add --no-recursive option to disable recursive directory
      expansion.  Note that --no-recursive is the default behaviour of feh.
      This option is mostly useful to override a --recursive set in a theme or
      shell alias
    * Patch by Richard Molitor: Improve --scale-down in tiling environments.
      This fixes flickering when changing images at the cost of slightly
      less apaptive scale-down behaviour: Window size changes are now only
      processed when the active image is changed
    * --action and --action[1..9] now support action titles
      (e.g. --action '[some title]some-command %F'), which are displayed
      instead of the specified shell command. Note that the title must not
      start with a space. Titles starting with a space are treated as part of
      of the command so that actions like '[ -L %F ] && foo' still work

Thu, 18 Feb 2016 20:40:19 +0100

* Release v2.14.2
+10 −2
Original line number Diff line number Diff line
@@ -160,13 +160,21 @@ executing the action.
.
If
.No [ Ar title ]
is specified,
is specified
.Pq note the literal Qo \&[ Qc and Qo ] Qc ,
.Cm --draw-actions
will display
.Ar title
instead of
.Ar action
in the action list.
in the action list. Note that
.Ar title
must not start with a space. If it does, the action is handled as if it did
not have a title. This special case exists for backwards compatibility reasons
and makes sure that actions like
.Qq \&[ -L %F \&] && foo
still work.
.
.
.Pp
.
+2 −1
Original line number Diff line number Diff line
@@ -799,7 +799,8 @@ static void check_options(void)
		}
		opt.action_titles[i] = opt.actions[i];
		if (opt.actions[i] && (opt.actions[i][0] == '[')) {
			if ((endptr = strchr(opt.actions[i], ']')) != NULL) {
			if (((endptr = strchr(opt.actions[i], ']')) != NULL)
					&& (opt.actions[i][1] != ' ')) {
				opt.action_titles[i] = opt.actions[i] + 1;
				opt.actions[i] = endptr + 1;
				*endptr = 0;