docs: v1.8.5 release notes draft

Signed-off-by: David Aguilar <davvid@gmail.com>
core: teach `git cola` about `gui.displayuntracked`

Make the data gathering step honor the `gui.displayuntracked`
variable.  When set false, `git cola` will not display untracked
files in the files list.  Teach the preferences dialog to toggle
this setting.

C.f. http://thread.gmane.org/gmane.comp.version-control.git/232683
Signed-off-by: David Aguilar <davvid@gmail.com>
i18n: update git-cola.pot for v1.8.5

Signed-off-by: David Aguilar <davvid@gmail.com>
git-cola v1.8.5

Signed-off-by: David Aguilar <davvid@gmail.com>
README.md: simplify instructions

Signed-off-by: David Aguilar <davvid@gmail.com>
gitcmds: handle getting a diff for the root commit

`git diff $sha1~ $sha1` is not allowed by `git diff` because $sha1~ does
not exist for the root commit.  `git diff` is more robust when we use
the `^!` syntax, so use that when getting the diff for a commit.

This also handles merges nicely.

Closes #200

Signed-off-by: David Aguilar <davvid@gmail.com>
Reported-by: Stanisław Halik <sthalik@misaki.pl>
commitmsg: make "Commit" the default when nothing is staged

This lessens the need for the proposed "sync" mode to do any
staging of content since users can easily do "Ctrl+Enter" to
commit followed by an additional "Enter" to accept the new
default when prompted for whether they want to stage + commit.

Signed-off-by: David Aguilar <davvid@gmail.com>
qtutils: add add_action_bool()

Refactor add_action() and add a new add_action_bool().

Signed-off-by: David Aguilar <davvid@gmail.com>
main: allow users to "lock" the tool layout

Add a "Lock Layout" action to the "Tools" menu.  When locked,
dockwidgets can be hidden but not moved.  This prevents accidental mouse
drags from moving the widgets.

Closes #202

Suggested-by: Stanisław Halik <sthalik@misaki.pl>
Signed-off-by: David Aguilar <davvid@gmail.com>
doc: v1.8.6 release notes draft

Signed-off-by: David Aguilar <davvid@gmail.com>
qtutils: move action setup to add_action_bool()

Signed-off-by: David Aguilar <davvid@gmail.com>
dag: allow users to "lock" the tool layout

Teach the DAG about the "Lock Layout" action.

Closes #202

Suggested-by: Stanisław Halik <sthalik@misaki.pl>
Signed-off-by: David Aguilar <davvid@gmail.com>
dag: properly set the "Lock Layout" checkbox

Signed-off-by: David Aguilar <davvid@gmail.com>
main: rename "Tools" menu to "View"

Just like git-dag and others.

Signed-off-by: David Aguilar <davvid@gmail.com>
dag: handle clicking on edges

The context menu event raised an attribute error when invoked on an
edge.  Handle this case.

Signed-off-by: David Aguilar <davvid@gmail.com>
remote: handle unicode in output from fetch/push/pull

Closes #203

Reported-by: Ivar Smolin (ookull) <okul@linux.ee>
Signed-off-by: David Aguilar <davvid@gmail.com>
doc: update v1.8.6 release notes

Signed-off-by: David Aguilar <davvid@gmail.com>
remote: mark 'Updating' for translation

Signed-off-by: David Aguilar <davvid@gmail.com>
dag: make the Edge object a similar kind of duck

Point edge.commit to the source (parent) commit so that we can treat its
right-click context menu events as if we had clicked on the parent.

Signed-off-by: David Aguilar <davvid@gmail.com>
qtutils: add selected_items()

Signed-off-by: David Aguilar <davvid@gmail.com>