Permalink
Commits on Mar 7, 2012
  1. Merge pull request #585 from cscheid/master

    fix typo on path
    mbostock committed Mar 7, 2012
Commits on Mar 6, 2012
  1. fix typo on path

    Carlos Scheidegger committed Mar 6, 2012
Commits on Mar 2, 2012
  1. Merge branch 'release'

    mbostock committed Mar 2, 2012
  2. Include brush mode with event.

    This allows listeners to distinguish between move and resize events.
    mbostock committed Mar 2, 2012
Commits on Feb 29, 2012
  1. Fixes #576: leap year bug in d3.time.format.

    We need to set the date fields from year down, rather than in arbitrary order.
    mbostock committed Feb 29, 2012
  2. Fix drift in brush extent.

    Previously, if you set the brush extent externally, the extent could drift
    slightly because it was internally stored in pixel space rather than in data
    space. To avoid drift, the brush now preserves the extent exactly as-set, only
    nullifying the externally-set extent when the brush is moved.
    mbostock committed Feb 29, 2012
  3. Update histogram example.

    mbostock committed Feb 29, 2012
Commits on Feb 27, 2012
  1. Re-entrant transition.each.

    In theory, you could call transition.each within the context of another
    transition.each, so we should be careful how we restore the default settings.
    mbostock committed Feb 27, 2012
Commits on Feb 26, 2012
  1. Inheritance for transition.each.

    If you use d3.transition(selection) within the context of a transition.each, the
    created transition will automatically inherit the delay, duration and easing of
    the parent transition. Likewise, if you use d3.transition(selection) within the
    context of a selection.each, it simply returns the passed-in selection with no
    transition at all. This makes it easier to create components, such as the axis,
    that support automatic transitions.
    mbostock committed Feb 26, 2012
Commits on Feb 25, 2012
  1. update to latest jsdom

    The update is to get the most recent version of contextify
    which is a dependency of jsdom. Previous versions of 
    contextify always generate a 64 library module. v0.6.11 of
    node on macos is a 32-bit ARCH. The latest version of 
    contextify  builds an ARCH that matches node NOT the arch
    of the system.
    
    See: brianmcd/contextify#19
    stepheneb committed Feb 25, 2012
  2. Merge branch 'v2.8.0'

    mbostock committed Feb 25, 2012
Commits on Feb 23, 2012
  1. Add tests for d3.scale.identity.

    Also, we need to coerce the input values to numbers, since this is a
    quantitative scale and the ticks and tickFormat methods assume numbers.
    mbostock committed Feb 23, 2012
  2. Save two bytes. :trollface:

    mbostock committed Feb 23, 2012
  3. Rewrite brush to use transient listeners.

    Fixes #566. Closures are way better than globals!
    mbostock committed Feb 23, 2012
  4. Transient listeners for drag behavior.

    Fixes #516.
    mbostock committed Feb 23, 2012
  5. Fix a bug when clearing event listeners.

    We weren't deleting the reference to the removed listener, so we were leaking
    memory and returning a stale value on a subsequent get. Also, we now stash the
    capture value when setting an event listener, so that we can automatically
    remove or replace a listener without the caller needing to specify capture.
    mbostock committed Feb 23, 2012
  6. Add sourceEvent to custom events.

    The drag behavior, zoom behavior and brush component now set a "sourceEvent"
    property on their events, defined as the triggering mouse or touch event. The
    d3.mouse and d3.touches helpers likewise use the source event, letting you query
    the mouse or touch location when handling a custom event.
    mbostock committed Feb 23, 2012
Commits on Feb 22, 2012
  1. Force transition duration of at least 1ms.

    Fixes #493. Also terminates any transitions with negative or NaN durations,
    rather than having them run infinitely. Also coerces NaN delays to 0 as well, to
    likewise avoid infinite transitions.
    mbostock committed Feb 22, 2012
Commits on Feb 21, 2012
  1. Query data via selection.data(). Fixes #525.

    This method returns the array of data for the first group in the selection. Note
    that the data method cannot be used to clear data bindings, since it computes a
    data join; use datum(null) to clear bound data.
    mbostock committed Feb 21, 2012
  2. Add selection.datum. Fixes #489.

    mbostock committed Feb 21, 2012
  3. Slight simplification to d3.ns.qualify.

    This changes the behavior slightly, but in a good way: if the namespace is
    unknown, then it is ignored rather than returning an undefined namespace.
    mbostock committed Feb 21, 2012
  4. Adopt d3.map for d3.format.

    mbostock committed Feb 21, 2012