Antoine Vandecreme
a12b74ec17
Fix @lends for new JSDoc. Fix polymorphic functions doc ( #824 ).
2016-01-24 16:09:18 -05:00
Larissa Smith
418e21e9f4
Fix for issue with tiledImages loading tiles at every level instead of just the best level: using && instead of || means the tiledImage's longest side is used for comparison instead of the shortest side.
2015-09-15 15:58:34 -06:00
Antoine Vandecreme
4bb80067f7
Avoid using eval when JSON.parse is available.
2015-07-30 16:21:59 -04:00
Conner Wingard
e1e345a4bc
Clean up TileSource object when provided tileWidth/tileHeight for clarity. Add basic TileSource tests.
2015-07-14 14:49:52 -04:00
Conner Wingard
d11c4fe107
Remove TileSource.tileSize. Convert IIIFTileSource to override TileSource.getTileWidth and TileSource.getTileHeight.
2015-06-30 17:56:06 -04:00
Conner Wingard
827fe4e836
Deprecate TileSource.getTileSize(), add TileSource.getTileWidth() and TileSource.getTileHeight()
2015-06-29 13:42:09 -04:00
Conner Wingard
85241b1249
Fix for maintaining IIIFTileSource support while implementing #670 . Change docs to reflect that TileSource.prototype.tileSize is now an OpenSeadragon.Point
2015-06-26 16:26:09 -04:00
Conner Wingard
7e950fda2b
Add support for viewing custom tile sources with non-square tiles
2015-06-26 14:17:40 -04:00
Ian Gilman
a336b23667
Documentation for ajaxWithCredentials-related changes
2015-01-02 16:07:11 -08:00
Ian Gilman
c820f9f918
Added ajaxWithCredentials option
2015-01-02 15:45:46 -08:00
Mark Salsbery
4152b8b866
Trailing whitespace fixes
2014-08-05 07:13:06 -07:00
Rob Sanderson
8a6a111698
Documentation and © fix
2014-07-29 11:12:05 -07:00
Rob Sanderson
2c4440b5a2
Combined IIIF tilesource and dynamic tileSize
2014-07-25 16:31:13 -07:00
Sean Wilkinson
3d1ba84c4d
Corrected simple spelling mistakes in comments
2013-12-13 15:11:00 -06:00
Mark Salsbery
930e8c4dfd
Updated Doclets
2013-11-25 08:48:44 -08:00
Mark Salsbery
ece76925a6
Updated Doclets
...
Lots of changes, most notably event documentation (@event and @fires)
2013-11-21 12:19:07 -08:00
Mark Salsbery
54049927f0
Updated doclets
...
Changed event docs:
Changed userData properties from optional to nullable.
Removed optional type from preventDefaultAction properties.
2013-11-18 06:56:32 -08:00
Mark Salsbery
70b91d57ec
Updated doclets for jsdoc3
...
Updated so jsdoc3 parser picks everything up.
Added event docs.
Lots of documentation content needed...
2013-11-15 22:19:53 -08:00
iangilman
c9f60fd468
Merge pull request #218 from gwills/master
...
IE 10 not reading DZI file correctly
2013-10-22 10:35:05 -07:00
Mark Salsbery
d574700b3d
Event Handler Signatures Changed to 'fn(event)'
...
All event handler signatures changed to 'fn(event)'
eventSource property added to the event object passed
Redundant event source properties removed ('button' and 'viewer'
Documentation updated in MouseTracker
changelog.txt updated
2013-10-10 17:00:15 -07:00
Mark Salsbery
5c37a1f375
Ready event signature fixed for consistency
...
Signature now handlerMethod(eventSource, eventData)
2013-10-02 13:09:40 -07:00
iangilman
21aa2dc928
Merge pull request #228 from msalsbery/EventHandler-Rename
...
Renamed EventHandler to EventSource (#225 )
2013-09-25 09:04:04 -07:00
gwills
f8a0315757
Small formatting change
...
Needed to change spacing to pass through jshint
2013-09-24 21:54:54 +01:00
gwills
8f2999da29
Use $.parseXml for parsing string as XML
2013-09-24 21:49:54 +01:00
Mark Salsbery
dab182757d
Renamed EventHandler to EventSource ( #225 )
2013-09-24 13:36:13 -07:00
gwills
2bef2e882f
IE 10 not reading DZI file correctly
...
IE 10 is treating the data coming back from the JSONP request as a
string and not as XML. I have confirmed this issue is happening on
numerous IE10 machines but have not seen it on any other browser.
The change simply checks the type of the data variable and if it is a
string it parses the string as XML and updates the data object.
2013-09-07 17:08:39 +01:00
iangilman
b2ecdcdc2a
Merge pull request #208 from acdha/ie8-ajax-error-handler-fix
...
Fix AJAX error reporting on IE8
2013-08-30 09:52:11 -07:00
Chris Adams
baa3559df1
Graceful handling of cross-domain tilesource failures on IE<10
...
The TileSource error handling path used to raise non-obvious
"Unspecified error" exceptions on IE < 10 when configured with a URL
from a different origin (hostname or port) because the handler included
``xhr.status`` in the error message, triggering a security exception.
Now the second exception is caught and the log message will use the
original exception message instead to make the root cause more obvious.
2013-08-30 12:32:17 -04:00
Mark Salsbery
c7f184f199
Reverted breaking change for issue #201
...
To be grouped with other breaking changes for major version release.
Also, minor formatting fix in src/eventhandler.js
2013-08-27 10:10:55 -07:00
Mark Salsbery
57ae0656c1
Fixes for issues #198 , #201 , #202 , #203
2013-08-26 16:48:59 -07:00
Mark Salsbery
f8ab315795
Revert "Bad sync"
...
This reverts commit 70a7e8090e13cc35b93e652d2bcd7f418af26fc1.
2013-08-26 15:48:03 -07:00
Mark Salsbery
04a0197dc7
Fixes for issues #198 , #201 , #202 , and #203
2013-08-26 15:25:57 -07:00
Chris Adams
2bf6b13bfe
User-visible warning when tile sources fail to load
...
This is currently using window.alert in lieu of something more sophisticated but it works for indicating 404s or invalid file
contents
2013-06-28 14:11:20 -04:00
Chris Adams
643ee211ca
Remove unused variables
...
Mostly unused function arguments but there were also a fair number
of legacy names which are now no longer used.
One question which comes up – mostly in tilesource.js – is whether
there is any value in leaving unused variables for functions which
are intended to be overridden anyway. I'm inclined to say that the
docs + tests need to be sufficient as there's no enforcement that
whatever is in the base implementation will actually be followed by
any of the real functions.
2013-06-20 15:12:53 -04: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
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
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
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
9aecfddcbf
refs #54 - added missing support for tilesource configuration as xml string or json string via Viewer.open
2013-03-26 14:35:43 -04:00
thatcher
266f33094c
addresses #54 , dont use openDZI, use open. openDZI now calls open. all the details of tileHost were already handled in DZITileSource.configure. $.createFromDZI is fully deprecated and will throw an error.
2013-03-26 09:02:34 -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
b3146683f2
applying patch provided by eikeon for position parameter constructor of TileSource. At some point I hope to deprecate most of these constructors that have more than two positional parameters.
2013-03-12 20:12:08 -04:00
thatcher
274df71c0a
refs #22 use Math.pow per houseofyin and memoize implementation of getLevelScale per acdha
2013-03-01 08:42:06 -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
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
aecf576c06
finished initial development of iiif info xml and json support, added example to site
2013-02-09 15:58:43 -05:00
Ian Gilman
7a55b6cf77
JS Hint work (mostly semicolons at this point)
2013-01-29 09:32:58 -08:00
thatcher
ddedd35db9
patch for substantial error in computing boundary and home poisition when width is greater that height
2012-08-29 20:48:45 -04:00
thatcher
104a814af0
adding prototype image reference strip, fixing IE error related to checking for instanceof XMLDocument, fixing aspect ratio error when image is wider than tall
2012-08-29 14:46:34 -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
2410b01943
finsihed removing psuedo private methods from Drawer and added many jsdoc strings, labeled 0.8.26
2012-01-31 15:59:09 -05:00
thatcher
012255d622
added jsdoc some files to project, added 'doc' task to build, started to annotate code with docs
2012-01-25 14:14:02 -05:00
thatcher
a8730a9f00
mostly superficial formating. removing $.Strings and putting it directly in $. more clean up of the Drawer update related functions
2012-01-23 22:48:45 -05:00
thatcher
d38bc75180
moved all functions in OpenSeadragon.Utils to OpenSeadragon object literal to remove 'utility' anti-pattern. removed src/utils.js from build and deleted physical file. added important TODO notes to avoid overhead from browser vendor/version checks in functions, defining them once instead. incremented build id to 0.8.18
2012-01-17 18:30:41 -05:00
thatcher
7cac08a2f4
found local variable navControl that should have been a property of Viewer. removed getNavControl accessor in favor of direct property access
2011-12-13 07:24:34 -05:00
thatcher
916ada5f02
Added simple ant build. Broke main file into composite parts in src directory. Concatenated release is still included in the project as a release artifact.
2011-12-05 22:50:25 -05:00