Code

Add support for displaying relative dates
[tig.git] / NEWS
1 Release notes
2 =============
4 tig master
5 ---------
7 Incompatibilities:
9  - Setting the cursor color no longer automatically sets the text to
10    bold. The old 'lazy' behavior was a bug.
12 Improvements:
14  - Add ability to toggle between showing shorter dates (without time
15    info) and relative dates. Use 'D' to toggle between date formats.
16  - Show the active (instead of the default) keybindings in the help
17    view. Furthermore, honor the keymap when suggesting actions in the
18    help messages.
19  - Add branch view for choosing which branch to display in the main
20    view. Bound to 'H' by default.
21  - Tree view: sort entries by name, date or author. Toggling is bound to
22    'i' by default, with 'I' controlling whether or not to sort in
23    ascending order.
24  - Make height of the lower view in a split view configurable by setting
25    the 'split-view-height' variable to a number or a percentage.
26    Defaults to 2/3 of the total view height.
27  - Allow multiple text attributes for color commands:
29         color cursor white blue underline bold
31 Bug fixes:
33  - Tree view: fix searching.
35 tig-0.14.1
36 ----------
38 Improvements:
40  - Status view: improve "on branch" information inspired by the prompt
41    code in git's bash completion script.
42  - Colors for 256-capable terminals can be specified as colorN.
43  - Entering a number in the prompt will jump to that line number.
44  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
45  - Make behavior of horizontal scrolling configurable by setting the
46    'horizontal-scroll' variable to a number or a percentage. Defaults to
47    scrolling 50% of the view width.
49 Bug fixes:
51  - Status view: show error when failing to open a file.
52  - Status view: report failures to update a file.
53  - Blame view: fix problem with uninitialized variable.
54  - Blame view: use line number information when loading blame for
55    specific commit.
56  - Fix handling of quoted strings in the config file.
57  - Fix horizontal scrolling glitches.
59 tig-0.14
60 --------
62 Incompatibilities:
64  - The screen-resize action has been deprecated. It had no real use for
65    users and was never meant to be exposed.
66  - The "tree-parent" action was renamed to "parent". Warnings will be
67    emitted for transition.
68  - Remove parsing of deprecated option -S and subcommands log and diff.
69  - The "author" color replaces "main-author". Setting the latter will
70    now set the "author" color.
72 Improvements:
74  - Horizontal scrolling. Bound to Left/Right by default.
75  - Read tigrc(5) options from git configuration files using the syntax:
77         [tig] show-rev-graph = true
78         [tig "color"] cursor = yellow red bold 
79         [tig "bind"] generic = P parent
81  - Tree view: avoid flickering when updating.
82  - Tree view: annotate entries with commit information.
83  - Tree & blob view: open any blob in an editor.
84  - Stage & main view: restore view position when reloading.
85  - Blame view: load blame for parent commit. For merge commits the parent
86    is queried. Bound to ',' by default via the existing "parent" action.
87  - Abbreviate author names to initials when the width of the author column
88    is below 6 characters.
90 Bug fixes:
92  - Tree view: fix memory corruption bug when updating.
93  - Tree view: improve handling of empty trees.
94  - Status view: fix reverting of unmerged files.
95  - Fix regression for non-UTF-8 locales corrupting the view data.
96  - Fix regression parsing multiple spaces in ~/.tigrc.
98 tig-0.13
99 --------
101 Incompatibilities:
103  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
104    access to shell features, such as subshells and variable expansion.
105    The easiest way to upgrade your configuration is to put such commands
106    in a script file or as a git alias.
108 Improvements:
110  - Display repository references in the sorted order: tags, heads,
111    tracked remotes, remotes.
112  - Add bash completion for blame.
113  - Tree view: edit files of the current branch.
114  - Run requests: new identifiers %(directory), %(file), and %(ref)
115  - Improve responsiveness and view loading speed by using select(2).
117 Bug fixes:
119  - Separate blame revision and file argument by "--" to avoid problems.
120  - Main view: fix redrawing of the last commit wrt. the revision graph.
121  - Fix waiting for input after executing a run request in pager mode.
122  - Status & stage view: refuse to open directories and deleted files.
123  - Tree view: show error when requesting blame for all non-file entries.
124  - Do not draw loading views, which are not displayed.
125  - Fix launching of mergetool from a subdirectory.
127 tig-0.12.1
128 ----------
130 Improvements:
132  - Status view: revert uncommitted diff chunks and unstaged files with
133    changes. Bound to '!' by default.
134  - Main view: use --topo-order also when rev-list arguments are given on
135    the command line.
136  - Log view: support for refreshing.
138 Bug fixes:
140  - Status view: use ls-files' --exclude-standard so user specific ignore
141    rules are effective. The option was added in git version 1.5.4.
142  - Stage view: fix assertion failure triggered when updating while
143    status view is not displayed.
144  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
145    unbound requests.
146  - Reload repository references when refreshing the main (and log) view.
147  - Do not maximize views when refreshing.
149 tig-0.12
150 --------
152 Improvements:
154  - F5 also refreshes the current view.
155  - Allow line graphics to be disabled with new line-graphics option.
156  - Main view: also include the reference names when searching.
157  - Main view: support for refreshing.
158  - Main view: disable boundary commits by default. Use --boundary when
159    they should be shown. (Debian bug 498628)
160  - Stage view: add stage-next action to jump to next diff chunk that can
161    be staged. By default bound to '@'.
162  - Configure: check for the ncurses header files.
163  - Add author-width option to customize the width of the author column.
164    For example, put the following in ~/.tigrc: set author-width = 10
166 Bug fixes:
168  - Fix regression when staging all diff chunks in a section.
169  - Bind the maximize view action to 'O'; it conflicted with the
170    keybinding to launch the merge tool in the status view.
171  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
172    installed as /bin/sh does not support it.
173  - Do not show incomplete boundary commits when --no-walk is used.
174  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
175  - Ignore pipe reads with errno "Success" reported after a signals,
176    for example when refreshing doing background loading.
178 tig-0.11
179 --------
181 Incompatibilities:
183  - Remove parsing of deprecated options: -g, -l, -d.
184  - The first seen '--' will stop option parsing and is passed to git
185    instead of breaking out of tig's option parsing.
187 New features:
189  - Blame view; bound to 'B' by default, reachable from the command line
190    and the tree, status, and stage views.
191  - Blame/main view: allow display of date, author, and references to be
192    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
193  - Add action to maximize the current view.
195 Improvements:
197  - Show the current branch in the status view.
198  - Show local/light-weight tags.
200 Bug fixes:
202  - Fix regressions for the pager mode.
203  - Fix refreshing of the index with working directory info.
205 tig-0.10.1
206 ----------
208 Improvements:
210  - Status view: detect renamed files and show them with 'R'.
211  - Status view: refresh the index to avoid "empty diffs".
212  - Diff view: make diff headers more verbose to include e.g. committer.
213  - Configure: check for the ncursesw library.
215 Bug fixes:
217  - Fix UTF-8 handling for tag names and commit messages.
218  - Fix the check for git-config(1) in configure to handle the case when
219    git has been installed using a libexecdir which is not in the path.
220  - Fix replacing of SYSCONFDIR when installing from released tarballs.
222 tig-0.10
223 ---------
225 Incompatibilities:
227  - Deprecate most tig specific command line options to make tig more
228    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
229    Use of any of them will result in a warning being printed to stderr.
230    Instead of '-S', use the new 'status' subcommand.
231  - Make man page building depend on DocBook XSL version >= 1.72.0.
232  - Install man pages in $(prefix)/share/man.
233  - Implement the cherry pick action (bound to 'C') using new support for
234    running external commands. This obsoletes the TIG_CHEERY_PICK
235    environment variable
237 New features:
239  - Add support for binding keys to external commands. To bind '.' to
240    running git-commit(1), add the line: "bind generic . !git commit" to
241    your ~/.tigrc. Each command can have replacement string such as
242    %(commit), %(head), and %(blob), which are substituted before the
243    command is run.
244  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
245  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
246    user and system-wide configuration files, respectively.
248 Improvements:
250  - Main view: color the revision graph.
251  - Main view: show boundary commits; they are marked with '^' in the
252    revision graph.
253  - Tree view: add tree-parent action to jump to view of the parent tree.
254    Bound to ',' by default.
255  - Allow the default terminal colors to be overwritten. To use black
256    text on white, add the line "color default white black" to your
257    ~/.tigrc.
258  - Misc. documentation improvements.
260 Bug fixes:
262  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
263    avoid running external diff drivers.
264  - Use --no-color when calling git-log(1).
265  - Fix crash when opening mergetool for lines that are not unmerged.
267 tig-0.9.1
268 ---------
270 Incompatibilities:
272  - Make the clean rule to never remove generated documentation files.
273    Use the distclean rule for accomplishing this.
275 New features:
277  - Add support for cherry-picking commits in the main view to the
278    current branch. Bound to 'C' by default.
280 Improvements:
282  - Add support for launching git-mergetool(1) from the status view.
283    Bound to 'M' by default.
284  - Add support for refreshing/reloading the status view
285  - Detect working trees and disable the status view when it is missing.
287 Bug fixes:
289  - Fix iconv() checking in configure.
290  - Fix editor invocation to make paths relative to the project root.
291  - Fix out-of-range current line when reloading the status view.
292  - Include autoconf files in the tarball generated by `make dist`.
294 tig-0.9
295 -------
297 New features:
299  - Add bash completion script for tig (contrib/tig-completion.bash).
300  - Add optional autoconf-based build infrastructure.
301  - Add stage view for showing changes in the working tree and add
302    support for staging individual diff chunks for commit.
304 Improvements:
306  - Status view: allow all files in a section to be staged for commit.
307  - Status view: Add support for opening files in an editor. Bound to 'e'
308    by default.
309  - Tree view: use a stack for remembering the lines for parent tree.