Code

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