Code

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