Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 3, 2015
  1. @sorbits

    Suppress default behavior when handling the ⌃C key

    sorbits authored
    Similar should probably be done for the Git Blame command which might make textmate/textmate@a627991 unnecessary (PR textmate/textmate#1261).
Commits on Oct 21, 2014
  1. @infininight

    Remove event library

    infininight authored
    This was originally intended for optional Growl support but was never used outside of the Subversion bundle. That usage has been removed so thus the library as well.
Commits on Oct 19, 2014
  1. @sorbits

    Pass error/warning text to TextMate when setting gutter mark

    sorbits authored
    Requires TextMate 2.0-beta.3
Commits on Oct 15, 2014
  1. @sorbits

    Let TextMate::Executor add warning/error marks in gutter

    sorbits authored
    Requires TextMate 2.0-alpha.9575
Commits on Aug 30, 2014
  1. @yuuq

    Change html_header() to call ruby18 instead of TM_RUBY

    yuuq authored
    Bundle support ruby codes are currently have not been updated for ruby 2.0,
    so anything using bundle support ruby codes they must be run on ruby 1.8.
Commits on Aug 17, 2014
  1. @sorbits

    Allow markdown parameters to be set via TM_MARKDOWN

    sorbits authored
    For example you may want to set:
    
        TM_MARKDOWN = "/path/to/multimarkdown --nosmart"
    
    Previously this would fail because TM_MARKDOWN was treated as a single command (with possible spaces in its path).
    
    This commit makes the same change for TM_SMARTYPANTS.
Commits on Aug 1, 2014
  1. @sorbits

    Improve ruby 1.8.7 installer

    sorbits authored
    If installing fails we report failure back to TextMate so that it correctly aborts the command (e.g. if command was supposed to replace input, it won’t swallow the input). We write the error log to stderr so that TextMate will show it in the failure sheet.
  2. @sorbits
Commits on Jul 30, 2014
  1. @sorbits

    Setup RUBYLIB (for our ruby 1.8) to find the included libraries

    sorbits authored
    The binary has hardcoded paths with respect to where the support library is found. To test run: ruby -e'puts $:'.
    
    This is just a quick fix, I am not sure what the proper fix would be since anything below user’s folder is variable. Perhaps we should install ruby 1.8 to /Library instead.
Commits on Jul 23, 2014
  1. @infininight

    Use Ruby 1.8 for compatibility on Yosemite

    infininight authored
    This is for backwards compatibility with bundle items that were designed for ruby 1.8. Input is passed along to ruby 1.8 if already installed or if needed downloading and installing a copy for TextMates exclusive use. This does not affect the system ruby version or any other part of the system. Revised from previous commit due to an error in the ruby build.
Commits on Jul 13, 2014
  1. @infininight

    Revert "Use Ruby 1.8 for compatibility on Yosemite"

    infininight authored
    Revert due to library error referenced in #11.
Commits on Jul 11, 2014
  1. @infininight

    Use Ruby 1.8 for compatibility on Yosemite

    infininight authored
    This is for backwards compatibility with bundle items that were designed for ruby 1.8. Input is passed along to ruby 1.8 if already installed or if needed downloading and installing a copy for TextMates exclusive use. This does not affect the system ruby version or any other part of the system.
Commits on Jun 18, 2014
  1. @infininight

    Point to ruby 1.8 shim

    infininight authored
    Using a shim allows us to catch when 1.8 of ruby is not present and provide other options.
    
    #ignore
  2. @infininight

    Add shim for Ruby 1.8

    infininight authored
    Redirects to ruby 1.8 found on 10.9 and older and provides and error message on Yosemite. This is to be used by bundles that have not yet been updated for 2.0 of ruby.
Commits on Apr 17, 2014
  1. @sorbits

    Fix exception when finding links in output from run commands

    sorbits authored
    The script uses ruby’s ‘expand_path’ with the potential path found in the command output, but this command can throw an exception (on non-path arguments).
Commits on Apr 7, 2014
  1. @sorbits

    Let ⌃C signal direct child (of Executor) instead of deepest child

    sorbits authored
    This mimics how a shell works and presumably anything run via TextMate::Executor that spawns child processes (like a build system) will forward SIGINT/SIGTERM to the proper children.
Commits on Mar 31, 2014
  1. @sorbits

    Users of Executor.run must explicitly request TM_ERROR_FD

    sorbits authored
    This is done by setting ‘:create_error_pipe’ to ‘true’ in the options passed to the function.
    
    The reason we cannot enable it for all commands is that if the command spawns a background/daemon process without closing all open file descriptors, then the new process will effectively stall TextMate::Executor, as it’s preventing the file descriptor from being closed in the parent.
    
    This commit requires that existing uses of TM_ERROR_FD be updated to specify the new argument — since only a handful of commands use it, this is simpler than having to update all commands that does not use this feature of TextMate::Executor.
  2. @sorbits

    Set FD_CLOEXEC when creating pipes

    sorbits authored
    This way we do not have to explicitly close the pipes after fork’ing.
  3. @sorbits
Commits on Feb 25, 2014
  1. @infininight

    Revert "Switch to using AppleScript Runner for request_color"

    infininight authored
    This reverts commit 765cfac.
    
    With textmate/textmate@f128304 this can be reverted.
  2. @infininight

    Revert "Use "System Events" for request_color()"

    infininight authored
    This reverts commit 9825e49.
    
    With textmate/textmate@f128304 this can be reverted.
Commits on Dec 3, 2013
  1. @Down10 @infininight

    Use "System Events" for request_color()

    Down10 authored infininight committed
    The "Applescript Runner" process is unsupported in Mac OS X Mavericks, so the osascript call for 'choose color' is now sent to the "System Events" background process. Fixes textmate/css.tmbundle#13 and MarioRicalde/SCSS.tmbundle#161
Commits on Oct 10, 2013
  1. @sorbits
Commits on Jul 27, 2013
  1. @infininight

    Use version 1.8 of ruby for bundle items

    infininight authored
    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
Commits on Jul 13, 2013
  1. @sorbits

    Account for changed directory when linkifying command output

    sorbits authored
    The current working directory of TextMate::Executor is (with newer TextMate builds) the computer’s temporary directory, so we should not resolve file names against it.
Commits on Jul 9, 2013
  1. @infininight
Commits on Jun 13, 2013
  1. @sorbits

    Set working directory for most ⌘R commands (TextMate.executor)

    sorbits authored
    For projects, the working directory will now be set to the project directory, if there is no project then the file’s directory is used, and if running an untitled document, the user’s home directory is used as a last fallback.
    
    Solves textmate/textmate#994 and textmate/textmate#1010.
Commits on May 19, 2013
  1. @infininight

    Add bundle description

    infininight authored
Commits on May 9, 2013
  1. @sorbits

    Using ⌃C to break command execution could throw exception

    sorbits authored
    This would happen if the direct command executed terminates but a child keeps stdout/err open, causing TextMate to wait for the child to finish.
    
    Pressing ⌃C will search for the process ID of the initial process. If this no longer exist, nil is found and subsequently used, causing a “no method” exception.
    
    The reported case was using the Make bundle with a rule that calls ‘@@mongod --fork’.
  2. @sorbits

    Fix code indenting

    sorbits authored
    Puzzling how it ended up this way as it wasn’t a tab/space mixup and I wrote the original code (and normally do care about indenting code properly ;) ).
Commits on Mar 24, 2013
  1. @sorbits

    Show interpreter (⌘R) when obtaining version fails

    sorbits authored
    Presently bootstrapped interpreters (compilers) like ‘xcrun clang’ can’t be handled via the current TextMate.executor API, so for now we just show the executable (which in this example would be ‘xcrun’). Not ideal, but better than showing a “random” string.
Commits on Mar 15, 2013
  1. @simonc @sorbits

    Converting pathnames to strings

    simonc authored sorbits committed
    Calling `Run` on an unsaved C program would raise
    `no implicit conversion of Pathname into String (TypeError)`.
    It concerns only Ruby 1.9+.
Commits on Mar 14, 2013
  1. @sorbits
Commits on Feb 22, 2013
  1. @sorbits

    Better hyperlinking of untitled documents

    sorbits authored
    Some interpreters will resolve symbolic links in the path they are given, and use this resolved (“real”) path in the error output (e.g. php and coffee-script).
    
    When running untitled documents, we previously only searched for the non-resolved path in the error output (for hyperlinking).
    
    This issue only applies to code using TextMate.executor that does its own hyperlinking.
Commits on Jan 18, 2013
  1. @sorbits
Something went wrong with that request. Please try again.