Code

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