Permalink
Commits on Nov 30, 2011
  1. Merge branch 'release'

    mbostock committed Nov 30, 2011
  2. Fix #394.

    mbostock committed Nov 30, 2011
Commits on Nov 23, 2011
  1. Namespaces are optional now!

    mbostock committed Nov 23, 2011
  2. Merge branch 'release'

    mbostock committed Nov 23, 2011
  3. Infer namespaces for root element.

    mbostock committed Nov 23, 2011
    Now if you add an "svg" element, we automatically infer the namespace because
    there is an "svg" namespace prefix. In conjunction with inheriting the namespace
    from the parent element, this means that namespaces are almost optional!
  4. Add transpose.

    mbostock committed Nov 23, 2011
  5. Brushing for ordinal scales.

    mbostock committed Nov 23, 2011
    Since the ordinal scale's domain is not continuous, the brush extent is reported
    in the range rather than in the domain for ordinal scales. We'll leave it to the
    caller to interpret this as desired.
  6. Ordinal scales for axes.

    mbostock committed Nov 23, 2011
Commits on Nov 22, 2011
  1. Merge branch 'fix-dispatch'

    mbostock committed Nov 22, 2011
  2. dispatch.on(name) returns the current listener.

    mbostock committed Nov 22, 2011
    Fixes #383. This includes a non-backwards-compatible change to d3.rebind, so as
    to make it easier to rebind multiple methods on subclasses.
  3. Fix a bug when removing a shared listener.

    mbostock committed Nov 22, 2011
    Previously, each listener function had a private _on property which recorded
    whether the listener was enabled; this was set to false when the listener was
    removed. (This is necessary because of the copy-on-write semantics when the
    array of listeners is modified while events are being dispatched.) If the
    listener was registered for multiple event types ("foo" and "bar") then removing
    the listener for any type would disable it for all types.
    
    The fix is to wrap the listener in an object. This also has better encapsulation
    since the state is kept private.
Commits on Nov 19, 2011
  1. Add .npmignore.

    mbostock committed Nov 19, 2011
Commits on Nov 16, 2011
  1. Merge branch 'release'

    mbostock committed Nov 16, 2011
  2. Merge branch 'master' into log

    mbostock committed Nov 16, 2011
  3. Slightly smaller code.

    mbostock committed Nov 16, 2011
  4. Bump epsilon.

    jasondavies committed Nov 16, 2011
  5. Fix d3.transform and add browser-based tests.

    jasondavies committed Nov 16, 2011
    This Fixes various corner cases involving negative and zero scales, as
    well as proper support for skewX, which previously wasn't being computed
    correctly.
    
    Fixes #377.
  6. Merge branch 'master' into drag

    mbostock committed Nov 16, 2011
Commits on Nov 15, 2011
  1. Fix a couple bugs with transforms.

    mbostock committed Nov 15, 2011
    We need to check the matrix determinant for flipped coordinates. We also need to
    check for invalid transforms, which are now treated as the identity transform.
Commits on Nov 14, 2011
Commits on Nov 10, 2011
  1. Restore conservative click canceling.

    mbostock committed Nov 10, 2011
    See #312. The also fixes the zoom behavior so that it cleans up temporary state
    when the zoom gesture is done. And, it fixes both behaviors such that the
    mouseup event is always stopped from propagation if a gesture occurs (even if a
    subsequent click is not prevented).
  2. Add drag.origin accessor.

    mbostock committed Nov 10, 2011
    This allows you to specify how the drag behavior should infer the current
    position of the targetted element, such that a fixed offset can be maintained
    between the mouse position and the element position for the duration of the drag
    gesture. For example, if your data is an {x, y} object, use origin(Object).
  3. Fixed precision for the default log tick format.

    mbostock committed Nov 10, 2011
    Also add @jmarca's test case.