parse commit marks more leniently

Older versions of git-log would print marked commits (like
boundary commits) like this:

  commit -bc911786d75680d0fa28ac81c846775f6a7c894f

However, since git v1.7.5, it now outputs:

  commit - bc911786d75680d0fa28ac81c846775f6a7c894f

As a result, we pass the extra space into `main_register_commit`,
which ends up copying the null sha1 as the commit id. As a result,
we would fail to match it with a later call to `main_add_commit`,
and would omit the marked commit from the graph.

Since we do not know which git version we are using, let's cover
both cases by simply skipping past any non-alphanumeric content,
including spaces and marks, which should put as at the commit id.

Note that we can just drop the "is_boundary" check in our loop,
as it is only a special case of "!isalnum". We need the latter to
also move past --left-right marks.
graph: uncomment is_boundary propagation

This code came into being commented out in 607cfb1 (Rewrite
the revision graph renderer, 2009-12-11), but it is not
clear why (perhaps because of the s/->/./ compile error, and
was meant to be looked at later?).

As a result, we would lose the is_boundary flag, leading to
them being displayed as normal commits.  Probably nobody
noticed, though, because boundary commits were otherwise
broken until the previous commit.
Add "auto" vertical-split

This patch adds a new option to control the vertical split.
If the value of the "vertical-split" option is set to "auto" (which is
the default behavior as of this commit), Tig will choose either vertical
or horizontal split depending on the window size.

Forcing the "vertical-split" option to "yes" or "no" naturally disables
the auto feature.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Fix issue with creation of .deps directory after upgrade to Mac OS 10.9

Executing `mkdir .deps/.` gives the error message:

	mkdir: .deps/.: No such file or directory

... so use $(abspath ...) to remove the ending '.'.
Align the view scroll percentage to the right

This also rewrites update_view_title to output directly instead of using
buffers.
Add toggle=vertical=split action to dynamically change the split orientation
Fix diff stat hightlighting for files with no changes

Fixes #215
Fix run request ID offset to never conflict with internal request IDs

They were offset from REQ_NONE after which internal request IDs are
defined.
Add mouse support
Fix diff stat highlighting of file with no changes

This fixes the case where there are files with 10 or more lines of changes
as pointed out by @majutsushi in #215.

  test1.txt |    0
  test2.txt | 1236 +++++++++++++++++++++++++++++++++++++++++++++++++
Disable mouse support by default since it breaks copying text from the terminal
Actually disable mouse support

... and also improve docs slightly.
Fix off-by-one error for status code message lookup
Fix lookup of run requests

The change to use REQ_RUN_REQUESTS as the offset was not propagated to
the method doing the actual lookup. Only to the preliminary checks.
A little better at the top, a little worse at the bottom
Better, but missing some lines still
Works for first test case
Always insert extra columns at the end
A little more broken to make it better
Add function to pre-generate next row