Permalink
Commits on Sep 18, 2012
  1. Merge pull request #16 from davglass/chrome

    Identify Chrome on iOS and Android
    reid committed Sep 18, 2012
Commits on Sep 17, 2012
  1. Add CONTRIBUTING.md.

    reid committed Sep 17, 2012
Commits on Sep 12, 2012
  1. Show LAN IP address instead of simply `localhost`.

    Use os.networkInterfaces() to get an external IP.
    
    Also display the localhost address in case the LAN IP
    is not routable when visiting from localhost.
    reid committed Sep 12, 2012
Commits on Sep 10, 2012
  1. Remove throw-on-no-tty because it is not reliable.

    process.stderr.isTTY is not false when it needs to be.
    The check was doing more harm than good.
    
    Thanks to Olan Byrne for reporting this issue.
    http://yuilibrary.com/forum/viewtopic.php?p=33183#p33183
    reid committed Sep 10, 2012
Commits on Aug 29, 2012
Commits on Aug 28, 2012
  1. Remove socket.writable assertions.

    We handle write failures by buffering data until
    the next write or drain event.
    reid committed Aug 28, 2012
  2. AgentManager reschedules timer when TTL < 10 sec.

    The AgentManager sets an interval for agent reaping
    every 10 seconds. If agent timeouts are < 10 seconds,
    then the timeout may be delayed as much as 10 seconds
    before the reap check happens.
    
    Reschedule the AgentManager's reap timer when an Agent
    requests a TTL under 10 seconds.
    
    Add a functional test for timeout behavior.
    reid committed Aug 28, 2012
Commits on Aug 27, 2012
  1. Work on 0.2.10pre.

    reid committed Aug 27, 2012
  2. Version 0.2.9.

    reid committed Aug 27, 2012
  3. Improve query string documentation.

    reid committed Aug 27, 2012
  4. Move periods around in #ft.

    reid committed Aug 27, 2012
Commits on Aug 26, 2012
  1. Add Easy to Use and Made for YUI to landing page.

    Includes more CSS fixups for mobile devices.
    reid committed Aug 26, 2012
  2. Update README.md documentation.

    Among other things:
    
    - Put installation first.
    - Removed unused links.
    - Include download links for dependencies outside npm.
    reid committed Aug 26, 2012
Commits on Aug 25, 2012
Commits on Aug 24, 2012
  1. Set timeouts per batch, enforce timeouts.

    Accept a `timeout` option in createBatch
    and a `--timeout` option on the command line
    to specify an agent timeout in seconds.
    
    No longer use a `waiting` flag for agents on the
    capture page. Instead, the capture page now checks
    in with the Hub every 10 seconds which resets the
    server-side agent timeout.
    
    Change the server-side agent timeout to 45 seconds,
    up from 3.6 seconds.
    reid committed Aug 24, 2012
Commits on Aug 23, 2012
  1. Extend doc for agentError and agentScriptError.

    Define event payload's `details` object properties.
    reid committed Aug 23, 2012
  2. Print test results on stdout instead of stderr.

    Allows capturing test results to a file.
    Rapid status line changes occur on stderr instead.
    reid committed Aug 23, 2012
  3. Reset heartbeat timer when test files are served.

    The heartbeat timer is only reset when YUI Test reports
    a test pass or fail event. If a test fails to run any YUI Tests
    before the heartbeat timeout of 45 seconds, then future tests
    will immediately hit this timeout because the timeout is not
    cleared when a new test is requested.
    
    This fix causes the timer to reset when test-related files
    are served, which includes requesting a new test.
    
    Credit to John Traver <jtraver@yahoo-inc.com> for
    reporting this issue.
    reid committed Aug 23, 2012
  4. YUI Test Coverage support. Display line coverage.

    If tested code was instrumented with YUI Test Coverage,
    coverage data will be passed along with test results
    in the agentResults event.
    
    The `./go yui` script uses the recently-added `--query`
    command-line option to run YUI's tests with `filter=coverage`
    in the query string, which triggers YUI Loader to load
    instrumented files.
    
    A basic line coverage percentage is displayed during testing
    on the command line when coverage data is available.
    reid committed Aug 23, 2012
  5. Remove query part of req.url for test requests.

    The query part should not be treated as a part of the filename.
    reid committed Aug 23, 2012
Commits on Aug 22, 2012
  1. Refactor Batch-related APIs to use options object.

    Instead of changing several argument lists when adding
    a new parameter to the Batch, use an object with expandable
    properties. These properties are defined in YUIDoc code
    comments above `Client.createBatch()`.
    
    Introduce `util.shallowClone()` on the new `util` module,
    which is an extension of the built-in `util`. When modifying
    the options object argument, copy the object first using
    `shallowClone` to prevent breaking API users, including
    our own tests.
    reid committed Aug 22, 2012
  2. Provide query CLI option to the server.

    The query option specifies a query-string parameter
    that will be added during testing. This is used
    to trigger YUI Loader to load instrumented files
    for code coverage, e.g. with filter=coverage.
    
    Note: router support for the query string does not exist yet,
    so files requested will contain the query part of the URL
    as the filename.
    reid committed Aug 22, 2012