4e4709c | Mike Bostock | 30 December 2014, 17:02:12 UTC | Fix selection.interrupt. Even if no further transitions are scheduled on the element, we must still advance the active counter to interrupt the active transition. Fixes #2165. Also added better tests that verify interruption. | 30 December 2014, 17:03:54 UTC |
4a4c3ce | Mike Bostock | 09 December 2014, 18:11:40 UTC | Merge branch '3.5.2' | 09 December 2014, 18:11:40 UTC |
ee0e2d7 | Mike Bostock | 09 December 2014, 17:39:27 UTC | Fix d3.transition(name). | 09 December 2014, 17:39:27 UTC |
e4ff113 | Mike Bostock | 08 December 2014, 19:55:47 UTC | Include d3.variance and d3.deviation by default. | 08 December 2014, 19:57:19 UTC |
8a0fe7f | Mike Bostock | 08 December 2014, 18:50:38 UTC | Merge branch '3.5.1' | 08 December 2014, 18:50:38 UTC |
d316211 | Mike Bostock | 08 December 2014, 18:29:02 UTC | Better interruption semantics. When a transition is interrupted, the interrupt event is dispatched immediately (such as within a call to selection.interrupt). This is easier to understand and guarantees that the interrupt event on an interrupted transition is dispatched prior to the start event on an interrupting transition, fixing #2140. Calling selection.interrupt repeatedly no longer cancels any scheduled (but inactive) transitions, fixing #2141. Calling selection.interrupt when there is no active transition now has no effect. An interrupt event is only dispatched if the active transition is interrupted, and not if a scheduled transition was cancelled, as when a delayed transition is superceded by an earlier transition on the same element. These transitions are cancelled silently, fixing #2144. Lastly, transition event listeners now see the latest bound data, rather than using the data that was captured shortly after the transition was scheduled. Fixes #2142. | 08 December 2014, 18:39:53 UTC |
bb52d62 | Mike Bostock | 08 December 2014, 17:44:25 UTC | Allow d3.transition to take an optional name. | 08 December 2014, 17:44:25 UTC |
737a991 | Mike Bostock | 06 December 2014, 22:28:55 UTC | Merge branch '3.5' | 06 December 2014, 22:28:55 UTC |
23cfc1f | Mike Bostock | 06 December 2014, 21:54:07 UTC | Allow zoom.duration to be set. | 06 December 2014, 21:54:07 UTC |
0f9e0c9 | Mike Bostock | 06 December 2014, 21:47:51 UTC | Merge remote-tracking branch 'origin/transition-duration' into 3.5 | 06 December 2014, 21:47:51 UTC |
97bc2fe | Mike Bostock | 06 December 2014, 21:31:35 UTC | Match GitHub description. Fixes #2129. | 06 December 2014, 21:31:35 UTC |
bdbeec9 | Mike Bostock | 06 December 2014, 21:26:08 UTC | Ignore more files for Bower. Fixes #2104. | 06 December 2014, 21:26:08 UTC |
fbc1562 | Mike Bostock | 06 December 2014, 21:21:54 UTC | Merge branch 'master' into 3.5 | 06 December 2014, 21:21:54 UTC |
595088c | Mike Bostock | 06 December 2014, 21:21:02 UTC | Fix component.json. The required field is "repository" rather than "repo". Also, the empty dependencies and development should be implied and can be removed. | 06 December 2014, 21:21:04 UTC |
c1a786e | Mike Bostock | 01 December 2014, 19:42:10 UTC | Allow padRadius to be specified explicitly. | 01 December 2014, 19:42:10 UTC |
446e219 | Mike Bostock | 20 November 2014, 17:58:14 UTC | Fix padding for non-circular pie layout. | 20 November 2014, 17:58:14 UTC |
7653608 | Mike Bostock | 20 November 2014, 05:48:07 UTC | Slightly shorter. | 20 November 2014, 05:48:07 UTC |
57a6499 | Mike Bostock | 20 November 2014, 05:39:58 UTC | Disallow negative radii. | 20 November 2014, 05:39:58 UTC |
78380ca | Mike Bostock | 20 November 2014, 05:38:29 UTC | Handle inverted inner & outer radii. | 20 November 2014, 05:38:29 UTC |
c1d7838 | Mike Bostock | 20 November 2014, 03:30:12 UTC | Avoid very small corners. https://code.google.com/p/chromium/issues/detail?id=434963 (Also ignore a negative corner radius.) | 20 November 2014, 03:30:12 UTC |
a6cc4cc | Mike Bostock | 19 November 2014, 23:19:45 UTC | Simplify tangent calculation. | 19 November 2014, 23:19:45 UTC |
dd3b903 | Mike Bostock | 19 November 2014, 18:31:48 UTC | Fix for counterclockwise rounded arcs. | 19 November 2014, 18:31:48 UTC |
7dedda9 | Mike Bostock | 19 November 2014, 18:25:27 UTC | Fix bug with counterclockwise pie padding. | 19 November 2014, 18:25:27 UTC |
af3f25f | Mike Bostock | 19 November 2014, 17:57:21 UTC | Add closing Z on circles. Also fix arc tests that were using arc segments of angular length π: the large- sweep flag is ambiguous in this case, so use arcs of length π / 2 instead. | 19 November 2014, 17:57:21 UTC |
13c647b | Mike Bostock | 19 November 2014, 17:41:00 UTC | Cleaner. | 19 November 2014, 17:41:00 UTC |
bc83c0f | Mike Bostock | 19 November 2014, 08:04:32 UTC | YES | 19 November 2014, 08:04:32 UTC |
cc57ddb | Mike Bostock | 19 November 2014, 07:50:51 UTC | So close! | 19 November 2014, 07:50:51 UTC |
b792bd9 | Mike Bostock | 19 November 2014, 05:32:10 UTC | Correct sweep flag. | 19 November 2014, 05:32:10 UTC |
f7887e9 | Mike Bostock | 19 November 2014, 05:28:43 UTC | Mostly working. | 19 November 2014, 05:28:43 UTC |
60b6798 | Mike Bostock | 19 November 2014, 03:54:55 UTC | Clamp padAngle. | 19 November 2014, 03:54:55 UTC |
e2ef1c7 | Mike Bostock | 18 November 2014, 07:02:44 UTC | Checkpoint. | 18 November 2014, 07:02:44 UTC |
7d78859 | Mike Bostock | 18 November 2014, 05:48:23 UTC | Simpler logic for arc padding. Rather than dynamically increasing the inner radius for thin wedges, preserve the inner radius but relax the requirement for sides parallel with the adjacent arc. As long as the inner radius is reasonably big, the behavior is pleasing and consistent. The recommended minimum inner radius when using padding is outerRadius * padAngle / sin(θ), where θ is the angle of the smallest arc (without padding). For example, if the outerRadius is 200 pixels and the padAngle is 0.02 radians, a reasonable θ is 0.04 radians and a reasonable innerRadius is 100 pixels. | 18 November 2014, 05:48:23 UTC |
8b08481 | Mike Bostock | 17 November 2014, 23:43:14 UTC | Comment. | 17 November 2014, 23:43:14 UTC |
687b886 | Mike Bostock | 17 November 2014, 23:21:57 UTC | Fix for counter-clockwise rounded arcs. | 17 November 2014, 23:21:57 UTC |
fa6634a | Mike Bostock | 17 November 2014, 21:59:30 UTC | Mostly working, except when counterclockwise. | 17 November 2014, 21:59:30 UTC |
363bf42 | Mike Bostock | 17 November 2014, 21:53:33 UTC | Checkpoint. | 17 November 2014, 21:53:33 UTC |
2aeb26c | Mike Bostock | 17 November 2014, 19:30:05 UTC | Fix thin wedges, again. | 17 November 2014, 19:30:05 UTC |
947757b | Mike Bostock | 17 November 2014, 19:01:59 UTC | More fixes for thin wedges. | 17 November 2014, 19:01:59 UTC |
56e0049 | Mike Bostock | 17 November 2014, 17:03:43 UTC | Better handling of thin wedges. | 17 November 2014, 17:03:43 UTC |
f1db2ea | Mike Bostock | 17 November 2014, 07:49:24 UTC | Avoid crash when accessing padAngle. For backwards compatibility, do not attempt to query the padAngle if the input data is not truthy. | 17 November 2014, 07:49:24 UTC |
d28cc3b | Mike Bostock | 17 November 2014, 07:47:12 UTC | Allow padAngle accessor to be set. | 17 November 2014, 07:47:12 UTC |
d2d8792 | Mike Bostock | 17 November 2014, 07:40:44 UTC | Replace padding with padAngle. The pie layout now exports the padAngle so that it can be used by d3.svg.arc to inset the arc accordingly. | 17 November 2014, 07:40:44 UTC |
659e181 | Mike Bostock | 17 November 2014, 06:09:18 UTC | Condense. | 17 November 2014, 06:09:18 UTC |
89ffe0e | Mike Bostock | 17 November 2014, 05:58:29 UTC | Cleaner logic. | 17 November 2014, 05:58:29 UTC |
c989fef | Mike Bostock | 17 November 2014, 04:46:02 UTC | Handle counter-clockwise arcs. | 17 November 2014, 04:46:02 UTC |
4229bd8 | Mike Bostock | 17 November 2014, 04:39:47 UTC | Compute maximum corner radius. | 17 November 2014, 04:39:47 UTC |
c0e2360 | Mike Bostock | 17 November 2014, 02:58:58 UTC | Fix corner tangent. | 17 November 2014, 02:58:58 UTC |
080147d | Mike Bostock | 16 November 2014, 23:28:29 UTC | Partial implementation of arc.cornerRadius. Still need to implement corners for inner arcs and handle the case where there is not enough room to draw the corners (in which case the corner radius will be reduced as necessary). Related #1131. | 16 November 2014, 23:28:29 UTC |
b850f11 | Mike Bostock | 16 November 2014, 06:50:27 UTC | Padding for d3.layout.pie. Similar to @sebastianseilund’s implementation in 19b9626, but with some style tweaks and handling more edge cases, such as when the pie layout is configured in counterclockwise orientation or when the space reserved for padding exceeds the total available space. (I still need to merge or implement tests.) | 16 November 2014, 06:50:27 UTC |
fcd87f6 | Mike Bostock | 15 November 2014, 22:35:29 UTC | Merge branch 'shuffle-subset' of github.com:PrajitR/d3 into shuffle-subset | 15 November 2014, 22:35:29 UTC |
94168fa | Mike Bostock | 15 November 2014, 22:19:49 UTC | Double-tap zoom transition. | 15 November 2014, 22:19:49 UTC |
2dc5105 | Mike Bostock | 15 November 2014, 16:57:34 UTC | Allow counter-clockwise arcs. If the start angle is greater than the end angle, the arc is now drawn counter- clockwise. This is sometimes useful in conjunction with text paths. Fixes #1749. | 15 November 2014, 16:57:34 UTC |
60df296 | Mike Bostock | 15 November 2014, 01:59:23 UTC | Transitions for dblclick. | 15 November 2014, 01:59:23 UTC |
7042c93 | Mike Bostock | 14 November 2014, 21:31:28 UTC | Merge branch 'master' of github.com:southdesign/d3 into deviation | 14 November 2014, 21:31:28 UTC |
3fb2608 | Mike Bostock | 14 November 2014, 21:12:01 UTC | quadtree.find takes ([x, y]), not (x, y). This makes it easier to use with d3.mouse. | 14 November 2014, 21:13:49 UTC |
1d4c3f3 | Mike Bostock | 14 November 2014, 21:04:12 UTC | Merge remote-tracking branch 'origin/quadtree-find' into 3.5 | 14 November 2014, 21:04:12 UTC |
80e9f3c | Mike Bostock | 14 November 2014, 20:55:22 UTC | Pre-release version number. | 14 November 2014, 20:55:22 UTC |
44f4985 | Mike Bostock | 14 November 2014, 20:54:48 UTC | Merge remote-tracking branch 'origin/range-round-points' into 3.5 | 14 November 2014, 20:54:48 UTC |
493f2eb | Mike Bostock | 14 November 2014, 20:54:25 UTC | Merge remote-tracking branch 'origin/interrupt-event' into 3.5 Conflicts: src/transition/each.js | 14 November 2014, 20:54:25 UTC |
802ec82 | Mike Bostock | 14 November 2014, 20:53:01 UTC | Merge branch 'canadian-locales' of github.com:serhalp/d3 into 3.5 | 14 November 2014, 20:53:01 UTC |
617cedc | Mike Bostock | 14 November 2014, 20:52:33 UTC | Merge branch 'dorotka-master' into 3.5 | 14 November 2014, 20:52:33 UTC |
c1588ce | Mike Bostock | 14 November 2014, 20:52:23 UTC | Merge branch 'master' of github.com:dorotka/d3 into dorotka-master | 14 November 2014, 20:52:23 UTC |
b683163 | Mike Bostock | 14 November 2014, 20:52:08 UTC | Merge branch 'pelson-rotation_dep_on_compose' into 3.5 | 14 November 2014, 20:52:08 UTC |
c4aec8e | Mike Bostock | 14 November 2014, 20:51:42 UTC | Merge branch 'rotation_dep_on_compose' of github.com:pelson/d3 into pelson-rotation_dep_on_compose | 14 November 2014, 20:51:42 UTC |
b42de3c | Mike Bostock | 14 November 2014, 20:51:06 UTC | Merge remote-tracking branch 'origin/namespaced-transitions' into 3.5 Conflicts: src/transition/subtransition.js | 14 November 2014, 20:51:06 UTC |
7f83273 | Mike Bostock | 14 November 2014, 20:50:10 UTC | Merge remote-tracking branch 'origin/undefined' into 3.5 | 14 November 2014, 20:50:10 UTC |
5ad4647 | Mike Bostock | 14 November 2014, 20:49:41 UTC | Merge remote-tracking branch 'origin/fix-point-stroke' into 3.5 | 14 November 2014, 20:49:41 UTC |
e0a6be6 | Mike Bostock | 14 November 2014, 20:45:27 UTC | Merge remote-tracking branch 'origin/map-of-array' into 3.5 | 14 November 2014, 20:45:27 UTC |
534866e | Mike Bostock | 14 November 2014, 20:44:56 UTC | Merge remote-tracking branch 'origin/slice' into 3.5 | 14 November 2014, 20:44:56 UTC |
2771654 | Mike Bostock | 14 November 2014, 20:44:35 UTC | Merge remote-tracking branch 'origin/strict-function' into 3.5 | 14 November 2014, 20:44:35 UTC |
2db7e92 | Mike Bostock | 14 November 2014, 20:44:07 UTC | Merge remote-tracking branch 'origin/transition-gc' into 3.5 | 14 November 2014, 20:44:07 UTC |
135a84a | Mike Bostock | 14 November 2014, 18:53:32 UTC | Allow garbage collection of inherited transition. When creating a new transition derived from an existing transition, the new transition’s parameters (reference time, delay, duration and easing) are inherited. However, we were inadvertantly also capturing a reference to the old transition lock, including any tweens and listeners. Even though this object wasn’t used by the transition after creation, it’s likely that the garbage collector wasn’t smart enough to free the old lock. We now set the lock to null explicitly so as to allow garbage collection and avoid a memory leak with chained transitions. Related #2110. Also, create a new object when using transition.transition rather than using Object.create. It’s slightly more code, but it’s simpler. | 14 November 2014, 18:59:33 UTC |
f82dd6f | Jason Davies | 13 November 2014, 17:30:21 UTC | Remove redundant parentheses. | 13 November 2014, 17:31:46 UTC |
2d48c8a | Jason Davies | 13 November 2014, 10:13:24 UTC | Remove function declaration inside conditional. Strictly speaking, this is not legal ECMA-262 syntax, since a function declaration is not a statement and thus shouldn’t appear as part of a block. The reason for this is inconsistent hoisting behaviour across implementations. For example, V8 will always hoist a function declaration, even if it’s inside a conditional block, but Firefox will not hoist function declarations inside conditional blocks. Fixes #2114, #1553. | 13 November 2014, 10:13:24 UTC |
e221ab0 | Jason Davies | 03 November 2014, 22:06:33 UTC | Shorten. Slicing an array with a negative end index indicates an offset from the end of the array. | 03 November 2014, 22:06:33 UTC |
9bb8561 | Mike Bostock | 24 October 2014, 18:25:41 UTC | Fix #2031 - Create a map from an array. The d3.map constructor can now be used to index the elements of an array by an optional key function, providing a convenient (and faster) alternative to using d3.nest. Before: var objectByKey = d3.nest() .key(function(d) { return d.key; }) .rollup(function(values) { return values[0]; }) .map(objects, d3.map); After: var objectByKey = d3.map(objects, function(d) { return d.key; }); Note that the behavior of the d3.map constructor now changes slightly when a sparse array is used. Previously, missing elements from sparse arrays were skipped by the for-in loop, but now missing elements are indexed. | 24 October 2014, 18:30:54 UTC |
6467340 | Mike Bostock | 23 October 2014, 22:08:17 UTC | Fix extra stroke when drawing points. The canvas arc commands starts at the positive x-axis, so we must move there before drawing the arc, rather than moving to the circle’s center. | 23 October 2014, 22:08:17 UTC |
688fd6d | Jason Davies | 18 October 2014, 10:36:03 UTC | Remove references to undefined. Although unlikely, it’s possible to reassign `undefined` externally so that it affects internal behaviour of any functions that reference it. This doesn’t affect the minified code, since `undefined` is replaced with `void 0` by UglifyJs. Although it’s not possible to defend against all possible ways of modifying core JavaScript functionality, it seems simple enough to avoid it in a few limited cases, and this change barely affects the minified and gzipped sizes. Fixes #2077. | 23 October 2014, 21:04:11 UTC |
d659844 | Mike Bostock | 23 October 2014, 17:25:17 UTC | Merge pull request #2085 from rbu/locale-leading-zero-in-date Use zero-padded day of the month in DE+FR | 23 October 2014, 17:25:17 UTC |
0e5a8c1 | Robert Buchholz | 23 October 2014, 17:05:38 UTC | Use zero-padded day of the month in DE+FR Currently, dates get formatted as "1.01.2014" which is inconsistent. Other locales use "01.01.2014" or comparable as well. | 23 October 2014, 17:05:38 UTC |
0022fcb | Mike Bostock | 23 October 2014, 16:56:09 UTC | Namespaced transitions. | 23 October 2014, 17:02:09 UTC |
3d8797b | Dorota | 22 October 2014, 22:55:54 UTC | Modified months shortcuts After further discussion with a friend doing Phd in Polish language I made some changes to the months shortcuts. | 22 October 2014, 22:55:54 UTC |
4612d2f | Mike Bostock | 22 October 2014, 17:43:21 UTC | Merge branch 'master' into interrupt-event | 22 October 2014, 17:43:21 UTC |
ac5885b | Phil Elson | 21 October 2014, 13:21:25 UTC | Ran make | 21 October 2014, 13:21:25 UTC |
89f1e65 | Phil Elson | 21 October 2014, 12:43:31 UTC | Added compose as a dependency of rotation. | 21 October 2014, 12:43:31 UTC |
9364923 | Jason Davies | 17 October 2014, 12:01:43 UTC | Bump version. | 17 October 2014, 12:01:43 UTC |
1398d4d | Mike Bostock | 17 October 2014, 06:22:56 UTC | Simplify benchmark. | 17 October 2014, 06:22:56 UTC |
74aaf24 | Mike Bostock | 17 October 2014, 06:20:36 UTC | Use d3_numeric for !isNaN. | 17 October 2014, 06:20:36 UTC |
57e07f9 | Mike Bostock | 17 October 2014, 06:15:57 UTC | Rename `array1` to `numbers`. | 17 October 2014, 06:15:57 UTC |
ad7e17d | Mike Bostock | 17 October 2014, 06:04:51 UTC | Merge branch 'axis-finite' into 3.4.13 | 17 October 2014, 06:04:51 UTC |
f1bb569 | Mike Bostock | 17 October 2014, 06:04:11 UTC | Merge branch 'fix-format' into 3.4.13 | 17 October 2014, 06:04:11 UTC |
2af1d30 | Mike Bostock | 17 October 2014, 06:03:41 UTC | Merge branch 'interpolate-precision' into 3.4.13 | 17 October 2014, 06:03:41 UTC |
669b934 | Mike Bostock | 17 October 2014, 06:02:59 UTC | Merge branch 'stack-empty' into 3.4.13 | 17 October 2014, 06:02:59 UTC |
c4870f4 | Mike Bostock | 17 October 2014, 06:02:25 UTC | Merge branch 'fix-falsey-dsv-accessor' into 3.4.13 | 17 October 2014, 06:02:25 UTC |
8852a1c | Mike Bostock | 17 October 2014, 06:01:52 UTC | Merge branch 'fix-d3-global' into 3.4.13 | 17 October 2014, 06:01:52 UTC |
4c62314 | Mike Bostock | 17 October 2014, 06:01:34 UTC | Merge branch 'fix-hcl-lab' into 3.4.13 | 17 October 2014, 06:01:34 UTC |
a18b3f3 | Mike Bostock | 17 October 2014, 06:00:51 UTC | Merge branch 'fix-mean-string' into 3.4.13 | 17 October 2014, 06:00:51 UTC |
84e242f | Mike Bostock | 17 October 2014, 06:00:20 UTC | Merge branch 'optimize-axis' into 3.4.13 | 17 October 2014, 06:00:20 UTC |
a64f6df | Mike Bostock | 17 October 2014, 05:24:52 UTC | set.add should return the string-coerced value. | 17 October 2014, 05:24:52 UTC |
a7cb015 | Mike Bostock | 17 October 2014, 05:16:51 UTC | Object.defineProperty is now required. Since d3.map and d3.set now rely on Object.create(null), we also now rely on Object.defineProperty to create non-enumerable properties. | 17 October 2014, 05:16:51 UTC |