Permalink
Commits on Jan 19, 2012
  1. @josh

    ExecJS 1.3.0

    josh committed Jan 19, 2012
  2. @josh

    Add disabled runtime

    josh committed Jan 19, 2012
Commits on Dec 19, 2011
  1. @josh

    ExecJS 1.2.13

    josh committed Dec 19, 2011
  2. @josh

    Merge pull request #60 from eckz/fix-directory-executable

    Fixes #59. Avoid find directories as executables.
    josh committed Dec 19, 2011
Commits on Dec 8, 2011
  1. @josh

    ExecJS 1.2.12

    josh committed Dec 8, 2011
Commits on Dec 6, 2011
  1. @sstephenson

    Merge pull request #58 from luislavena/remove-subshells-windows

    Remove subshells windows
    sstephenson committed Dec 6, 2011
  2. @luislavena
  3. @luislavena

    Unify executable lookup (which_*) into one

    In the case of Windows, shelling out to perform the lookup was even more
    expensive than POSIX.
    
    What was done here is remove the dependency on `which.bat` support file and
    perform a direct lookup over ENV['PATH'] looking for the required
    executable.
    
    The approach taken will append '.exe' to supplied cmd name under Windows.
    
    Only .exe are truly executables and anything else (.bat, .vbs, .msc) can't
    be executed directly.
    
    To execute batch files (.bat, .cmd), Ruby wraps them with cmd.exe.
    
    Based on existing executables on the platform (node.exe, cscript.exe) and
    that .com hasn't been seen in the past 10 years (only for compatibility),
    the lookup over PATHEXT seems unnecessary.
    luislavena committed Dec 6, 2011
Commits on Dec 5, 2011
  1. @josh

    ExecJS 1.2.11

    josh committed Dec 5, 2011
  2. @josh

    Fix `cmd` typo

    josh committed Dec 5, 2011
  3. @josh

    ExecJS 1.2.10

    josh committed Dec 5, 2011
  4. @josh

    Merge pull request #57 from tenderlove/shell

    Reduce subshells
    josh committed Dec 5, 2011
  5. @tenderlove
  6. @tenderlove
Commits on Sep 24, 2011
  1. @josh

    ExecJS 1.2.9

    josh committed Sep 24, 2011
  2. @josh

    Merge pull request #51 from cablegram/master

    Ensure that commands and args are properly quoted if they contain spaces or reserved shell characters (on Windows).
    josh committed Sep 24, 2011
Commits on Sep 22, 2011
  1. @cablegram

    Ensure that commands and args are properly quoted if they contain spa…

    …ces or reserved shell characters (on Windows).
    
    
    http://technet.microsoft.com/en-us/library/cc723564.aspx states that "all reserved shell characters not in double quotes must be escaped." It also states that "any argument that contains spaces...must be enclosed in double quotes" Furthermore, "if a double-quoted argument itself contains a double quote character, the double quote must be doubled."
    cablegram committed Sep 22, 2011
Commits on Sep 20, 2011
  1. @josh

    ExecJS 1.2.8

    josh committed Sep 20, 2011
  2. @josh

    Merge pull request #49 from rubys/master

    Fix issue 48 for me
    josh committed Sep 20, 2011
  3. @rubys

    correctly escape windows reserved shell characters

    Cope with @binary with values such as:
      C:\Windows\System32\cscript.exe //E:jscript //Nologo //U
    rubys committed Sep 20, 2011
  4. @josh

    Quote windows shell args

    josh committed Sep 20, 2011
  5. @josh
Commits on Sep 19, 2011
  1. @josh

    Join sources with interpolation

    JRuby's String#join doesn't respect encodings
    
    Fixes #47
    josh committed Sep 19, 2011
  2. @josh

    ExecJS 1.2.7

    josh committed Sep 19, 2011
  3. @josh

    Ensure all args are shellescaped

    josh committed Sep 19, 2011
Commits on Sep 13, 2011
  1. @josh

    node returns utf-8

    Fixes #45
    josh committed Sep 13, 2011
  2. @josh

    ExecJS 1.2.6

    josh committed Sep 13, 2011
  3. @josh

    Merge test files

    josh committed Sep 13, 2011
  4. @josh

    Only install johnson on 1.8

    josh committed Sep 13, 2011
  5. @josh

    Unbox mustang objects

    josh committed Sep 13, 2011
  6. @josh

    Separate spidermonkey runner

    josh committed Sep 13, 2011
  7. @josh

    Catch JScript syntax errors too

    josh committed Sep 13, 2011
  8. @josh

    Encode UTF-8 literals for JScript

    josh committed Sep 13, 2011
Commits on Sep 12, 2011
  1. @josh

    Lets be serious

    its never going to be green
    josh committed Sep 12, 2011