015c20b | Mike Bostock | 23 March 2014, 21:10:55 UTC | Listen to the touch target. This ensures that if the touch target is removed from the DOM during a zoom gesture, the zoom behavior continues to receive events; touch events, unlike other events, are always dispatched to the target of the touchstart event rather than the window. | 23 March 2014, 21:10:55 UTC |
71327d2 | Mike Bostock | 20 March 2014, 18:31:20 UTC | Remove workaround for WebKit bug 44083. This was fixed in 2010, so I think it’s safe to remove the workaround now. | 20 March 2014, 18:31:20 UTC |
1ce09c9 | Mike Bostock | 19 March 2014, 21:42:12 UTC | d3.touch defaults to changedTouches. This way, it’s easier to tell whether the touch changed during the event. This also fixes #1600 because the drag behavior now only dispatches a drag event on elements that moved, even if multiple touches are active. | 19 March 2014, 21:42:12 UTC |
1d16225 | Mike Bostock | 19 March 2014, 21:00:58 UTC | Add d3.touch; fix #1786. The drag behavior no longer crashes when the element being dragged is removed from the DOM. In addition, the new d3.touch method extracts a single identified touch from the current touch event, making it more efficient during multitouch. The drag behavior now assigns touchmove and touchend listeners on the target element of the touchstart event, rather than the window. | 19 March 2014, 21:00:58 UTC |
01b35e9 | Mike Bostock | 19 March 2014, 16:58:41 UTC | Fix all touches ending on any touch ending. The drag behavior registers a touchend listener for each started touch; however, a touchend event is dispatched to ALL listeners when any touch ends, not just for the corresponding starting touch. The drag behavior must therefore detect whenever the ending touch is the corresponding starting touch, and ignore other ending touches. This fixes the drag behavior during multitouch, as discussed in #1786. | 19 March 2014, 16:58:41 UTC |
e4d5da3 | Mike Bostock | 17 March 2014, 15:10:35 UTC | Merge pull request #1781 from fabriciotav/master Add pt-BR for localization. | 17 March 2014, 15:10:35 UTC |
cc64f19 | Fabricio Tavares de Oliveira | 17 March 2014, 13:11:34 UTC | Add pt-BR for localization. Taken into account multiple locales support, and not custom build. | 17 March 2014, 13:11:34 UTC |
17b4acf | Mike Bostock | 13 March 2014, 15:07:42 UTC | Merge pull request #1775 from Alex--wu/master Add zh-CN for localization | 13 March 2014, 15:07:42 UTC |
eb40480 | Alexander WU | 13 March 2014, 13:30:06 UTC | Add zh-CN for localization | 13 March 2014, 13:30:06 UTC |
a120375 | Mike Bostock | 09 March 2014, 18:14:50 UTC | Copyright year should be a range? | 09 March 2014, 18:14:50 UTC |
a4bd167 | Mike Bostock | 27 February 2014, 15:50:18 UTC | Merge branch 'safe-sin' | 27 February 2014, 15:50:18 UTC |
bef5de7 | Jason Davies | 27 February 2014, 00:22:40 UTC | Workaround for lack of symmetry in Math.sin. Chrome 33 included some sin/cos optimisations, which unfortunately broke our assumption that sin(-x) + sin(x) = 0 for all x. More details here: https://code.google.com/p/v8/issues/detail?id=3006 This fix uses: sin(x) = sgn(x) * sin(abs(x)) and: cos(x) = cos(abs(x)) where it matters, which fixes area calculations for degenerate polygons such as: {"type":"Polygon", "coordinates":[[[-0.0002,0.0001],[0.0002,0.0001],[-0.0002,0.0001]]]} Fixes #1753. | 27 February 2014, 00:29:52 UTC |
04fa5dd | Mike Bostock | 18 February 2014, 16:39:33 UTC | Merge branch 'fix-prefix' | 18 February 2014, 16:39:33 UTC |
0cb6cd9 | Mike Bostock | 18 February 2014, 16:38:48 UTC | Tweak comment. Add another test. | 18 February 2014, 16:38:48 UTC |
5c3d51c | Mike Bostock | 18 February 2014, 16:19:56 UTC | Merge branch 'master' of github.com:jbblanchet/d3 into fix-prefix | 18 February 2014, 16:19:56 UTC |
aaa3585 | Mike Bostock | 18 February 2014, 16:14:25 UTC | Merge pull request #1721 from gdi2290/patch-1 update copyright year | 18 February 2014, 16:14:25 UTC |
d42e8c7 | jbblanchet | 12 February 2014, 02:29:15 UTC | Updated test/locale for suffix bug | 12 February 2014, 02:29:15 UTC |
fee2a08 | jbblanchet | 11 February 2014, 19:33:51 UTC | Update number-format.js Corrects bug where currency suffix was overwritten by SI-prefix formatting. | 11 February 2014, 19:33:51 UTC |
92c831b | PatrickJS | 03 February 2014, 10:04:15 UTC | update copyright year | 03 February 2014, 10:04:15 UTC |
b3d9f5e | Mike Bostock | 21 January 2014, 16:10:09 UTC | Merge pull request #1705 from zerolinux5/patch-1 add _site | 21 January 2014, 16:10:09 UTC |
4e4257f | Jesus Magana | 21 January 2014, 02:51:51 UTC | add _site | 21 January 2014, 02:51:51 UTC |
13293df | Mike Bostock | 16 January 2014, 17:57:14 UTC | Merge pull request #1699 from kmindi/add-composer adds composer.json closes #1674 | 16 January 2014, 17:57:14 UTC |
441e8a4 | Mike Bostock | 15 January 2014, 22:34:25 UTC | Abbreviate per @maxogden. | 15 January 2014, 22:34:25 UTC |
613824b | kmindi | 15 January 2014, 07:14:28 UTC | corrects package name to include vendor | 15 January 2014, 07:14:28 UTC |
0238cac | kmindi | 14 January 2014, 23:15:26 UTC | removes minimum-stability from composer.json | 14 January 2014, 23:15:26 UTC |
11466b2 | kmindi | 14 January 2014, 23:02:33 UTC | adds first draft of a composer.json | 14 January 2014, 23:02:33 UTC |
657effb | Mike Bostock | 13 January 2014, 19:39:15 UTC | Fix a winding order bug in viewport clipping. Introduced by bfce5d5d11a30615b132be071ff320c46ce13417 (<= vs <). | 13 January 2014, 19:42:04 UTC |
ceee009 | Jason Davies | 10 January 2014, 22:18:17 UTC | Fix browserify reference. | 10 January 2014, 22:18:17 UTC |
f41170a | Mike Bostock | 10 January 2014, 17:52:03 UTC | Non-redundant locale grouping definition. | 10 January 2014, 17:52:03 UTC |
5c6cc73 | Mike Bostock | 10 January 2014, 05:40:47 UTC | Consolidate symbol definition. | 10 January 2014, 05:40:47 UTC |
45502ac | Mike Bostock | 10 January 2014, 00:44:43 UTC | Use non-breaking space in ru_RU example. | 10 January 2014, 00:44:43 UTC |
ba170a5 | Mike Bostock | 10 January 2014, 00:43:32 UTC | Merge branch 'locale' into 3.4 | 10 January 2014, 00:43:32 UTC |
c7c4475 | Mike Bostock | 10 January 2014, 00:38:12 UTC | Merge branch 'master' into 3.4 | 10 January 2014, 00:38:12 UTC |
8f919c4 | Mike Bostock | 10 January 2014, 00:37:18 UTC | Actually use seedrandom. The tests are run in a sandboxed environment, and so didn’t have access to the same global Math whose random was being overridden. | 10 January 2014, 00:37:18 UTC |
e425945 | Mike Bostock | 09 January 2014, 23:36:18 UTC | Bump version number. | 09 January 2014, 23:36:18 UTC |
a18c8a2 | Mike Bostock | 09 January 2014, 23:33:53 UTC | Merge branch 'force-charge-distance' into 3.4 | 09 January 2014, 23:33:53 UTC |
f8b79c9 | Mike Bostock | 09 January 2014, 23:33:19 UTC | Merge branch 'locale' into 3.4 | 09 January 2014, 23:33:19 UTC |
534d44b | Mike Bostock | 09 January 2014, 23:32:48 UTC | Merge branch 'map-size-empty' into 3.4 | 09 January 2014, 23:32:48 UTC |
9e77800 | Mike Bostock | 09 January 2014, 23:32:10 UTC | Merge branch 'define' into 3.4 | 09 January 2014, 23:32:10 UTC |
d0a047a | Mike Bostock | 09 January 2014, 23:31:05 UTC | Merge branch 'better-hull2' of https://github.com/DanGoldbach/d3 into 3.4 | 09 January 2014, 23:31:05 UTC |
aee1214 | Mike Bostock | 09 January 2014, 23:25:16 UTC | Restore Math.random on teardown. | 09 January 2014, 23:25:16 UTC |
e44ae3c | Mike Bostock | 09 January 2014, 23:14:25 UTC | Merge branch 'random-tests' of https://github.com/DanGoldbach/d3 into random-tests | 09 January 2014, 23:14:25 UTC |
d7f2ce3 | Mike Bostock | 09 January 2014, 22:03:03 UTC | Fix global restore. | 09 January 2014, 22:03:03 UTC |
99ff885 | Mike Bostock | 09 January 2014, 21:54:49 UTC | Support AMD/RequireJS. When d3.js is loaded, it now prefers the AMD define function or module.exports if available; the global `d3` is only set if neither of these are available. A side benefit of this change is that browserify, bower and component can now load the D3 library directly rather than needing a custom definition. | 09 January 2014, 21:54:49 UTC |
8b1e0ea | Mike Bostock | 09 January 2014, 19:07:32 UTC | Add tests for d3.locale. | 09 January 2014, 19:07:32 UTC |
da785c6 | Mike Bostock | 09 January 2014, 18:50:11 UTC | Allow currency prefix and suffix. This commit allows the currency symbol to appear either at the beginning or end (or both, but that should be rare). | 09 January 2014, 18:50:11 UTC |
4c2917d | Mike Bostock | 08 January 2014, 23:47:10 UTC | Add test for timeFormat.multi. | 08 January 2014, 23:47:10 UTC |
02241ef | Mike Bostock | 08 January 2014, 23:30:21 UTC | Add timeFormat.multi. Given an array of format strings and corresponding predicate functions, returns a time format function that tests the input date against each predicate function, using the first format that returns true. | 08 January 2014, 23:30:21 UTC |
d158235 | Mike Bostock | 08 January 2014, 23:00:32 UTC | Don’t bother localizing time scale format. It wasn’t really localized anyway, since the set of format strings weren’t really locale-independent. A better way of localizing this format is to implement a custom time format using locale.timeFormat, as in the custom time format example: http://bl.ocks.org/mbostock/4149176 | 08 January 2014, 23:00:32 UTC |
f152a9e | Mike Bostock | 08 January 2014, 22:45:44 UTC | Add an example of another locale. | 08 January 2014, 22:45:44 UTC |
77cd399 | Mike Bostock | 08 January 2014, 22:29:44 UTC | Use d3_time. | 08 January 2014, 22:29:44 UTC |
e93f69c | Mike Bostock | 08 January 2014, 22:21:24 UTC | Cleaner locale implementation. | 08 January 2014, 22:21:24 UTC |
8349aa1 | Mike Bostock | 29 November 2013, 17:09:51 UTC | Quick and ugly hack to allow multiple locales. Fixes #750. This isn’t the final implementation, but more of a proof of concept demonstrating how to scope any code that requires localization within a closure that has access to locale-specific variables. In the next pass, I can go through this implementation and more cleanly separate locale-dependent from locale- independent code, and only put locale-dependent code within the closure. Also, we may want to use an options object rather than passing a zillion arguments to d3.locale, because a many-argument method is hard to use and may make it harder to extend the API in the future. This commit also breaks the ability to change the default locale during the build process, but this should be easy to restore. | 08 January 2014, 21:10:00 UTC |
997471e | Mike Bostock | 08 January 2014, 21:04:12 UTC | Consolidate duplicate code. | 08 January 2014, 21:05:13 UTC |
af76f54 | Mike Bostock | 03 December 2013, 17:01:41 UTC | Simplify. | 08 January 2014, 21:04:51 UTC |
c3c2bd6 | Mike Bostock | 03 December 2013, 16:59:45 UTC | Better {set,map}.forEach tests. Adapted from @DanGoldbach’s fa618397f6f09c274c72b11dcd91800456d1604a. | 08 January 2014, 21:04:51 UTC |
fc15390 | Mike Bostock | 03 December 2013, 16:50:06 UTC | Implement {map,set}.{size,empty}. Fixes #1648. | 08 January 2014, 21:04:51 UTC |
3234f47 | Mike Bostock | 16 December 2013, 17:24:53 UTC | Merge branch 'fix-subscale-time-scale-nice' | 16 December 2013, 17:24:53 UTC |
d5b18a6 | Mike Bostock | 16 December 2013, 17:22:34 UTC | Use d3_identity. | 16 December 2013, 17:22:34 UTC |
6e6cf4e | Stuart Glaser | 16 December 2013, 01:06:57 UTC | Added floor() and ceil() to millis interval | 16 December 2013, 01:06:57 UTC |
2509055 | Stuart Glaser | 16 December 2013, 00:55:59 UTC | Added failing test for nice() on millisec interval | 16 December 2013, 01:06:47 UTC |
840a2d1 | Mike Bostock | 14 December 2013, 00:06:11 UTC | Merge branch '3.3.12' | 14 December 2013, 00:06:11 UTC |
bdfe062 | Mike Bostock | 14 December 2013, 00:04:00 UTC | Merge branch 'transverse' into 3.3.12 | 14 December 2013, 00:04:00 UTC |
b1dc5c3 | Mike Bostock | 14 December 2013, 00:03:09 UTC | Merge branch 'fix-classed' into 3.3.12 | 14 December 2013, 00:03:09 UTC |
2612181 | Mike Bostock | 13 December 2013, 23:59:50 UTC | Merge branch 'bates' into 3.3.12 | 13 December 2013, 23:59:50 UTC |
0a12e31 | Mike Bostock | 13 December 2013, 23:57:10 UTC | Fix #1664 - empty classed string. The regex used for split was returning [""] for the input "", rather than []. | 13 December 2013, 23:57:10 UTC |
8b67f00 | Mike Bostock | 13 December 2013, 22:00:23 UTC | Inline transverse mercator implementation. Since there are no immediate plans to expose generic transverse projections, it’s slightly faster and more concise to inline this implementation. | 13 December 2013, 22:00:23 UTC |
1260358 | Mike Bostock | 12 December 2013, 23:36:35 UTC | Cleaner transverse projection. Fixes tests. | 12 December 2013, 23:36:35 UTC |
f46d8d2 | Mike Bostock | 05 December 2013, 16:18:23 UTC | Merge pull request #1657 from DanGoldbach/polygon-area-test-epsilon Use `inDelta` not `equals` for double comparisons in polygon area test | 05 December 2013, 16:18:23 UTC |
97d9cb3 | Daniel Goldbach | 05 December 2013, 08:05:38 UTC | Use `inDelta` not `equals` for double comparisons in polygon area test | 05 December 2013, 08:05:38 UTC |
c5e2d3d | Mike Bostock | 04 December 2013, 18:00:18 UTC | Add d3.random.bates; fix d3.random.irwinHall. Fixes #1647. What was previously classified as an Irwin–Hall distribution was in fact a Bates distribution. The irwinHall implementation is fixed, and a new bates implementation is added. | 04 December 2013, 18:00:18 UTC |
19789b6 | Daniel Goldbach | 04 December 2013, 13:41:34 UTC | Minor whitespace issue | 04 December 2013, 13:41:34 UTC |
bfce5d5 | Daniel Goldbach | 04 December 2013, 13:40:56 UTC | Refactor isLeft out of clip-extent into trigonometry | 04 December 2013, 13:40:56 UTC |
e4af090 | Daniel Goldbach | 04 December 2013, 13:03:12 UTC | Style changes as recommended by mbostock: - Various whitespace modifications - underscore var names -> camel case - extract point sort comparator to a global function so it’s not constantly initialised each time you hull - postincrement -> preincrement in for loops - use single `var i` at top of function rather than constantly redeclaring for each for loop | 04 December 2013, 13:03:12 UTC |
47be400 | Mike Bostock | 03 December 2013, 20:04:03 UTC | Arbitrary transverse projections. Fixes #1157. | 03 December 2013, 20:04:03 UTC |
4e9cbcb | Mike Bostock | 03 December 2013, 16:23:14 UTC | Merge branch 'master' of git://github.com/guybedford/d3 Conflicts: package.json | 03 December 2013, 16:23:14 UTC |
65ec4c7 | Mike Bostock | 30 November 2013, 01:04:42 UTC | Fix for cross-domain d3.dsv in IE9. In some cases IE9 processes the opening of an XDomainRequest synchronously, so by the time we were setting the response function to parse the DSV file, it was too late. So instead we use the internal d3_xhr method to set the response function before the request is sent. This is a continuation of fix #1260. | 30 November 2013, 01:04:42 UTC |
242e351 | Guy Bedford | 25 November 2013, 12:26:45 UTC | include d3 shim config for jspm | 25 November 2013, 12:26:45 UTC |
cdbb9b7 | Daniel Goldbach | 24 November 2013, 02:49:32 UTC | Use a proper lognormal CDF approximation | 24 November 2013, 02:49:32 UTC |
eee58b8 | Daniel Goldbach | 24 November 2013, 02:14:12 UTC | Better var names and comments | 24 November 2013, 02:14:12 UTC |
26ef152 | Daniel Goldbach | 24 November 2013, 02:03:07 UTC | More comments | 24 November 2013, 02:03:07 UTC |
c43a1c3 | Daniel Goldbach | 24 November 2013, 02:02:42 UTC | Use seed random to seed Math.random | 24 November 2013, 02:02:42 UTC |
0dd467f | Daniel Goldbach | 23 November 2013, 13:01:13 UTC | Remove @author in comment | 23 November 2013, 13:01:13 UTC |
e57b50e | Daniel Goldbach | 23 November 2013, 11:15:04 UTC | Remove author tag (consistency with other d3 source) | 23 November 2013, 11:15:04 UTC |
cd40989 | Daniel Goldbach | 23 November 2013, 11:13:05 UTC | Add author tag (so you know who to blame when hull breaks) | 23 November 2013, 11:13:05 UTC |
fb584cf | Daniel Goldbach | 23 November 2013, 11:11:59 UTC | Rename some test cases (point sets aren’t polygons) | 23 November 2013, 11:11:59 UTC |
317740b | Daniel Goldbach | 23 November 2013, 11:04:37 UTC | Add some decent (non-trivial) hull tests | 23 November 2013, 11:04:37 UTC |
9ade1b4 | Daniel Goldbach | 23 November 2013, 10:51:33 UTC | Merge branch 'master' into better-hull2 Conflicts: d3.min.js | 23 November 2013, 10:51:33 UTC |
336e317 | Daniel Goldbach | 23 November 2013, 09:29:50 UTC | Remove unused code | 23 November 2013, 09:29:50 UTC |
a493c91 | Daniel Goldbach | 23 November 2013, 09:15:16 UTC | Remove console.logs and add more comments | 23 November 2013, 09:15:16 UTC |
0722f40 | Daniel Goldbach | 23 November 2013, 09:11:35 UTC | Implement a bunch of RNG tests including K-S test | 23 November 2013, 09:11:35 UTC |
525cbbf | Mike Bostock | 20 November 2013, 23:25:24 UTC | Update README.md | 20 November 2013, 23:25:24 UTC |
b2c4c9a | Mike Bostock | 20 November 2013, 20:59:08 UTC | Update README.md | 20 November 2013, 20:59:08 UTC |
696c6d8 | Mike Bostock | 19 November 2013, 17:19:00 UTC | Merge branch '3.3.10' | 19 November 2013, 17:19:00 UTC |
c73116f | Mike Bostock | 19 November 2013, 17:18:12 UTC | Merge branch 'filter-group-index' into 3.3.10 | 19 November 2013, 17:18:12 UTC |
e9033c5 | Mike Bostock | 19 November 2013, 17:17:26 UTC | Merge branch 'fix-resampling-error' into 3.3.10 | 19 November 2013, 17:17:45 UTC |
17a8663 | Mike Bostock | 19 November 2013, 17:17:11 UTC | Merge branch 'filter-fix' of git://github.com/natevw/d3 into filter-group-index | 19 November 2013, 17:17:11 UTC |
32e73ca | Mike Bostock | 17 November 2013, 17:11:37 UTC | Avoid flipping longitude near ±π. When computing the midpoint between two points both at longitude -π, there was a chance that atan2 would return +π rather than -π. Now, we check whether the points to interpolate lie (approximately) on a meridian; if they do, we can approximate by using linear interpolation of longitude rather than atan2. This fixes #1635 which was caused by new trig implementations in Chrome Canary. | 19 November 2013, 17:16:05 UTC |
dfdcb39 | Mike Bostock | 19 November 2013, 17:12:09 UTC | Simpler update between ordinal & quantitative scales. | 19 November 2013, 17:15:42 UTC |
11a4a6e | Jason Davies | 09 November 2013, 09:53:19 UTC | Fix transform for ordinal→quantitative scales. Previously, invalid transform attributes were being set for an ordinal→quantitative scale transition, because entering ticks were undefined in the old (ordinal) scale, and exiting ticks were undefined in the new (quantitative) scale. Fixes #1620. | 19 November 2013, 17:15:42 UTC |