status: add up/down keyboard shortcuts

Signed-off-by: David Aguilar <davvid@gmail.com>
status: remove magic number

Signed-off-by: David Aguilar <davvid@gmail.com>
status: remember selection across updates

Teach the status widget to properly restore the selection across
updates.  This ensures that multiple selected items stay selected across
refresh operations, e.g. Ctrl+R refresh or updates from inotify.

Closes #165

Reported-by: @futureweb via github.com
Signed-off-by: David Aguilar <davvid@gmail.com>
inotify: lessen the update interval

There's no downside to waiting just a little bit longer before
triggering update events.  This also helps to lessen the impact of
inotify floods.

Related-to: #165

Signed-off-by: David Aguilar <davvid@gmail.com>
Modify aspect ratio at which the actions panel will switch from h to v layout

Added aspect_ratio property to QFlowLayoutWidget so each individual
widget can choose when it will switch between _horizontal and _vertical
Merge pull request #171 from jamie-pate/action_direction_upstream

Modify the aspect ratio at which the actions panel changes orientation.
version: update to v1.8.3.rc1

Signed-off-by: David Aguilar <davvid@gmail.com>
status: remove global up/down keyboard shortcuts

The widget still honors up/down when the widget has focus so disable the
global shortcuts since it interferes with being able to jump between the
"summary" and "description" fields using the up/down arrow keys.

Signed-off-by: David Aguilar <davvid@gmail.com>
commitmsg: simplify the way we handle up/down arrow keys

Add QActions so that we can do without needing to trap the arrow keys in
a keyPressEvent().  This is much simpler.

Signed-off-by: David Aguilar <davvid@gmail.com>
commitmsg: rename "shiftTab()" signal to "leave()" for consistency

Signed-off-by: David Aguilar <davvid@gmail.com>
grep: replace the GrepLineEdit class with a QAction

Simpler, again ;-)

Signed-off-by: David Aguilar <davvid@gmail.com>
grep: allow moving between query and result using the arrow keys

The query input field already knew to focus the results when pressing
either enter, return, or the down-arrow key.  Teach the results field to
focus the input field when the up-arrow is pressed.

This makes the behavior consistent with the commit message editor.

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

This file originally used a leading two-space indent in the class
factories to avoid getting too nested.  Use consistent four-space
indents.. for consistency.  It's not *that* nested.

Signed-off-by: David Aguilar <davvid@gmail.com>
widgets: preserve the maximized state

Remember whether git-cola has been maximized and restore the maximized
state at started.

Closes #172

Reported-by: Petter Strandmark <petter@maths.lth.se>
Signed-off-by: David Aguilar <davvid@gmail.com>
doc: update git-cola.github.com to git-cola.github.io

Signed-off-by: David Aguilar <davvid@gmail.com>
Add workdir to title
Merge pull request #173 from char101/master

Show the worktree path in the window title.
prefs: fix saving repo-specific configuration

Set the source to 'repo' for the "Current Repository" tab to
ensure that we save configuration values to the local git
repository's .git/config.  The resulting logic for displaying
the values ended up being simpler since it was originally
papering over the logic typo in the constructor.

Closes #174

Reported-by: @scit2010 via github.com
Signed-off-by: David Aguilar <davvid@gmail.com>