Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 20, 2011
  1. Fix a bug in enter selection's empty.

    authored
    Due to the ordering in which the prototypes are defined, it was still undefined!
    Also, the empty method depends on the node method being defined. Added a test.
Commits on Oct 19, 2011
  1. Fix cartogram for IE9.

    authored
Commits on Oct 17, 2011
  1. @jasondavies

    Update JSDOM to 0.2.8.

    jasondavies authored
Commits on Oct 14, 2011
  1. Consistent timing for subtransitions.

    authored
    It was previously possible for small differences in the reference time for
    subtransitions. This could lead to tearing with expensive transitions, as some
    transitions would have slightly different reference times than the others. This
    is fixed by passing the reference time along explicitly when deriving a new
    transition, either by the transition or selection operators.
Commits on Oct 13, 2011
  1. @jasondavies

    Update UglifyJS, JSDOM and Vows.

    jasondavies authored
    I ran the tests on the newly minified files too, for good measure, and
    everything passed.
Commits on Oct 12, 2011
  1. Fix a daylight savings bug in d3.time.format.

    authored
    We weren't computing the day-of-year number correctly, which affected both day
    number and week number directives (%j, %U, and %W).
  2. Merge branch 'release'

    authored
  3. Add extended ISO 8601 support.

    authored
    The d3.time.format.iso is designed to be compatible with the default JSON
    serialization of dates, which includes milliseconds. So, d3.time.format now
    supports the %L directive for formatting and parsing milliseconds. This commit
    also changes d3.time.format.iso to use native ISO date methods, if available.
Commits on Oct 11, 2011
  1. Fix a rounding bug in SI-prefix format.

    authored
    Also, expose d3.formatPrefix so that it's easier for callers to create a
    formatter for a specific prefix (such as using the "G" prefix for all ticks).
  2. @jasondavies
  3. Add DOM-to-Canvas example.

    authored
  4. Merge branch 'release'

    authored
  5. Better rounding of significant digits.

    authored
    This simplifies the implementation and fixes a few bugs. The si prefix format
    ("s") now supports variable precision; in fact, you are strongly recommended to
    specify a precision, such as ".3s".
  6. Add d3.median.

    authored
Commits on Oct 10, 2011
  1. Minor fixes for the axis component.

    authored
    You can now change the orientation and the axis will redraw correctly. When an
    axis is applied by a transition, the subtransitions will properly inherit the
    transition id, allowing transitions on reselected elements to continue.
Commits on Oct 8, 2011
  1. @jasondavies

    Rearrange polygon tests.

    jasondavies authored
    This arranges them first by the type of polygon we're testing, then the
    operations.  I've added tests for clockwise polygons too, for good
    measure.
  2. @jasondavies

    Add tests for d3.geom.polygon and fix centroid bug.

    jasondavies authored
    d3.geom.polygon(…).area() assumes screen pixel coordinates with (0, 0)
    at the top left, and y increasing going downwards.  This results in a
    positive area for counterclockwise coordinates.  Howver, the default
    centroid calculation was assuming "usual" Cartesian coordinates with y
    increasing going upwards, hence the centroid coordinates were
    incorrectly multiplied by -1.
    
    This fix won't affect d3.geo.path(…).centroid() as it passes a constant
    to d3.geom.centroid.
  3. Merge pull request #335 from jasondavies/test

    authored
    Fix tests in Linux.
  4. @jasondavies

    Remove dangling __data__ from other tests.

    jasondavies authored
    This occurs on Linux, where the directory listing order is different
    from OS X and so other tests leave data bound to the "body" element.
    This data is then propagated when new elements are appended, and thus
    mess up some of the tests!
  5. @jasondavies
Commits on Oct 7, 2011
  1. @jasondavies

    Fix some potential race conditions in tests.

    jasondavies authored
    Unless .html("") is called on d3.select("body"), elements appended by
    another test could interfere with data binding.
    
    See #329.
Something went wrong with that request. Please try again.