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