Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Feb 21, 2015
  1. @lawnsea

    Use correct option when checking dupe instances

    lawnsea authored
    Previously, the code looked at `options.port`, which isn't a thing. So, the port
    was always the string `'undefined'`. Instead, look at `options.child.port`.
    
    [fix #124]
    [close #136]
  2. @vinayr @lawnsea

    handle non-ascii payload

    vinayr authored lawnsea committed
    Calculate `Content-Length` from the number of bytes in the payload, not from the
    length of the corresponding string representation.
    
    [fix #110]
    [close #125]
Commits on Nov 8, 2014
  1. @lawnsea

    Bump version and cut release

    lawnsea authored
  2. @lawnsea

    disable 0.8 in travis for now

    lawnsea authored
    Travis builds are failing for 0.8. Until that is fixed or we decide to
    drop 0.8 support, disable them.
    
    fix #95, close #116
Commits on Oct 22, 2014
  1. @ChrisAntaki

    Catching carriage returns

    ChrisAntaki authored
Commits on Oct 8, 2013
  1. @lawnsea

    Tell travis to install casper

    lawnsea authored
  2. @lawnsea

    Set up Travis

    lawnsea authored
    close #77
  3. @lawnsea

    Fix or override jshint gripes

    lawnsea authored
  4. @lawnsea

    Set up grunt and add jshint task

    lawnsea authored
    close #76
Commits on Sep 27, 2013
  1. @lawnsea

    Bump version and cut release

    lawnsea authored
    Also add repo to package.json so npm will stfu
  2. @lawnsea

    Play nice with Casper > v1.0.2

    lawnsea authored
    - Call patchRequire for Casper > v1.0.2
    - Fix hello example to work with recent Caspers
    - Fix tests to work with old and new casper require
    
    Thanks to @rumca and @ucarbehlul for helping me run this one down.
    
    close #73
    close #75
  3. @lawnsea

    Use a spec-compliant polyfill for bind

    lawnsea authored
    Casper's prototype was not compliant (see n1k0/casperjs#631). While this is
    fixed in Casper latest, it's an issue in older versions.
    
    So, use mozilla's polyfill.
Commits on Sep 21, 2013
  1. @lawnsea

    Add support for child.spawnOptions

    lawnsea authored
    Add a `spawnOptions` key to `options.child` that will be passed as the `options`
    argument of `child_process.spawn` when creating a spooky instance. The default
    is the empty object.
    
    Note that setting `options.child.spawnOptions.env` will pass those variables
    *instead* of the environment of the node process. It is recommended to make sure
    that `PATH` and friends are passed.
    
    close #72
  2. @lawnsea
Commits on Sep 20, 2013
  1. @lawnsea

    Serialize function values in casper options

    lawnsea authored
    Serialize function and function tuple values in `options.casper` recursively.
    
    NOTE: `bootstrap/casper` only deserializes functions starting with 'on' and
    those that are children of `httpStatusHandlers`.
    
    close #52
  2. @lawnsea

    Teach tests to throw if spooky emits an error

    lawnsea authored
    On an `error` event, throw unless `context.spooky.swallowErrors` is truthy.
    
    close #47
Commits on Sep 19, 2013
  1. @lawnsea

    implement withFrame, withPopup, and waitForPopup

    lawnsea authored
    Thanks to @asciidisco for the original idea to get this done
    
    close #30
Commits on Sep 16, 2013
  1. @lawnsea

    Update hello example to listen before ready

    lawnsea authored
    Previously, the error handlers were registered in the constructor callback. This
    made it difficult to diagnose and report failures before `ready` was emitted.
    
    Instead, listen immediately for all events.
  2. @lawnsea
Commits on Jul 5, 2013
  1. @lawnsea
  2. @lawnsea

    Merge pull request #67 from WoZ/fix-args-order-in-request-stream-onerror

    lawnsea authored
    Invalid order of arguments was fixed in RequestStream's _onError method.
Commits on Jul 4, 2013
  1. @lawnsea
  2. @lawnsea

    Bump version and cut release

    lawnsea authored
  3. @kpdecker

    Allow casper restart in stdio server

    kpdecker authored
    Always run the server event loop while casper is not running. This hacks
    around the blocking behavior of the phantom readLine implementation.
Commits on Jun 8, 2013
  1. @lawnsea

    Inherit Spooky from EventEmitter correctly

    lawnsea authored
    Previously, the constructor did not pass new instances through EventEmitter, so
    all Spooky instances shared the same EventEmitter instance state. Instead, use
    util.inherits and call EventEmitter when constructing Spooky instances.
    
    Thanks to @tomchentw for figuring this one out.
    
    Close #51, #60
Commits on May 6, 2013
  1. @lawnsea

    Move emit to module and provide console methods

    lawnsea authored
    `lib/bootstrap/emit` now provides `emit(<event>, params...)` and
    `console.log(what...)` and friends. For now, `console` methods with a level
    other than `log` prepend their level to the message. So:
    
    ```javascript
    var console = require(options.spooky_lib + 'lib/bootstrap/emit').console;
    
    console.log('hey', 'yo'); // -> emit('console', 'hey yo');
    console.debug('hey', 'yo'); // -> emit('console', 'debug hey yo');
    ```
    
    close #45
  2. @lawnsea

    Test that stdio-server crashes if passed invalid JSON

    lawnsea authored
    Also factor child spawning out as a separate module for tests
  3. @lawnsea

    Bump version and cut release

    lawnsea authored
  4. @lawnsea
  5. @lawnsea

    Refactor FilteredStream to be a readable-stream.Transform

    lawnsea authored
    Accept npm's format for package.json so --save is less disruptive in the future.
Commits on May 5, 2013
  1. @lawnsea

    Throw on invalid JSON input to http/stdio server

    lawnsea authored
    Include offending line in the error message
    
    Close #46
  2. @lawnsea

    Use system.stdin instead of /dev/stdin

    lawnsea authored
    Remove buffering logic
    
    close #42
  3. @lawnsea
  4. @lawnsea
Something went wrong with that request. Please try again.