Code

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