Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 21, 2013
  1. @sorbits

    Improve action button behavior

    sorbits authored
    If we click the Diff cell and move mouse to another cell, while still holding down the left mouse button, then we no longer treat that other cell as a hit target.
    
    This commit minimizes number of changes to achieve the behavior. The entire handling of the event loop can be simplified, partly based on the changed behavior.
  2. @sorbits

    Skip running ‘mate’ if we lack the support folder

    sorbits authored
    A more elegant solution would be to check that we actually have the executable, though the check is only to avoid an exception when testing from outside TextMate, normally the variable (and mate executable) should always be there.
  3. @sorbits

    Make action buttons work (again)

    sorbits authored
    After rebuilding the commit window, the action buttons (Diff, Modify) no longer reacted to clicks. The issue seemed to be a missing implementation of hitTestForEvent:inRect:ofView:
  4. @sorbits

    Don’t deselect files when TM_SELECTED_FILES is set

    sorbits authored
    We assume that when this variable is set, the command calling us are only giving us the set of (user) selected files, and it would be counterproductive to not have all those included in the commit (by default).
  5. @sorbits

    Fix warnings (64 bit / “modern” SDK)

    sorbits authored
    Mainly converting source to use CGFloat and NSUInteger.
  6. @sorbits
  7. @sorbits
  8. @sorbits

    Delete Xcode project file

    sorbits authored
    This doesn’t work with latest versions of Xcode. No reason in spending time updating the project file for a project as simple as this.
Commits on Jun 18, 2011
  1. @sorbits

    Merge pull request #1 from gknops/master

    sorbits authored
    commit-window: make summary font and size configurable via user defaults
Commits on Jun 15, 2011
  1. [NEW] Commit window fontfamily name and size can now be changed via u…

    Gerd Knops authored
    …ser defaults. Example: defaults write com.cjack.tmbundles.commit-window CommitWindowFontName "Menlo"; defaults write com.cjack.tmbundles.commit-window CommitWindowFontSize 14
Commits on Apr 14, 2008
  1. @ciaran

    Adding a new option, --log, which takes a single string argument and …

    ciaran authored
    …pre-fills the commit log textview with it.
    
    This can be used in cases where a commit message can be suggested or pre-generated for the user.
    
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@9395 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Aug 21, 2007
  1. - Update "Revert to Default Choices" to use the current default choices

    Chris Thomas authored
    - Update the inclusion state after the Modify popup is used
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@8014 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Nov 7, 2006
  1. @sorbits

    • let absolutePathForPath: instantly return the passed in path, if it…

    sorbits authored
    … is already absolute (I had some problems with which screwing up the path, and this solves it, but which is buggy, try for example ‘which CocoaDialog’ in TextMate (⌃R) and then ‘type -p CocoaDialog’, for me the former fails, the latter gives the path)
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5990 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  2. @sorbits

    • add intercellSpacing to rowHeight and divide deltaVisibleHeight by …

    sorbits authored
    …two (since expansion/shrinking is in both directions) — this makes the initial size of the table view approximate its content better, but strangely, I have one project with 20 files, where there are ~18 extra pixels at the bottom, and another project with 33 files, where the content overflows by 7 pixels
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5986 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Nov 2, 2006
  1. @sorbits

    • stretch the hair spaces (using NSExpansionAttributeName) around the…

    sorbits authored
    … status letters so that the background of each letter amounts to the same width (±1 pixel)
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5869 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Nov 1, 2006
  1. @sorbits

    • when launching a task, write data to the input file handle in a bac…

    sorbits authored
    …kground thread, as writeData: will block if we are writing more than 4 KB
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5856 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 26, 2006
  1. @sorbits

    • call stringByStandardizingPath on the paths before using them as ar…

    sorbits authored
    …guments for svn (so that the tilde gets expanded) -- it might be better to store them as expanded and have a special displayPath in the record shown in the list
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5645 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 24, 2006
  1. Implement CommitWindow per-item action menu.

    Chris Thomas authored
    --action-cmd specifies an action that may be performed on a file.
    Provide multiple action commands by passing --action-cmd multiple times, each with a different command argument.
    
    The argument to --action-cmd is two comma-seperated lists separated by a colon, of the form "A,M,D:Revert,/usr/local/bin/svn,revert"
    
    On the left side of the colon is a list of status character or character sequences; a file must have one of these
    for this command to be enabled.
    
    On the right side  is a list:
    	Item 1 is the human-readable name of the command.
    	Item 2 is the path (either absolute or accessible via $PATH) to the executable.
    	Items 3 through n are the arguments to the executable.
    	CommitWindow will append the file path as the last argument before executing the command.
    	Multiple paths may be appended in the future.
    
    The executable should return a single line of the form "<new status character(s)><whitespace><file path>" for each path.
    
    For Subversion, commands might be:
    	"?:Add,/usr/local/bin/svn,add"
    	"A:Mark Executable,/usr/local/bin/svn,propset,svn:executable,true"
    	"A,M,D,C:Revert,/usr/local/bin/svn,revert"
    	"C:Resolved,/usr/local/bin/svn,resolved"
    
    Only the first colon is significant, so that, for example, 'svn:executable' in the example above works as expected. This does scheme assume that neither comma nor colon will be used in status sequences. The file paths themselves may contain commas, since those are handled out of bounds. We could introduce comma or colon quoting if needed. But I hope not.
    
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5605 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 23, 2006
  1. • Get the absolute path to the diff command before launching it.

    Chris Thomas authored
    • Error dialogs now display command/arguments.
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5575 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  2. Make buttons look clickable.

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5573 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 21, 2006
  1. • There's now a visible diff button, as a first step toward status wi…

    Chris Thomas authored
    …ndow convergence. Double-clicking continues to invoke diff as well. The UI is subject to change. Feedback welcome.
    
    • Robust subtask launching. Right now, this means that diff failures will be described immediately in an alert rather than failing more-or-less silently. In the future, this will help avoid bogus status updates for failed Add/Remove commands.
    
    • Be less sneaky/more safe about stealing artwork from the TM app.
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5537 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  2. Adjust highlighting

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5536 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  3. More work-in-progress

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5535 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 19, 2006
  1. More work in progress

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5521 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 15, 2006
  1. @sorbits
