Code

Do not install test-graph
[tig.git] / NEWS
1 Release notes
2 =============
4 master
5 ------
7 Improvements:
9  - (GH-6) Make blame configurable via extra options passed from the command
10    line and blame-options setting from ~/.tigrc. For example:
11    
12         set blame-options = -C -C -C
14 Bug fixes:
16  - Expand %(directory) to . for the root directory. (GH-3)
18 tig-0.17
19 --------
21 Improvements:
23  - Start rewrite of the revision graph renderer. Three modes are
24    supported UTF-8, ncurses line graphics, and ASCII. Also, enable
25    revision graph rendering by default.
27 Bug fixes:
29  - Fix ncurses 5.8 issue by passing non-zero column size to newwin().
30  - Fix opening of diffs when browsing branches.
32 tig-0.16.2
33 ----------
35 Bug fixes:
37  - Fix regression causing empty tree view.
38  - Fix set_tabsize() compile error for older versions of ncurses.
40 tig-0.16.1
41 ----------
43 Improvements:
45  - Add scroll-first-col action to jump to the first column. Bound to '|'
46    by default.
47  - Add 'status-untracked-dirs' option to ignore unknown directories
48    contents in the status view. On by default.
50 Bug fixes:
52  - Fix 'tig show <commit>' to show the provided commit.
53  - Fix problem with empty diff views when file specs were passed on the
54    command line.
55  - Fix segfault when starting tig in pager mode.
57 tig-0.16
58 --------
60 Incompatibilities:
62  - Encode everything internally as UTF-8. This can affect performance,
63    but should in general improve handling of character lengths etc.
64    Also, to properly handle UTF-8 environments use ncurses with wide
65    character support.
66  - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
67    has been deprecated. To allow configuration of the diff view,
68    TIG_DIFF_OPTS can be used.
70 Improvements:
72  - Plug several memory leaks.
73  - Command line arguments are split into diff, revision, and file
74    arguments and made available as %(diffargs), %(revargs), and
75    %(fileargs). Diff view will limit diffs using %(fileargs).
76  - Status view: update the file variable when a line is selected so
77    %(file) works as expected.
78  - Branch view: add %(branch) symbol providing access to the selected
79    branch.
80  - Branch view: add entry to browse all branches (uses git-log's --all
81    flag).
82  - Abbreviation of author names can now be configured and toggled.
83  - Mark detached heads with [HEAD].
84  - Add support for displaying dates in local time.
86 Bug fixes:
88  - Status view: fix usage from sub directories, which was broken by the
89    changes made to support blame view from sub directories.
90  - Fix text expansion to not truncate long lines
91  - Fix parsing of boolean show-date values.
92  - Fix relative date.
93  - Fix unbind to behave as if the keybinding was never defined.
94  - Fix unbind to also cover built-in run requests.
95  - Fix parsing of unknown keymap names.
96  - Blame view: fix parent blame to detect renames. It uses "previous"
97    line info from the blame porcelain output added in git version 1.6.3.
99 tig-0.15
100 --------
102 Incompatibilities:
104  - Setting the cursor color no longer automatically sets the text to
105    bold. The old 'lazy' behavior was a bug.
106  - Remove check for git-repo-config, which was officially deprecated in
107    git version 1.5.4. The configure script no longer depends on git
108    being installed.
110 Improvements:
112  - Provide the manual as a man page named tigmanual(7).
113  - Add ability to toggle between showing shorter dates (without time
114    info) and relative dates. Use 'D' to toggle between date formats.
115  - Show the active (instead of the default) keybindings in the help
116    view. Furthermore, honor the keymap when suggesting actions in the
117    help messages.
118  - Add branch view for choosing which branch to display in the main
119    view. Bound to 'H' by default.
120  - Tree view: show entry to parent directory ('..') when running from
121    subdirectory.
122  - Tree view: sort entries by name, date or author. Toggling is bound to
123    'i' by default, with 'I' controlling whether or not to sort in
124    ascending order.
125  - Make height of the lower view in a split view configurable by setting
126    the 'split-view-height' variable to a number or a percentage.
127    Defaults to 2/3 of the total view height.
128  - Allow multiple text attributes for color commands:
130         color cursor white blue underline bold
132 Bug fixes:
134  - Blame view: fix loading of blame data when opened from the tree view
135    and CWD is not the repo root. (Debian bug 540766)
136  - Tree view: fix searching.
138 tig-0.14.1
139 ----------
141 Improvements:
143  - Status view: improve "on branch" information inspired by the prompt
144    code in git's bash completion script.
145  - Colors for 256-capable terminals can be specified as colorN.
146  - Entering a number in the prompt will jump to that line number.
147  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
148  - Make behavior of horizontal scrolling configurable by setting the
149    'horizontal-scroll' variable to a number or a percentage. Defaults to
150    scrolling 50% of the view width.
152 Bug fixes:
154  - Status view: show error when failing to open a file.
155  - Status view: report failures to update a file.
156  - Blame view: fix problem with uninitialized variable.
157  - Blame view: use line number information when loading blame for
158    specific commit.
159  - Fix handling of quoted strings in the config file.
160  - Fix horizontal scrolling glitches.
162 tig-0.14
163 --------
165 Incompatibilities:
167  - The screen-resize action has been deprecated. It had no real use for
168    users and was never meant to be exposed.
169  - The "tree-parent" action was renamed to "parent". Warnings will be
170    emitted for transition.
171  - Remove parsing of deprecated option -S and subcommands log and diff.
172  - The "author" color replaces "main-author". Setting the latter will
173    now set the "author" color.
175 Improvements:
177  - Horizontal scrolling. Bound to Left/Right by default.
178  - Read tigrc(5) options from git configuration files using the syntax:
180         [tig] show-rev-graph = true
181         [tig "color"] cursor = yellow red bold 
182         [tig "bind"] generic = P parent
184  - Tree view: avoid flickering when updating.
185  - Tree view: annotate entries with commit information.
186  - Tree & blob view: open any blob in an editor.
187  - Stage & main view: restore view position when reloading.
188  - Blame view: load blame for parent commit. For merge commits the parent
189    is queried. Bound to ',' by default via the existing "parent" action.
190  - Abbreviate author names to initials when the width of the author column
191    is below 6 characters.
193 Bug fixes:
195  - Tree view: fix memory corruption bug when updating.
196  - Tree view: improve handling of empty trees.
197  - Status view: fix reverting of unmerged files.
198  - Fix regression for non-UTF-8 locales corrupting the view data.
199  - Fix regression parsing multiple spaces in ~/.tigrc.
201 tig-0.13
202 --------
204 Incompatibilities:
206  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
207    access to shell features, such as subshells and variable expansion.
208    The easiest way to upgrade your configuration is to put such commands
209    in a script file or as a git alias.
211 Improvements:
213  - Display repository references in the sorted order: tags, heads,
214    tracked remotes, remotes.
215  - Add bash completion for blame.
216  - Tree view: edit files of the current branch.
217  - Run requests: new identifiers %(directory), %(file), and %(ref)
218  - Improve responsiveness and view loading speed by using select(2).
220 Bug fixes:
222  - Separate blame revision and file argument by "--" to avoid problems.
223  - Main view: fix redrawing of the last commit wrt. the revision graph.
224  - Fix waiting for input after executing a run request in pager mode.
225  - Status & stage view: refuse to open directories and deleted files.
226  - Tree view: show error when requesting blame for all non-file entries.
227  - Do not draw loading views, which are not displayed.
228  - Fix launching of mergetool from a subdirectory.
230 tig-0.12.1
231 ----------
233 Improvements:
235  - Status view: revert uncommitted diff chunks and unstaged files with
236    changes. Bound to '!' by default.
237  - Main view: use --topo-order also when rev-list arguments are given on
238    the command line.
239  - Log view: support for refreshing.
241 Bug fixes:
243  - Status view: use ls-files' --exclude-standard so user specific ignore
244    rules are effective. The option was added in git version 1.5.4.
245  - Stage view: fix assertion failure triggered when updating while
246    status view is not displayed.
247  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
248    unbound requests.
249  - Reload repository references when refreshing the main (and log) view.
250  - Do not maximize views when refreshing.
252 tig-0.12
253 --------
255 Improvements:
257  - F5 also refreshes the current view.
258  - Allow line graphics to be disabled with new line-graphics option.
259  - Main view: also include the reference names when searching.
260  - Main view: support for refreshing.
261  - Main view: disable boundary commits by default. Use --boundary when
262    they should be shown. (Debian bug 498628)
263  - Stage view: add stage-next action to jump to next diff chunk that can
264    be staged. By default bound to '@'.
265  - Configure: check for the ncurses header files.
266  - Add author-width option to customize the width of the author column.
267    For example, put the following in ~/.tigrc: set author-width = 10
269 Bug fixes:
271  - Fix regression when staging all diff chunks in a section.
272  - Bind the maximize view action to 'O'; it conflicted with the
273    keybinding to launch the merge tool in the status view.
274  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
275    installed as /bin/sh does not support it.
276  - Do not show incomplete boundary commits when --no-walk is used.
277  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
278  - Ignore pipe reads with errno "Success" reported after a signals,
279    for example when refreshing doing background loading.
281 tig-0.11
282 --------
284 Incompatibilities:
286  - Remove parsing of deprecated options: -g, -l, -d.
287  - The first seen '--' will stop option parsing and is passed to git
288    instead of breaking out of tig's option parsing.
290 New features:
292  - Blame view; bound to 'B' by default, reachable from the command line
293    and the tree, status, and stage views.
294  - Blame/main view: allow display of date, author, and references to be
295    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
296  - Add action to maximize the current view.
298 Improvements:
300  - Show the current branch in the status view.
301  - Show local/light-weight tags.
303 Bug fixes:
305  - Fix regressions for the pager mode.
306  - Fix refreshing of the index with working directory info.
308 tig-0.10.1
309 ----------
311 Improvements:
313  - Status view: detect renamed files and show them with 'R'.
314  - Status view: refresh the index to avoid "empty diffs".
315  - Diff view: make diff headers more verbose to include e.g. committer.
316  - Configure: check for the ncursesw library.
318 Bug fixes:
320  - Fix UTF-8 handling for tag names and commit messages.
321  - Fix the check for git-config(1) in configure to handle the case when
322    git has been installed using a libexecdir which is not in the path.
323  - Fix replacing of SYSCONFDIR when installing from released tarballs.
325 tig-0.10
326 ---------
328 Incompatibilities:
330  - Deprecate most tig specific command line options to make tig more
331    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
332    Use of any of them will result in a warning being printed to stderr.
333    Instead of '-S', use the new 'status' subcommand.
334  - Make man page building depend on DocBook XSL version >= 1.72.0.
335  - Install man pages in $(prefix)/share/man.
336  - Implement the cherry pick action (bound to 'C') using new support for
337    running external commands. This obsoletes the TIG_CHEERY_PICK
338    environment variable
340 New features:
342  - Add support for binding keys to external commands. To bind '.' to
343    running git-commit(1), add the line: "bind generic . !git commit" to
344    your ~/.tigrc. Each command can have replacement string such as
345    %(commit), %(head), and %(blob), which are substituted before the
346    command is run.
347  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
348  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
349    user and system-wide configuration files, respectively.
351 Improvements:
353  - Main view: color the revision graph.
354  - Main view: show boundary commits; they are marked with '^' in the
355    revision graph.
356  - Tree view: add tree-parent action to jump to view of the parent tree.
357    Bound to ',' by default.
358  - Allow the default terminal colors to be overwritten. To use black
359    text on white, add the line "color default white black" to your
360    ~/.tigrc.
361  - Misc. documentation improvements.
363 Bug fixes:
365  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
366    avoid running external diff drivers.
367  - Use --no-color when calling git-log(1).
368  - Fix crash when opening mergetool for lines that are not unmerged.
370 tig-0.9.1
371 ---------
373 Incompatibilities:
375  - Make the clean rule to never remove generated documentation files.
376    Use the distclean rule for accomplishing this.
378 New features:
380  - Add support for cherry-picking commits in the main view to the
381    current branch. Bound to 'C' by default.
383 Improvements:
385  - Add support for launching git-mergetool(1) from the status view.
386    Bound to 'M' by default.
387  - Add support for refreshing/reloading the status view
388  - Detect working trees and disable the status view when it is missing.
390 Bug fixes:
392  - Fix iconv() checking in configure.
393  - Fix editor invocation to make paths relative to the project root.
394  - Fix out-of-range current line when reloading the status view.
395  - Include autoconf files in the tarball generated by `make dist`.
397 tig-0.9
398 -------
400 New features:
402  - Add bash completion script for tig (contrib/tig-completion.bash).
403  - Add optional autoconf-based build infrastructure.
404  - Add stage view for showing changes in the working tree and add
405    support for staging individual diff chunks for commit.
407 Improvements:
409  - Status view: allow all files in a section to be staged for commit.
410  - Status view: Add support for opening files in an editor. Bound to 'e'
411    by default.
412  - Tree view: use a stack for remembering the lines for parent tree.