Offload commit encoding entirely to git
[tig.git] / NEWS
blobc763a5a91b53a507acae7e22f9fee48a8e900377
1 Release notes
2 =============
4 master
5 ------
7 The master repository is git://github.com/jonas/tig.git, and the old
8 master repository (http://jonas.nitro.dk/tig/tig.git) will be retired.
10 Improvements:
12  - Support staging of single lines. Bound to '1' default. (GH #21)
13  - Use +<lineno> to open the initial view at an arbitrary line. (GH #20)
14  - Add show-notes ~/.tigrc option.
15  - Support jumping to specific SHAs in the main view.
16  - Decorate replaced commits.
17  - Display line numbers in main view.
18  - Colorize binary diff stats. (GH #17)
19  - Custom colorization of lines matching a string prefix (GH #16).
20    Example configuration: color "Reported-by:" green default
21  - Handle editor options with multiple arguments. (GH #12)
22  - Show filename when running tig blame with copy detection. (GH #19)
23  - Use 'source <path>' command to load additional files from ~/.tigrc
24  - Make display of space changes togglable in the diff and stage view.
25    Bound to 'W' by default.
26  - Use per-file encoding specified in gitattributes(5) for blobs and
27    unstaged files.
28  - Obsolete commit-encoding option and pass --encoding=UTF-8 to revision
29    commands.
31 Bug fixes:
33  - Fix segfault when sorting the tree view by author name.
34  - Show branches/refs which names are a substring of the current branch.
35  - Stage view: fix off-by-one error when jumping to a file in a diff
36    with only one file.
37  - Fix diff-header colorization. (GH #15)
38   
39 tig-0.18
40 --------
42 Incompatibilities:
44  - Remove support for the deprecated TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD
45    environment variables.
47 Improvements:
49  - Pressing enter on diff stat file lines will jump to file's diff.
50  - Naïvely color blame IDs to distinguish lines.
51  - Document palette color options used for revision graph and blame IDs.
52  - Add support for blaming diff lines.
53  - Add diff-context option and bindings to increase the diff context in
54    the diff and stage view.
55  - (GH-6) Make blame configurable via extra options passed from the command
56    line and blame-options setting from ~/.tigrc. For example:
57    
58         set blame-options = -C -C -C
60 Bug fixes:
62  - Expand browsing state variables for prompt. (LP #694780, Debian #635546)
63  - Fix segfault when sorting the branch view by author.
64  - Expand %(directory) to . for the root directory. (GH-3)
65  - Accept 'utf-8' for the line-graphics option as indicated in the docs.
66  - Use erasechar() to check for the correct backspace character.
68 tig-0.17
69 --------
71 Improvements:
73  - Start rewrite of the revision graph renderer. Three modes are
74    supported UTF-8, ncurses line graphics, and ASCII. Also, enable
75    revision graph rendering by default.
77 Bug fixes:
79  - Fix ncurses 5.8 issue by passing non-zero column size to newwin().
80  - Fix opening of diffs when browsing branches.
82 tig-0.16.2
83 ----------
85 Bug fixes:
87  - Fix regression causing empty tree view.
88  - Fix set_tabsize() compile error for older versions of ncurses.
90 tig-0.16.1
91 ----------
93 Improvements:
95  - Add scroll-first-col action to jump to the first column. Bound to '|'
96    by default.
97  - Add 'status-untracked-dirs' option to ignore unknown directories
98    contents in the status view. On by default.
100 Bug fixes:
102  - Fix 'tig show <commit>' to show the provided commit.
103  - Fix problem with empty diff views when file specs were passed on the
104    command line.
105  - Fix segfault when starting tig in pager mode.
107 tig-0.16
108 --------
110 Incompatibilities:
112  - Encode everything internally as UTF-8. This can affect performance,
113    but should in general improve handling of character lengths etc.
114    Also, to properly handle UTF-8 environments use ncurses with wide
115    character support.
116  - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
117    has been deprecated. To allow configuration of the diff view,
118    TIG_DIFF_OPTS can be used.
120 Improvements:
122  - Plug several memory leaks.
123  - Command line arguments are split into diff, revision, and file
124    arguments and made available as %(diffargs), %(revargs), and
125    %(fileargs). Diff view will limit diffs using %(fileargs).
126  - Status view: update the file variable when a line is selected so
127    %(file) works as expected.
128  - Branch view: add %(branch) symbol providing access to the selected
129    branch.
130  - Branch view: add entry to browse all branches (uses git-log's --all
131    flag).
132  - Abbreviation of author names can now be configured and toggled.
133  - Mark detached heads with [HEAD].
134  - Add support for displaying dates in local time.
136 Bug fixes:
138  - Status view: fix usage from sub directories, which was broken by the
139    changes made to support blame view from sub directories.
140  - Fix text expansion to not truncate long lines
141  - Fix parsing of boolean show-date values.
142  - Fix relative date.
143  - Fix unbind to behave as if the keybinding was never defined.
144  - Fix unbind to also cover built-in run requests.
145  - Fix parsing of unknown keymap names.
146  - Blame view: fix parent blame to detect renames. It uses "previous"
147    line info from the blame porcelain output added in git version 1.6.3.
149 tig-0.15
150 --------
152 Incompatibilities:
154  - Setting the cursor color no longer automatically sets the text to
155    bold. The old 'lazy' behavior was a bug.
156  - Remove check for git-repo-config, which was officially deprecated in
157    git version 1.5.4. The configure script no longer depends on git
158    being installed.
160 Improvements:
162  - Provide the manual as a man page named tigmanual(7).
163  - Add ability to toggle between showing shorter dates (without time
164    info) and relative dates. Use 'D' to toggle between date formats.
165  - Show the active (instead of the default) keybindings in the help
166    view. Furthermore, honor the keymap when suggesting actions in the
167    help messages.
168  - Add branch view for choosing which branch to display in the main
169    view. Bound to 'H' by default.
170  - Tree view: show entry to parent directory ('..') when running from
171    subdirectory.
172  - Tree view: sort entries by name, date or author. Toggling is bound to
173    'i' by default, with 'I' controlling whether or not to sort in
174    ascending order.
175  - Make height of the lower view in a split view configurable by setting
176    the 'split-view-height' variable to a number or a percentage.
177    Defaults to 2/3 of the total view height.
178  - Allow multiple text attributes for color commands:
180         color cursor white blue underline bold
182 Bug fixes:
184  - Blame view: fix loading of blame data when opened from the tree view
185    and CWD is not the repo root. (Debian bug 540766)
186  - Tree view: fix searching.
188 tig-0.14.1
189 ----------
191 Improvements:
193  - Status view: improve "on branch" information inspired by the prompt
194    code in git's bash completion script.
195  - Colors for 256-capable terminals can be specified as colorN.
196  - Entering a number in the prompt will jump to that line number.
197  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
198  - Make behavior of horizontal scrolling configurable by setting the
199    'horizontal-scroll' variable to a number or a percentage. Defaults to
200    scrolling 50% of the view width.
202 Bug fixes:
204  - Status view: show error when failing to open a file.
205  - Status view: report failures to update a file.
206  - Blame view: fix problem with uninitialized variable.
207  - Blame view: use line number information when loading blame for
208    specific commit.
209  - Fix handling of quoted strings in the config file.
210  - Fix horizontal scrolling glitches.
212 tig-0.14
213 --------
215 Incompatibilities:
217  - The screen-resize action has been deprecated. It had no real use for
218    users and was never meant to be exposed.
219  - The "tree-parent" action was renamed to "parent". Warnings will be
220    emitted for transition.
221  - Remove parsing of deprecated option -S and subcommands log and diff.
222  - The "author" color replaces "main-author". Setting the latter will
223    now set the "author" color.
225 Improvements:
227  - Horizontal scrolling. Bound to Left/Right by default.
228  - Read tigrc(5) options from git configuration files using the syntax:
230         [tig] show-rev-graph = true
231         [tig "color"] cursor = yellow red bold 
232         [tig "bind"] generic = P parent
234  - Tree view: avoid flickering when updating.
235  - Tree view: annotate entries with commit information.
236  - Tree & blob view: open any blob in an editor.
237  - Stage & main view: restore view position when reloading.
238  - Blame view: load blame for parent commit. For merge commits the parent
239    is queried. Bound to ',' by default via the existing "parent" action.
240  - Abbreviate author names to initials when the width of the author column
241    is below 6 characters.
243 Bug fixes:
245  - Tree view: fix memory corruption bug when updating.
246  - Tree view: improve handling of empty trees.
247  - Status view: fix reverting of unmerged files.
248  - Fix regression for non-UTF-8 locales corrupting the view data.
249  - Fix regression parsing multiple spaces in ~/.tigrc.
251 tig-0.13
252 --------
254 Incompatibilities:
256  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
257    access to shell features, such as subshells and variable expansion.
258    The easiest way to upgrade your configuration is to put such commands
259    in a script file or as a git alias.
261 Improvements:
263  - Display repository references in the sorted order: tags, heads,
264    tracked remotes, remotes.
265  - Add bash completion for blame.
266  - Tree view: edit files of the current branch.
267  - Run requests: new identifiers %(directory), %(file), and %(ref)
268  - Improve responsiveness and view loading speed by using select(2).
270 Bug fixes:
272  - Separate blame revision and file argument by "--" to avoid problems.
273  - Main view: fix redrawing of the last commit wrt. the revision graph.
274  - Fix waiting for input after executing a run request in pager mode.
275  - Status & stage view: refuse to open directories and deleted files.
276  - Tree view: show error when requesting blame for all non-file entries.
277  - Do not draw loading views, which are not displayed.
278  - Fix launching of mergetool from a subdirectory.
280 tig-0.12.1
281 ----------
283 Improvements:
285  - Status view: revert uncommitted diff chunks and unstaged files with
286    changes. Bound to '!' by default.
287  - Main view: use --topo-order also when rev-list arguments are given on
288    the command line.
289  - Log view: support for refreshing.
291 Bug fixes:
293  - Status view: use ls-files' --exclude-standard so user specific ignore
294    rules are effective. The option was added in git version 1.5.4.
295  - Stage view: fix assertion failure triggered when updating while
296    status view is not displayed.
297  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
298    unbound requests.
299  - Reload repository references when refreshing the main (and log) view.
300  - Do not maximize views when refreshing.
302 tig-0.12
303 --------
305 Improvements:
307  - F5 also refreshes the current view.
308  - Allow line graphics to be disabled with new line-graphics option.
309  - Main view: also include the reference names when searching.
310  - Main view: support for refreshing.
311  - Main view: disable boundary commits by default. Use --boundary when
312    they should be shown. (Debian bug 498628)
313  - Stage view: add stage-next action to jump to next diff chunk that can
314    be staged. By default bound to '@'.
315  - Configure: check for the ncurses header files.
316  - Add author-width option to customize the width of the author column.
317    For example, put the following in ~/.tigrc: set author-width = 10
319 Bug fixes:
321  - Fix regression when staging all diff chunks in a section.
322  - Bind the maximize view action to 'O'; it conflicted with the
323    keybinding to launch the merge tool in the status view.
324  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
325    installed as /bin/sh does not support it.
326  - Do not show incomplete boundary commits when --no-walk is used.
327  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
328  - Ignore pipe reads with errno "Success" reported after a signals,
329    for example when refreshing doing background loading.
331 tig-0.11
332 --------
334 Incompatibilities:
336  - Remove parsing of deprecated options: -g, -l, -d.
337  - The first seen '--' will stop option parsing and is passed to git
338    instead of breaking out of tig's option parsing.
340 New features:
342  - Blame view; bound to 'B' by default, reachable from the command line
343    and the tree, status, and stage views.
344  - Blame/main view: allow display of date, author, and references to be
345    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
346  - Add action to maximize the current view.
348 Improvements:
350  - Show the current branch in the status view.
351  - Show local/light-weight tags.
353 Bug fixes:
355  - Fix regressions for the pager mode.
356  - Fix refreshing of the index with working directory info.
358 tig-0.10.1
359 ----------
361 Improvements:
363  - Status view: detect renamed files and show them with 'R'.
364  - Status view: refresh the index to avoid "empty diffs".
365  - Diff view: make diff headers more verbose to include e.g. committer.
366  - Configure: check for the ncursesw library.
368 Bug fixes:
370  - Fix UTF-8 handling for tag names and commit messages.
371  - Fix the check for git-config(1) in configure to handle the case when
372    git has been installed using a libexecdir which is not in the path.
373  - Fix replacing of SYSCONFDIR when installing from released tarballs.
375 tig-0.10
376 ---------
378 Incompatibilities:
380  - Deprecate most tig specific command line options to make tig more
381    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
382    Use of any of them will result in a warning being printed to stderr.
383    Instead of '-S', use the new 'status' subcommand.
384  - Make man page building depend on DocBook XSL version >= 1.72.0.
385  - Install man pages in $(prefix)/share/man.
386  - Implement the cherry pick action (bound to 'C') using new support for
387    running external commands. This obsoletes the TIG_CHEERY_PICK
388    environment variable
390 New features:
392  - Add support for binding keys to external commands. To bind '.' to
393    running git-commit(1), add the line: "bind generic . !git commit" to
394    your ~/.tigrc. Each command can have replacement string such as
395    %(commit), %(head), and %(blob), which are substituted before the
396    command is run.
397  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
398  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
399    user and system-wide configuration files, respectively.
401 Improvements:
403  - Main view: color the revision graph.
404  - Main view: show boundary commits; they are marked with '^' in the
405    revision graph.
406  - Tree view: add tree-parent action to jump to view of the parent tree.
407    Bound to ',' by default.
408  - Allow the default terminal colors to be overwritten. To use black
409    text on white, add the line "color default white black" to your
410    ~/.tigrc.
411  - Misc. documentation improvements.
413 Bug fixes:
415  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
416    avoid running external diff drivers.
417  - Use --no-color when calling git-log(1).
418  - Fix crash when opening mergetool for lines that are not unmerged.
420 tig-0.9.1
421 ---------
423 Incompatibilities:
425  - Make the clean rule to never remove generated documentation files.
426    Use the distclean rule for accomplishing this.
428 New features:
430  - Add support for cherry-picking commits in the main view to the
431    current branch. Bound to 'C' by default.
433 Improvements:
435  - Add support for launching git-mergetool(1) from the status view.
436    Bound to 'M' by default.
437  - Add support for refreshing/reloading the status view
438  - Detect working trees and disable the status view when it is missing.
440 Bug fixes:
442  - Fix iconv() checking in configure.
443  - Fix editor invocation to make paths relative to the project root.
444  - Fix out-of-range current line when reloading the status view.
445  - Include autoconf files in the tarball generated by `make dist`.
447 tig-0.9
448 -------
450 New features:
452  - Add bash completion script for tig (contrib/tig-completion.bash).
453  - Add optional autoconf-based build infrastructure.
454  - Add stage view for showing changes in the working tree and add
455    support for staging individual diff chunks for commit.
457 Improvements:
459  - Status view: allow all files in a section to be staged for commit.
460  - Status view: Add support for opening files in an editor. Bound to 'e'
461    by default.
462  - Tree view: use a stack for remembering the lines for parent tree.