Граф коммитов

2410 Коммитов

Автор SHA1 Сообщение Дата
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 fd1b42ca37 Upgrade smash. 2013-03-13 23:32:17 -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
Mike Bostock fd5ee5de64 Shorter names to match hierarchy. 2013-03-13 13:13:09 -07:00
Mike Bostock a2a9143826 Merge selection-root into selection. 2013-03-13 13:06:33 -07:00
Mike Bostock e64b622063 Update copyright year. 2013-03-13 11:50:05 -07:00
Mike Bostock 840c112b3c Remove "/index" from directory imports. 2013-03-13 11:46:32 -07:00
Mike Bostock 61a1651d18 Merge branch 'clip-circle' of git://github.com/jasondavies/d3 into 3.1.0 2013-03-13 10:57:10 -07:00
Mike Bostock 29d60556d5 Upgrade smash. 2013-03-13 10:47:58 -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
Mike Bostock 6b04c1f76f Don't match backslashes in event types. 2013-03-13 08:53:00 -07: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 ecd77dc8d4 Remove cruft. 2013-03-13 02:03:00 -07:00
Mike Bostock ada94766f3 No longer intermediate. 2013-03-13 02:01:49 -07:00
Mike Bostock d392331412 Simplify Makefile. 2013-03-13 01:59:36 -07:00
Mike Bostock 05e491629b Better logical grouping of files. 2013-03-13 01:56:00 -07:00
Mike Bostock 0682c18070 Smashing scales and svg. 2013-03-12 23:57:44 -07:00
Mike Bostock d7394ecd97 Smashed most of core. 2013-03-12 22:26:15 -07:00
Mike Bostock 83d72a21e3 Smashing. 2013-03-12 22:01:56 -07:00
Mike Bostock 48e449ba94 Smash dependencies! 2013-03-12 21:31:15 -07:00
Mike Bostock 86e8f88c3f Smash! 2013-03-12 21:01:49 -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 a82fa305bc Merge pull request #1136 from jasondavies/make
Fix for running `make clean && make -j all`.
2013-03-11 16:00:08 -07:00
Jason Davies 63a95a390a Fix for running `make clean && make -j all`.
This can fail due to a missing d3.js file, which is required for
`node src/package.js` and `node src/component.js`.
2013-03-11 22:55:29 +00:00
Mike Bostock 9e24c9dd18 Add d3.min.js. 2013-03-11 15:35: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
Jason Davies 759947a2ad Add rotation.invert.
Fixes #1134.
2013-03-11 21:49:54 +00:00
Mike Bostock 09f6c76329 Add conic projections. Fixes #1133. 2013-03-11 13:43:05 -07:00
Mike Bostock 28c7b46b5a Add transverseMercator; remove custom scales.
This adds d3.geo.transverseMercator and removes the custom default scales from
the mercator and equirectangular projections. Also, this commit removes the
built-in 2π scale factor from the mercator projection, simplifying the
implementation and making it consistent with transverseMercator and GDAL. This
is a partial fix for #1133; see also d3/d3-plugins#55.
2013-03-11 12:58:00 -07:00
Mike Bostock 8d3c6d43f6 JSDOM now correctly returns null.
Previous versions of JSDOM erroneously returned null rather than the empty
string, but this has now been fixed. Note: this depends on tmpvar/jsdom#582
which has not yet been merged to master.
2013-03-11 10:57:57 -07:00
Mike Bostock 7a212a5ef1 Update d3.min.js 2013-03-07 15:14:58 -08:00
Mike Bostock 1071c71b88 Merge pull request #1126 from jasondavies/clip-view
Detect polygons surrounding clip extent.
2013-03-07 15:07:40 -08:00
Jason Davies 5ed6583eee Detect polygons surrounding clip extent.
Also, fix interpolation for points on the same clip edge that need
interpolating the long way around.
2013-03-07 23:03:56 +00:00
Mike Bostock f1c8b090da Fix a couple bugs in d3_dsv.format. 2013-03-07 12:05:49 -08:00
Mike Bostock 37ac848f5f Add .travis.yml. 2013-03-07 09:54:19 -08:00
Mike Bostock 368f80c215 Change path to vows for npm test. 2013-03-07 09:53:00 -08:00