Squashed 'subtree/bokehjs/' changes from 9cc8975..0f10053

0f10053 expand range for fft y axis
c81f16f more dumb coffee errors in color mapper, just do things the simple way
cb1a74c reduce unneeded work in image_rgba
1724d31 image.coffee needs same scaling fix
9c9131a allocate deque of image buffers to reuse
e9ed272 correctly reset context for each image
7f29b36 cleanup
9abfa64 factor spectrogram into its own class
d80d521 factor histogram into its own class
5b14f95 add support for zero always being a nice number
4e04004 improve Spectrogram using SimpleIndexPlot
89b7b25 need to register properties ealier
641e1df labeling of test plots
6cb7b76 more axis tests, rules handle bounds correctly (need a way to specify cross range bounds too though)
c9c37c6 linear axes locations work correctly, added some plot tests (could probably be real tests)
75d465f add axes back
7eab992 use better bounds for colormapper
e94b32a small spectrogram improvements
bf22fc0 restrict preview size
8964eee fix some bugs in linear color mapper
cc20c18 Merge pull request #40 from quasiben/master
2769f86 dialog should clean up after itself
193df20 actually fill in bg and border with configured colors
9b2b711 buggy but functional preview/save tool
f3891da remove extraneous logging
5b9b921 changed ticking, some things better, perhaps others not
fd34120 turn off checking for range endpoints for now
f40d656 scroll zoom direction was backwards
6540ec6 better ticking
958eee0 merge canvas refactor branch into master
9b6e1e1 remove extraneous logging
3707f46 ENH: adding pause/unpause rendering so that we only updated after plot state is consistent
0726f9d adding threaded soundserver
af8b8e1 spectrogram limited functionality
f78cfb9 glyphs should update when data changes
a90ad46 docs
818c2e3 fix underlying problem with linear mapper, now origin corresponds to outer frame, and border offset are encoded in mapper target ranges
25cdd2d basic zoom working
6fc369f basic tools working with single canvas but has serious double-update issues
2a4d31c Merge pull request #39 from quasiben/master
a5473dd image plot working again
e8cc009 working rules, plot levels
35f8ea0 correct units for font size
6776b98 make default label font a little smaller
e9c88ff fix width/height and x/y range mixups
006491e add todo
b244e37 initial checkin, mostly functional axes
8abe323 checkpoint for hugo with breakpoint included
02cbac1 only clip renderers, other layer unclipped
306ae13 clenaup
6165b8c checkpoint, prim tests plotting with rules and clipping
5a7c5f0 move Rand to its own file, make space for annotations in the future
083980a allow plot ranges to be passed in, set inner clipping region
831768f fixed README to reflect hem component and soundserver filename
8f1e212 fix typo syntax error
49f2e57 fix broken rx/ry funcs
5aefa50 remove unused require
1fd4752 better error log
af2511e have view_state expose the inner ranges as a property
efadc99 move glyph.coffee in to glyph directory out of the way
4500870 rename primitive to glyph
730edc4 some docs to view_state
298bd83 remove extraneous render causing problems
f774968 simplify, no need for mapper1d base class
d2c631a small fixes for text
672bb49 remove debug log
e9a8c37 working main plots for primitives (text issue on safari)
033bc12 Added more primitives tests.
c50c65d helpful css
2e7e1f1 almost working on quad test
e51cf77 closer, still not working
acf1dcd chainsaw, nothing works yet
238c004 move test out of library proper
8dee793 fix incorrect text font size value
1d6a5b4 some hardcoded changes to extend the x axis so labels don't disappear
9f1849f larger fonts for axes
29f1630 split out plot widget and continuumview
42ae0e7 split up large container.coffee into different modules under the 'common' subdir
a594354 remove old code for schematic renderers, to be replaced after canvas refactor
6ef8172 move style guide to docs
fe4f6c4 move primitive renderers to their own subdirectory, to make room for schematic and guide directories later
48604ef remove unused individual collections for glyph renderers
c62a0f7 cleanup browser workarounds in plot base
7d4a5b4 remove some cruft from base module
3cff8b3 rename image_uri test file
6a0aaa8 remove some cruft in the demos
94a9eff improve bars demo
2f06bf1 remove some cruft in the demos
c2f5e8a improve bars demo
e02d70d Added gallery images for project page.
2eaedbd  a new way of making the request loop wait for data
3e03802  pause works again
0c7c857  throttled at 10ms and automatic restarting
f92ea02  pause now works again
9e88b71  now we only requestAnimationFrame after a succesful get
3d0e7c9 add missing TIMESLICE updates
ce8cd33 update spectrogram to use image_rgba, add pause button
042b419 add image_rgba primitive
f4b2627  spectrogram now renders with request animation frame
ef23813  soundserver now works with hem
4c0b43c  working to get hem working with audioserver
ecc6479 a select tool that should send less over the wire
ba93e9a  a title for the audio demo
4285edd  less chatty
fc86909  more consistent execution order between render_x and render_y
2f429dc fix my previous messed up commit
0b0f118 merge conflict
febef18 Rename imageuri to image_uri
a77fc82 fix up spectrogram example to use new angle convention
4774589 reverse angle convention to match mathematical convention
1d81585  changes to prevent selection tool from updating models over the wire
0b21f7f  path changes to make test work
5baa12f Merge branch 'master' of github.com:ContinuumIO/bokehjs
45a767d Adding readme for spectrogram example
b47ed37 Adding empty js/ dir for audio demo
563e87d Correction paths to JS build resources in demoserver.py
f4b5a8a removing unnecessary ref to application.js in slug.demo.json
d9ea2f7 Updating README to reflect new steps for test, demo, and production
cc4cec2 Fixing slug.demo.json and demoserver.py so now demos work out of new location
a4cee18 creating new directory structure for compiled JS

git-subtree-dir: subtree/bokehjs
git-subtree-split: 0f100536a72859d6a1a7a084c9c0ba50574f4c8e
Updating BokehJS substree
Merge commit '96131ca660f5a9214570eb419f84694ba5075555'
Squashed 'subtree/bokehjs/' changes from 0f10053..323b60f

323b60f add culling to circle renderer, tweak culling for quad renderer
f0d56ca add culling to quad renderer
4c066c4 fix bug where zooming out caused unrecoverable error
3de6017 add thumbs
e31418c one possible fix for half pixel issue. Would like better solution based on affine ctm but this will do for now
e84a1d8 add tools to vector demo
1d1f2d2 include bootstrap in standard slug.json
655b55a new image for gallery
53c72e4 updating slug.tests.json with correct path
5d7dcc8 add map overlay demo
c1621bd fix vector demo, also fix some minor css typos
ad6250d rename axis rule to axis line, since they are perpendicular to the actual rule guides
1274a1d axis and rule properties should be settable from their guidespecs
1323923 reduce vertical space on spectrogam demo
a1c4ff5 update spec plot from freq range as well
03d68e4 respect border_left, etc

git-subtree-dir: subtree/bokehjs
git-subtree-split: 323b60fc71423e535a45f7919ab98ea630d68c7b
Merge commit 'a764f3d01ccce6677489178e4d61e7269006711b'
Removing/moving require on container.js, which got refactored out
small cleanup of session.py