Code

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