Code

Allow tig to parse control-modified chars in tigrc
[tig.git] / NEWS
1 Release notes
2 =============
4 tig master
5 ----------
7 Bug fixes:
9  - Fix problem with empty diff views when file specs were passed on the
10    command line.
11  - Fix segfault when starting tig in pager mode.
13 tig-0.16
14 --------
16 Incompatibilities:
18  - Encode everything internally as UTF-8. This can affect performance,
19    but should in general improve handling of character lengths etc.
20    Also, to properly handle UTF-8 environments use ncurses with wide
21    character support.
22  - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
23    has been deprecated. To allow configuration of the diff view,
24    TIG_DIFF_OPTS can be used.
26 Improvements:
28  - Plug several memory leaks.
29  - Command line arguments are split into diff, revision, and file
30    arguments and made available as %(diffargs), %(revargs), and
31    %(fileargs). Diff view will limit diffs using %(fileargs).
32  - Status view: update the file variable when a line is selected so
33    %(file) works as expected.
34  - Branch view: add %(branch) symbol providing access to the selected
35    branch.
36  - Branch view: add entry to browse all branches (uses git-log's --all
37    flag).
38  - Abbreviation of author names can now be configured and toggled.
39  - Mark detached heads with [HEAD].
40  - Add support for displaying dates in local time.
42 Bug fixes:
44  - Status view: fix usage from sub directories, which was broken by the
45    changes made to support blame view from sub directories.
46  - Fix text expansion to not truncate long lines
47  - Fix parsing of boolean show-date values.
48  - Fix relative date.
49  - Fix unbind to behave as if the keybinding was never defined.
50  - Fix unbind to also cover built-in run requests.
51  - Fix parsing of unknown keymap names.
52  - Blame view: fix parent blame to detect renames. It uses "previous"
53    line info from the blame porcelain output added in git version 1.6.3.
55 tig-0.15
56 --------
58 Incompatibilities:
60  - Setting the cursor color no longer automatically sets the text to
61    bold. The old 'lazy' behavior was a bug.
62  - Remove check for git-repo-config, which was officially deprecated in
63    git version 1.5.4. The configure script no longer depends on git
64    being installed.
66 Improvements:
68  - Provide the manual as a man page named tigmanual(7).
69  - Add ability to toggle between showing shorter dates (without time
70    info) and relative dates. Use 'D' to toggle between date formats.
71  - Show the active (instead of the default) keybindings in the help
72    view. Furthermore, honor the keymap when suggesting actions in the
73    help messages.
74  - Add branch view for choosing which branch to display in the main
75    view. Bound to 'H' by default.
76  - Tree view: show entry to parent directory ('..') when running from
77    subdirectory.
78  - Tree view: sort entries by name, date or author. Toggling is bound to
79    'i' by default, with 'I' controlling whether or not to sort in
80    ascending order.
81  - Make height of the lower view in a split view configurable by setting
82    the 'split-view-height' variable to a number or a percentage.
83    Defaults to 2/3 of the total view height.
84  - Allow multiple text attributes for color commands:
86         color cursor white blue underline bold
88 Bug fixes:
90  - Blame view: fix loading of blame data when opened from the tree view
91    and CWD is not the repo root. (Debian bug 540766)
92  - Tree view: fix searching.
94 tig-0.14.1
95 ----------
97 Improvements:
99  - Status view: improve "on branch" information inspired by the prompt
100    code in git's bash completion script.
101  - Colors for 256-capable terminals can be specified as colorN.
102  - Entering a number in the prompt will jump to that line number.
103  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
104  - Make behavior of horizontal scrolling configurable by setting the
105    'horizontal-scroll' variable to a number or a percentage. Defaults to
106    scrolling 50% of the view width.
108 Bug fixes:
110  - Status view: show error when failing to open a file.
111  - Status view: report failures to update a file.
112  - Blame view: fix problem with uninitialized variable.
113  - Blame view: use line number information when loading blame for
114    specific commit.
115  - Fix handling of quoted strings in the config file.
116  - Fix horizontal scrolling glitches.
118 tig-0.14
119 --------
121 Incompatibilities:
123  - The screen-resize action has been deprecated. It had no real use for
124    users and was never meant to be exposed.
125  - The "tree-parent" action was renamed to "parent". Warnings will be
126    emitted for transition.
127  - Remove parsing of deprecated option -S and subcommands log and diff.
128  - The "author" color replaces "main-author". Setting the latter will
129    now set the "author" color.
131 Improvements:
133  - Horizontal scrolling. Bound to Left/Right by default.
134  - Read tigrc(5) options from git configuration files using the syntax:
136         [tig] show-rev-graph = true
137         [tig "color"] cursor = yellow red bold 
138         [tig "bind"] generic = P parent
140  - Tree view: avoid flickering when updating.
141  - Tree view: annotate entries with commit information.
142  - Tree & blob view: open any blob in an editor.
143  - Stage & main view: restore view position when reloading.
144  - Blame view: load blame for parent commit. For merge commits the parent
145    is queried. Bound to ',' by default via the existing "parent" action.
146  - Abbreviate author names to initials when the width of the author column
147    is below 6 characters.
149 Bug fixes:
151  - Tree view: fix memory corruption bug when updating.
152  - Tree view: improve handling of empty trees.
153  - Status view: fix reverting of unmerged files.
154  - Fix regression for non-UTF-8 locales corrupting the view data.
155  - Fix regression parsing multiple spaces in ~/.tigrc.
157 tig-0.13
158 --------
160 Incompatibilities:
162  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
163    access to shell features, such as subshells and variable expansion.
164    The easiest way to upgrade your configuration is to put such commands
165    in a script file or as a git alias.
167 Improvements:
169  - Display repository references in the sorted order: tags, heads,
170    tracked remotes, remotes.
171  - Add bash completion for blame.
172  - Tree view: edit files of the current branch.
173  - Run requests: new identifiers %(directory), %(file), and %(ref)
174  - Improve responsiveness and view loading speed by using select(2).
176 Bug fixes:
178  - Separate blame revision and file argument by "--" to avoid problems.
179  - Main view: fix redrawing of the last commit wrt. the revision graph.
180  - Fix waiting for input after executing a run request in pager mode.
181  - Status & stage view: refuse to open directories and deleted files.
182  - Tree view: show error when requesting blame for all non-file entries.
183  - Do not draw loading views, which are not displayed.
184  - Fix launching of mergetool from a subdirectory.
186 tig-0.12.1
187 ----------
189 Improvements:
191  - Status view: revert uncommitted diff chunks and unstaged files with
192    changes. Bound to '!' by default.
193  - Main view: use --topo-order also when rev-list arguments are given on
194    the command line.
195  - Log view: support for refreshing.
197 Bug fixes:
199  - Status view: use ls-files' --exclude-standard so user specific ignore
200    rules are effective. The option was added in git version 1.5.4.
201  - Stage view: fix assertion failure triggered when updating while
202    status view is not displayed.
203  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
204    unbound requests.
205  - Reload repository references when refreshing the main (and log) view.
206  - Do not maximize views when refreshing.
208 tig-0.12
209 --------
211 Improvements:
213  - F5 also refreshes the current view.
214  - Allow line graphics to be disabled with new line-graphics option.
215  - Main view: also include the reference names when searching.
216  - Main view: support for refreshing.
217  - Main view: disable boundary commits by default. Use --boundary when
218    they should be shown. (Debian bug 498628)
219  - Stage view: add stage-next action to jump to next diff chunk that can
220    be staged. By default bound to '@'.
221  - Configure: check for the ncurses header files.
222  - Add author-width option to customize the width of the author column.
223    For example, put the following in ~/.tigrc: set author-width = 10
225 Bug fixes:
227  - Fix regression when staging all diff chunks in a section.
228  - Bind the maximize view action to 'O'; it conflicted with the
229    keybinding to launch the merge tool in the status view.
230  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
231    installed as /bin/sh does not support it.
232  - Do not show incomplete boundary commits when --no-walk is used.
233  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
234  - Ignore pipe reads with errno "Success" reported after a signals,
235    for example when refreshing doing background loading.
237 tig-0.11
238 --------
240 Incompatibilities:
242  - Remove parsing of deprecated options: -g, -l, -d.
243  - The first seen '--' will stop option parsing and is passed to git
244    instead of breaking out of tig's option parsing.
246 New features:
248  - Blame view; bound to 'B' by default, reachable from the command line
249    and the tree, status, and stage views.
250  - Blame/main view: allow display of date, author, and references to be
251    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
252  - Add action to maximize the current view.
254 Improvements:
256  - Show the current branch in the status view.
257  - Show local/light-weight tags.
259 Bug fixes:
261  - Fix regressions for the pager mode.
262  - Fix refreshing of the index with working directory info.
264 tig-0.10.1
265 ----------
267 Improvements:
269  - Status view: detect renamed files and show them with 'R'.
270  - Status view: refresh the index to avoid "empty diffs".
271  - Diff view: make diff headers more verbose to include e.g. committer.
272  - Configure: check for the ncursesw library.
274 Bug fixes:
276  - Fix UTF-8 handling for tag names and commit messages.
277  - Fix the check for git-config(1) in configure to handle the case when
278    git has been installed using a libexecdir which is not in the path.
279  - Fix replacing of SYSCONFDIR when installing from released tarballs.
281 tig-0.10
282 ---------
284 Incompatibilities:
286  - Deprecate most tig specific command line options to make tig more
287    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
288    Use of any of them will result in a warning being printed to stderr.
289    Instead of '-S', use the new 'status' subcommand.
290  - Make man page building depend on DocBook XSL version >= 1.72.0.
291  - Install man pages in $(prefix)/share/man.
292  - Implement the cherry pick action (bound to 'C') using new support for
293    running external commands. This obsoletes the TIG_CHEERY_PICK
294    environment variable
296 New features:
298  - Add support for binding keys to external commands. To bind '.' to
299    running git-commit(1), add the line: "bind generic . !git commit" to
300    your ~/.tigrc. Each command can have replacement string such as
301    %(commit), %(head), and %(blob), which are substituted before the
302    command is run.
303  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
304  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
305    user and system-wide configuration files, respectively.
307 Improvements:
309  - Main view: color the revision graph.
310  - Main view: show boundary commits; they are marked with '^' in the
311    revision graph.
312  - Tree view: add tree-parent action to jump to view of the parent tree.
313    Bound to ',' by default.
314  - Allow the default terminal colors to be overwritten. To use black
315    text on white, add the line "color default white black" to your
316    ~/.tigrc.
317  - Misc. documentation improvements.
319 Bug fixes:
321  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
322    avoid running external diff drivers.
323  - Use --no-color when calling git-log(1).
324  - Fix crash when opening mergetool for lines that are not unmerged.
326 tig-0.9.1
327 ---------
329 Incompatibilities:
331  - Make the clean rule to never remove generated documentation files.
332    Use the distclean rule for accomplishing this.
334 New features:
336  - Add support for cherry-picking commits in the main view to the
337    current branch. Bound to 'C' by default.
339 Improvements:
341  - Add support for launching git-mergetool(1) from the status view.
342    Bound to 'M' by default.
343  - Add support for refreshing/reloading the status view
344  - Detect working trees and disable the status view when it is missing.
346 Bug fixes:
348  - Fix iconv() checking in configure.
349  - Fix editor invocation to make paths relative to the project root.
350  - Fix out-of-range current line when reloading the status view.
351  - Include autoconf files in the tarball generated by `make dist`.
353 tig-0.9
354 -------
356 New features:
358  - Add bash completion script for tig (contrib/tig-completion.bash).
359  - Add optional autoconf-based build infrastructure.
360  - Add stage view for showing changes in the working tree and add
361    support for staging individual diff chunks for commit.
363 Improvements:
365  - Status view: allow all files in a section to be staged for commit.
366  - Status view: Add support for opening files in an editor. Bound to 'e'
367    by default.
368  - Tree view: use a stack for remembering the lines for parent tree.