Code

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