Permalink
Commits on Oct 19, 2011
  1. Merge branch 'bw/searching'

    patthoyts committed Oct 19, 2011
  2. git-gui: enable the smart case sensitive search only if gui.search.sm…

    patthoyts committed Oct 19, 2011
    …artcase is true
    
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  3. git-gui: catch invalid or complete regular expressions and treat as n…

    patthoyts committed Oct 19, 2011
    …o match.
    
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  4. git-gui: theme the search and line-number entry fields on blame screen

    patthoyts committed Oct 19, 2011
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Oct 18, 2011
  1. git-gui: include the number of untracked files to stage when asking t…

    patthoyts committed Oct 18, 2011
    …he user
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  2. git-gui: new config to control staging of untracked files

    bertwesarg committed with patthoyts Oct 14, 2011
    The default is the current "ask".
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  3. git-gui: use "untracked" for files which are not known to git

    bertwesarg committed with patthoyts Oct 14, 2011
    "untracked" is the right phrase for files new to git. For example
    git-status uses this phrase. Also make the question shorter.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  4. git-gui: fix unintended line break in message string

    bertwesarg committed with patthoyts Oct 14, 2011
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  5. git-gui: add search history to searchbar

    bertwesarg committed with patthoyts Oct 14, 2011
    Use the up/down keys to browse the history.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  6. git-gui: add regexp search mode to the searchbar

    bertwesarg committed with patthoyts Oct 14, 2011
    It's off by default, but can be enabled via the config gui.search.regexp.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  7. git-gui: add smart case search mode in searchbar

    bertwesarg committed with patthoyts Oct 14, 2011
    Setting config gui.search.smartcase to true, the search mode in the
    searchbar (from the blame view) is by default case-insensitive. But
    entering an upper case letter into the search field activates the case-
    sensitive search mode.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  8. git-gui: handle config booleans without value

    bertwesarg committed with patthoyts Oct 14, 2011
    When git interprets a config variable without a value as bool it is considered
    as true. But git-gui doesn't so until yet.
    
    The value for boolean configs are also case-insensitive.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  9. git-gui: fix multi selected file operation

    bertwesarg committed with patthoyts Oct 14, 2011
    When staging a selection of files using Shift-Click to choose a range
    of files then using Ctrl-T or the Stage To Commit menu item will stage
    all the selected files. However if a non-sequential range is selected
    using Ctrl-Click then all but the first name selected gets staged. This
    commit fixes this to properly stage all selected files by explicitly
    adding the path to the list before showing the diff.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Oct 15, 2011
  1. git-gui: incremental goto line in blame view

    bertwesarg committed with patthoyts Oct 13, 2011
    The view jumps now to the given line number after each key press.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  2. git-gui: clear the goto line input when hiding

    bertwesarg committed with patthoyts Oct 13, 2011
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  3. git-gui: only accept numbers in the goto-line input

    bertwesarg committed with patthoyts Oct 13, 2011
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  4. git-gui: search and linenumber input are mutual exclusive in the blam…

    bertwesarg committed with patthoyts Oct 13, 2011
    …e view
    
    It was possible to open the search input (Ctrl+S) and the goto-line input
    (Ctrl+G) at the same time. Prevent this.
    
    Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Oct 6, 2011
  1. git-gui: deal with unknown files when pressing the "Stage Changed" bu…

    hvoigt committed with patthoyts May 27, 2011
    …tton
    
    As a shortcut the "Stage Changed" button can be used to stage all current
    changes in the worktree which are not set to ignore. Previously unknown
    files would be ignored. The user might want to say: "Just save everything
    in my worktree". To support this workflow we now ask whether the user also
    wants to stage the unknown files if there are some present.
    
    Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Jul 19, 2011
  1. git-gui: drop the 'n' and 'Shift-n' bindings from the last patch.

    patthoyts committed Jul 19, 2011
    The 'n' binding should cause the next match to be selected but results
    in the search field gaining focus and additional 'n's being appended.
    
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  2. git-gui: Add keyboard shortcuts for search and goto commands in blame…

    dfries committed with patthoyts Jul 16, 2011
    … view.
    
    Use forward-slash or Control-S to bring up the search dialog.
    In the blame view, Enter or 'n' jump to the next selected region while
    Shift-Enter or Shift-n will jump to the previous selected region.
    Within the search control, hitting Enter will now jump to the next matching
    region.
    
    Signed-off-by: David Fries <David@Fries.net>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  3. git-gui: Enable jumping to a specific line number in blame view.

    dfries committed with patthoyts Jul 17, 2011
    This patch adds a goto control similar to the search control currently
    available. The goto control permits the user to specify a line number to
    jump to.
    When in blame, Control-G is bound to display this control.
    
    Signed-off-by: David Fries <David@Fries.net>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Jul 11, 2011
  1. Fix tooltip display with multiple monitors on windows.

    patthoyts committed Jul 11, 2011
    On Windows the position of a window may be negative on a monitor to the
    left of the primary display. A plus sign is used as the separator between
    the width and height and the positional parts of the geometry so always
    include the plus sign even for negative positions on this platform.
    
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  2. Fix typo: existant->existent

    divanorama committed with patthoyts Jun 16, 2011
    This typo was discovered in core git sources.
    Clean in it up in git-gui too.
    There is just one occurence in a comment line.
    
    Signed-off-by: Dmitry Ivankov <divanorama@gmail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  3. git-gui: updated translator README for current procedures.

    patthoyts committed Mar 31, 2011
    We do not have a mob branch and the i18n fork is no longer used. Suggest
    translators simply send patches as per other contributors.
    
    Reported-by: Rodrigo Rosenfeld <rr.rosas@gmail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on May 20, 2011
  1. git-gui: warn when trying to commit on a detached head

    hvoigt committed with patthoyts Feb 15, 2011
    The commandline is already warning when checking out a detached head.
    Since the only thing thats potentially dangerous is to create commits
    on a detached head lets warn in case the user is about to do that.
    
    Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on May 16, 2011
  1. git-gui: Corrected a typo in the Swedish translation of 'Continue'

    corgrath committed with patthoyts May 16, 2011
    Reported-by: Christoffer Pettersson <corgrath@gmail.com>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Mar 25, 2011
  1. git-gui: detect the use of MUI langauge packs on Windows

    patthoyts committed Feb 18, 2011
    The Tcl msgcat package doesn't detect the use of a multi-lingual language
    pack on Windows 7. This means that a user may have their display language
    set to Japanese but the system installed langauge was English.
    This patch reads the relevent registry key to fix this before loading in
    the locale specific parts of git-gui.
    
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Feb 27, 2011
  1. mergetool--lib: Add Beyond Compare 3 as a tool

    sschuberth committed with gitster Feb 26, 2011
    Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. mergetool--lib: Sort tools alphabetically for easier lookup

    sschuberth committed with gitster Feb 26, 2011
    Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Feb 24, 2011
  1. git-gui: fetch/prune all entry appears last

    hvoigt committed with patthoyts Feb 22, 2011
    The user might have got used to the order the remotes appeared previously.
    Lets add the all entry last so the all entry does not confuse previous
    users.
    
    Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
    Tested-by: Jens Lehmann <Jens.Lehmann@web.de>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  2. git-gui: fetch/prune all entry only for more than one entry

    hvoigt committed with patthoyts Feb 22, 2011
    In case there is only one remote a fetch/prune all entry
    is redundant.
    
    Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
    Tested-by: Jens Lehmann <Jens.Lehmann@web.de>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Feb 15, 2011
  1. git-gui: Include version check and test for tearoff menu entry

    patthoyts committed Feb 15, 2011
    The --all option for git fetch was added in v1.6.6 so ensure we have a usable version before adding
    the menu items.
    Sometimes people use tearoff menus and these offset the entry indices by one.
    
    Acked-by: Heiko Voigt <hvoigt@hvoigt.net>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Commits on Feb 14, 2011
  1. git-gui: teach fetch/prune menu to do it for all remotes

    hvoigt committed with patthoyts Feb 13, 2011
    The commandline fetch already has this option for some time.  Since this
    was not available at the time git gui was written lets implement it now.
    
    Signed-off-by: Heiko Voigt <heiko.voigt@mahr.de>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  2. git-gui: refactor remote submenu creation into subroutine

    hvoigt committed with patthoyts Feb 13, 2011
    Signed-off-by: Heiko Voigt <heiko.voigt@mahr.de>
    Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>