Code

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