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