Commits on May 23, 2016
  1. Mark Spooky as unmaintained.

    I do not have time to maintain Spooky and have grown weary of receiving bug reports that I am not able to investigate or fix. So, I'm going to mark it unmaintained and will unsubscribe from updates about its issues, etc.
    I would love for whatever Spooky community exists to take over maintenance. If you are interested in doing so, please contact me on gitter.
    lawnsea committed May 23, 2016
Commits on Feb 25, 2016
  1. Added Gitter badge

    [close #167]
    gitter-badger committed with lawnsea Aug 10, 2015
  2. Event listeners leak warning (tiny-jsonrpc)

    Fixes #104
    [close #152]
    noodny committed with lawnsea Jul 10, 2015
Commits on Feb 21, 2015
  1. Use correct option when checking dupe instances

    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]
    lawnsea committed Feb 21, 2015
  2. handle non-ascii payload

    Calculate `Content-Length` from the number of bytes in the payload, not from the
    length of the corresponding string representation.
    [fix #110]
    [close #125]
    vinayr committed with lawnsea Dec 19, 2014
Commits on Nov 8, 2014
  1. Bump version and cut release

    lawnsea committed Nov 8, 2014
  2. disable 0.8 in travis for now

    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
    lawnsea committed Nov 8, 2014
Commits on Oct 22, 2014
  1. Catching carriage returns

    ChrisAntaki committed Oct 22, 2014
Commits on Oct 8, 2013
  1. Set up Travis

    close #77
    lawnsea committed Oct 8, 2013
  2. Fix or override jshint gripes

    lawnsea committed Oct 8, 2013
  3. Set up grunt and add jshint task

    close #76
    lawnsea committed Oct 8, 2013
Commits on Sep 27, 2013
  1. Bump version and cut release

    Also add repo to package.json so npm will stfu
    lawnsea committed Sep 27, 2013
  2. Play nice with Casper > v1.0.2

    - 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
    lawnsea committed Sep 16, 2013
  3. Use a spec-compliant polyfill for bind

    Casper's prototype was not compliant (see casperjs/casperjs#631). While this is
    fixed in Casper latest, it's an issue in older versions.
    So, use mozilla's polyfill.
    lawnsea committed Sep 16, 2013
Commits on Sep 21, 2013
  1. Add support for child.spawnOptions

    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
    lawnsea committed Sep 21, 2013
Commits on Sep 20, 2013
  1. Serialize function values in casper options

    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
    lawnsea committed Sep 20, 2013
  2. Teach tests to throw if spooky emits an error

    On an `error` event, throw unless `context.spooky.swallowErrors` is truthy.
    close #47
    lawnsea committed Sep 20, 2013
Commits on Sep 19, 2013
  1. implement withFrame, withPopup, and waitForPopup

    Thanks to @asciidisco for the original idea to get this done
    close #30
    lawnsea committed Sep 19, 2013
Commits on Sep 16, 2013
  1. Update hello example to listen before ready

    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.
    lawnsea committed Sep 16, 2013
Commits on Jul 5, 2013
  1. Merge pull request #67 from WoZ/fix-args-order-in-request-stream-onerror

    Invalid order of arguments was fixed in RequestStream's _onError method.
    lawnsea committed Jul 5, 2013
Commits on Jul 4, 2013
  1. Bump version and cut release

    lawnsea committed Jul 4, 2013
  2. Allow casper restart in stdio server

    Always run the server event loop while casper is not running. This hacks
    around the blocking behavior of the phantom readLine implementation.
    kpdecker committed Jul 4, 2013
Commits on Jun 8, 2013
  1. Inherit Spooky from EventEmitter correctly

    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
    lawnsea committed Jun 8, 2013
Commits on May 6, 2013
  1. Move emit to module and provide console methods

    `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:
    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
    lawnsea committed May 6, 2013
  2. Test that stdio-server crashes if passed invalid JSON

    Also factor child spawning out as a separate module for tests
    lawnsea committed May 6, 2013
  3. Bump version and cut release

    lawnsea committed May 6, 2013
  4. Refactor FilteredStream to be a readable-stream.Transform

    Accept npm's format for package.json so --save is less disruptive in the future.
    lawnsea committed May 6, 2013