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