Commits on Oct 12, 2006
  1. Safety checkin; work in progress.

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5438 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 10, 2006
  1. Fix resize artifacts (hopefully)

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5425 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Oct 9, 2006
  1. CommitWindow:

    Chris Thomas authored
    • Streamlined UI. More tweaks are probably desirable.
    • Added an action menu with Choose All/Choose None/Revert to Initial commands. The menu is in the nib, feel free to add command key equivalents.
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5414 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Sep 26, 2006
  1. Do not use objectDidBegin/EndEditing. These methods are unnecessary a…

    Chris Thomas authored
    …nd may cause problems in the future.
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5316 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Sep 14, 2006
  1. [FIXED] Add undo/redo support to previous summary text replacement.

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@5213 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jun 24, 2006
  1. Refactoring:

    Chris Thomas authored
    • everything related to command line invocation is now in a CommitWindowController category.
    • status string highlighting is now implemented as an NSString category.
    
    Same code, different locations. No user-visible changes, so I'm not bothering to upgrade the binary.
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@3782 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jun 23, 2006
  1. --> Warning! You Will Need to Update TextMate's Support Folder In Add…

    Chris Thomas authored
    …ition to the Subversion Bundle! One or the Other Alone Will Not Work! <--
    
    • CommitWindow's --diff-cmd argument now takes a comma-separated list of arguments: --diff-cmd 'svn,diff' for a simple "svn diff". This paves the way for the next item...
    
    • svn_commit.rb sends TM_SVN_DIFF_CMD to CommitWindow.
    
    • Console output mode -- you can now use the commit command from the command line, complete with window, double-click diff, etc. This is a work in progress, so expect some rough edges. Add this line to your .zshrc or .bashrc:
    
    alias svncommit='ruby ~/Library/Application\ Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb --console-output'
    
    Console output requires the HighLine Ruby gem ('gem install highline') and Ruby 1.8. Used from TextMate's menus, Commit should still work with Ruby 1.6.
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@3768 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on Jun 13, 2006
  1. • Increase pixel slop to avoid blank status display in some cases

    Chris Thomas authored
    • Previous checkin broke sort-by-status
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@3631 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  2. Multicolumn status item support for CommitWindow.

    Chris Thomas authored
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@3628 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Commits on May 25, 2006
  1. @sorbits

    • add the enter glyph (⌅) to the Commit button — granted, many users …

    sorbits authored
    …will not know what this is, or how to reach it on a laptop keyboard, but now at least there is a cue that it has a keyboard shortcut
    
    git-svn-id: http://svn.textmate.org/trunk/Tools/CommitWindowProject@3416 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Something went wrong with that request. Please try again.