Ian Gilman
3f1072b321
Fixed typos in comments
2013-06-26 09:15:37 -07:00
Kevin Ewing
248852c15f
Implementing OpenSeadragon.now()
...
Replacing both `+new Date()` and `new Date().getTime()` with `$.now()`
2013-06-20 13:15:04 -07:00
Chris Adams
9f6f164d9f
Remove all whitespace
...
The results of running this command::
find . -name \*.js -print0 | xargs -0 perl -p -i -e "s|[ \t]+$||"
(Split from #136 )
2013-06-19 13:33:27 -04:00
Ian Gilman
1d51b72785
Fixed blendTile()-related blurriness issue
...
We were setting drawer.updateAgain to the result of each blendTile(),
which meant it was keeping only the last result. Instead we should have
been only setting it to true if blendTile returned true, but never
setting it to false. Fixed.
2013-05-29 11:18:25 -07:00
Benjamin Gilbert
fa1a8b2dde
Fix Drawer event emission
...
Drawer tries to emit events on the parent Viewer object but doesn't have
a reference to it. Add a reference when constructing the Drawer.
2013-05-16 02:49:29 -04:00
iangilman
0b366d7b42
Merge pull request #89 from bgilbert/license
...
Revert to original New BSD license; clean up license declarations
2013-05-14 09:15:00 -07:00
Benjamin Gilbert
fcc119bb84
Add file-specific descriptions to file headers
2013-05-14 00:00:24 -04:00
Benjamin Gilbert
17a6ee15b1
Include 2010 in "OpenSeadragon contributors" copyright dates
...
This Git repository starts in 2011, but the CodePlex Mercurial repository
has commits from 2010.
2013-05-13 23:32:09 -04:00
Benjamin Gilbert
522bcbf058
Add addClass()/removeClass() utility functions
2013-05-12 22:53:41 -04:00
Benjamin Gilbert
2f2eba8df2
Add "OpenSeadragon contributors" copyright statement
...
The license text will be provided on the website, etc., and it seems
strange to list no copyright date newer than the original CodePlex
copyright from the AJAX Control Toolkit. Add a blanket copyright
statement for contributions to the OpenSeadragon project, stating that
copyright is held by the authors of each contribution. This blanket
statement is not intended to preclude individual contributors from
attaching their own copyright statements to their modifications.
2013-05-12 17:12:26 -04:00
Ian Gilman
c6f8b5e192
Fixed broken viewer.raiseEvent calls in drawer.js
2013-05-10 11:32:22 -07:00
Benjamin Gilbert
be20645876
Add BSD license block and CodePlex copyright to each source file
...
See discussion in #10 .
2013-05-10 00:16:55 -04:00
thatcher
f0c7870f4e
cleaning up new setting as applied to collections
2013-03-14 07:22:26 -04:00
thatcher
b9741daaaf
removing debug console log statement per ventero's review notes
2013-03-14 07:22:26 -04:00
thatcher
86e27c18f7
what was initally a feature branch to work on just canvas prerender, evolved into a feature branch focused on broader ideas discussed in issue #4 - I've basically been able to reduce time spent in drawTile by half. good stuff, thanks to dustmoo for getting us looking into this
2013-03-14 07:22:26 -04:00
thatcher
2be165fa70
niave implementation of prerender for canvas, the first optimization discussed here: http://www.html5rocks.com/en/tutorials/canvas/performance/
2013-03-14 07:22:25 -04:00
thatcher
5b6a2f5873
basic implementation of issue #2
2013-02-28 15:55:24 -05:00
Ian Gilman
9569ff1215
Removed JS Hint globals comment, since it's now in grunt
2013-02-14 12:04:47 -08:00
thatcher
fda24f343a
added dozens of event hooks based on input from macreery's branch
2013-02-13 19:44:23 -05:00
thatcher
d8a3ccf5e8
dont compute NaN for opacity because FF doesnt like that, per macreery's branch, thanks
2013-02-13 17:20:05 -05:00
thatcher
0540e834b4
refactoring after lint left an error related to drawer and overlays
2013-02-13 09:05:35 -05:00
thatcher
a0fd2b3324
added inital support for moving to a nodejs build with grunt. build only includes concant and lint. fixed all lint warning where appropriate and added lint inline ignores where appropriate. when build script is complete we will start transition to new repo. also currently researching how to prune unfriendly portion of history that make repo large due to large binary files in web app. I like git well enough but using branches for web apps unrelated to code base has made me weary once again of social web fads that force convention without long term consideration of cost.
2013-02-12 22:40:08 -05:00
thatcher
855e753225
some overlays work that had be be completed before finishing tile layers. added brief example of how to how host tiles of zoom.it
2013-02-10 22:53:51 -05:00
thatcher
3f20018c75
correction for recent change which computed a highestLevel for drawer with max instead of min operation
2013-02-09 12:21:51 -05:00
thatcher
576c00b37d
adding support for several new tile sources including iiif, osm and tms (osm and tms are thanks to seajax-utils project)
2013-02-08 09:21:28 -05:00
thatcher
b1cdaaa845
found an IE specific error in some styles set for collections visualizations
2013-02-01 15:35:46 -05:00
thatcher
f863f5fcae
changing drawHTML routine to avoid ie rendering issue
2013-02-01 15:18:53 -05:00
thatcher
bd135904b6
Merge branch 'master' of github.com:thatcher/openseadragon
2013-01-31 12:30:36 -05:00
thatcher
6efc348b8a
finished collection support for html drawers
2013-01-31 12:30:13 -05:00
Ian Gilman
527682d5a6
Merge branch 'master' into lint
...
Fixed Conflicts:
openseadragon.js
src/drawer.js
2013-01-31 09:26:55 -08:00
thatcher
063bce8171
fixing some work in progress for collections visualizations
2013-01-30 20:23:45 -05:00
thatcher
9fc4388ac9
Merge branch 'master' of github.com:thatcher/openseadragon
2013-01-30 16:51:46 -05:00
thatcher
f6ee93b70c
improving custom tile source examples are work for layers begins being supported
2013-01-30 16:51:37 -05:00
Ian Gilman
7a55b6cf77
JS Hint work (mostly semicolons at this point)
2013-01-29 09:32:58 -08:00
Ian Gilman
624fbd97b9
Comment typo
2013-01-28 10:24:13 -08:00
iangilman
d23851d5e5
Merge pull request #15 from Ventero/imageload
...
Pass the correct object to image load callbacks.
2013-01-28 10:21:36 -08:00
Ventero
8f085c83ca
Update documentation for Drawer#loadImage.
...
Additionally, improve name of the parameter passed to the complete
listener.
2013-01-25 20:36:41 +01:00
thatcher
15c35c93fd
0.9.90 adds support for a debug mode and real heterogeneous collection visualizations. straight html div/image support for both features is in process but incomplete
2013-01-23 23:00:11 -05:00
Ventero
bb0ac1f9d1
Pass the correct object to image load callbacks.
...
Previously, the image object was passed on to onTileLoad regardless
if it loaded successfully or not. In case an image failed to load,
this would result in trying to draw a non-existing image onto the
canvas, which (at least in Firefox) throws a DOM exception and results
in the drawer being stuck mid-update.
2012-09-29 12:31:51 +02:00
Ventero
5c74c7b415
Always clear the image load timeout job.
2012-09-29 12:31:46 +02:00
thatcher
e7785fe636
found error related to minPixelWidth being set incorrectly for navigator and image reference strip so it loaded too many level which hurt performance
2012-09-07 08:55:19 -04:00
thatcher
c41f6a464e
Substantial rework of TileSource and Viewer.openTileSource to allow simpler introspect of the intended TileSource implementation based on the configuration object details. Also major www updates to simplify and unify the informational site by building it via simple templates. Improved examples and documentation. Added support for xml, json, jsonp, and inline configuration of supported tile sources.
2012-06-05 07:52:00 -04:00
thatcher
e595ad2381
Adding ability to bind to buttons to custom interface elements, also use screen size detection to avoid using canvas on small devices since is more cpu intensive. Added version check for IE specific implementations to avoid using them for IE 9 and made most IE implementation differences a one-time process instead of an if/else which is evaulated on every call to the function.
2012-04-10 17:02:24 -04:00
thatcher
05f3c1d811
several bug fixes and enhancements. legacy tile source issue discovered and corrected for images with width greater than height. adding basic support for sequenced tile sources including previous and next buttons. added mouse drag and scroll interactions for viewport navigator.
2012-04-03 03:08:27 -04:00
thatcher
2e821a7dc6
IE specific patches
2012-03-20 15:00:25 -04:00
thatcher
10a0db14f7
thanks to josh1093 for finally translating the typo I couldn't make sense of when refactoring. 1 less TODO in the code base, thanks josh.
2012-03-20 03:38:27 -04:00
thatcher
6443d57e09
corrected major performance issue discovered in navigator becuase minPixelRatio was set to Zero. This caused images to be loaded ad infinitum in the navigator, oops.
2012-03-19 19:03:58 -04:00
thatcher
ddaddb7f42
keyboard accessibile buttons finally
2012-03-16 11:36:28 -04:00
thatcher
3f6e8abbfc
Significant improvments to API documentation. Allow what was an object literal OpenSeadragon to be used a function which provides a simplified interface for constructing a Viewer and TileSource by simple, documented configuration settings. Major performance improvements for touch on iPhone, hopefully all mobile devices.
2012-03-01 08:38:15 -05:00
thatcher
1a7c96732f
Fixed issued that caused flicker when using the new LegacyTileSource! Also improves performance for dzi's and other tiled images since the issue was actually in the Drawer and a result of a mistake during the refactor. This is awesome imho! Please check out the new example page to see it in action.
2012-02-23 07:18:28 -05:00