models: Remove unused module

Signed-off-by: David Aguilar <davvid@gmail.com>
widgets.createbranch: Consolidate 'Create Branch' into a single file

The war on QObserver continues.  We are getting very close.

Signed-off-by: David Aguilar <davvid@gmail.com>
app: Add 'git cola branch' sub-command

Show the 'Create Branch' widget when 'git cola branch' is run.

Signed-off-by: David Aguilar <davvid@gmail.com>
dag: Adjust variable names

Signed-off-by: David Aguilar <davvid@gmail.com>
app: Make `git cola dag` a valid invocation

Signed-off-by: David Aguilar <davvid@gmail.com>
widgets.search: Use the brushed metal theme on OS X

Signed-off-by: David Aguilar <davvid@gmail.com>
doc: Document the 'branch' and 'search' sub-commands

Signed-off-by: David Aguilar <davvid@gmail.com>
dag: Add vim-like j/k navigation hotkeys

Allow moving up and down the commit list using vim hotkeys.

Signed-off-by: David Aguilar <davvid@gmail.com>
widgets.remote: Consolidate remote actions into a single file

Move 'Fetch', 'Push', and 'Pull' into a simpler class that does not
depend on QObserver.  There are no more QObserver classes after this
commit so cleanup related to its removal can now begin.

Signed-off-by: David Aguilar <davvid@gmail.com>
main.view: Give each dockwidget a simpler name

Less really is more.  Things look cleaner and nicer when there
are less words on the screen.  I dunno, maybe I'm imagining it.

Signed-off-by: David Aguilar <davvid@gmail.com>
main.model: Do not depend on ObservableModel

Now that there's no QObserver we don't need all the magic.
Simplify the model and factor out responsibility where possible.

Signed-off-by: David Aguilar <davvid@gmail.com>
gitcmds: Check return value from current_branch()

Signed-off-by: David Aguilar <davvid@gmail.com>
main.model: Factor out tempfile handling

Hand responsibility over to the utils module.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola: Remove QObserver and related model classes

Phew!  This is long overdue.  Things should stay nice and simple now.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola: Remove the cola.controllers package

This is unused now so remove it.  The next module to remove is
views.standard which will become widgets.standard.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola: Remove the 'cola.views' package

Move the last module in cola.views to cola.widgets.

Signed-off-by: David Aguilar <davvid@gmail.com>
observable: Simplify method names

The old add_observer(), notify_observers() method are unused so
re-appropriate the names for the current API.

Signed-off-by: David Aguilar <davvid@gmail.com>
dag: Do not prompt for files if a path has already been entered

Detect when file paths are entered into the DAG widget and hand
them directly to git-difftool instead of asking the user to select
from all the files that differ between commits A and B.

This makes it much easier to inspect the history of one or more
files since they will automatically get diffed instead of having
to continually select them.

Signed-off-by: David Aguilar <davvid@gmail.com>
qt: Add a dialog for choosing from existing references

Signed-off-by: David Aguilar <davvid@gmail.com>
difftool: Use a window-modal dialog when diffing commits

The list of files floats above external difftool on OS X
unless we make it modal to the parent window.

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