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

2523 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock 0c7d1864f2 Saturation is only undefined for black and white. 2013-04-30 16:09:40 -07:00
Mike Bostock 1d0409e903 Merge branch '3.1.6' 2013-04-30 15:56:30 -07:00
Mike Bostock 42da3ba98c Merge branch 'grayscale' into 3.1.6 2013-04-30 15:55:25 -07:00
Mike Bostock 7d81f05ff5 Merge branch 'convex-hull' into 3.1.6 2013-04-30 15:54:43 -07:00
Mike Bostock 92e5cb77de Merge branch 'fix-select' into 3.1.6 2013-04-30 15:54:06 -07:00
Mike Bostock 03f3d876e2 Merge branch 'time' into 3.1.6 2013-04-30 15:53:31 -07:00
Mike Bostock 7add1117cf Add package.json prerequisites. 2013-04-30 15:52:32 -07:00
Mike Bostock 2dc9043d2e Pull conditional out of inner loop. 2013-04-30 15:51:16 -07:00
Mike Bostock f76f564451 Fix #993; d3.geom.hull is now ccw. 2013-04-30 15:30:56 -07:00
Mike Bostock 8b29fd10d0 Formatting. 2013-04-30 15:22:02 -07:00
Mike Bostock 9120507d47 Fix #1220 #1218 re. d3.select and d3.selectAll.
This commit fixes d3.select so that it no longer propagates data from the
document element to the selected node when a selector is used. This commit also
fixes d3.select and d3.selectAll such that the returned selection’s group’s
parent node is set to the document element.
2013-04-30 14:49:33 -07:00
Mike Bostock b96e4e3363 Select the document element, not the document.
Fixes #1219.
2013-04-30 14:12:02 -07:00
Mike Bostock d8c14b9c2a Safer clean. 2013-04-25 12:33:06 -07:00
Mike Bostock 8e5b974f87 Don't build package.json. Fixes #1213. 2013-04-25 11:48:02 -07:00
Mike Bostock d498fd53b6 Remove duplicate code. 2013-04-19 10:36:10 -07:00
Mike Bostock ff5364d7db Allow hue, chroma or saturation to be undefined.
In HSL space, grayscale colors can now have undefined hue rather than assuming a
hue of 0°; likewise black and white can have undefined saturation rather than
assuming 0%. In HCL space, black can now have undefined hue and chroma. (For
non-black grayscale colors, including white, hue and chroma are implied by the
D65 standard referent.)

When interpolating between colors with undefined hue, saturation or chroma, the
defined value is used when available. For example, when interpolating from black
to blue in HCL space, the intermediate colors are now dark blues (#241178)
rather than dark purples (#600054).

Fixes #833.
2013-04-19 10:26:39 -07:00
Jason Davies 9f25c5f55e Fix typo in test description. 2013-04-11 18:20:44 +01:00
Mike Bostock b45595ef4b Merge pull request #1192 from clkao/travis-tests
Travis tests
2013-04-11 09:21:37 -07:00
Chia-liang Kao 18a25be11a use node 0.10 for travis 2013-04-11 23:10:08 +08:00
Chia-liang Kao 32e77ed975 Exit with what vows exits. 2013-04-11 23:10:08 +08:00
Mike Bostock 43d09afd1a Merge branch '3.1.5' 2013-04-06 19:29:44 -07:00
Mike Bostock 80a1dd6f87 Redesign d3_eventSuppress slightly. 2013-04-06 19:27:55 -07:00
Mike Bostock 45c3b4bc7b Merge branch 'fix-issue-1005' of https://github.com/appneta/d3 into 3.1.5 2013-04-06 19:21:58 -07:00
Mike Bostock deae63e688 Merge branch 'fix-null-geometry' into 3.1.5 2013-04-06 19:16:38 -07:00
Mike Bostock 99e98988dd Merge branch 'fix-interpolate' into 3.1.5 2013-04-06 19:16:12 -07:00
Mike Bostock ab7af35db9 Ignore null geometries. 2013-04-04 20:50:51 -07:00
Mike Bostock ea284ebf60 Move edits to src/package.js. 2013-04-03 10:54:52 -07:00
Mike Bostock 8a415b439f Merge branch 'master' of https://github.com/theoreticaLee/d3 into license 2013-04-03 10:54:21 -07:00
Mike Bostock 144a2e9cbf Move edits to src/component.js. 2013-04-03 10:46:15 -07:00
Mike Bostock d729f7c968 Merge branch 'fix-component-support' of https://github.com/danmilon/d3 into fix-component-support 2013-04-03 10:44:13 -07:00
Dan Milon bec7098a66 fix component support 2013-04-03 20:41:46 +03:00
Mike Bostock 87dd8a5dfa Add Jason to official contributors list. 2013-04-02 21:51:29 -07:00
Mike Bostock 37a9152b35 Merge pull request #1182 from jfirebaugh/imports
Add missing import
2013-04-02 13:56:07 -07:00
John Firebaugh 636412927f Add missing import 2013-04-02 09:00:45 -07:00
Mike Bostock 6c0c0c2bf4 Favor strictEqual for testing. 2013-03-31 09:48:10 -07:00
Mike Bostock 359546c80c More robust type inference for d3.interpolate.
Fixes #1180 #1179 #1176. Still a work in progress; needs a few more tests.
2013-03-31 09:46:07 -07:00
Dan Tillberg 636c3dbb6a Fix click suppression after dragend in cases where click doesn't fire.
Fixes Issue #1005 for both behavior.zoom and behavior.drag
2013-03-30 00:23:57 +00:00
Lee Leathers 608ef120e0 Updated package.json to include d3's license 2013-03-26 23:49:52 -07:00
Jason Davies 18105839c5 Add a few missing imports.
These have no immediate effect since they're either redundant due to
being imported elsewhere, or they're not tested at the moment.
2013-03-25 10:29:37 +00:00
Jason Davies f2cce5f57d Add test for clipExtent: redundant closing points. 2013-03-25 08:51:16 +00:00
Mike Bostock e1bbecde2c Merge branch 'fix-closing-point' 2013-03-24 16:51:00 -07:00
Mike Bostock f598ed5bcd Fix #1160; remove redundant closing point. 2013-03-24 16:44:28 -07:00
Mike Bostock 91d35b4205 Automatic clipExtent determination for mercator.
Since 3.1, the Mercator projection does not clamp y-values. For rendering
latitudes near the pole, the y-values can approach infinity. Rather than
clamping each point in the projection, d3.geo.mercator now sets the clipExtent
automatically (if not overridden) using the projection's scale and translate.
2013-03-22 15:38:56 -07:00
Jason Davies bcf70c96c9 Add test for quadtree with no bounds. 2013-03-22 00:01:16 +00:00
Mike Bostock b6bc8c9ee9 Fix #1155 for d3.geom.quadtree. 2013-03-21 16:52:26 -07:00
Mike Bostock b9e35eb5ff Merge branch 'clip-extent' 2013-03-21 16:46:26 -07:00
Jason Davies 3de9ef311e Better point clamping in projection.clipExtent. 2013-03-21 23:41:40 +00:00
Mike Bostock 51228ccc4b Merge branch '3.1.0' 2013-03-21 15:54:53 -07:00
Jason Davies b180995ebe Remove obsolete TODO comments. 2013-03-21 22:24:53 +00:00
Jason Davies 34059e22c4 Minor code style fixes. 2013-03-21 22:01:51 +00:00