Skip to content
Commits on Dec 10, 2011
  1. Add support for client -> server notifications and message passing.

    committed
    Using @notify(event, ...args, resume) tests can talk to Node.js on the
    server-side. Data can be exchanged as long as it is serialisable.
    
    See test_notify.coffee / Lottefile for an example.
  2. Whoops, collect garbage properly.

    committed
    The previous code was off-by-one causing Lotte to hang in certain situations.
  3. Add a dummy HTTP server.

    committed
    This server will be used for IPC with PhantomJS. Events, such as test
    case start, pass, fail, etc. will be communicated over HTTP (not yet
    implemented).
    
    The server is enabled by default, but can be disabled either using
    '--no-server' on the command line or 'server = false' in a Lottefile.
    
    The default listening port is 3838 which should be unprivileged.
    The default bind address is localhost, 127.0.0.1.
  4. Allow Lottefile to log messages, require additional files, etc.

    committed
    Export useful objects and functions which we think may be used within a
    Lottefile. This will be helpful when dealing with plug-ins.
  5. Recognise *.coffee files by default as well.

    committed
    The previous pattern only matched JavaScript files. Since Lotte supports
    CoffeeScript out-of-the box, accept lotte_*.coffee files by default.
Commits on Dec 9, 2011
  1. Add @using(..) helper to pass objects to PhantomJS.

    committed
    This hack has the same limitations as when passing variables from PhantomJS
    to Lotte - it can only work on simple types and cannot serialize functions,
    regular expressions, etc.
    
    It is still better than having nothing or having to write the code yourself
    each time a variable from a different environment is needed.
  2. Add `make publish`.

    committed
Commits on Nov 24, 2011
  1. Bump version.

    committed
  2. More Windows support, d'oh!

    committed
    When normalizing the path, convert back slashes to forward slashes
    so minimatch can process the glob properly.
    
    When passing a filename to `coffee`, wrap it in double quotes, the
    Windows shell does not like single quotes.
  3. Add Windows path support.

    committed
    When expanding internal require's(..), process Windows paths as well.
    Since the directory separator is '\' and not '/' we need to look for
    another character which would indicate this is a path, not a system
    require(..) call.
  4. Bump version.

    committed
  5. Update `mktemp` command to work on Mac OS X.

    committed
    On Linux, the options and template arguments are both optional.
    On Mac OS X you must provide either a path or a template where
    each 'X' is substituted with a random character (8 should do).
  6. Improve Node.js 0.6.x support.

    committed
    - Remove tests where authentication fails, this now causes PhantomJS to
      hang with Node 0.6.2
    - Use response.writeHead and response.end without a status code as both
      send headers causing Node 0.6.2 to spit endless screens of warnings
    - Bump supported version in package & README
Commits on Nov 20, 2011
  1. Bump version.

    committed
  2. When '--' is passed on the command-line, default the path to cwd().

    committed
    The previous behaviour was buggy as it didn't set the path if '--' was passed.
  3. Bump version, #nfc.

    committed
  4. Add support for unboxing CSSStyleDeclaration.

    committed
    This simulates jQuery's .css(..) when accessing the .style property.
    Since PhantomJS can only return simple objects, we need to manually
    unbox the values into a proper object hash.
Commits on Nov 14, 2011
Commits on Nov 3, 2011
  1. Update README with initial documentation on the global context, prere…

    committed
    …quisites, etc. (forced update)
  2. Update README with initial documentation on the global context, prere…

    committed
    …quisites, etc. (forced update)
Something went wrong with that request. Please try again.