Code

Fix set_keymap to error when resolving an unknown keymap
[tig.git] / NEWS
1 Release notes
2 =============
4 master
5 ------
7 Incompatibilities:
9  - Encode everything internally as UTF-8. This can affect performance,
10    but should in general improve handling of character lengths etc.
11    Also, to properly handle UTF-8 environments use ncurses with wide
12    character support.
14 Improvements:
16  - Status view: update the file variable when a line is selected so
17    %(file) works as expected.
18  - Branch view: add %(branch) symbol providing access to the selected
19    branch.
20  - Branch view: add entry to browse all branches (uses git-log's --all
21    flag).
22  - Abbreviation of author names can now be configured and toggled.
23  - Mark detached heads with [HEAD].
24  - Add support for displaying dates in local time.
26 Bug fixes:
28  - Status view: fix usage from sub directories, which was broken by the
29    changes made to support blame view from sub directories.
30  - Fix parsing of boolean show-date values.
31  - Fix relative date.
32  - Fix unbind to behave as if the keybinding was never defined.
33  - Fix parsing of unknown keymap names.
35 tig-0.15
36 --------
38 Incompatibilities:
40  - Setting the cursor color no longer automatically sets the text to
41    bold. The old 'lazy' behavior was a bug.
42  - Remove check for git-repo-config, which was officially deprecated in
43    git version 1.5.4. The configure script no longer depends on git
44    being installed.
46 Improvements:
48  - Provide the manual as a man page named tigmanual(7).
49  - Add ability to toggle between showing shorter dates (without time
50    info) and relative dates. Use 'D' to toggle between date formats.
51  - Show the active (instead of the default) keybindings in the help
52    view. Furthermore, honor the keymap when suggesting actions in the
53    help messages.
54  - Add branch view for choosing which branch to display in the main
55    view. Bound to 'H' by default.
56  - Tree view: show entry to parent directory ('..') when running from
57    subdirectory.
58  - Tree view: sort entries by name, date or author. Toggling is bound to
59    'i' by default, with 'I' controlling whether or not to sort in
60    ascending order.
61  - Make height of the lower view in a split view configurable by setting
62    the 'split-view-height' variable to a number or a percentage.
63    Defaults to 2/3 of the total view height.
64  - Allow multiple text attributes for color commands:
66         color cursor white blue underline bold
68 Bug fixes:
70  - Blame view: fix loading of blame data when opened from the tree view
71    and CWD is not the repo root. (Debian bug 540766)
72  - Tree view: fix searching.
74 tig-0.14.1
75 ----------
77 Improvements:
79  - Status view: improve "on branch" information inspired by the prompt
80    code in git's bash completion script.
81  - Colors for 256-capable terminals can be specified as colorN.
82  - Entering a number in the prompt will jump to that line number.
83  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
84  - Make behavior of horizontal scrolling configurable by setting the
85    'horizontal-scroll' variable to a number or a percentage. Defaults to
86    scrolling 50% of the view width.
88 Bug fixes:
90  - Status view: show error when failing to open a file.
91  - Status view: report failures to update a file.
92  - Blame view: fix problem with uninitialized variable.
93  - Blame view: use line number information when loading blame for
94    specific commit.
95  - Fix handling of quoted strings in the config file.
96  - Fix horizontal scrolling glitches.
98 tig-0.14
99 --------
101 Incompatibilities:
103  - The screen-resize action has been deprecated. It had no real use for
104    users and was never meant to be exposed.
105  - The "tree-parent" action was renamed to "parent". Warnings will be
106    emitted for transition.
107  - Remove parsing of deprecated option -S and subcommands log and diff.
108  - The "author" color replaces "main-author". Setting the latter will
109    now set the "author" color.
111 Improvements:
113  - Horizontal scrolling. Bound to Left/Right by default.
114  - Read tigrc(5) options from git configuration files using the syntax:
116         [tig] show-rev-graph = true
117         [tig "color"] cursor = yellow red bold 
118         [tig "bind"] generic = P parent
120  - Tree view: avoid flickering when updating.
121  - Tree view: annotate entries with commit information.
122  - Tree & blob view: open any blob in an editor.
123  - Stage & main view: restore view position when reloading.
124  - Blame view: load blame for parent commit. For merge commits the parent
125    is queried. Bound to ',' by default via the existing "parent" action.
126  - Abbreviate author names to initials when the width of the author column
127    is below 6 characters.
129 Bug fixes:
131  - Tree view: fix memory corruption bug when updating.
132  - Tree view: improve handling of empty trees.
133  - Status view: fix reverting of unmerged files.
134  - Fix regression for non-UTF-8 locales corrupting the view data.
135  - Fix regression parsing multiple spaces in ~/.tigrc.
137 tig-0.13
138 --------
140 Incompatibilities:
142  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
143    access to shell features, such as subshells and variable expansion.
144    The easiest way to upgrade your configuration is to put such commands
145    in a script file or as a git alias.
147 Improvements:
149  - Display repository references in the sorted order: tags, heads,
150    tracked remotes, remotes.
151  - Add bash completion for blame.
152  - Tree view: edit files of the current branch.
153  - Run requests: new identifiers %(directory), %(file), and %(ref)
154  - Improve responsiveness and view loading speed by using select(2).
156 Bug fixes:
158  - Separate blame revision and file argument by "--" to avoid problems.
159  - Main view: fix redrawing of the last commit wrt. the revision graph.
160  - Fix waiting for input after executing a run request in pager mode.
161  - Status & stage view: refuse to open directories and deleted files.
162  - Tree view: show error when requesting blame for all non-file entries.
163  - Do not draw loading views, which are not displayed.
164  - Fix launching of mergetool from a subdirectory.
166 tig-0.12.1
167 ----------
169 Improvements:
171  - Status view: revert uncommitted diff chunks and unstaged files with
172    changes. Bound to '!' by default.
173  - Main view: use --topo-order also when rev-list arguments are given on
174    the command line.
175  - Log view: support for refreshing.
177 Bug fixes:
179  - Status view: use ls-files' --exclude-standard so user specific ignore
180    rules are effective. The option was added in git version 1.5.4.
181  - Stage view: fix assertion failure triggered when updating while
182    status view is not displayed.
183  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
184    unbound requests.
185  - Reload repository references when refreshing the main (and log) view.
186  - Do not maximize views when refreshing.
188 tig-0.12
189 --------
191 Improvements:
193  - F5 also refreshes the current view.
194  - Allow line graphics to be disabled with new line-graphics option.
195  - Main view: also include the reference names when searching.
196  - Main view: support for refreshing.
197  - Main view: disable boundary commits by default. Use --boundary when
198    they should be shown. (Debian bug 498628)
199  - Stage view: add stage-next action to jump to next diff chunk that can
200    be staged. By default bound to '@'.
201  - Configure: check for the ncurses header files.
202  - Add author-width option to customize the width of the author column.
203    For example, put the following in ~/.tigrc: set author-width = 10
205 Bug fixes:
207  - Fix regression when staging all diff chunks in a section.
208  - Bind the maximize view action to 'O'; it conflicted with the
209    keybinding to launch the merge tool in the status view.
210  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
211    installed as /bin/sh does not support it.
212  - Do not show incomplete boundary commits when --no-walk is used.
213  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
214  - Ignore pipe reads with errno "Success" reported after a signals,
215    for example when refreshing doing background loading.
217 tig-0.11
218 --------
220 Incompatibilities:
222  - Remove parsing of deprecated options: -g, -l, -d.
223  - The first seen '--' will stop option parsing and is passed to git
224    instead of breaking out of tig's option parsing.
226 New features:
228  - Blame view; bound to 'B' by default, reachable from the command line
229    and the tree, status, and stage views.
230  - Blame/main view: allow display of date, author, and references to be
231    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
232  - Add action to maximize the current view.
234 Improvements:
236  - Show the current branch in the status view.
237  - Show local/light-weight tags.
239 Bug fixes:
241  - Fix regressions for the pager mode.
242  - Fix refreshing of the index with working directory info.
244 tig-0.10.1
245 ----------
247 Improvements:
249  - Status view: detect renamed files and show them with 'R'.
250  - Status view: refresh the index to avoid "empty diffs".
251  - Diff view: make diff headers more verbose to include e.g. committer.
252  - Configure: check for the ncursesw library.
254 Bug fixes:
256  - Fix UTF-8 handling for tag names and commit messages.
257  - Fix the check for git-config(1) in configure to handle the case when
258    git has been installed using a libexecdir which is not in the path.
259  - Fix replacing of SYSCONFDIR when installing from released tarballs.
261 tig-0.10
262 ---------
264 Incompatibilities:
266  - Deprecate most tig specific command line options to make tig more
267    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
268    Use of any of them will result in a warning being printed to stderr.
269    Instead of '-S', use the new 'status' subcommand.
270  - Make man page building depend on DocBook XSL version >= 1.72.0.
271  - Install man pages in $(prefix)/share/man.
272  - Implement the cherry pick action (bound to 'C') using new support for
273    running external commands. This obsoletes the TIG_CHEERY_PICK
274    environment variable
276 New features:
278  - Add support for binding keys to external commands. To bind '.' to
279    running git-commit(1), add the line: "bind generic . !git commit" to
280    your ~/.tigrc. Each command can have replacement string such as
281    %(commit), %(head), and %(blob), which are substituted before the
282    command is run.
283  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
284  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
285    user and system-wide configuration files, respectively.
287 Improvements:
289  - Main view: color the revision graph.
290  - Main view: show boundary commits; they are marked with '^' in the
291    revision graph.
292  - Tree view: add tree-parent action to jump to view of the parent tree.
293    Bound to ',' by default.
294  - Allow the default terminal colors to be overwritten. To use black
295    text on white, add the line "color default white black" to your
296    ~/.tigrc.
297  - Misc. documentation improvements.
299 Bug fixes:
301  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
302    avoid running external diff drivers.
303  - Use --no-color when calling git-log(1).
304  - Fix crash when opening mergetool for lines that are not unmerged.
306 tig-0.9.1
307 ---------
309 Incompatibilities:
311  - Make the clean rule to never remove generated documentation files.
312    Use the distclean rule for accomplishing this.
314 New features:
316  - Add support for cherry-picking commits in the main view to the
317    current branch. Bound to 'C' by default.
319 Improvements:
321  - Add support for launching git-mergetool(1) from the status view.
322    Bound to 'M' by default.
323  - Add support for refreshing/reloading the status view
324  - Detect working trees and disable the status view when it is missing.
326 Bug fixes:
328  - Fix iconv() checking in configure.
329  - Fix editor invocation to make paths relative to the project root.
330  - Fix out-of-range current line when reloading the status view.
331  - Include autoconf files in the tarball generated by `make dist`.
333 tig-0.9
334 -------
336 New features:
338  - Add bash completion script for tig (contrib/tig-completion.bash).
339  - Add optional autoconf-based build infrastructure.
340  - Add stage view for showing changes in the working tree and add
341    support for staging individual diff chunks for commit.
343 Improvements:
345  - Status view: allow all files in a section to be staged for commit.
346  - Status view: Add support for opening files in an editor. Bound to 'e'
347    by default.
348  - Tree view: use a stack for remembering the lines for parent tree.