Skip to content

tig-2.1.1

Compare
Choose a tag to compare
@jonas jonas released this 23 Apr 21:18
· 834 commits to master since this release
tig-2.1.1

This release fixes a couple of regressions that broke rendering of references
in the main view and usage of the stage view. It also adds support for key
combos which was originally planed for 2.1 (see contrib/vim.tigrc for an
example). Finally, files (or blobs) can now be searched using the new
GitHub-inspired file finder (press 'f' to launch it).

Release notes

Improvements:

  • Add support for key combos. (GH #67)
  • See contrib/vim.tigrc for Vim-like keybindings. (GH #273, #351)
  • Add GitHub inspired file finder to search for and open any file. (GH #342)
  • Add search keymap for navigation file finder search results.

Bug fixes:

  • Fix display of multiple references per commit. (GH #390, #391)
  • Sync the prompt's cursor position with readline's internal position. (#396)
  • Keep unstaged changes view open after an staging command. (#399)

Change summary

The diffstat and log summary for changes made in this release.

 .gitignore                       |   3 +
 COPYING                          |  39 ++--
 Makefile                         |  45 ++++-
 NEWS.adoc                        |  16 ++
 README.adoc                      |   2 +-
 config.make.in                   |   5 +-
 configure.ac                     |   5 +
 contrib/vim.tigrc                |  73 ++++++++
 doc/tigrc.5.adoc                 |   3 +-
 include/tig/blob.h               |   7 +-
 include/tig/display.h            |   2 +-
 include/tig/keys.h               |  10 +-
 include/tig/main.h               |   2 +
 include/tig/prompt.h             |   1 +
 include/tig/ui.h                 |  20 ++
 src/blob.c                       |  29 ++-
 src/display.c                    |  19 +-
 src/keys.c                       |  56 ++++--
 src/main.c                       |  20 ++
 src/options.c                    |   2 +-
 src/prompt.c                     |  25 +--
 src/refdb.c                      |  21 ++-
 src/stage.c                      |  22 +--
 src/status.c                     |   2 +
 src/tig.c                        |  58 ++++--
 src/ui.c                         | 304 +++++++++++++++++++++++++++++++
 test/help/all-keybindings-test   |  10 +-
 test/help/default-test           |  14 +-
 test/main/graph-argument-test    |  28 +--
 test/main/show-changes-test      |  24 +++
 test/main/start-on-line-test     |  42 ++---
 test/main/view-split-test        |  18 +-
 test/regressions/github-390-test |  41 +++++
 test/status/file-name-test       |   8 +-
 test/tigrc/compat-error-test     |   2 -
 test/tigrc/parse-test            |   4 +-
 tigrc                            |   7 +
 tools/aspell.dict                |  12 +-
 tools/gcov.m4                    |  94 ++++++++++
 39 files changed, 912 insertions(+), 183 deletions(-)

Alexander Sulfrian (1):
      Fix insertion/ordering of refs in refs_by_id map.

Andreas Stieger (1):
      Update FSF address in COPYING

Jonas Fonseca (12):
      Remove Gitweb link in favour of Gitter
      Integrate coverage reporting for the test suite
      Experimental support for key combos
      Fix user-action prompt display regression
      Add key_to_value helper to extract the ncurses key value
      Add GitHub inspired file finder to search for and open any file
      Fix regression test to exec git-tag in background
      Fix display saving to account for variable length UTF-8 characters
      When redrawing the readline prompt also update the cursor position
      Keep unstaged changes view open after an staging command
      Add search keymap with keys for navigating search results
      tig-2.1.1

Ramsay Jones (1):
      Fix segmentation Fault on 32-bit

Vivien Didelot (1):
      contrib: complete Vim-like bindings