Pass terminal dimensions to git by setting COLUMNS and LINES
[tig.git] / NEWS
blob52ac43097df1464a1151d6bcb4c9dcccd8c199de
1 Release notes
2 =============
4 master
5 ------
7  - Tig now has its own tag on Stack Overflow, where users are invited to
8    ask questions: http://stackoverflow.com/questions/tagged/tig
10 Improvements:
12  - Make tig prompt commands bindable to keys. For example:
13    `bind diff F :set diff-options = --full-diff`. (GH #69, #116)
14  - Add a diff-options setting for specifying default diff options.
15    Example: `set diff-options = --patience`. (GH #116)
16  - Options in diff-options and blame-options matching tig browsing state
17    variables are replaced.
18  - Show diff stats as wide as the terminal. (GH #109)
19  - Show line numbers in the branch view. (GH #135)
20  - Add toggles for showing author email or email user names. (GH #115)
21  - Open editor at the selected line by prefixing the file argument with
22    `+<lineno>`. Tested in vi, vim, emacs, nano, gedit, geany. Disable
23    by adding `set editor-line-number = no` to ~/.tigrc. (GH #118, #119)
24  - Add toggle-files to control whether to show full commit diff or only
25    the diff concerning the currently selected file, e.g. for blame.
26  - Optionally highlight exceeding characters in long commit titles.
27    The default title max width is 50 characters. Customize using:
28    `set title-overflow = 50` (GH #125)
29  - Add +ESC key bindings. Example: `bind generic ^[v move-page-up` (GH #120)
30  - Create temporary files in TMPDIR, TEMP, or TMP before defaulting to /tmp.
32 Bug fixes:
34  - Reload current branch name when reloading the status view. (GH #93)
35  - Fix compile errors on old Solaris. (GH #97)
36  - Reload HEAD info when reloading the stage view. (GH #104, #93)
37  - Fix disappearing branch labels after external commands. (GH #148)
38  - Fix diff view display for staged/unstaged changes when using 'd'.
39  - Fix display of status messages when toggling view options. (GH #111)
40  - Fix illegal memory access. (GH #98)
41  - Fix display of all branches label in repos with short branch names.
42  - Fix rendering glitch for branch names.
44 tig-1.1
45 -------
47 Incompatibilities:
49  - Disable diff move/copy detection by default, boosting diff
50    performance on larger projects. Use git config 'diff.renames' option
51    (git-wide) to set your preferred behavior. Environment variable
52    TIG_DIFF_OPTS can be used to restore the old behavior.
53  - Fix manual keybinging for stage-single-line. (GH #108)
54  - Values set for author-width and filename-width will result in widths
55    one character bigger than previously.
57 Improvements:
59  - Typing a text in the prompt will be interpreted as a tig command.
60    Prefixing the command with a '!' will execute this system command in
61    an external pager. Entering a single key will execute the
62    corresponding key binding.
63  - Basic support for wrapping long line in pager, diff, and stage views.
64    Enable using: `set wrap-lines = yes`. (GH #2)
65  - User-defined commands prefixed with a '?' means prompt before
66    execution. Example: `bind main B !?git rebase -i %(commit)`.
67  - User-defined commands prefixed with a '<' means exit after execution.
68    Example: `bind main C !<git commit`. (GH #66)
69  - User-defined commands are executed unquoted to support shell commands.
70    Example: `bind generic I !@sh -c "echo -n %(commit) | xclip -selection c"`.
71    (GH #65)
72  - Configure case-insensitive searches using: `set ignore-case = yes`.
73  - Add "deleted mode" line type for better diff coloring.
74  - Open editor when requesting edit action from within a file diff.
75  - Update AX_WITH_CURSES to build under Cygwin.
76  - Improve tigrc(5) documentation. (Debian #682766)
77  - Allow to build on Mac OS 10.7 without the configure script. (GH #25)
78  - Add option to split the view vertically instead of horizontally.
79    Example: `set vertical-split = yes'. (GH #76)
80  - Add 'show-id' and 'id-width' options to configure the display of
81    commit IDs in the main view and ID width in the blame view. (GH #77)
82  - Allow to override git-based encoding to UTF-8 by setting
83    'i18n.commitencoding' or 'gui.encoding'.
84  - Improve autobuild support to track generated files and work with
85    autoreconf 2.61.
86  - Commit IDs are read from stdin when --stdin is given; works for main
87    and diff view, e.g. `tig --no-walk --stdin < cherry-picks.txt`.
88  - Add option to disable focusing of the child view when it's opened.
89    Disable using: `set focus-child = no`. (GH #83)
90  - Allow to open blob related with added content in a diff. (GH #91)
92 Bug fixes:
94  - Fix commit graph regression when a path spec is specified. (GH #53)
95  - Main view: only show staged/unstaged changes for the current branch.
96  - Support submodules created with current version of git. (GH #54)
97  - Fix diff status message for file diffs with no content changes.
98  - Fix parent blaming when tig is launched in subdirectory. (GH #70)
99  - Do not show deleted branch when reloading the branch view.
101 tig-1.0
102 -------
104 The master repository is git://github.com/jonas/tig.git, and the old
105 master repository (http://jonas.nitro.dk/tig/tig.git) will be retired.
107 Improvements:
109  - Use git-log(1)s default commit ordering. The old behavior can be
110    restored by adding `set commit-order = topo` to ~/.tigrc.
111  - Support staging of single lines. Bound to '1' default. (GH #21)
112  - Use +<lineno> to open the initial view at an arbitrary line. (GH #20)
113  - Add show-notes ~/.tigrc option. Notes are displayed by default.
114  - Support jumping to specific SHAs in the main view.
115  - Decorate replaced commits.
116  - Display line numbers in main view.
117  - Colorize binary diff stats. (GH #17)
118  - Custom colorization of lines matching a string prefix (GH #16).
119    Example configuration: color "Reported-by:" green default
120  - Use git's color settings for the main, status and diff views.
121    Put `set read-git-colors = no` in ~/.tigrc to disable.
122  - Handle editor options with multiple arguments. (GH #12)
123  - Show filename when running tig blame with copy detection. (GH #19)
124  - Use 'source <path>' command to load additional files from ~/.tigrc
125  - User-defined commands prefixed with '@' are run with no console
126    output, e.g.
128         bind generic 3 !@rm sys$command
130  - Make display of space changes togglable in the diff and stage view.
131    Bound to 'W' by default.
132  - Use per-file encoding specified in gitattributes(5) for blobs and
133    unstaged files.
134  - Obsolete commit-encoding option and pass --encoding=UTF-8 to revision
135    commands.
136  - Main view: show uncommitted changes as staged/unstaged commits.
137    Can be disabled by putting `set show-changes = no` in ~/.tigrc.
138  - Add %(prompt) external command variable, which will prompt for the
139    argument value.
140  - Log information about git commands when the TIG_TRACE environment
141    variable is set. Example: `TIG_TRACE=/tmp/tig.log tig`
142  - Branch view: Show the title of the last commit.
143  - Increase the author auto-abbreviation threshold to 10. (GH #49)
144  - For old commits show number of years in relative dates. (GH #50)
146 Bug fixes:
148  - Fix navigation behavior when going from branch to main view. (GH #38)
149  - Fix segfault when sorting the tree view by author name.
150  - Fix diff stat navigation for unmodified files with stat changes.
151  - Show branches/refs which names are a substring of the current branch.
152  - Stage view: fix off-by-one error when jumping to a file in a diff
153    with only one file.
154  - Fix diff-header colorization. (GH #15)
155   
156 tig-0.18
157 --------
159 Incompatibilities:
161  - Remove support for the deprecated TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD
162    environment variables.
164 Improvements:
166  - Pressing enter on diff stat file lines will jump to file's diff.
167  - Naïvely color blame IDs to distinguish lines.
168  - Document palette color options used for revision graph and blame IDs.
169  - Add support for blaming diff lines.
170  - Add diff-context option and bindings to increase the diff context in
171    the diff and stage view.
172  - (GH-6) Make blame configurable via extra options passed from the command
173    line and blame-options setting from ~/.tigrc. For example:
174    
175         set blame-options = -C -C -C
177 Bug fixes:
179  - Expand browsing state variables for prompt. (LP #694780, Debian #635546)
180  - Fix segfault when sorting the branch view by author.
181  - Expand %(directory) to . for the root directory. (GH-3)
182  - Accept 'utf-8' for the line-graphics option as indicated in the docs.
183  - Use erasechar() to check for the correct backspace character.
185 tig-0.17
186 --------
188 Improvements:
190  - Start rewrite of the revision graph renderer. Three modes are
191    supported UTF-8, ncurses line graphics, and ASCII. Also, enable
192    revision graph rendering by default.
194 Bug fixes:
196  - Fix ncurses 5.8 issue by passing non-zero column size to newwin().
197  - Fix opening of diffs when browsing branches.
199 tig-0.16.2
200 ----------
202 Bug fixes:
204  - Fix regression causing empty tree view.
205  - Fix set_tabsize() compile error for older versions of ncurses.
207 tig-0.16.1
208 ----------
210 Improvements:
212  - Add scroll-first-col action to jump to the first column. Bound to '|'
213    by default.
214  - Add 'status-untracked-dirs' option to ignore unknown directories
215    contents in the status view. On by default.
217 Bug fixes:
219  - Fix 'tig show <commit>' to show the provided commit.
220  - Fix problem with empty diff views when file specs were passed on the
221    command line.
222  - Fix segfault when starting tig in pager mode.
224 tig-0.16
225 --------
227 Incompatibilities:
229  - Encode everything internally as UTF-8. This can affect performance,
230    but should in general improve handling of character lengths etc.
231    Also, to properly handle UTF-8 environments use ncurses with wide
232    character support.
233  - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
234    has been deprecated. To allow configuration of the diff view,
235    TIG_DIFF_OPTS can be used.
237 Improvements:
239  - Plug several memory leaks.
240  - Command line arguments are split into diff, revision, and file
241    arguments and made available as %(diffargs), %(revargs), and
242    %(fileargs). Diff view will limit diffs using %(fileargs).
243  - Status view: update the file variable when a line is selected so
244    %(file) works as expected.
245  - Branch view: add %(branch) symbol providing access to the selected
246    branch.
247  - Branch view: add entry to browse all branches (uses git-log's --all
248    flag).
249  - Abbreviation of author names can now be configured and toggled.
250  - Mark detached heads with [HEAD].
251  - Add support for displaying dates in local time.
253 Bug fixes:
255  - Status view: fix usage from sub directories, which was broken by the
256    changes made to support blame view from sub directories.
257  - Fix text expansion to not truncate long lines
258  - Fix parsing of boolean show-date values.
259  - Fix relative date.
260  - Fix unbind to behave as if the keybinding was never defined.
261  - Fix unbind to also cover built-in run requests.
262  - Fix parsing of unknown keymap names.
263  - Blame view: fix parent blame to detect renames. It uses "previous"
264    line info from the blame porcelain output added in git version 1.6.3.
266 tig-0.15
267 --------
269 Incompatibilities:
271  - Setting the cursor color no longer automatically sets the text to
272    bold. The old 'lazy' behavior was a bug.
273  - Remove check for git-repo-config, which was officially deprecated in
274    git version 1.5.4. The configure script no longer depends on git
275    being installed.
277 Improvements:
279  - Provide the manual as a man page named tigmanual(7).
280  - Add ability to toggle between showing shorter dates (without time
281    info) and relative dates. Use 'D' to toggle between date formats.
282  - Show the active (instead of the default) keybindings in the help
283    view. Furthermore, honor the keymap when suggesting actions in the
284    help messages.
285  - Add branch view for choosing which branch to display in the main
286    view. Bound to 'H' by default.
287  - Tree view: show entry to parent directory ('..') when running from
288    subdirectory.
289  - Tree view: sort entries by name, date or author. Toggling is bound to
290    'i' by default, with 'I' controlling whether or not to sort in
291    ascending order.
292  - Make height of the lower view in a split view configurable by setting
293    the 'split-view-height' variable to a number or a percentage.
294    Defaults to 2/3 of the total view height.
295  - Allow multiple text attributes for color commands:
297         color cursor white blue underline bold
299 Bug fixes:
301  - Blame view: fix loading of blame data when opened from the tree view
302    and CWD is not the repo root. (Debian bug 540766)
303  - Tree view: fix searching.
305 tig-0.14.1
306 ----------
308 Improvements:
310  - Status view: improve "on branch" information inspired by the prompt
311    code in git's bash completion script.
312  - Colors for 256-capable terminals can be specified as colorN.
313  - Entering a number in the prompt will jump to that line number.
314  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
315  - Make behavior of horizontal scrolling configurable by setting the
316    'horizontal-scroll' variable to a number or a percentage. Defaults to
317    scrolling 50% of the view width.
319 Bug fixes:
321  - Status view: show error when failing to open a file.
322  - Status view: report failures to update a file.
323  - Blame view: fix problem with uninitialized variable.
324  - Blame view: use line number information when loading blame for
325    specific commit.
326  - Fix handling of quoted strings in the config file.
327  - Fix horizontal scrolling glitches.
329 tig-0.14
330 --------
332 Incompatibilities:
334  - The screen-resize action has been deprecated. It had no real use for
335    users and was never meant to be exposed.
336  - The "tree-parent" action was renamed to "parent". Warnings will be
337    emitted for transition.
338  - Remove parsing of deprecated option -S and subcommands log and diff.
339  - The "author" color replaces "main-author". Setting the latter will
340    now set the "author" color.
342 Improvements:
344  - Horizontal scrolling. Bound to Left/Right by default.
345  - Read tigrc(5) options from git configuration files using the syntax:
347         [tig] show-rev-graph = true
348         [tig "color"] cursor = yellow red bold 
349         [tig "bind"] generic = P parent
351  - Tree view: avoid flickering when updating.
352  - Tree view: annotate entries with commit information.
353  - Tree & blob view: open any blob in an editor.
354  - Stage & main view: restore view position when reloading.
355  - Blame view: load blame for parent commit. For merge commits the parent
356    is queried. Bound to ',' by default via the existing "parent" action.
357  - Abbreviate author names to initials when the width of the author column
358    is below 6 characters.
360 Bug fixes:
362  - Tree view: fix memory corruption bug when updating.
363  - Tree view: improve handling of empty trees.
364  - Status view: fix reverting of unmerged files.
365  - Fix regression for non-UTF-8 locales corrupting the view data.
366  - Fix regression parsing multiple spaces in ~/.tigrc.
368 tig-0.13
369 --------
371 Incompatibilities:
373  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
374    access to shell features, such as subshells and variable expansion.
375    The easiest way to upgrade your configuration is to put such commands
376    in a script file or as a git alias.
378 Improvements:
380  - Display repository references in the sorted order: tags, heads,
381    tracked remotes, remotes.
382  - Add bash completion for blame.
383  - Tree view: edit files of the current branch.
384  - Run requests: new identifiers %(directory), %(file), and %(ref)
385  - Improve responsiveness and view loading speed by using select(2).
387 Bug fixes:
389  - Separate blame revision and file argument by "--" to avoid problems.
390  - Main view: fix redrawing of the last commit wrt. the revision graph.
391  - Fix waiting for input after executing a run request in pager mode.
392  - Status & stage view: refuse to open directories and deleted files.
393  - Tree view: show error when requesting blame for all non-file entries.
394  - Do not draw loading views, which are not displayed.
395  - Fix launching of mergetool from a subdirectory.
397 tig-0.12.1
398 ----------
400 Improvements:
402  - Status view: revert uncommitted diff chunks and unstaged files with
403    changes. Bound to '!' by default.
404  - Main view: use --topo-order also when rev-list arguments are given on
405    the command line.
406  - Log view: support for refreshing.
408 Bug fixes:
410  - Status view: use ls-files' --exclude-standard so user specific ignore
411    rules are effective. The option was added in git version 1.5.4.
412  - Stage view: fix assertion failure triggered when updating while
413    status view is not displayed.
414  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
415    unbound requests.
416  - Reload repository references when refreshing the main (and log) view.
417  - Do not maximize views when refreshing.
419 tig-0.12
420 --------
422 Improvements:
424  - F5 also refreshes the current view.
425  - Allow line graphics to be disabled with new line-graphics option.
426  - Main view: also include the reference names when searching.
427  - Main view: support for refreshing.
428  - Main view: disable boundary commits by default. Use --boundary when
429    they should be shown. (Debian bug 498628)
430  - Stage view: add stage-next action to jump to next diff chunk that can
431    be staged. By default bound to '@'.
432  - Configure: check for the ncurses header files.
433  - Add author-width option to customize the width of the author column.
434    For example, put the following in ~/.tigrc: set author-width = 10
436 Bug fixes:
438  - Fix regression when staging all diff chunks in a section.
439  - Bind the maximize view action to 'O'; it conflicted with the
440    keybinding to launch the merge tool in the status view.
441  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
442    installed as /bin/sh does not support it.
443  - Do not show incomplete boundary commits when --no-walk is used.
444  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
445  - Ignore pipe reads with errno "Success" reported after a signals,
446    for example when refreshing doing background loading.
448 tig-0.11
449 --------
451 Incompatibilities:
453  - Remove parsing of deprecated options: -g, -l, -d.
454  - The first seen '--' will stop option parsing and is passed to git
455    instead of breaking out of tig's option parsing.
457 New features:
459  - Blame view; bound to 'B' by default, reachable from the command line
460    and the tree, status, and stage views.
461  - Blame/main view: allow display of date, author, and references to be
462    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
463  - Add action to maximize the current view.
465 Improvements:
467  - Show the current branch in the status view.
468  - Show local/light-weight tags.
470 Bug fixes:
472  - Fix regressions for the pager mode.
473  - Fix refreshing of the index with working directory info.
475 tig-0.10.1
476 ----------
478 Improvements:
480  - Status view: detect renamed files and show them with 'R'.
481  - Status view: refresh the index to avoid "empty diffs".
482  - Diff view: make diff headers more verbose to include e.g. committer.
483  - Configure: check for the ncursesw library.
485 Bug fixes:
487  - Fix UTF-8 handling for tag names and commit messages.
488  - Fix the check for git-config(1) in configure to handle the case when
489    git has been installed using a libexecdir which is not in the path.
490  - Fix replacing of SYSCONFDIR when installing from released tarballs.
492 tig-0.10
493 ---------
495 Incompatibilities:
497  - Deprecate most tig specific command line options to make tig more
498    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
499    Use of any of them will result in a warning being printed to stderr.
500    Instead of '-S', use the new 'status' subcommand.
501  - Make man page building depend on DocBook XSL version >= 1.72.0.
502  - Install man pages in $(prefix)/share/man.
503  - Implement the cherry pick action (bound to 'C') using new support for
504    running external commands. This obsoletes the TIG_CHEERY_PICK
505    environment variable
507 New features:
509  - Add support for binding keys to external commands. To bind '.' to
510    running git-commit(1), add the line: "bind generic . !git commit" to
511    your ~/.tigrc. Each command can have replacement string such as
512    %(commit), %(head), and %(blob), which are substituted before the
513    command is run.
514  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
515  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
516    user and system-wide configuration files, respectively.
518 Improvements:
520  - Main view: color the revision graph.
521  - Main view: show boundary commits; they are marked with '^' in the
522    revision graph.
523  - Tree view: add tree-parent action to jump to view of the parent tree.
524    Bound to ',' by default.
525  - Allow the default terminal colors to be overwritten. To use black
526    text on white, add the line "color default white black" to your
527    ~/.tigrc.
528  - Misc. documentation improvements.
530 Bug fixes:
532  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
533    avoid running external diff drivers.
534  - Use --no-color when calling git-log(1).
535  - Fix crash when opening mergetool for lines that are not unmerged.
537 tig-0.9.1
538 ---------
540 Incompatibilities:
542  - Make the clean rule to never remove generated documentation files.
543    Use the distclean rule for accomplishing this.
545 New features:
547  - Add support for cherry-picking commits in the main view to the
548    current branch. Bound to 'C' by default.
550 Improvements:
552  - Add support for launching git-mergetool(1) from the status view.
553    Bound to 'M' by default.
554  - Add support for refreshing/reloading the status view
555  - Detect working trees and disable the status view when it is missing.
557 Bug fixes:
559  - Fix iconv() checking in configure.
560  - Fix editor invocation to make paths relative to the project root.
561  - Fix out-of-range current line when reloading the status view.
562  - Include autoconf files in the tarball generated by `make dist`.
564 tig-0.9
565 -------
567 New features:
569  - Add bash completion script for tig (contrib/tig-completion.bash).
570  - Add optional autoconf-based build infrastructure.
571  - Add stage view for showing changes in the working tree and add
572    support for staging individual diff chunks for commit.
574 Improvements:
576  - Status view: allow all files in a section to be staged for commit.
577  - Status view: Add support for opening files in an editor. Bound to 'e'
578    by default.
579  - Tree view: use a stack for remembering the lines for parent tree.