Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 5, 2008
  1. @spearce

    git-gui: use +/- instead of ]/[ to show more/less context in diff

    Michele Ballabio authored spearce committed
    On some systems, brackets cannot be used as event details
    (they don't have a keysym), so use +/- instead (both on
    keyboard and keypad) and add ctrl-= as a synonym of ctrl-+
    for convenience.
    
    [sp: Had to change accelerator to show only "$M1T-="; the
         original version included "$M1T-+ $M1T-=" but this is
    	 not drawn at all on Mac OS X.]
    
    Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @chriscool @spearce

    git-gui: Update french translation

    chriscool authored spearce committed
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Apr 4, 2008
  1. @spearce

    git-gui: Switch keybindings for [ and ] to bracketleft and bracketright

    spearce authored
    Thanks to Michele Ballabio for the quick fix.
    This resolves the error introduced by c91ee2b.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Apr 2, 2008
  1. @spearce

    git-gui 0.10

    spearce authored
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @spearce

    git-gui: Add shortcut keys for Show More/Less Context

    Jonathan del Strother authored spearce committed
    Bound to Ctrl/Cmd + left & right square brackets, depending on
    your platform.
    
    [sp: Added missing binds for . to allow shortcuts to work when
         not focused in the commit message area.]
    
    Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 16, 2008
  1. @gitster @spearce

    git-gui: Improve directions regarding POT update in po/README

    gitster authored spearce committed
    Keeping POT up to date relative to the software is absolutely
    necessary.  What is unwarranted is updating language files at
    the same time by running msgmerge without checking if there is
    any outstanding translation work first.  If we assume that the
    translators do not have access to msgmerge, that is a good service
    to them (the less they have to do, the better), but otherwise,
    it is better to be leave po/${language}.po files alone.
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @spearce

    git-gui: Update Japanese translation

    しらいしななこ authored spearce committed
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 15, 2008
  1. @spearce

    git-gui: Adjusted Japanese translation to updated POT

    spearce authored
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @spearce

    git-gui: Update Japanese translation

    しらいしななこ authored spearce committed
    I updated Japanese translation for the latest git-gui.
    
    Signed-off-by: しらいしななこ <nanako3@bluebottle.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  3. @spearce

    git-gui: Don't translate the special Apple menu

    spearce authored
    Peter Karlsson pointed out there is no value in translating the
    string "Apple", as this is used as the dummy label for the Apple
    menu on Mac OS X systems.
    
    The Apple menu is actually not the menu with the Apple corporate
    logo, but the menu next to it, which shows the name of the
    application and is typically called the application menu.  Most users
    of git-gui see this menu titled as "Git Gui".  The actual label of
    this menu comes from our Info.plist file and cannot be specified
    by any other means.  Translating this string in the Tcl PO files
    is not necessary.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  4. @spearce

    git-gui: Updated Hungarian translation (e5fba18)

    Miklos Vajna authored spearce committed
    Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  5. @raalkml @spearce

    git-gui: update russian translation

    raalkml authored spearce committed
    Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  6. @spearce

    git-gui: remove spurious "fuzzy" attributes in po/it.po

    Michele Ballabio authored spearce committed
    Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 14, 2008
  1. @nafmo @spearce

    git-gui: updated Swedish translation

    nafmo authored spearce committed
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @nafmo @spearce

    git-gui: Regenerated po template and merged translations with it

    nafmo authored spearce committed
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 13, 2008
  1. Update Hungarian translation. 100% completed.

    Miklos Vajna authored
  2. @spearce

    git-gui: update Italian translation

    Michele Ballabio authored spearce committed
    Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 12, 2008
  1. @gitster @spearce

    git-gui: Simplify MSGFMT setting in Makefile

    gitster authored spearce committed
    To prepare msg files for Tcl scripts, the command that is set to MSGFMT
    make variable needs to be able to grok "--tcl -l <lang> -d <here>" options
    correctly.  This patch simplifies the tests done in git-gui's Makefile to
    directly test this condition.  If the test run does not exit properly with
    zero status (either because you do not have "msgfmt" itself, or your
    "msgfmt" is too old to grok --tcl option --- the reason does not matter),
    have it fall back to po/po2msg.sh
    
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 8, 2008
  1. @spearce

    git-gui: Add option for changing the width of the commit message text…

    Adam Piątyszek authored spearce committed
    … box
    
    The width of the commit message text area is currently hard-coded
    to 75 characters. This value might be not optimal for some projects.
    For instance users who would like to generate GNU-style ChangeLog
    file from git commit message might prefer commit messages of width
    no longer than 70 characters.
    
    This patch adds a global and per repository option "Commit Message
    Text Width", which could be used to change the width of the commit
    message text area.
    
    Signed-off-by: Adam Piątyszek <ediap@users.sourceforge.net>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 6, 2008
  1. @spearce

    git-gui: if a background colour is set, set foreground colour as well

    Philipp A. Hartmann authored spearce committed
    In several places, only the background colour is set to an explicit
    value, sometimes even "white".  This does not work well with dark
    colour themes.
    
    This patch tries to set the foreground colour to "black" in those
    situations, where an explicit background colour is set without defining
    any foreground colour.
    
    Signed-off-by: Philipp A. Hartmann <ph@sorgh.de>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @ericmiao @spearce

    git-gui: translate the remaining messages in zh_cn.po to chinese

    ericmiao authored spearce committed
    'make' shows:
      MSGFMT po/zh_cn.msg 368 translated, 2 fuzzy, 1 untranslated message.
    
    1. update the zh_cn.po and translate the remaining messages in chinese
    
    2. correct some of the previously mis-translated messages
    
    3. add a list of word interpretation in the head as a guideline for
       subsequent updatings and translations
    
    Signed-off-by: eric miao <eric.miao@marvell.com>
    Acked-by: Xudong Guan <xudong.guan@gmail.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Mar 5, 2008
  1. @spearce

    Merge branch 'maint'

    spearce authored
    * maint:
      git-gui: Gracefully fall back to po2msg.sh if msgfmt --tcl fails
  2. @spearce

    git-gui: Gracefully fall back to po2msg.sh if msgfmt --tcl fails

    spearce authored
    Mac OS X Tiger may have a msgfmt available but it doesn't understand
    how to implement --tcl.  Falling back to po2msg.sh on such systems
    is a reasonable behavior.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Feb 28, 2008
  1. @spearce

    Merge branch 'maint'

    spearce authored
    * maint:
      git-gui: Paper bag fix info dialog when no files are staged at commit
  2. @spearce

    git-gui: Paper bag fix info dialog when no files are staged at commit

    spearce authored
    If the user tries to commit their changes without actually staging
    anything we used to display an informational dialog suggesting they
    first stage those changes, then retry the commit feature.
    
    Unfortunately I broke this in aba15f7 ("Ensure error dialogs always
    appear over all other windows") and failed to fix it in the paper
    bag fix that came one day after it.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Feb 22, 2008
  1. @spearce

    Merge branch 'maint'

    spearce authored
    * maint:
      git-gui: Focus insertion point at end of strings in repository chooser
      git-gui: Avoid hardcoded Windows paths in Cygwin package files
      git-gui: Default TCL_PATH to same location as TCLTK_PATH
      git-gui: Paper bag fix error dialogs opening over the main window
  2. @spearce

    git-gui: Focus insertion point at end of strings in repository chooser

    spearce authored
    When selecting a local working directory for a new repository or a
    location to clone an existing repository into we now set the insert
    point at the end of the selected path, allowing the user to type in
    any additional parts of the path if they so desire.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  3. @spearce

    git-gui: Avoid hardcoded Windows paths in Cygwin package files

    spearce authored
    When we are being built by the Cygwin package maintainers we need to
    embed the POSIX path to our library files and not the Windows path.
    Embedding the Windows path means all end-users who install our Cygwin
    package would be required to install Cygwin at the same Windows path
    as the package maintainer had Cygwin installed to.  This requirement
    is simply not user-friendly and may be infeasible for a large number
    of our users.
    
    We now try to auto-detect if the Tcl/Tk binary we will use at runtime
    is capable of translating POSIX paths into Windows paths the same way
    that cygpath does the translations.  If the Tcl/Tk binary gives us the
    same results then it understands the Cygwin path translation process
    and should be able to read our library files from a POSIX path name.
    
    If it does not give us the same answer as cygpath then the Tcl/Tk
    binary might actually be a native Win32 build (one that is not
    linked against Cygwin) and thus requires the native Windows path
    to our library files.  We can assume this is not a Cygwin package
    as the Cygwin maintainers do not currently ship a pure Win32 build
    of Tcl/Tk.
    
    Reported on the git mailing list by Jurko Gospodnetić.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  4. @spearce

    git-gui: Default TCL_PATH to same location as TCLTK_PATH

    spearce authored
    Most users set TCLTK_PATH to tell git-gui where to find wish, but they
    fail to set TCL_PATH to the same Tcl installation.  We use the non-GUI
    tclsh during builds so headless systems are still able to create an
    index file and create message files without GNU msgfmt.  So it matters
    to us that we find a working TCL_PATH at build time.
    
    If TCL_PATH hasn't been set yet we can take a better guess about what
    tclsh executable to use by replacing 'wish' in the executable path with
    'tclsh'.  We only do this replacement on the filename part of the path,
    just in case the string "wish" appears in the directory paths.  Most of
    the time the tclsh will be installed alongside wish so this replacement
    is a sensible and safe default.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  5. @spearce

    git-gui: Paper bag fix error dialogs opening over the main window

    spearce authored
    If the main window is the only toplevel we have open then we
    don't have a valid grab right now, so we need to assume the
    best toplevel to use for the parent is ".".
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  6. @spearce

    git-gui: fix typo in lib/spellcheck.tcl

    Michele Ballabio authored spearce committed
    Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Commits on Feb 21, 2008
  1. @spearce

    git-gui: Shorten Aspell version strings to just Aspell version number

    spearce authored
    We really only support Aspell, so showing the compatibility line from
    ispell is of little value to end users.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  2. @spearce

    git-gui: Gracefully display non-aspell version errors to users

    spearce authored
    If the user has somehow managed to make us execute ispell instead
    of aspell, even though our code is invoking aspell, and ispell is
    not recognizing the aspell command line options we use to invoke
    it then we don't want a giant usage message back from ispell.
    
    Instead we show the ispell version number, letting the user know
    we don't actually support that spell checker.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  3. @spearce

    git-gui: Catch and display aspell startup failures to the user

    spearce authored
    If we feed a bad dictionary name to aspell on startup it may appear
    to start (as Tcl found the executable in our $PATH) but it fails to
    give us the version string.  In such a case the close of the pipe
    will report the exit status of the process (failure) and that is
    an error in Tcl.
    
    We now trap the subprocess failure and display the stderr message
    from it, letting the user know why the failure is happening.  We then
    disable the spell checker, but keep our object instance so the user
    can alter their preferred dictionary through the options dialog, and
    possibly restart the spell checker.
    
    I was also originally wrong to use "error" here for the display
    of the problem to the user.  I meant to use "error_popup", which
    will open a message box and show the failure in a GUI context,
    rather than killing git-gui and showing the message on the console.
    
    Noticed by Ilari on #git.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  4. @spearce

    git-gui: Only bind the spellcheck popup suggestion hook once

    spearce authored
    If we reconnect to the spellchecker there is no reason to resetup
    the binding for button 3 on our text widget to show the suggestion
    list (if available).
    
    Plus, by moving it out of _connect and into init we can now break
    out of _connect earlier if there is something wrong with the pipe,
    for example if the dictionary we were asked to load is not valid.
    
    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Something went wrong with that request. Please try again.