Linux porsion added
Fix "known incorrect sRGB profil" in icons/staged-item.png

icons/staged-item.png has a broken profile which results in this icon not
shown when used with latest libpng. See following thread for extensive
information (http://comments.gmane.org/gmane.linux.gentoo.devel/85066).

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Merge pull request #210 from jlec/png

Fix "known incorrect sRGB profile" in icons/staged-item.png
git: handle newlines in .git files

Closes #213

Reported-by: Jérôme Carretero <cJ@zougloub.eu>
Signed-off-by: David Aguilar <davvid@gmail.com>
doc: add v1.9.3 release notes draft

Signed-off-by: David Aguilar <davvid@gmail.com>
commitmsg: better copy/paste behavior

Qt allows users to paste newlines into the `summary` field even though
it's not something that's normally allowed via the keyboard.  This is
unwanted because the commit message may contain more than what is
visible in the single-line field.

Allow users to paste multiple lines of text into the `summary` field by
automatically splitting it apart so that everything beyond the first
newline is moved to the `Extended description` field.

This prevents newlines from entering the `summary` field and improves
the editor's usability when pasting multiple lines of text.

Closes #212

Reported-by: @grandinj via github.com
Signed-off-by: David Aguilar <davvid@gmail.com>
Merge pull request #206 from alam5131/master

README.md: add Linux installation notes
README.md: add a link to opensuse and tidy up the markdown

Signed-off-by: David Aguilar <davvid@gmail.com>
git-cola: avoid symbol conflicts

Rename 'cmds' to 'subparser' so that we can import the `cmds` module.

Signed-off-by: David Aguilar <davvid@gmail.com>
diff: remove `self.mode` state

We already have a reference to the model so it's simpler to just check
at runtime instead of storing state and using a callback to update it.

Signed-off-by: David Aguilar <davvid@gmail.com>
git-cola: add --amend command-line flag

Make `git-cola --amend` starts git-cola in amend mode.

Closes #187

Suggested-by: Nicolas Dietrich <nicodietrich@gmail.com>
Signed-off-by: David Aguilar <davvid@gmail.com>
git-cola v1.9.3

Signed-off-by: David Aguilar <davvid@gmail.com>
inotify: fix logic when processing inotify events

The conditional in process_default() ensures that `event.name` is not
None and is a not a zero-length string but the check was flipped.

Signed-off-by: David Aguilar <davvid@gmail.com>
widgets.main: rework the menu actions

s/menu_(\w+)/$1_action/g and rename `new_repository` to
`new_repository_action` for consistency.

Reorder the File menu and add an icon for "Open Recent" so that
everything lines up.

Signed-off-by: David Aguilar <davvid@gmail.com>
widgets: do not set window modality without a parent

Dialogs with a modality of Qt.WindowModal must always have a parent.
When these are run from the top-level, e.g. via `git cola grep`, then
the parent is `None` and we should not use Qt.WindowModal.

Signed-off-by: David Aguilar <davvid@gmail.com>
qtutils: rename open_dialog() to open_file()

Signed-off-by: David Aguilar <davvid@gmail.com>
core: add an encode wrapper for os.walk()

Signed-off-by: David Aguilar <davvid@gmail.com>
browse: GitTreeWidget does not need `ref` in its constructor

Signed-off-by: David Aguilar <davvid@gmail.com>
qtutils: add reload_icon(), add_icon(), and remove_icon()

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

Add a convenient wrapper around QFileDialog.getOpenFileNames().

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