Code

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