Jason Davies
f2cce5f57d
Add test for clipExtent: redundant closing points.
2013-03-25 08:51:16 +00:00
Jason Davies
bcf70c96c9
Add test for quadtree with no bounds.
2013-03-22 00:01:16 +00:00
Jason Davies
34059e22c4
Minor code style fixes.
2013-03-21 22:01:51 +00:00
Jason Davies
dcd784246e
Add missing semicolons to test.
2013-03-21 12:56:54 +00:00
Jason Davies
fd40dc2774
Refactor d3.geom.hull.
2013-03-19 17:19:21 +00:00
Jason Davies
15ec3e8d90
Optimise voronoi for default accessors.
2013-03-19 16:13:11 +00:00
Jason Davies
112ec6fac8
d3.geom.voronoi: always assign input data.
2013-03-19 16:02:09 +00:00
Jason Davies
7643e22714
d3.geom.voronoi: return the configured size.
2013-03-19 15:11:03 +00:00
Jason Davies
7c7366155f
Refactor d3.geom.quadtree.
...
See #1145 .
2013-03-19 11:35:51 +00:00
Jason Davies
788f8cd958
Refactor d3.geom.voronoi.
...
See #1145 .
2013-03-19 11:35:49 +00:00
Jason Davies
6d62cc2060
Fix typos in test names.
2013-03-19 10:54:40 +00:00
Mike Bostock
627b55189e
Don't expose transient points.
...
Data-in and data-out. Although I could see it being useful to access the
computed coordinates, but I think in the common case, these will be implemented
as simple accessors.
2013-03-15 17:15:20 -07:00
Jason Davies
fa6ef52de9
Add d3.layout.voronoi.{links,triangles}.
2013-03-15 23:33:21 +00:00
Jason Davies
537e9e234a
Add simple test for d3.interpolateTransform.
2013-03-15 16:55:53 +00:00
Jason Davies
d476dffdef
Fix a couple of typos.
2013-03-14 22:43:18 +00:00
Mike Bostock
0d7c6c55e7
Use _ to disambiguate local vs. global d3.
2013-03-14 15:14:12 -07:00
Mike Bostock
1ac0fa09a9
Fix the time zone for testing.
2013-03-14 14:28:25 -07:00
Mike Bostock
05e9f190e3
Fix all the tests.
2013-03-14 14:11:40 -07:00
Mike Bostock
a4fed02b8c
Get most transition tests working again.
2013-03-14 13:59:18 -07:00
Mike Bostock
bd09d37e6c
Refactor time tests for minimal load.
2013-03-14 13:29:24 -07:00
Mike Bostock
68be0ac8c8
Rename assert and XMLHttpRequest.
2013-03-14 13:00:04 -07:00
Mike Bostock
ecbf93d922
Standardize test environment.
2013-03-14 12:58:16 -07:00
Mike Bostock
4c3469d336
Refactor selection tests for better isolation.
...
Fixes #939 .
2013-03-14 12:36:21 -07:00
Mike Bostock
36c59cd233
Fix two failing assert.throws.
...
Since smash.load uses a separate context, any exceptions it throws use a
different Error class, and thus the assert.throws fails. So, instead, just allow
any exception type to be thrown.
2013-03-14 10:58:17 -07:00
Mike Bostock
e1842fccac
Refactor scale tests for minimal load.
2013-03-14 10:52:01 -07:00
Mike Bostock
a6fa0c4f6b
Refactor layout tests for minimal loading.
2013-03-14 10:35:04 -07:00
Jason Davies
dd971666a6
Refactor selection tests for minimal loading.
2013-03-14 17:25:23 +00:00
Mike Bostock
697db5217a
Refactor interpolate tests for minimal loading.
2013-03-14 10:18:11 -07:00
Mike Bostock
1ff5f504a9
Refactor geom tests for minimal loading.
2013-03-14 09:43:53 -07:00
Mike Bostock
480bfb6c51
Refactor geo tests for minimal loading.
2013-03-14 09:41:29 -07:00
Mike Bostock
ae9d4a402a
Refactor format tests for minimal loading.
2013-03-14 09:19:27 -07:00
Mike Bostock
af25181df8
Refactor event tests for minimal loading.
2013-03-14 09:17:39 -07:00
Mike Bostock
8e9db961f9
Refactor dsv tests for minimal loading.
2013-03-14 09:16:05 -07:00
Mike Bostock
2831f6c7c4
Refactor cor tests for minimal loading.
2013-03-14 09:09:50 -07:00
Mike Bostock
97f034a44d
Refactor color tests for minimal loading.
2013-03-14 09:06:31 -07:00
Mike Bostock
f37405d1b8
Refactor array tests for minimal loading.
2013-03-14 09:00:13 -07:00
Mike Bostock
0f2b61ae93
Refactor svg tests using smash.
2013-03-14 08:46:45 -07:00
Mike Bostock
e65d455ac6
Reuse global d3's document for xhr test.
2013-03-14 08:42:29 -07:00
Mike Bostock
5627ecdb9a
Allow load expression to be overridden.
2013-03-14 08:16:52 -07:00
Mike Bostock
608902c907
Checkpoint test refactoring.
2013-03-13 23:21:23 -07:00
Mike Bostock
3442685b36
Refactor core tests using smash.
2013-03-13 19:16:59 -07:00
Mike Bostock
04fe8f8e4b
Refactor color tests using smash.
2013-03-13 19:13:38 -07:00
Mike Bostock
fe0d6f3ea6
Refactor array tests using smash.
2013-03-13 19:10:53 -07:00
Mike Bostock
5c4282f51a
Don't import index; move ns to core.
2013-03-13 13:58:41 -07:00
Jason Davies
d93f45ee82
Fix small-circle clipping of lines.
...
This corrects the handling of lines that are long enough to have two
visible or invisible endpoints, but still cross the small circle and
thus have an invisible or visible intermediate segment.
Fixes #1127 .
2013-03-13 17:47:52 +00:00
Jason Davies
9d1925012d
Support for {selection,dispatch}.on(".foo", null).
...
This allows all listeners with a particular name to be removed.
Fixes #880 .
2013-03-13 12:15:17 +00:00
Mike Bostock
58dc604177
Move tests to match new source structure.
2013-03-13 02:08:02 -07:00
Mike Bostock
d0441e6170
Automatic precision for custom tick formats.
...
You can now pass a format specifier to scale.tickFormat (for linear, pow and
identity scales). If the format specifier doesn't have a defined precision, the
precision will be set automatically by the scale, returning the appropriate
format. This provides a convenient, declarative way of specifying a format whose
precision will be automatically set by the scale.
This works with axes, too! For example, `axis.ticks(10, "%")` will now use a
percentage format rather than the default format, while still computing the
appropriate precision.
This commit also includes a fix to make d3.format more robust when unreasonable
precisions are specified. Rather than throwing an error, the nearest reasonable
value is used instead.
Fixes #912 .
2013-03-11 18:06:05 -07:00
Mike Bostock
ed81d3db2f
Merge branch 'rotation-invert' of git://github.com/jasondavies/d3 into 3.1.0
2013-03-11 15:33:49 -07:00
Mike Bostock
13e2781206
More comprehensive projection tests.
2013-03-11 15:33:40 -07:00