Sun Apr 10 10:24:47 2011 UTC ()
Update to 0.17
Changelog:
tig-0.17
--------
Improvements:
- Start rewrite of the revision graph renderer. Three modes are
supported UTF-8, ncurses line graphics, and ASCII. Also, enable
revision graph rendering by default.
Bug fixes:
- Fix ncurses 2.8 issue by passing non-zero column size to newwin(1).
- Fix opening of diffs when browsing branches.
tig-0.16.2
----------
Bug fixes:
- Fix regression causing empty tree view.
- Fix set_tabsize() compile error for older versions of ncurses.
tig-0.16.1
----------
Improvements:
- Add scroll-first-col action to jump to the first column. Bound to '|'
by default.
- Add 'status-untracked-dirs' option to ignore unknown directories
contents in the status view. On by default.
Bug fixes:
- Fix 'tig show <commit>' to show the provided commit.
- Fix problem with empty diff views when file specs were passed on the
command line.
- Fix segfault when starting tig in pager mode.
tig-0.16
--------
Incompatibilities:
- Encode everything internally as UTF-8. This can affect performance,
but should in general improve handling of character lengths etc.
Also, to properly handle UTF-8 environments use ncurses with wide
character support.
- The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
has been deprecated. To allow configuration of the diff view,
TIG_DIFF_OPTS can be used.
Improvements:
- Plug several memory leaks.
- Command line arguments are split into diff, revision, and file
arguments and made available as %(diffargs), %(revargs), and
%(fileargs). Diff view will limit diffs using %(fileargs).
- Status view: update the file variable when a line is selected so
%(file) works as expected.
- Branch view: add %(branch) symbol providing access to the selected
branch.
- Branch view: add entry to browse all branches (uses git-log's --all
flag).
- Abbreviation of author names can now be configured and toggled.
- Mark detached heads with [HEAD].
- Add support for displaying dates in local time.
Bug fixes:
- Status view: fix usage from sub directories, which was broken by the
changes made to support blame view from sub directories.
- Fix text expansion to not truncate long lines
- Fix parsing of boolean show-date values.
- Fix relative date.
- Fix unbind to behave as if the keybinding was never defined.
- Fix unbind to also cover built-in run requests.
- Fix parsing of unknown keymap names.
- Blame view: fix parent blame to detect renames. It uses "previous"
line info from the blame porcelain output added in git version 1.6.3.
tig-0.15
--------
Incompatibilities:
- Setting the cursor color no longer automatically sets the text to
bold. The old 'lazy' behavior was a bug.
- Remove check for git-repo-config, which was officially deprecated in
git version 1.5.4. The configure script no longer depends on git
being installed.
Improvements:
- Provide the manual as a man page named tigmanual(7).
- Add ability to toggle between showing shorter dates (without time
info) and relative dates. Use 'D' to toggle between date formats.
- Show the active (instead of the default) keybindings in the help
view. Furthermore, honor the keymap when suggesting actions in the
help messages.
- Add branch view for choosing which branch to display in the main
view. Bound to 'H' by default.
- Tree view: show entry to parent directory ('..') when running from
subdirectory.
- Tree view: sort entries by name, date or author. Toggling is bound to
'i' by default, with 'I' controlling whether or not to sort in
ascending order.
- Make height of the lower view in a split view configurable by setting
the 'split-view-height' variable to a number or a percentage.
Defaults to 2/3 of the total view height.
- Allow multiple text attributes for color commands:
color cursor white blue underline bold
Bug fixes:
- Blame view: fix loading of blame data when opened from the tree view
and CWD is not the repo root. (Debian bug 540766)
- Tree view: fix searching.
tig-0.14.1
----------
Improvements:
- Status view: improve "on branch" information inspired by the prompt
code in git's bash completion script.
- Colors for 256-capable terminals can be specified as colorN.
- Entering a number in the prompt will jump to that line number.
- Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
- Make behavior of horizontal scrolling configurable by setting the
'horizontal-scroll' variable to a number or a percentage. Defaults to
scrolling 50% of the view width.
Bug fixes:
- Status view: show error when failing to open a file.
- Status view: report failures to update a file.
- Blame view: fix problem with uninitialized variable.
- Blame view: use line number information when loading blame for
specific commit.
- Fix handling of quoted strings in the config file.
- Fix horizontal scrolling glitches.
tig-0.14
--------
Incompatibilities:
- The screen-resize action has been deprecated. It had no real use for
users and was never meant to be exposed.
- The "tree-parent" action was renamed to "parent". Warnings will be
emitted for transition.
- Remove parsing of deprecated option -S and subcommands log and diff.
- The "author" color replaces "main-author". Setting the latter will
now set the "author" color.
Improvements:
- Horizontal scrolling. Bound to Left/Right by default.
- Read tigrc(5) options from git configuration files using the syntax:
[tig] show-rev-graph = true
[tig "color"] cursor = yellow red bold
[tig "bind"] generic = P parent
- Tree view: avoid flickering when updating.
- Tree view: annotate entries with commit information.
- Tree & blob view: open any blob in an editor.
- Stage & main view: restore view position when reloading.
- Blame view: load blame for parent commit. For merge commits the parent
is queried. Bound to ',' by default via the existing "parent" action.
- Abbreviate author names to initials when the width of the author column
is below 6 characters.
Bug fixes:
- Tree view: fix memory corruption bug when updating.
- Tree view: improve handling of empty trees.
- Status view: fix reverting of unmerged files.
- Fix regression for non-UTF-8 locales corrupting the view data.
- Fix regression parsing multiple spaces in ~/.tigrc.
tig-0.13
--------
Incompatibilities:
- Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
access to shell features, such as subshells and variable expansion.
The easiest way to upgrade your configuration is to put such commands
in a script file or as a git alias.
Improvements:
- Display repository references in the sorted order: tags, heads,
tracked remotes, remotes.
- Add bash completion for blame.
- Tree view: edit files of the current branch.
- Run requests: new identifiers %(directory), %(file), and %(ref)
- Improve responsiveness and view loading speed by using select(2).
Bug fixes:
- Separate blame revision and file argument by "--" to avoid problems.
- Main view: fix redrawing of the last commit wrt. the revision graph.
- Fix waiting for input after executing a run request in pager mode.
- Status & stage view: refuse to open directories and deleted files.
- Tree view: show error when requesting blame for all non-file entries.
- Do not draw loading views, which are not displayed.
- Fix launching of mergetool from a subdirectory.
(ryoon)
diff -r1.4 -r1.5 pkgsrc/devel/tig/Makefile
diff -r1.3 -r1.4 pkgsrc/devel/tig/PLIST
diff -r1.3 -r1.4 pkgsrc/devel/tig/distinfo
diff -r1.2 -r1.3 pkgsrc/devel/tig/patches/patch-aa
--- pkgsrc/devel/tig/Makefile 2011/02/28 14:52:47 1.4
+++ pkgsrc/devel/tig/Makefile 2011/04/10 10:24:47 1.5
| @@ -1,17 +1,17 @@ | | | @@ -1,17 +1,17 @@ |
1 | # $NetBSD: Makefile,v 1.4 2011/02/28 14:52:47 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2011/04/10 10:24:47 ryoon Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= tig-0.12.1 | | 4 | DISTNAME= tig-0.17 |
5 | CATEGORIES= devel scm | | 5 | CATEGORIES= devel scm |
6 | MASTER_SITES= http://jonas.nitro.dk/tig/releases/ | | 6 | MASTER_SITES= http://jonas.nitro.dk/tig/releases/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://jonas.nitro.dk/tig/ | | 9 | HOMEPAGE= http://jonas.nitro.dk/tig/ |
10 | COMMENT= Ncurses-based GIT repository tool | | 10 | COMMENT= Ncurses-based GIT repository tool |
11 | | | 11 | |
12 | PKG_DESTDIR_SUPPORT= user-destdir | | 12 | PKG_DESTDIR_SUPPORT= user-destdir |
13 | | | 13 | |
14 | BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc | | 14 | BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc |
15 | BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto | | 15 | BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto |
16 | DEPENDS+= scmgit-[0-9]*:../../devel/scmgit | | 16 | DEPENDS+= scmgit-[0-9]*:../../devel/scmgit |
17 | | | 17 | |
--- pkgsrc/devel/tig/PLIST 2009/06/14 17:49:16 1.3
+++ pkgsrc/devel/tig/PLIST 2011/04/10 10:24:47 1.4
| @@ -1,10 +1,12 @@ | | | @@ -1,10 +1,12 @@ |
1 | @comment $NetBSD: PLIST,v 1.3 2009/06/14 17:49:16 joerg Exp $ | | 1 | @comment $NetBSD: PLIST,v 1.4 2011/04/10 10:24:47 ryoon Exp $ |
| | | 2 | bin/test-graph |
2 | bin/tig | | 3 | bin/tig |
3 | man/man1/tig.1 | | 4 | man/man1/tig.1 |
4 | man/man5/tigrc.5 | | 5 | man/man5/tigrc.5 |
| | | 6 | man/man7/tigmanual.7 |
5 | share/doc/tig/NEWS.html | | 7 | share/doc/tig/NEWS.html |
6 | share/doc/tig/README.html | | 8 | share/doc/tig/README.html |
7 | share/doc/tig/manual.html | | 9 | share/doc/tig/manual.html |
8 | share/doc/tig/tig.1.html | | 10 | share/doc/tig/tig.1.html |
9 | share/doc/tig/tigrc.5.html | | 11 | share/doc/tig/tigrc.5.html |
10 | share/examples/tig/tigrc | | 12 | share/examples/tig/tigrc |
--- pkgsrc/devel/tig/distinfo 2008/11/08 10:44:12 1.3
+++ pkgsrc/devel/tig/distinfo 2011/04/10 10:24:47 1.4
| @@ -1,6 +1,6 @@ | | | @@ -1,6 +1,6 @@ |
1 | $NetBSD: distinfo,v 1.3 2008/11/08 10:44:12 bjs Exp $ | | 1 | $NetBSD: distinfo,v 1.4 2011/04/10 10:24:47 ryoon Exp $ |
2 | | | 2 | |
3 | SHA1 (tig-0.12.1.tar.gz) = b867a22e248e3c014489ea7c33567e4ca885d88a | | 3 | SHA1 (tig-0.17.tar.gz) = a48e9d08d96f8b49b65cf86602112c7c8e1a4804 |
4 | RMD160 (tig-0.12.1.tar.gz) = ab854872590439015fcd871d61334524811e4920 | | 4 | RMD160 (tig-0.17.tar.gz) = 303c0920e7f2b8b8bb74d65cf0bb3e914501ecd4 |
5 | Size (tig-0.12.1.tar.gz) = 121286 bytes | | 5 | Size (tig-0.17.tar.gz) = 168918 bytes |
6 | SHA1 (patch-aa) = f3577b38895c5d0cb57dfb9843a66199d2fd0983 | | 6 | SHA1 (patch-aa) = 36dfa1084701d7950928075c4c764530b65a233e |
--- pkgsrc/devel/tig/patches/Attic/patch-aa 2008/11/08 10:44:12 1.2
+++ pkgsrc/devel/tig/patches/Attic/patch-aa 2011/04/10 10:24:47 1.3
| @@ -1,15 +1,15 @@ | | | @@ -1,15 +1,15 @@ |
1 | $NetBSD: patch-aa,v 1.2 2008/11/08 10:44:12 bjs Exp $ | | 1 | $NetBSD: patch-aa,v 1.3 2011/04/10 10:24:47 ryoon Exp $ |
2 | | | 2 | |
3 | Don't make/install PDF. | | 3 | Don't make/install PDF. |
4 | | | 4 | |
5 | --- Makefile.orig 2008-10-08 08:44:57.000000000 -0400 | | 5 | --- Makefile.orig 2011-03-07 01:50:11.000000000 +0000 |
6 | +++ Makefile | | 6 | +++ Makefile |
7 | @@ -38,7 +38,7 @@ DFLAGS = -g -DDEBUG -Werror | | 7 | @@ -40,7 +40,7 @@ SOURCE = tig.c tig.h io.c io.h graph.c g |
8 | PROGS = tig | | 8 | TXTDOC = tig.1.txt tigrc.5.txt manual.txt NEWS README INSTALL BUGS TODO |
9 | MANDOC = tig.1 tigrc.5 | | 9 | MANDOC = tig.1 tigrc.5 tigmanual.7 |
10 | HTMLDOC = tig.1.html tigrc.5.html manual.html README.html NEWS.html | | 10 | HTMLDOC = tig.1.html tigrc.5.html manual.html README.html NEWS.html |
11 | -ALLDOC = $(MANDOC) $(HTMLDOC) manual.html-chunked manual.pdf | | 11 | -ALLDOC = $(MANDOC) $(HTMLDOC) manual.html-chunked manual.pdf |
12 | +ALLDOC = $(MANDOC) $(HTMLDOC) manual.html-chunked | | 12 | +ALLDOC = $(MANDOC) $(HTMLDOC) manual.html-chunked |
13 | | | 13 | |
14 | # Never include the release number in the tarname for tagged | | 14 | # Never include the release number in the tarname for tagged |
15 | # versions. | | 15 | # versions. |