Permalink
Commits on Oct 16, 2013
  1. Merge pull request #410 from antifuchs/fix-linux-command-deadlock

    Fix Linux command spawning deadlock
    antifuchs committed Oct 16, 2013
  2. Pass a pipe for args from zeus client to command

    Instead of passing the command arguments from the zeus client to the
    zeus master, and from there to the command process over their respective
    sockets, create a streaming socket in the zeus client, pass that socket
    over to the zeus master, have the zeus master pass it on to the command
    process, and read the zero-separated arguments directly in the command.
    
    This has a two advantages:
    
    One, it supports unbounded numbers of arguments on Linux and OS
    X (previous solutions only worked either on one or the other).
    
    Two, it extracts all command argument handling from the zeus master -
    all the master now does is pass a count and an FD from one pipe to
    another.
    antifuchs committed Oct 16, 2013
  3. Record the zeus arguments on config.Args

    This allows people to pass --log to zeus for running commands, and it
    will output the trace log (and execute the right command), also.
    antifuchs committed Oct 16, 2013
Commits on Oct 14, 2013
  1. Resize SO_SNDBUF on unix sockets

    This should ensure that no datagrams get truncated.
    antifuchs committed Oct 3, 2013
Commits on Oct 4, 2013
  1. Fix "slave `boot` was killed", shorten backtraces

    Extract command running from the `go` method. This ensures that the
    process running the command never tries to re-register with the client
    monitor on the Zeus side, which was what caused the "slave `boot` was
    killed" messages mentioned in #410. This was originally broken by the
    recursion elimination in #361 (turns out unrolling recursion is hard!).
    
    As a pleasant side effect, this change also eliminates two more lines in
    the `go` method from backtraces on commands.
    antifuchs committed Oct 4, 2013
Commits on Oct 3, 2013
  1. Merge pull request #405 from antifuchs/bump-fsevents-to-xcode5

    Fix fsevents-wrapper settings so it builds on Xcode5
    antifuchs committed Oct 3, 2013
  2. Reword the "linux" make target slightly

    * Ensure that linux_v is always set, no matter what uname says.
    * Use the $(shell) make function
    * Remove quotes - they seem to not get interpolated for some reason.
    * Use mkdir -p to make building work when the gem already has a "man"
      dir.
    
    This fixes #406.
    antifuchs committed Oct 3, 2013
Commits on Sep 30, 2013
Commits on Aug 23, 2013
  1. Merge pull request #387 from Iazel/patch-1

    Easy `make` for linux users
    latortuga committed Aug 23, 2013
Commits on Aug 10, 2013
  1. Easy `make` for linux users

    Building this gem in linux can be a little tricky cause the lack of `xbuildtool`, but we can now run `make linux` and all go smoothly.
    Obviously, this only compile the binary for the current user's architecture and is meant for personal use only.
    Iazel committed Aug 10, 2013
Commits on Jul 1, 2013
  1. Merge pull request #361 from antifuchs/flatten-client-backtraces

    Remove recursion in favor of iteration for lower backtrace depth
    antifuchs committed Jul 1, 2013
Commits on Jun 26, 2013
Commits on Jun 17, 2013
  1. Merge pull request #365 from sideshowcoder/sub_dir_zeus_sock

    #301 search local project root and put .zeus.sock there
    sideshowcoder committed Jun 17, 2013
Commits on Jun 15, 2013
  1. FIX 301 search local project root and put .zeus.sock there

    - make sure we always put the zeus socket in the project root, when
      launching zeus
    - look for the socket in the project root when trying to connect.
    - ProjectRoot is defined as the next directory down with a Gemfile
    sideshowcoder committed Jun 14, 2013
Commits on Jun 12, 2013
  1. Merge pull request #364 from sideshowcoder/test_cleanup_constant_assi…

    …gnment
    
    Don't reassign Runner constant
    sideshowcoder committed Jun 12, 2013
  2. Don't reassign Runner constant

    With the tests in the correct module we don't need to reassign the
    constant Runner, and make it look cleaner.
    sideshowcoder committed Jun 12, 2013
Commits on Jun 6, 2013
  1. Remove recursion in favor of iteration for lower backtrace depth

    Change the structure of Zeus.go to use throw/catch and iteration
    instead of recursive calls to go in order to boot slaves and
    commands. This changes the number of backtrace frames occupied by Zeus
    to be constant, instead of scaling linear with the depth of the slave
    launching a command.
    antifuchs committed Jun 6, 2013
Commits on Jun 3, 2013
  1. Merge pull request #357 from jroes/patch-1

    Don't think we wanted a code block for a list of example files
    latortuga committed Jun 3, 2013
Commits on Jun 2, 2013
Commits on May 31, 2013
  1. README cleanup

    Clarified some README titles, updated link to rvm GC-patch instructions, added note about minitest/autorun.
    latortuga committed May 31, 2013
Commits on May 25, 2013
  1. removed incorrect comment

    burke committed May 25, 2013
Commits on May 24, 2013
  1. Revert "Don't load JSON in slave initialization [fixes #352]"

    This reverts commit 5dfebe5.
    burke committed May 24, 2013
  2. print the version when zeus starts

    burke committed May 24, 2013
  3. More unixsocket refactoring

    burke committed May 24, 2013
  4. Merge pull request #346 from sideshowcoder/fix_already_initialized_co…

    …nstant_zeus_m_version
    
    Definition causes a already defines constant error
    burke committed May 24, 2013