Permalink
Commits on Feb 25, 2012
Commits on Jan 19, 2012
  1. ExecJS 1.3.0

    josh committed Jan 19, 2012
  2. Add disabled runtime

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

    josh committed Dec 19, 2011
  2. Merge pull request #60 from eckz/fix-directory-executable

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

    josh committed Dec 8, 2011
Commits on Dec 6, 2011
  1. Merge pull request #58 from luislavena/remove-subshells-windows

    sstephenson committed Dec 6, 2011
    Remove subshells windows
  2. Unify executable lookup (which_*) into one

    luislavena committed Dec 6, 2011
    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.
Commits on Dec 5, 2011
  1. ExecJS 1.2.11

    josh committed Dec 5, 2011
  2. Fix `cmd` typo

    josh committed Dec 5, 2011
  3. ExecJS 1.2.10

    josh committed Dec 5, 2011
  4. Merge pull request #57 from tenderlove/shell

    josh committed Dec 5, 2011
    Reduce subshells
Commits on Sep 24, 2011
  1. ExecJS 1.2.9

    josh committed Sep 24, 2011
  2. Merge pull request #51 from cablegram/master

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

    cablegram committed Sep 22, 2011
    …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."
Commits on Sep 20, 2011
  1. ExecJS 1.2.8

    josh committed Sep 20, 2011
  2. Merge pull request #49 from rubys/master

    josh committed Sep 20, 2011
    Fix issue 48 for me
  3. correctly escape windows reserved shell characters

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

    josh committed Sep 20, 2011
Commits on Sep 19, 2011
  1. Join sources with interpolation

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

    josh committed Sep 19, 2011
  3. Ensure all args are shellescaped

    josh committed Sep 19, 2011
Commits on Sep 13, 2011
  1. node returns utf-8

    josh committed Sep 13, 2011
    Fixes #45
  2. ExecJS 1.2.6

    josh committed Sep 13, 2011
  3. Merge test files

    josh committed Sep 13, 2011
  4. Only install johnson on 1.8

    josh committed Sep 13, 2011
  5. Unbox mustang objects

    josh committed Sep 13, 2011
  6. Separate spidermonkey runner

    josh committed Sep 13, 2011
  7. Catch JScript syntax errors too

    josh committed Sep 13, 2011