Commits on Oct 8, 2017
Commits on Oct 6, 2017
  1. Improve mouse support

    muennich committed Oct 5, 2017
    None of the mouse mappings uses a keyboard modifier, making it possible to
    access the most basic features by only using the mouse.
    Next/previous image with left button depending on cursor position, middle
    button for dragging, right button for switching to thumnail mode and wheel for
    Users can keep the old behaviour by simply not adapting the changes to the
    buttons array in config.def.h to their config.h file.
Commits on Oct 5, 2017
  1. Simplify cursor reset in image mode

    muennich committed Oct 5, 2017
    No need to give cursor name. reset_cursor() is now the only place to decide
    what cursor to fall back to.
  2. Simplify cursor handling

    muennich committed Oct 5, 2017
Commits on Oct 4, 2017
  1. Mouse drag translates pointer position to image area

    muennich committed Oct 4, 2017
    This makes mouse panning more direct and faster.
Commits on Sep 11, 2017
  1. Fix linker command line

    muennich committed Sep 11, 2017
Commits on Sep 8, 2017
  1. Non-verbose build

    muennich committed Sep 8, 2017
    Verbose when build with `V=1'.
  2. Support out-of-source builds

    muennich committed Sep 8, 2017
    Fixes issue #167. Long after closing this issue (kind of wontfix) we have switched to
    GNU make and can thus use its features like VPATH.
  3. Simplify

    muennich committed Sep 8, 2017
Commits on Sep 6, 2017
  1. Make pan fraction configurable

    jcalve authored and muennich committed Jul 23, 2017
Commits on Sep 2, 2017
  1. Add key-handler action to copy image to clipboard

    muennich committed Sep 2, 2017
    Thanks ploth for coming up with this:
    	#247 (comment)
    Replaces optional dependency on xsel(1) to xclip(1) as it supports this.
    Fixes issue #247
Commits on May 17, 2017
  1. Merge branch 'autoreload'

    muennich committed May 17, 2017
    Pull request #278.
    Fixes issue #29 and issue #199.
  2. Detect all file overwrites in autoreload_inotify

    muennich committed May 17, 2017
    mv(1) inside the same filesystem was not detected.
    Supporting this case made it necessary to always watch the directory. Turns out
    the logic and state keeping between arl_setup() and arl_handle() is easier,
    when using different watch descriptors for the file and the directory and not
    using a oneshot descriptor for the file.
    Requiring an absolute canonical path for arl_setup() simplifies dir and base
    name splitting. No need for dirname(3) and basename(3) anymore.
  3. Read all available inotify events

    muennich committed May 17, 2017
    Loop reading from inotify fd in arl_handle(); requires non-blocking inotify fd.
  4. Simplify inotify cleanup

    muennich committed May 17, 2017
  5. Revised error reporting in autoreload_inotify

    muennich committed May 17, 2017
    No repeated error messages after failed initialization. No error messages on
    failed inotify_rm_watch().
  6. Revised autoreload interface

    muennich committed May 17, 2017
    Make the header only contain the public interface and nothing from the
    implementation. All functions get a handle to their self object, like the img_
    and tns_ and win_ functions. All necessary data (file path) is also passed as
    an argument, so that no extern redeclarations are needed.
    Make arl_setup_dir() private, it's not called outside the module.
    Make arl_handle() return true if the file has changed, so that the reloading of
    the file can be done by the caller.
Commits on Feb 15, 2017