Permalink
Commits on Sep 21, 2010
Commits on Sep 20, 2010
  1. Always pull all tracking branches from the remote

    'git pull remote branch' will not update the remote's tracking branches, only the selected local branch. It may not be readily apparent that this happened. So remove the cases where GitX would pull just a single branch and always pull all the tracking branches.
    
    The current checked out branch will still be updated as normal.
    brotherbard committed Sep 19, 2010
Commits on Sep 19, 2010
  1. Bugfix: Rebasing the head ref

    Only use the ref being rebased onto otherwise git will create a detached HEAD.
    brotherbard committed Sep 19, 2010
  2. Bugfix: crasher on 10.5 due to webkit and the <button> element

    Something in webkit doesn't like the button html element nor the -webkit-appearance: button css tag. Ends up crashing in one of various WebCore::ThemeMac::paint functions.
    
    This would crash for anyone on 10.5 with the Gist it button enabled (which it is by default so that means anyone who ran it for the first time).
    
    Changing the button back to the way it was before SHA:b557d6b5c6e675216d340d20833f39d0096b7ccc
    brotherbard committed Sep 19, 2010
Commits on Sep 18, 2010
  1. History: Show author/committer according to .mailmap

    This does not affect the display of the diff, since it is done with git
    show --pretty=raw.
    
    Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
    heipei committed with brotherbard Sep 12, 2010
  2. Diff-View: Honor whitespace preference

    This honors the preferences for showing differences in whitespacing when
    using diff between single revisions/branches.
    
    Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
    heipei committed with brotherbard Sep 12, 2010
  3. History-View: Clear list of files on showDiff

    This clears the list of files before redrawing the showDiff method.
    
    Fixes Lighthouse ticket #263
    
    Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
    heipei committed with brotherbard Sep 12, 2010
  4. History: Correctly wrap lots of tags

    When there are many tags in a commit we want them to wrap.
    
    This fixes lighthouse ticket #220.
    
    Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
    heipei committed with brotherbard Sep 12, 2010
  5. Set the working directory for arguments sent from the cli

    This allows running the gitx cli in a subdirectory and specifying file paths in that directory without having to type out the full path.
    brotherbard committed Sep 18, 2010
Commits on Sep 13, 2010
  1. Added a dialog for failing commit hooks

    This enables the user to force a commit (i.e. --no-verify) when either pre-commit or
    commit-msg hook fails.
    koraktor committed Sep 13, 2010
  2. Add a File Path search mode

    Highlights any commit that touches a file.
    
    The "Show history of file" context menu item will now set the path search instead of creating a rev specifier.
    brotherbard committed Sep 11, 2010
  3. Make the context slider work again

    Felix Holmgren committed with brotherbard Sep 9, 2010
  4. Prevent drag and drop of tags and remote branches

    Moving an annotated tag would convert it to a lightweight tag and lose the tags message.
    
    Given that tags are meant to represent a fixed point in the history and remote branches represent the state of the remote I'm disabling moving them.
    brotherbard committed Sep 4, 2010
  5. Add the contextual menu to the other columns of the commit list

    Now all the columns have the menu for the commit, not just the subject column.
    brotherbard committed Sep 4, 2010
  6. Add search commands to the gitx cli

    -s or --search= for searching in subject, author or SHA
    -S or --Search= for git's pickaxe string matching
    -r or --regex= for git's pickaxe regex matching
    brotherbard committed Sep 7, 2010
  7. Add search modes for git pickaxe

    Add two new search modes to search the commits for strings that were added or removed in a commit.
        - match by string or an extended POSIX regex (see man git-log -S<string> and --pickaxe-regex)
        - include the modes in the search menu
        - store the current mode in user defaults
        - show progress indicator when search takes time
    brotherbard committed Sep 6, 2010
  8. Improve search UI

    Previously searching would filter the commits in the commit tableview to only show the commits that matched the search. However the context of where those commits exist in the history is lost.
    
    With this patch all the commits are shown but the commits that match the search are highlighted with a light blue background. In addition there is a forward/back button to step through the matches.
    
    A new search controller:
        - keeps track of the matching results
        - finds the next or previous result
        - displays the number of matches found or "Not found"
        - shows/hides the # of matches text and the next/last stepper button
        - shows a small bezel style window with a rewind icon indicating that the selection has cycled (pressing next when at the last match or previous when at the first)
        - sets up the search predicate which covers Subject, Author and SHA (previously this was three different searches)
        - stores search results in an NSIndexSet to make finding if a row is in the set faster (needed at drawing time)
    
    Highlighting of search result rows is done in PBCommitList -drawRow:clipRect:
    
    PBGitTextFieldCell is a subclass of NSTextFieldCell that disables the cell's selection highlighting.
    
    Supporting Find Next and Find Previous (cmd-g and cmd-shift-g) menu commands required changing the action method of the menu items because NSTextFields (seem to) actively disable items in the Find menu.
    
    rewindImage.pdf created by Nathan Kinsinger
    brotherbard committed Aug 29, 2010
  9. Improved sidebar icons for Branch, Remote Branch and Tags

    Icons by Thorsten Seitz <thorsten@portableinnovations.de>
    brotherbard committed Aug 23, 2010
  10. Add --init and --clone to gitx CLI and Applescript

    Allows creating repositories from the command line, Applescript, or the scripting bridge. These are basic commands, if you need to use commandline options then use git itself.
    brotherbard committed Aug 22, 2010
  11. Add "--git-dir=" to gitx CLI

    Allows specifying a repository in a particular location for the gitx operation.
    brotherbard committed Aug 20, 2010
  12. Refactor the gitx CLI to use apple events and the scripting bridge

    Sending the arguments with the openURL:... message allows the repository document to modify it's UI without the UI flashing between states as it opens.
    
    Covers all the existing functionality of the CLI, but modifies:
        - "--all" "--local" "--branch" change the branch filter
        - cleaned up the usage (help) text and added info on missing commands
        - looks up the full ref name of refs so the name of a branch or tag can be entered (the user can enter "master" instead of "refs/heads/master")
    
    Modified the History Controller to watch for and react to branch filter changes.
    
    The GitX.h file is generated by the 'sdp' tool in a run script build phase called 'Generate Scripting Bridge Header' based on the content of GitX.sdef. It is used by the Scripting Bridge so that other apps (in this case the gitx CLI) can call Applescript commands on GitX in objective-c.
    brotherbard committed Aug 19, 2010
  13. Include the CFBundleGitVersion in the version command of the CLI

    CFBundleGitVersion has the git description information in it.
    brotherbard committed Aug 16, 2010
  14. Add a Short SHA column to the commit list

    Shows only the first 10 characters of the full SHA hash so as to take up less room. Show or hide it using the contextual menu for the table header.
    brotherbard committed Sep 2, 2010
  15. Fix sorting of the subject column.

    Was broken back in 4e4ffcc.
    brotherbard committed Aug 23, 2010
  16. Remove the isReachable test for gravatar.com

    If there is no network connection then the reachability test will take the system default time (90 seconds I think?) to time out. During this time the UI is blocked (spinning beach ball).
    
    The test was being done even if gravatar use was turned off. It doesn't really matter if the site is unreachable, the image will not load but that's not a big deal.
    brotherbard committed Sep 2, 2010
  17. Add a relative date column to the commits list table view

    Shows a relative time ("x minutes ago", "Yesterday", "x days ago", "x years ago").
        - Sort the column on the commit's date and not on the string value
        - Use a custom formatter connected to the cell in the XIB
        - Show or hide using the contextual menu for the table header
    brotherbard committed Aug 22, 2010