[GH #78] tig.spec: add man7 directory to RPM package

Fixes failure when using the packaged tig.spec for building an RPM
package of tig 1.0 due to unpackaged files:

	RPM build errors:
	    Installed (but unpackaged) file(s) found:
	       /usr/share/man/man7/tigmanual.7.gz

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Rename all column variables to end with _width
Sanitize the width argument to draw_field to not include padding

This breaks configurations for author-width and filename-width, which
will now be one character wider than before.
[GH #77] Add options for displaying commit IDs in the main view

'show-id' will make the commit IDs visible, and 'id-width' configures
how many characters to show. The latter is also applied to the blame
view.

Reviewed-by: Vivien Didelot <vivien@didelot.org>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Optionally show commit IDs for branches and tree entries
Remove enforced diff move/copy detection

Signed-off-by: Jiri Jaburek <jiri.jabu@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
fix: reading git colors in rang 0 255

In 'tig' a color from the 256 colors range is specified using the string
'colorN' where N is the integer. In 'git' you can used 256 colors too. However
instead of 'colorN' they are specified using just N. This needs to be taken
into account for using the option 'use-git-colors' which reads options from the
git config for use in tig.
fix: the manpage says 'read-git-colors'

The manpage says the option is called 'read-git-colors', but the code looks for
'use-git-colors'. Fix the code to look for what is described in the manpage.
Reenable copy/rename detection in the status view

Reverts parts of 6d276a6084cef6cab17b5752e123b090195186b7.
Merge pull request #80 from esc/fix/option_name_mismatch

fix: the manpage says 'read-git-colors'
Merge pull request #81 from esc/fix/reading_git_colors_256

fix: reading git colors in rang 0 255
Do not include merges in the announcement's change log
tigrc(5): improve documentation of git configuration usage
Correctly report allocation failure in argv_append
[GH #65] Support binding more advanced external commands
diff: get pathname of combined diff headers

With combined diffs, the diff header line contains --cc or --combined,
instead of a/ or b/ prefixes. This patch allows to get the pathname from
combined diff headers as well.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Change diff-context setting to have a minimum value of 0

Currently the minimum value accepted from the config is 1,
although in interactive usage (hitting [) the value goes to 0. 

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
[GH #62] Make the use of encoding arguments optional

Reworks changes in commit 6b195c0fd1474961e6f252900e25748794b5c3cf to
not force git to reencode output to UTF-8, when i18n.commitencoding or
gui.encoding is set.
Properly initialize variable in diff_get_pathname

Fixes compiler warning: ‘dst’ may be used uninitialized in this
function.
Fix invalid memory access bug in pager line wrapping

A reference to the first allocated line was cached as the return value.
If calls to add_line would force a reallocation of the view line array
the cached line reference would become invalid and lead to a segfault.