Code

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