Code

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