Improve restoring of the view position to bound the offset
[tig] / NEWS
1 Release notes
2 =============
3
4 tig master
5 ----------
6
7 Improvements:
8
9  - Status view: improve "on branch" information inspired by the prompt
10    code in git's bash completion script.
11  - Colors for 256-capable terminals can be specified as colorN.
12  - Entering a number in the prompt will jump to that line number.
13
14 tig-0.14
15 --------
16
17 Incompatibilities:
18
19  - The screen-resize action has been deprecated. It had no real use for
20    users and was never meant to be exposed.
21  - The "tree-parent" action was renamed to "parent". Warnings will be
22    emitted for transition.
23  - Remove parsing of deprecated option -S and subcommands log and diff.
24  - The "author" color replaces "main-author". Setting the latter will
25    now set the "author" color.
26
27 Improvements:
28
29  - Horizontal scrolling. Bound to Left/Right by default.
30  - Read tigrc(5) options from git configuration files using the syntax:
31
32         [tig] show-rev-graph = true
33         [tig "color"] cursor = yellow red bold 
34         [tig "bind"] generic = P parent
35
36  - Tree view: avoid flickering when updating.
37  - Tree view: annotate entries with commit information.
38  - Tree & blob view: open any blob in an editor.
39  - Stage & main view: restore view position when reloading.
40  - Blame view: load blame for parent commit. For merge commits the parent
41    is queried. Bound to ',' by default via the existing "parent" action.
42  - Abbreviate author names to initials when the width of the author column
43    is below 6 characters.
44
45 Bug fixes:
46
47  - Tree view: fix memory corruption bug when updating.
48  - Tree view: improve handling of empty trees.
49  - Status view: fix reverting of unmerged files.
50  - Fix regression for non-UTF-8 locales corrupting the view data.
51  - Fix regression parsing multiple spaces in ~/.tigrc.
52
53 tig-0.13
54 --------
55
56 Incompatibilities:
57
58  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
59    access to shell features, such as subshells and variable expansion.
60    The easiest way to upgrade your configuration is to put such commands
61    in a script file.
62
63 Improvements:
64
65  - Display repository references in the sorted order: tags, heads,
66    tracked remotes, remotes.
67  - Add bash completion for blame.
68  - Tree view: edit files of the current branch.
69  - Run requests: new identifiers %(directory), %(file), and %(ref)
70  - Improve responsiveness and view loading speed by using select(2).
71
72 Bug fixes:
73
74  - Separate blame revision and file argument by "--" to avoid problems.
75  - Main view: fix redrawing of the last commit wrt. the revision graph.
76  - Fix waiting for input after executing a run request in pager mode.
77  - Status & stage view: refuse to open directories and deleted files.
78  - Tree view: show error when requesting blame for all non-file entries.
79  - Do not draw loading views, which are not displayed.
80  - Fix launching of mergetool from a subdirectory.
81
82 tig-0.12.1
83 ----------
84
85 Improvements:
86
87  - Status view: revert uncommitted diff chunks and unstaged files with
88    changes. Bound to '!' by default.
89  - Main view: use --topo-order also when rev-list arguments are given on
90    the command line.
91  - Log view: support for refreshing.
92
93 Bug fixes:
94
95  - Status view: use ls-files' --exclude-standard so user specific ignore
96    rules are effective. The option was added in git version 1.5.4.
97  - Stage view: fix assertion failure triggered when updating while
98    status view is not displayed.
99  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
100    unbound requests.
101  - Reload repository references when refreshing the main (and log) view.
102  - Do not maximize views when refreshing.
103
104 tig-0.12
105 --------
106
107 Improvements:
108
109  - F5 also refreshes the current view.
110  - Allow line graphics to be disabled with new line-graphics option.
111  - Main view: also include the reference names when searching.
112  - Main view: support for refreshing.
113  - Main view: disable boundary commits by default. Use --boundary when
114    they should be shown. (Debian bug 498628)
115  - Stage view: add stage-next action to jump to next diff chunk that can
116    be staged. By default bound to '@'.
117  - Configure: check for the ncurses header files.
118  - Add author-width option to customize the width of the author column.
119    For example, put the following in ~/.tigrc: set author-width = 10
120
121 Bug fixes:
122
123  - Fix regression when staging all diff chunks in a section.
124  - Bind the maximize view action to 'O'; it conflicted with the
125    keybinding to launch the merge tool in the status view.
126  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
127    installed as /bin/sh does not support it.
128  - Do not show incomplete boundary commits when --no-walk is used.
129  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
130  - Ignore pipe reads with errno "Success" reported after a signals,
131    for example when refreshing doing background loading.
132
133 tig-0.11
134 --------
135
136 Incompatibilities:
137
138  - Remove parsing of deprecated options: -g, -l, -d.
139  - The first seen '--' will stop option parsing and is passed to git
140    instead of breaking out of tig's option parsing.
141
142 New features:
143
144  - Blame view; bound to 'B' by default, reachable from the command line
145    and the tree, status, and stage views.
146  - Blame/main view: allow display of date, author, and references to be
147    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
148  - Add action to maximize the current view.
149
150 Improvements:
151
152  - Show the current branch in the status view.
153  - Show local/light-weight tags.
154
155 Bug fixes:
156
157  - Fix regressions for the pager mode.
158  - Fix refreshing of the index with working directory info.
159
160 tig-0.10.1
161 ----------
162
163 Improvements:
164
165  - Status view: detect renamed files and show them with 'R'.
166  - Status view: refresh the index to avoid "empty diffs".
167  - Diff view: make diff headers more verbose to include e.g. committer.
168  - Configure: check for the ncursesw library.
169
170 Bug fixes:
171
172  - Fix UTF-8 handling for tag names and commit messages.
173  - Fix the check for git-config(1) in configure to handle the case when
174    git has been installed using a libexecdir which is not in the path.
175  - Fix replacing of SYSCONFDIR when installing from released tarballs.
176
177 tig-0.10
178 ---------
179
180 Incompatibilities:
181
182  - Deprecate most tig specific command line options to make tig more
183    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
184    Use of any of them will result in a warning being printed to stderr.
185    Instead of '-S', use the new 'status' subcommand.
186  - Make man page building depend on DocBook XSL version >= 1.72.0.
187  - Install man pages in $(prefix)/share/man.
188  - Implement the cherry pick action (bound to 'C') using new support for
189    running external commands. This obsoletes the TIG_CHEERY_PICK
190    environment variable
191
192 New features:
193
194  - Add support for binding keys to external commands. To bind '.' to
195    running git-commit(1), add the line: "bind generic . !git commit" to
196    your ~/.tigrc. Each command can have replacement string such as
197    %(commit), %(head), and %(blob), which are substituted before the
198    command is run.
199  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
200  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
201    user and system-wide configuration files, respectively.
202
203 Improvements:
204
205  - Main view: color the revision graph.
206  - Main view: show boundary commits; they are marked with '^' in the
207    revision graph.
208  - Tree view: add tree-parent action to jump to view of the parent tree.
209    Bound to ',' by default.
210  - Allow the default terminal colors to be overwritten. To use black
211    text on white, add the line "color default white black" to your
212    ~/.tigrc.
213  - Misc. documentation improvements.
214
215 Bug fixes:
216
217  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
218    avoid running external diff drivers.
219  - Use --no-color when calling git-log(1).
220  - Fix crash when opening mergetool for lines that are not unmerged.
221
222 tig-0.9.1
223 ---------
224
225 Incompatibilities:
226
227  - Make the clean rule to never remove generated documentation files.
228    Use the distclean rule for accomplishing this.
229
230 New features:
231
232  - Add support for cherry-picking commits in the main view to the
233    current branch. Bound to 'C' by default.
234
235 Improvements:
236
237  - Add support for launching git-mergetool(1) from the status view.
238    Bound to 'M' by default.
239  - Add support for refreshing/reloading the status view
240  - Detect working trees and disable the status view when it is missing.
241
242 Bug fixes:
243
244  - Fix iconv() checking in configure.
245  - Fix editor invocation to make paths relative to the project root.
246  - Fix out-of-range current line when reloading the status view.
247  - Include autoconf files in the tarball generated by `make dist`.
248
249 tig-0.9
250 -------
251
252 New features:
253
254  - Add bash completion script for tig (contrib/tig-completion.bash).
255  - Add optional autoconf-based build infrastructure.
256  - Add stage view for showing changes in the working tree and add
257    support for staging individual diff chunks for commit.
258
259 Improvements:
260
261  - Status view: allow all files in a section to be staged for commit.
262  - Status view: Add support for opening files in an editor. Bound to 'e'
263    by default.
264  - Tree view: use a stack for remembering the lines for parent tree.