Permalink
Commits on Jun 18, 2014
  1. Point to ruby 1.8 shim

    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    
    #ignore
    infininight committed Jun 18, 2014
Commits on Jul 27, 2013
  1. Use version 1.8 of ruby for bundle items

    10.7 and 10.8 only include ruby 1.8, so all bundle items have been written to work with that. Optionally supporting ruby 1.9 and 2.0 is problematic as these versions are not fully backwards compatible.
    
    #ignore
    infininight committed Jul 27, 2013
Commits on Feb 18, 2013
  1. Do not check for presence of P4 environment variables

    Allows for use of a P4CONFIG file to set the required variables.
    squatch committed with infininight Feb 15, 2013
Commits on Dec 24, 2012
  1. Switch to auto-updating URL.

    infininight committed Dec 24, 2012
  2. Reorganize menu.

    infininight committed Dec 24, 2012
  3. Convert to use SCM bundle for shortcut assignment.

    * Add attr.scm.p4
    * Add semanticClass
    * Remove old shortcut
    * Add back ⌘S shortcut to save command
    * Require SCM bundle.
    infininight committed Dec 24, 2012
Commits on Aug 15, 2012
  1. Remove overload of ⌘S

    infininight committed Aug 15, 2012
  2. Moving rescan_project from tm_helpers.py to perforce_bundle_helper.py

    "Committed the dialog patch. Not going to commit the other one, 2.0
    won't be needing that so adding that to the library at this point seems
    a bit cruftish. For the time being just add it to the bundle and we'll
    yank it out once 2.0 comes out."
    appsforartists committed with infininight Sep 25, 2011
  3. Adding Move…

    appsforartists committed with infininight Sep 24, 2011
  4. Better error-catching in connect_to_p4

    I'm now catching errors in connect_to_p4 so you don't get an ugly
    traceback when you're offline.  Also, I think I've fixed the try/except
    in run_p4_command to only catch P4Exceptions.
    appsforartists committed with infininight Sep 9, 2011
  5. Putting back prepare_file_list_for_p4 for all but add

    p4 sync needs /... syntax, but p4 add needs the directories in file_list
    to be traversed in advance.  This compromise will use p4's /... syntax
    by default, but will traverse directories for black-listed commands.
    appsforartists committed with infininight Sep 9, 2011
  6. Fixing p4 add folder_name

    p4 uses `/...` as a wildcard to indicate "walk the tree and find all the
    children of this" for all commands but add.  `p4 add folder_name/...`
    fails, but that's what this bundle's Add to Depot command used to do.
    Instead, we're now using Python's built-in os.walk to expand the file
    list before we pass it to p4python for processing.  This should ensure
    consistent (and expected) functionality across all commands.
    appsforartists committed with infininight Sep 8, 2011
  7. Adding Copy

    - Adding p4 integrate (copy)  - Making rescan_project a Python function.
    Depends on:  - http://pastie.textmate.org/private/q0tllec1vjegq5dd7gnrw
    - http://pastie.textmate.org/private/ndz2gk6yvoihk0afw29ow
    appsforartists committed with infininight Sep 6, 2011
  8. Making <enter description here> highlight regex more specific

    My first attempt looked for anything in angle brackets, which would
    falsely highlight HTML/XML nodes.  This looks specifically for the
    phrase enter description here, to err on the side of caution.
    appsforartists committed with infininight Sep 3, 2011
  9. Updating readme

    Wow, there are a lot of people who touched this before adamv
    appsforartists committed with infininight Sep 3, 2011
  10. Unpacking p4python to support 10.7.1

    `from p4python.P4 import P4` was segfaulting immediately on 10.7.1.  For
    some reason, `from P4 import P4` works fine.  Therefore, I've moved the
    code files out of the egg and left them naked in the cold, cold world of
    .tmbundle/Support, where they can fend for themselves alongside
    perforce_bundle_helper.
    appsforartists committed with infininight Sep 3, 2011
  11. Cleaning up

    appsforartists committed with infininight Sep 2, 2011
  12. Converting Open in new Document to Show as HTML

    TextMate runs Commands with `Create New Document` synchronously, but
    `Show as HTML` asynchronously.  (TextMate will hang until the script
    returns, so if you call "mate -w" in the script, you've essentially just
    entered an infinite loop.)  I've converted all instances of `Create New
    Document` to `Show as HTML` to allow changelists to be authored in
    TextMate instead of in the clunky CommitWindow.
    appsforartists committed with infininight Sep 2, 2011
  13. Beginning transition to p4python

    The original Perforce.tmbundle was a very simple wrapper for "p4
    $COMMAND $TM_FILEPATH"  It only worked on the file you were currently
    editing (you couldn't select others in the project sidebar).  This
    version uses p4python instead of the command line p4 client.  It
    iterates over all the selected files, ignores files not in your Perforce
    workspace, and prepares selected directories for Perforce by adding
    "/..." to the ends of their paths before forwarding a command to the
    Perforce server.
    appsforartists committed with infininight Sep 2, 2011
  14. Readme - first draft

    appsforartists committed with infininight Aug 27, 2011
  15. First attempt

    - Perforce commands now mapped to Command-4    - (Old ones still live at
    Control-Shift-F.  I haven't touched those.)  - All commands at Command-4
    now work on multiple selected files  - Using shell scripts instead of
    awkwardly-invoked Python when possible  - Added Sync with Depot  - If
    you try to Save inside a Perforce depot, you will be prompted to
    overwrite the locked file.  Do it.  This Perforce bundle will open that
    file for editing on your behalf.  TODO:  - Add support for
    shelve/unshelve
    appsforartists committed with infininight Aug 26, 2011
Commits on Sep 3, 2011
  1. Rename some commands

    adamv committed with appsforartists Mar 4, 2010
  2. Change uuid?

    adamv committed with appsforartists Aug 10, 2009
  3. Use real paths for Perforce operations.

    When editing a file in a Perforce depot via a folder that has been symlinked,
    the path containing the symlink will not be seen as "in the workspace."
    
    Bundle commands now use the dereferenced file path, which is under
    the workspace.
    adamv committed with appsforartists Aug 5, 2009