https://github.com/d3/d3

sort by:
Revision Author Date Message Commit Date
015c20b 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 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 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 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 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 Merge pull request #1781 from fabriciotav/master Add pt-BR for localization. 17 March 2014, 15:10:35 UTC
cc64f19 Add pt-BR for localization. Taken into account multiple locales support, and not custom build. 17 March 2014, 13:11:34 UTC
17b4acf Merge pull request #1775 from Alex--wu/master Add zh-CN for localization 13 March 2014, 15:07:42 UTC
eb40480 Add zh-CN for localization 13 March 2014, 13:30:06 UTC
a120375 Copyright year should be a range? 09 March 2014, 18:14:50 UTC
a4bd167 Merge branch 'safe-sin' 27 February 2014, 15:50:18 UTC
bef5de7 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 Merge branch 'fix-prefix' 18 February 2014, 16:39:33 UTC
0cb6cd9 Tweak comment. Add another test. 18 February 2014, 16:38:48 UTC
5c3d51c Merge branch 'master' of github.com:jbblanchet/d3 into fix-prefix 18 February 2014, 16:19:56 UTC
aaa3585 Merge pull request #1721 from gdi2290/patch-1 update copyright year 18 February 2014, 16:14:25 UTC
d42e8c7 Updated test/locale for suffix bug 12 February 2014, 02:29:15 UTC
fee2a08 Update number-format.js Corrects bug where currency suffix was overwritten by SI-prefix formatting. 11 February 2014, 19:33:51 UTC
92c831b update copyright year 03 February 2014, 10:04:15 UTC
b3d9f5e Merge pull request #1705 from zerolinux5/patch-1 add _site 21 January 2014, 16:10:09 UTC
4e4257f add _site 21 January 2014, 02:51:51 UTC
13293df Merge pull request #1699 from kmindi/add-composer adds composer.json closes #1674 16 January 2014, 17:57:14 UTC
441e8a4 Abbreviate per @maxogden. 15 January 2014, 22:34:25 UTC
613824b corrects package name to include vendor 15 January 2014, 07:14:28 UTC
0238cac removes minimum-stability from composer.json 14 January 2014, 23:15:26 UTC
11466b2 adds first draft of a composer.json 14 January 2014, 23:02:33 UTC
657effb Fix a winding order bug in viewport clipping. Introduced by bfce5d5d11a30615b132be071ff320c46ce13417 (<= vs <). 13 January 2014, 19:42:04 UTC
ceee009 Fix browserify reference. 10 January 2014, 22:18:17 UTC
f41170a Non-redundant locale grouping definition. 10 January 2014, 17:52:03 UTC
5c6cc73 Consolidate symbol definition. 10 January 2014, 05:40:47 UTC
45502ac Use non-breaking space in ru_RU example. 10 January 2014, 00:44:43 UTC
ba170a5 Merge branch 'locale' into 3.4 10 January 2014, 00:43:32 UTC
c7c4475 Merge branch 'master' into 3.4 10 January 2014, 00:38:12 UTC
8f919c4 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 Bump version number. 09 January 2014, 23:36:18 UTC
a18c8a2 Merge branch 'force-charge-distance' into 3.4 09 January 2014, 23:33:53 UTC
f8b79c9 Merge branch 'locale' into 3.4 09 January 2014, 23:33:19 UTC
534d44b Merge branch 'map-size-empty' into 3.4 09 January 2014, 23:32:48 UTC
9e77800 Merge branch 'define' into 3.4 09 January 2014, 23:32:10 UTC
d0a047a Merge branch 'better-hull2' of https://github.com/DanGoldbach/d3 into 3.4 09 January 2014, 23:31:05 UTC
aee1214 Restore Math.random on teardown. 09 January 2014, 23:25:16 UTC
e44ae3c Merge branch 'random-tests' of https://github.com/DanGoldbach/d3 into random-tests 09 January 2014, 23:14:25 UTC
d7f2ce3 Fix global restore. 09 January 2014, 22:03:03 UTC
99ff885 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 Add tests for d3.locale. 09 January 2014, 19:07:32 UTC
da785c6 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 Add test for timeFormat.multi. 08 January 2014, 23:47:10 UTC
02241ef 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 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 Add an example of another locale. 08 January 2014, 22:45:44 UTC
77cd399 Use d3_time. 08 January 2014, 22:29:44 UTC
e93f69c Cleaner locale implementation. 08 January 2014, 22:21:24 UTC
8349aa1 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 Consolidate duplicate code. 08 January 2014, 21:05:13 UTC
af76f54 Simplify. 08 January 2014, 21:04:51 UTC
c3c2bd6 Better {set,map}.forEach tests. Adapted from @DanGoldbach’s fa618397f6f09c274c72b11dcd91800456d1604a. 08 January 2014, 21:04:51 UTC
fc15390 Implement {map,set}.{size,empty}. Fixes #1648. 08 January 2014, 21:04:51 UTC
3234f47 Merge branch 'fix-subscale-time-scale-nice' 16 December 2013, 17:24:53 UTC
d5b18a6 Use d3_identity. 16 December 2013, 17:22:34 UTC
6e6cf4e Added floor() and ceil() to millis interval 16 December 2013, 01:06:57 UTC
2509055 Added failing test for nice() on millisec interval 16 December 2013, 01:06:47 UTC
840a2d1 Merge branch '3.3.12' 14 December 2013, 00:06:11 UTC
bdfe062 Merge branch 'transverse' into 3.3.12 14 December 2013, 00:04:00 UTC
b1dc5c3 Merge branch 'fix-classed' into 3.3.12 14 December 2013, 00:03:09 UTC
2612181 Merge branch 'bates' into 3.3.12 13 December 2013, 23:59:50 UTC
0a12e31 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 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 Cleaner transverse projection. Fixes tests. 12 December 2013, 23:36:35 UTC
f46d8d2 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 Use `inDelta` not `equals` for double comparisons in polygon area test 05 December 2013, 08:05:38 UTC
c5e2d3d 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 Minor whitespace issue 04 December 2013, 13:41:34 UTC
bfce5d5 Refactor isLeft out of clip-extent into trigonometry 04 December 2013, 13:40:56 UTC
e4af090 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 Arbitrary transverse projections. Fixes #1157. 03 December 2013, 20:04:03 UTC
4e9cbcb Merge branch 'master' of git://github.com/guybedford/d3 Conflicts: package.json 03 December 2013, 16:23:14 UTC
65ec4c7 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 include d3 shim config for jspm 25 November 2013, 12:26:45 UTC
cdbb9b7 Use a proper lognormal CDF approximation 24 November 2013, 02:49:32 UTC
eee58b8 Better var names and comments 24 November 2013, 02:14:12 UTC
26ef152 More comments 24 November 2013, 02:03:07 UTC
c43a1c3 Use seed random to seed Math.random 24 November 2013, 02:02:42 UTC
0dd467f Remove @author in comment 23 November 2013, 13:01:13 UTC
e57b50e Remove author tag (consistency with other d3 source) 23 November 2013, 11:15:04 UTC
cd40989 Add author tag (so you know who to blame when hull breaks) 23 November 2013, 11:13:05 UTC
fb584cf Rename some test cases (point sets aren’t polygons) 23 November 2013, 11:11:59 UTC
317740b Add some decent (non-trivial) hull tests 23 November 2013, 11:04:37 UTC
9ade1b4 Merge branch 'master' into better-hull2 Conflicts: d3.min.js 23 November 2013, 10:51:33 UTC
336e317 Remove unused code 23 November 2013, 09:29:50 UTC
a493c91 Remove console.logs and add more comments 23 November 2013, 09:15:16 UTC
0722f40 Implement a bunch of RNG tests including K-S test 23 November 2013, 09:11:35 UTC
525cbbf Update README.md 20 November 2013, 23:25:24 UTC
b2c4c9a Update README.md 20 November 2013, 20:59:08 UTC
696c6d8 Merge branch '3.3.10' 19 November 2013, 17:19:00 UTC
c73116f Merge branch 'filter-group-index' into 3.3.10 19 November 2013, 17:18:12 UTC
e9033c5 Merge branch 'fix-resampling-error' into 3.3.10 19 November 2013, 17:17:45 UTC
17a8663 Merge branch 'filter-fix' of git://github.com/natevw/d3 into filter-group-index 19 November 2013, 17:17:11 UTC
32e73ca 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 Simpler update between ordinal & quantitative scales. 19 November 2013, 17:15:42 UTC
11a4a6e 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
back to top