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

30 Коммитов

Автор SHA1 Сообщение Дата
Jason Davies 3c0cdb2285 Update science.js to 1.7.0: fix science.stats.kde. 2011-09-09 23:37:59 +01:00
Mike Bostock 82385841fc Replace submodule with package.json.
This is better, because now we can enumerate all of our dependencies without
embedding them as submodules. After pulling, run `npm install`.
2011-08-18 10:10:16 -07:00
Mike Bostock 00d8bf71a3 Rename lib/uglifyjs to lib/uglify-js. 2011-08-17 16:23:11 -07:00
Mike Bostock 97db7800ea Replace lib/uglifyjs with a submodule.
This brings along a newer version of UglifyJS that fixes some bugs, too.
2011-08-17 13:13:37 -07:00
Mike Bostock 59707f967e Update Makefile test rule and delete lib/env-js. 2011-08-15 16:28:48 -07:00
Jason Davies 7c461b2205 Merge branch 'master' into kde
Conflicts:
	Makefile
	d3.js
	d3.min.js
	src/core/sum.js
2011-07-06 19:54:58 +01:00
Jason Davies e0a0455f7b Move d3.stats to external lib, science.stats.js! 2011-07-06 18:57:14 +01:00
Nathan Vander Wilt f74ccb9243 make `make` work 2011-06-25 17:31:02 -07:00
Mike Bostock 05f58d3a08 Fix a bug in env-js re. insertBefore. 2011-04-09 12:03:52 -07:00
Mike Bostock 96f6374f72 Merge branch 'uglifyjs' of https://github.com/jasondavies/d3 into jasondavies-uglifyjs 2011-04-05 10:22:51 -07:00
Michael Bostock 66c7357cc2 Force -0800 timezone for tests. 2011-03-25 14:03:46 +01:00
Jason Davies 1dfd3350dc Replace Google's closure compiler with UglifyJS.
UglifyJS requires Node.js to run, but it's a lot faster than Google's
compiler and produces smaller gzipped sizes.  Some of the non-gzipped
sizes are a bit larger than Google's but I think the gzipped size is
more important.  Faster runtime is also good when we start testing the
minified versions too.
2011-03-25 10:28:41 +00:00
Jason Davies ae0cddd9f4 Update google-compiler to 20110119. 2011-03-12 11:32:20 +00:00
Michael Bostock 1be121ae20 Unplug env-js' timer module.
This was breaking setTimeout and setInterval in Node, since I've already
unplugged env-js' event loop. With that out of the way, we can write tests for
transitions!
2011-03-04 16:35:16 -08:00
Michael Bostock 7df63b3cfe Allow env-js to be require'd.
This fixes a bug with the usage of `require` in env-js, such that env-js now
uses proper relative paths rather than unshifting "." onto `require.paths`. The
behavior of `require` is documented here:

  <http://nodejs.org/docs/v0.4.2/api/modules.html#all_Together...>

With this change in place, it's now possible to use env-js simply by require'ing
it from a script, rather than having env-js host and eval.

Also, this commit changes the initialization of env-js, such that the initial
document is immediately available when the env-js module is loaded. And, the
event loop is disabled so that env-js shuts down cleanly. This probably breaks
some parts of env-js, but it makes it much easier to use so I'm going to play
with it a bit.
2011-03-04 13:42:49 -08:00
Michael Bostock 3568ecac2c Fix env-js node 0.4.2 incompatibility.
The `console` global is read-only; it cannot be reassigned.
2011-03-04 11:48:14 -08:00
Michael Bostock 1fe1b466d9 Add lib/env-js. 2011-03-04 11:47:19 -08:00
Michael Bostock 8da80dcc99 Support for Sizzle.
D3 now supports Sizzle, preferring Sizzle to the native Selectors API if Sizzle
is available. Sizzle internally uses the native Selectors API and thus this
should have minimal performance implications; also, it allows you to use Sizzle
proprietary extensions such as ":first".

This commit also restricts the definition of the enter selection so that only
append and insert operations are defined. The other operations were generally
unsupported anyway, and it cleans up the code to have separate implementations
for insert and append. (I might enable additional operations in the future, such
as `filter`, `sort` and `each`, but this seems like a reasonable first pass.)
2011-02-17 11:56:13 -08:00
Michael Bostock 156ff68f16 Move Voronoi & Delaunay code into geom module. 2010-11-07 21:09:59 -08:00
Michael Bostock bcf37e4a66 Generate Delaunay from Voronoi. 2010-11-07 20:57:25 -08:00
Michael Bostock ee580489b1 Make Voronoi implementation compile with Closure. 2010-11-07 15:59:40 -08:00
Michael Bostock 56ef531a79 Return closed polygons for Voronoi, rather than edges. 2010-11-06 19:10:50 -07:00
Michael Bostock 603408aa52 Add Voronoi tesselation example. 2010-11-06 17:23:49 -07:00
Mike Bostock a54574bcf9 Add interactive Albers projection explorer. 2010-11-03 11:19:20 -07:00
Michael Bostock 20fb5a6e6f Add Polymaps license. 2010-11-02 14:48:51 -07:00
Michael Bostock a4a7613bc8 Add Protovis license. 2010-11-02 14:48:28 -07:00
Michael Bostock c8799da069 Rewrap colorbrewer/LICENSE. 2010-10-14 10:25:56 -07:00
Michael Bostock 6464020abb Update google-compiler to 20100917. 2010-10-14 10:23:15 -07:00
Michael Bostock 5348d91193 Add lib/colorbrewer. 2010-10-04 20:41:18 -07:00
Mike Bostock 8a722e1241 Add Google Closure Compiler. 2010-09-28 11:25:21 -07:00