After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666406 - [Patch] Spell Checker for Commit Messages
[Patch] Spell Checker for Commit Messages
Status: RESOLVED FIXED
Product: gitg
Classification: Applications
Component: gitg-0.x
git master
Other Linux
: Normal enhancement
: ---
Assigned To: gitg-maint
gitg-maint
Depends on:
Blocks:
 
 
Reported: 2011-12-17 12:41 UTC by Guy Rutenberg
Modified: 2013-07-07 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
git formatted patch for spell checker support (15.43 KB, patch)
2012-01-11 19:34 UTC, Guy Rutenberg
none Details | Review

Description Guy Rutenberg 2011-12-17 12:41:06 UTC
I've added spell checker support for both the commit message and the tag message. The spell checker can be disabled via the preferences dialog.

You can see a screenshot of the feature at: http://www.guyrutenberg.com/wp-content/uploads/2011/12/gitg-spellchecking.png

The relevant patch can be pulled from my git repository (see bellow).

$ git request-pull origin git://github.com/guyru/gitg.git
The following changes since commit 79905400d781f97ddb75055c4936737e2f228f20:

  Bug 665351: g_thread_init is deprecated in glib 2.31 (2011-12-02 09:29:09 +0100)

are available in the git repository at:
  git://github.com/guyru/gitg.git spellchecker

Guy Rutenberg (3):
      Add spell checking to commit message.
      Add spell checking to tag messages as well.
      Add option to enable/disable the spell checker.

 configure.ac                          |    2 ++
 data/org.gnome.gitg.gschema.xml.in.in |    8 ++++++++
 gitg/gitg-commit-view.c               |   10 ++++++++++
 gitg/gitg-preferences-dialog.c        |    8 ++++++++
 gitg/gitg-preferences.ui              |   17 +++++++++++++++++
 gitg/gitg-window.c                    |   18 ++++++++++++++++++
 6 files changed, 63 insertions(+), 0 deletions(-)
Comment 1 Ignacio Casal Quinteiro (nacho) 2011-12-17 14:09:21 UTC
Thanks for the patch, I added some comments in the github repository.
Comment 2 Guy Rutenberg 2011-12-17 15:59:39 UTC
I've followed your comments and fixed the coding style and added the signal thing.
Comment 3 jessevdk@gmail.com 2012-01-10 15:32:28 UTC
Let's keep comments on patches in bugzilla for reference purposes.
Comment 4 jessevdk@gmail.com 2012-01-10 15:32:53 UTC
Can you add the git formatted patch here?
Comment 5 Guy Rutenberg 2012-01-11 19:34:21 UTC
Created attachment 205039 [details] [review]
git formatted patch for spell checker support

I've attached the git patch, I hope it's ok.
Comment 6 Sindhu S 2013-06-13 16:04:49 UTC
This bug report and patch uploaded were against an older version of Gitg. Moving bug to gitg-0.x.

Commit feature is not yet implemented in the current version of Gitg.
Marking bug as RESOLVED and OBSOLETE.
Comment 7 jessevdk@gmail.com 2013-07-07 15:08:06 UTC
Thanks for the patch though! We just finished implementing this, based on your patch, in the latest version of gitg (which uses vala instead of C).