Code

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