Permalink
Commits on Jul 5, 2012
Commits on Jul 3, 2012
  1. Merge branch '2.9.6'

    mbostock committed Jul 3, 2012
  2. Fix more bugs in circle clipping.

    It was returning 0 rather than null when a feature was completely clipped, and
    it was crashing when a closed polygon was completely clipped.
    mbostock committed Jul 3, 2012
Commits on Jul 2, 2012
  1. Optimize greatArc and circle.

    When clipping, the origin of the great arc doesn’t change, so we can cache a
    number of intermediate values and accelerate the clipping computation.
    mbostock committed Jul 2, 2012
  2. Condense code slightly.

    mbostock committed Jul 2, 2012
  3. Fix #691: remove incorrect last interpolation step.

    For closed polygons, the last point should simply be connected to the
    first clipped point, rather than be clipped to the clipping circle.
    jasondavies committed Jul 2, 2012
Commits on Jun 29, 2012
Commits on Jun 28, 2012
  1. Faster d3.geo.path implementation.

    Rather than creating separate arrays for each geometry, a shared buffer is used
    and the array is only converted to a string once.
    mbostock committed Jun 28, 2012
Commits on Jun 25, 2012
  1. Don't transition label positioning attributes.

    The axis component no longer uses a transition for the text elements' dy and
    text-anchor attributes. This makes it easier to style the labels using post-
    selection, since the transition will not override custom attribute values.
    mbostock committed Jun 25, 2012
Commits on Jun 24, 2012
  1. Merge branch '2.9.5'

    mbostock committed Jun 24, 2012
  2. Remove extraneous parens.

    mbostock committed Jun 24, 2012
  3. Add generated files.

    mbostock committed Jun 24, 2012
  4. Fix bug with unexpected transition inheritance.

    Prior to this change, transitions used transition.each internally, which had the
    unexpected side-effect of enabling transitions on d3.transition(selection) when
    called from within a tween function. This would only occur on the first
    invocation of the tween function when the elapsed time between the transition
    creation and the transition start was greater than the transition delay;
    however, this is fairly common as the default delay for transitions is zero.
    
    This bug caused unexpected behavior if you tried to redraw an axis within a
    custom tween function: in some cases, the synchronous redraw of the axis would
    compete with a concurrent transition, causing unexpected behavior. By avoiding
    the use of transition.each internally, the user now controls when automatic
    transitions are enabled.
    mbostock committed Jun 24, 2012
Commits on Jun 22, 2012
Commits on Jun 20, 2012
  1. Remove spurious whitespace from class name list before splitting to e…

    …liminate null strings, which generate an error from classed(value, false). Fixes #675.
    krid committed Jun 20, 2012
Commits on Jun 19, 2012
  1. Merge branch '2.9.4'

    mbostock committed Jun 19, 2012
Commits on Jun 14, 2012
  1. Merge branch '2.9.3'

    mbostock committed Jun 14, 2012
  2. Always display powers-of-ten tick labels.

    Previously, the log scale's tick format would hide all labels when there was not
    enough room to display the requested number of ticks; now it at least displays
    the power-of-ten labels. Fixes #655.
    mbostock committed May 29, 2012
Commits on Jun 1, 2012
Commits on May 29, 2012
  1. When using Sizzle, the API for `d3_select` changes when there is no e…

    …lement to select. When using Sizzle, `undefined` is returned since `[][0] === undefined`. Without Sizzle, `d3_select` returns `null`. This is a problem, because IE9 does not support calling `HTMLElement.insertBefore` (see selection-insert.js) with `undefined` as the second argument; `null` is fine, though.
    geowa4 committed May 29, 2012