9edd4bc | Mike Bostock | 07 October 2011, 19:23:55 UTC | Merge branch 'release' | 07 October 2011, 19:33:08 UTC |
05e9a39 | Mike Bostock | 07 October 2011, 19:19:30 UTC | Fix spaces. | 07 October 2011, 19:22:56 UTC |
9e30351 | Mike Bostock | 07 October 2011, 19:18:33 UTC | Merge branch 'classed' of https://github.com/jasondavies/d3 into release | 07 October 2011, 19:18:33 UTC |
440d961 | Mike Bostock | 07 October 2011, 19:17:17 UTC | Merge branch 'transition-null' of https://github.com/jasondavies/d3 into release Conflicts: test/core/transition-test-attr.js | 07 October 2011, 19:17:17 UTC |
87c1f83 | Mike Bostock | 07 October 2011, 19:16:15 UTC | Merge branch 'area-step-interpolate' into release | 07 October 2011, 19:16:15 UTC |
0b852dd | Mike Bostock | 07 October 2011, 19:10:10 UTC | Copy constructors for d3.rgb and d3.hsl. Previously, these would work by coercing the input color to a string and then parsing it. This is slow, but more importantly, this is a lossy process for HSL colors due to the conversion to hexadecimal RGB format. This commit detects instances of d3_Rgb and d3_Hsl on input and copies them efficiently. | 07 October 2011, 19:10:10 UTC |
4d1de5e | Mike Bostock | 07 October 2011, 18:32:06 UTC | Fix a bug in area step interpolation. When computing the reversed baseline, we need to switch between step-before and step-after, since the points are in reverse order. Otherwise, we're effectively filling the gap between step-before and step-after. | 07 October 2011, 18:32:06 UTC |
cc0ae76 | Jason Davies | 07 October 2011, 16:40:58 UTC | Make toString return #RRGGBB for all colours. This breaks a test case that ensures d3.hsl(x) == d3.hsl(d3.hsl(x)). Fixes #333. | 07 October 2011, 16:58:58 UTC |
6b83af4 | Jason Davies | 06 October 2011, 19:34:06 UTC | Use ternary ? happy : unhappy. Using the comma operator isn't so bad, and I added it to removeAttribute for good measure in case there's an implementation out there that returns something. | 06 October 2011, 19:34:06 UTC |
037493c | Jason Davies | 06 October 2011, 19:06:14 UTC | Fix bug when transitioning namespaced attributes. Also, simplify handling of nulls. | 06 October 2011, 19:06:14 UTC |
f70ab33 | Mike Bostock | 06 October 2011, 15:45:49 UTC | Merge pull request #328 from larskotthoff/maketarget make Makefile GNU make v3.82 compatible | 06 October 2011, 15:45:49 UTC |
8f8c710 | Jason Davies | 06 October 2011, 08:56:34 UTC | Small optimisation. | 06 October 2011, 08:56:34 UTC |
57a3b0d | Jason Davies | 06 October 2011, 08:54:07 UTC | More efficient removal of transition properties. Thanks, @mbostock! | 06 October 2011, 08:54:07 UTC |
db65a38 | Jason Davies | 05 October 2011, 22:05:42 UTC | Use removeAttribute when transitioning to null. | 05 October 2011, 22:05:42 UTC |
f5c60ec | Jason Davies | 05 October 2011, 21:38:30 UTC | Fix null check in style transition. | 05 October 2011, 21:38:30 UTC |
878d1c1 | Jason Davies | 05 October 2011, 21:35:19 UTC | Fix transitioning styles to null (removal). | 05 October 2011, 21:35:19 UTC |
f3b8c0e | Lars Kotthoff | 04 October 2011, 18:34:16 UTC | remove duplicate rule and tweak "all" target (mbostock) | 04 October 2011, 18:34:16 UTC |
1bd3a25 | Lars Kotthoff | 03 October 2011, 20:07:38 UTC | make Makefile GNU make v3.82 compatible Quote from NEWS file: In previous versions of make it was acceptable to list one or more explicit targets followed by one or more pattern targets in the same rule and it worked "as expected". However, this was not documented as acceptable and if you listed any explicit targets AFTER the pattern targets, the entire rule would be mis-parsed. This release removes this ability completely: make will generate an error message if you mix explicit and pattern targets in the same rule. | 03 October 2011, 20:07:38 UTC |
fe61281 | Mike Bostock | 01 October 2011, 01:00:42 UTC | Merge branch 'showreel' | 01 October 2011, 01:00:42 UTC |
ad066cd | Mike Bostock | 30 September 2011, 16:01:24 UTC | Add show reel example. | 01 October 2011, 00:59:54 UTC |
bbb126f | Mike Bostock | 30 September 2011, 16:02:11 UTC | Merge pull request #324 from jasondavies/tree-test Another test for empty children arrays. | 30 September 2011, 16:02:11 UTC |
ace525c | Mike Bostock | 30 September 2011, 16:00:55 UTC | Merge pull request #325 from jasondavies/transition-test Add test for transition.selectAll and NodeLists. | 30 September 2011, 16:00:55 UTC |
68f555b | Jason Davies | 30 September 2011, 15:55:30 UTC | Add test for transition.selectAll and NodeLists. This tests the fix in cd3d236015cc2206186b359227f54c4fc761a648. | 30 September 2011, 15:55:30 UTC |
c7f5846 | Jason Davies | 30 September 2011, 07:48:28 UTC | Simplify. | 30 September 2011, 07:48:28 UTC |
886b659 | Jason Davies | 30 September 2011, 07:43:22 UTC | Another test for empty children arrays. This tests for the issue fixed in 6804a60fe4899fa83586bad51b45ad94ef215203. | 30 September 2011, 07:43:22 UTC |
cf88250 | Jason Davies | 30 September 2011, 06:51:33 UTC | Simplify. Thanks again, @mbostock! | 30 September 2011, 06:51:33 UTC |
6804a60 | Mike Bostock | 30 September 2011, 04:53:22 UTC | Fix a bug with empty children arrays. | 30 September 2011, 04:53:22 UTC |
cd3d236 | Mike Bostock | 29 September 2011, 21:59:56 UTC | Fix a NodeList bug in transition.selectAll. | 29 September 2011, 22:00:51 UTC |
adec0a6 | Jason Davies | 29 September 2011, 15:33:34 UTC | Short-circuit for speed. Thanks, @mbostock! | 29 September 2011, 15:33:34 UTC |
927426f | Jason Davies | 28 September 2011, 20:10:59 UTC | Support multiple classes in classed operator. Fixes #320. | 29 September 2011, 10:30:20 UTC |
caefcaa | Mike Bostock | 28 September 2011, 22:28:36 UTC | Add node-canvas example. Demonstrates how to render geographic shapes to a canvas and save to PNG. | 28 September 2011, 22:37:50 UTC |
9e16bee | Mike Bostock | 27 September 2011, 22:00:27 UTC | Merge branch 'release' | 27 September 2011, 22:00:27 UTC |
bbcaa27 | Mike Bostock | 27 September 2011, 21:58:39 UTC | Fix for Bonne projection at 0° parallel. | 27 September 2011, 21:58:39 UTC |
6a65451 | Mike Bostock | 27 September 2011, 20:57:56 UTC | Merge branch 'bonne' of https://github.com/jasondavies/d3 into release | 27 September 2011, 20:57:56 UTC |
a70975b | Mike Bostock | 27 September 2011, 20:56:18 UTC | Merge branch 'gnomonic' into release | 27 September 2011, 20:56:18 UTC |
fd0759f | Mike Bostock | 27 September 2011, 20:56:07 UTC | Merge branch 'fix-format-zero-sigfig' into release | 27 September 2011, 20:56:07 UTC |
4c179d9 | Mike Bostock | 27 September 2011, 20:55:35 UTC | Merge branch 'scale-log-ticks' into release | 27 September 2011, 20:55:35 UTC |
dcb4a4b | Mike Bostock | 27 September 2011, 20:54:58 UTC | Merge branch 'force-charge-zero' into release | 27 September 2011, 20:54:58 UTC |
886f6b8 | Mike Bostock | 27 September 2011, 20:54:36 UTC | Merge branch 'behavior-click' of https://github.com/jasondavies/d3 into release | 27 September 2011, 20:54:36 UTC |
7d93964 | Mike Bostock | 27 September 2011, 20:45:34 UTC | Add install rule to Makefile. | 27 September 2011, 20:53:46 UTC |
115caa6 | Mike Bostock | 27 September 2011, 20:53:17 UTC | Merge branch 'master' of https://github.com/johan/d3 into release | 27 September 2011, 20:53:17 UTC |
c9b8384 | Mike Bostock | 27 September 2011, 20:53:05 UTC | Merge branch 'force-example' of https://github.com/jasondavies/d3 into release | 27 September 2011, 20:53:05 UTC |
9e91339 | Mike Bostock | 27 September 2011, 19:27:17 UTC | Add simple great-arc example. | 27 September 2011, 19:36:06 UTC |
a81faec | Mike Bostock | 27 September 2011, 19:14:06 UTC | Add clipping for Point and MultiPoint. | 27 September 2011, 19:14:06 UTC |
1b611a2 | Mike Bostock | 27 September 2011, 19:13:40 UTC | Cleanup us-state-centroids.json. There was trailing whitespace in the state names. | 27 September 2011, 19:13:40 UTC |
839442d | Mike Bostock | 27 September 2011, 19:06:48 UTC | Use almost 90 degrees rathern than 89. | 27 September 2011, 19:06:48 UTC |
f473cc2 | Mike Bostock | 27 September 2011, 19:06:23 UTC | Use administrative name rather than sovereignty. | 27 September 2011, 19:06:23 UTC |
254a8e3 | Mike Bostock | 27 September 2011, 18:55:47 UTC | Better world-countries.json. This was generated using the Natural Earth data set, which has nicer simplification than my previous approach using MapShaper. Also, this includes some updated boundaries, such as the split between Sudan and South Sudan. And, counties now have ISO 3166-1 alpha-3 codes. | 27 September 2011, 18:59:42 UTC |
bd585e2 | Mike Bostock | 27 September 2011, 15:58:52 UTC | Add d3.geo.circle. There is also a greatCircle as an alias, whose angle defaults to 90 degrees. (Or should, but some projections cannot handle 90 degrees so we use 89 instead.) | 27 September 2011, 16:00:23 UTC |
151d09d | Mike Bostock | 27 September 2011, 15:47:14 UTC | Merge branch 'release' | 27 September 2011, 15:47:14 UTC |
80fafd5 | Mike Bostock | 27 September 2011, 15:45:06 UTC | Add back d3_array for IE9. This also tweaks the array conversion slightly so that it is called by selection.selectAll rather than d3_selectAll; this guarantees that the selection groups are always arrays, even when a function selector is used. | 27 September 2011, 15:45:06 UTC |
5d0dbe2 | Mike Bostock | 27 September 2011, 15:26:41 UTC | Merge branch 'sort' of https://github.com/jasondavies/d3 into release | 27 September 2011, 15:26:41 UTC |
b552513 | Mike Bostock | 27 September 2011, 07:51:00 UTC | Don't need to default to empty string. | 27 September 2011, 07:51:00 UTC |
14dcdea | Mike Bostock | 27 September 2011, 07:34:22 UTC | Add d3.geo.greatArc. The greatArc class is the new name for greatCircle, which actually represents great arcs. Meanwhile, a new greatCircle class is for great circles. The new greatCircle class replaces the old clip class, providing clipping and resampling functionality (using greatArc internally). This isn't backwards-compatible, but I may forgo the major version number bump in light of the fact that greatCircle was just added, and not used in any (official) examples or documented. | 27 September 2011, 07:34:22 UTC |
46b358b | Mike Bostock | 27 September 2011, 07:31:22 UTC | Fix a bug in Antarctica. It's a MultiPolygon, not a Polygon. Those are islands, not holes! | 27 September 2011, 07:31:22 UTC |
b678e08 | Mike Bostock | 26 September 2011, 23:36:46 UTC | Merge branch 'gnomonic' of https://github.com/jasondavies/d3 into gnomonic | 26 September 2011, 23:36:46 UTC |
f1c6adc | Jason Davies | 26 September 2011, 12:20:04 UTC | Minor cleanup of force-cluster example. We don't need to reselect now that appending nodes to the entering selection are automatically added to the updating selection. | 26 September 2011, 12:20:04 UTC |
11c1104 | Jason Davies | 26 September 2011, 01:37:51 UTC | Rename standardParallel to parallel. And add missing file! | 26 September 2011, 01:37:51 UTC |
a6eb928 | Jason Davies | 25 September 2011, 22:40:28 UTC | Add Bonne geographic projection. Note that the Werner projection is a special case with standard parallel at 90°N, and the Sinusoidal projection is also a special case with standard parallel at 0°N. | 25 September 2011, 23:58:59 UTC |
46891e9 | Johan Sundström | 24 September 2011, 22:47:06 UTC | Make "make test" work even if npm installs pkgs elsewhere. | 24 September 2011, 22:47:06 UTC |
a7c318b | Jason Davies | 22 September 2011, 22:50:30 UTC | Restore drag click handler to its rightful place. | 22 September 2011, 22:50:30 UTC |
4e0edeb | Jason Davies | 22 September 2011, 22:22:08 UTC | Less zealous click cancelling. The click event is prevented from propagating when a drag has occurred i.e. the mouse has moved between mousedown and mouseup. This is because a click event will be triggered after a mousedown and mouseup have occurred on the same element. However, we were cancelling the next click event *anywhere*, regardless of whether mousedown and mouseup occurred on the same element or not. As a sanity check, we also check that the click event was triggered on the same element that mousedown *and* mouseup occurred on, before cancelling it. Just in case! | 22 September 2011, 22:47:35 UTC |
7895afb | Mike Bostock | 21 September 2011, 22:32:19 UTC | Better log ticks. This adds support for filtering the log ticks, such that fewer ticks can be generated to fit in a small space. This can be used in conjunction with a custom tick format as well. This commit also changes the default log tick format to be exponential rather than precision, for consistency. | 21 September 2011, 22:32:19 UTC |
c974d3a | Mike Bostock | 21 September 2011, 17:10:47 UTC | Merge branch 'master' of github.com:mbostock/d3 | 21 September 2011, 17:10:47 UTC |
fdcf307 | Mike Bostock | 21 September 2011, 17:08:39 UTC | Fix a bug in collapsible force layout example. We were registering multiple tick listeners, rather than replacing it. Oops! In the future, we'll probably change the behavior of force.on to match selection.on, and require a namespace for registering multiple listeners. | 21 September 2011, 17:08:39 UTC |
dbd7383 | Mike Bostock | 20 September 2011, 23:38:52 UTC | Slight optimization for previous fix. | 20 September 2011, 23:38:52 UTC |
6ca72c4 | Peter Woodman | 20 September 2011, 10:05:09 UTC | fix significant figures formatting ('r') when specifying a precision for input 0. | 20 September 2011, 22:08:51 UTC |
612d237 | Mike Bostock | 20 September 2011, 19:19:04 UTC | Fix a bug when charge forces are zero. This was causing a divide by zero in the center-of-charge calculation. | 20 September 2011, 19:19:04 UTC |
b4c0860 | Jason Davies | 19 September 2011, 08:18:35 UTC | Fix sort due to lack of NodeList.prototype.sort. NodeList doesn't support .sort() directly, so we need to convert to a real Array first. I've done this in selectAll for efficiency i.e. this avoids a new Array being created every time the same selection is sorted. However, it may be slightly more efficient to create the Array only when sorting, to avoid unnecessary Array creation when sorting isn't used, which is probably the common case. Unfortunately it's difficult to test this because JSDOM uses a real Array instead of a NodeList! | 19 September 2011, 08:26:25 UTC |
9a8b383 | Jason Davies | 18 September 2011, 12:43:24 UTC | Add test for coincident circles. | 18 September 2011, 12:43:24 UTC |
016ed70 | Jason Davies | 18 September 2011, 09:46:32 UTC | Make residual floating point test clearer. This test makes sure NaN doesn't creep in due to Math.acos being called on numbers like +/- 1.000000000004, so it's more descriptive to check isNaN rather than the exact numerical results. | 18 September 2011, 09:47:03 UTC |
fb38f19 | Mike Bostock | 18 September 2011, 03:35:40 UTC | Merge branch 'release' | 18 September 2011, 03:35:40 UTC |
0a7af55 | Mike Bostock | 18 September 2011, 03:32:04 UTC | Fix variable charges for force layout. | 18 September 2011, 03:32:04 UTC |
8a58b52 | Mike Bostock | 18 September 2011, 03:09:00 UTC | Merge branch 'patch-1' of https://github.com/yasirs/d3 into release | 18 September 2011, 03:09:00 UTC |
f8ce523 | Mike Bostock | 18 September 2011, 03:07:56 UTC | Merge branch 'package' of https://github.com/jasondavies/d3 into release | 18 September 2011, 03:07:56 UTC |
ee10316 | Mike Bostock | 18 September 2011, 03:05:09 UTC | Merge branch 'pack' of https://github.com/jasondavies/d3 into release | 18 September 2011, 03:05:09 UTC |
76b7180 | Mike Bostock | 18 September 2011, 02:17:09 UTC | Remove unused code. The hierarchy layout is abstract; the nodes method is defined on subclasses. | 18 September 2011, 02:19:23 UTC |
4132968 | Mike Bostock | 18 September 2011, 02:04:02 UTC | Merge branch 'hierarchy-children' of https://github.com/jasondavies/d3 into release | 18 September 2011, 02:04:02 UTC |
be57c31 | Mike Bostock | 18 September 2011, 02:03:16 UTC | Merge branch 'line-minimize' into release | 18 September 2011, 02:03:16 UTC |
8f78039 | Mike Bostock | 18 September 2011, 02:02:34 UTC | Rename equirect to equirectangular; add test. | 18 September 2011, 02:02:34 UTC |
93a0a0c | Lars Kotthoff | 15 September 2011, 18:03:28 UTC | add equirectangular projection | 15 September 2011, 18:03:28 UTC |
93863f8 | yasirs | 15 September 2011, 00:15:38 UTC | back to calling it quad.count | 15 September 2011, 00:15:38 UTC |
286b000 | yasirs | 15 September 2011, 00:13:31 UTC | check for charge or alpha to be zero before calculating | 15 September 2011, 00:13:31 UTC |
8be42d5 | yasirs | 14 September 2011, 21:08:25 UTC | We don't need d3_layout_forceCharge anymore. | 14 September 2011, 21:08:25 UTC |
f66ea6e | yasirs | 14 September 2011, 21:04:48 UTC | number recursion for charge | 14 September 2011, 21:04:48 UTC |
d2113c4 | yasirs | 14 September 2011, 21:01:08 UTC | not using functor for charge | 14 September 2011, 21:01:08 UTC |
94af203 | yasirs | 14 September 2011, 20:54:40 UTC | passed charges to forceAccumulate | 14 September 2011, 20:54:40 UTC |
2ad3617 | yasirs | 14 September 2011, 20:47:07 UTC | using correct index in forceAccumulate | 14 September 2011, 20:47:07 UTC |
2c93581 | yasirs | 14 September 2011, 20:38:46 UTC | deleted old charge method; quad.count replaced by quad.totalCharge to reflect what we are calculating; charge no longer appears in `k` calculation in repulsive force calculations. | 14 September 2011, 20:38:46 UTC |
b9da841 | yasirs | 14 September 2011, 20:23:53 UTC | node level charge | 14 September 2011, 20:23:53 UTC |
9ea694e | yasirs | 14 September 2011, 20:17:30 UTC | node dependent charges array | 14 September 2011, 20:17:30 UTC |
467b89a | yasirs | 14 September 2011, 18:58:18 UTC | Adding chargeMultiplier to individual points in d3.layout.force | 14 September 2011, 18:58:18 UTC |
8436904 | Mike Bostock | 14 September 2011, 18:15:50 UTC | Tiny optimization. | 14 September 2011, 18:15:50 UTC |
d832335 | Jason Davies | 12 September 2011, 16:32:36 UTC | Reinstate d3.geo.greatCircle.n. For backwards compatibility. Setting precision turns off n, and vice versa. | 12 September 2011, 16:32:36 UTC |
15dda93 | Jason Davies | 12 September 2011, 16:23:32 UTC | Reinstate d3.geo.greatCircle.polyline. For backwards compatibility. | 12 September 2011, 16:23:32 UTC |
2a6c2db | Jason Davies | 12 September 2011, 14:23:30 UTC | Optimise d3.geo.clip. We can interpolate the exact distance to the clipping edge, and use this to interpolate the point exactly instead of computing a full path and picking the closest point. | 12 September 2011, 14:23:30 UTC |
8ad87e4 | Jason Davies | 12 September 2011, 13:10:45 UTC | Fix clipping bug. A point wasn't being inserted after the interpolated point when entering the clip region. | 12 September 2011, 13:10:45 UTC |
b5b187c | Jason Davies | 12 September 2011, 12:47:23 UTC | Turn clipping back on for azimuthal example. | 12 September 2011, 12:47:23 UTC |
cb8afe7 | Jason Davies | 12 September 2011, 12:45:04 UTC | Fix azimuthal projections of origin point. | 12 September 2011, 12:45:04 UTC |
90cd1bc | Jason Davies | 12 September 2011, 12:14:37 UTC | Remove source/target for great circles. These are redundant now that we can process an array of coordinates. | 12 September 2011, 12:14:37 UTC |