Code

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