Commit Graph

3365 Commits

Author SHA1 Message Date
Andreas Wagner
e50beb435b Update legacytilesource.js
Remove check for filetype based on uri or mimetype strings (maybe the filetype is not known before actually downloading the resource).
2016-10-20 11:32:13 +02:00
Ian Gilman
bcd093e3e6 Merge branch 'master' of github.com:openseadragon/openseadragon 2016-10-10 17:09:28 -07:00
Ian Gilman
f7d660945c Changelog for #1035 2016-10-10 17:09:12 -07:00
Ian Gilman
5c538c0967 Merge pull request #1035 from adgoncal/patch-2
Fix IndexSizeError on IE and Edge #1033
2016-10-10 17:07:18 -07:00
Ian Gilman
3cc4ffd21b Changelog for #1027 2016-10-10 15:37:47 -07:00
Ian Gilman
77ff2bfd05 Merge pull request #1027 from rdlester/square
Use the squared distance when comparing tiles.
2016-10-10 15:34:17 -07:00
Antoine Vandecreme
cca6b47fc0 Fix TileSource.getTileAtPoint 2016-10-09 14:05:22 +02:00
Antoine Vandecreme
2821c8f67b Partialy fix edge smoothing. 2016-10-06 22:18:32 +02:00
zakharov-aa
ffa4bbc8df IE8 naturalWidth and naturalHeight more clear fix 2016-09-28 10:39:20 +03:00
zakharov-aa
c5ad9b25bf IE8 fix for tileSources type: 'image' 2016-09-28 09:40:28 +03:00
A
e38c53ff31 Use canvas instead of sketchCanvas 2016-09-23 16:19:08 -04:00
A
c24e8ceedf Fix IndexSizeError on IE and Edge #1033
Internet Explorer and Microsoft Edge throw IndexSizeError when you call context.drawImage with negative x or y or width or height greater than the canvas width or height respectively.
2016-09-23 15:57:35 -04:00
Ryan Lester
861f4bdcd1 Comment fixes 2016-09-22 23:01:33 -04:00
Antoine Vandecreme
254b426b2b Merge pull request #1031 from kant/patch-1
Fix link to GitHub's intro to open source page.
2016-09-18 10:11:23 +02:00
Darío Hereñú
63430ecf6f Minor fix (proposal) 2016-09-17 18:57:15 -03:00
Ryan Lester
0d4e17b627 Use the squared distance when comparing tiles.
This drops a Math.sqrt calculation from every tile iterated over while
drawing, improving performance.
2016-09-05 19:09:44 -04:00
Ian Gilman
52fd82d4be Changelog and tweak for #995 2016-09-01 10:02:42 -07:00
Ian Gilman
bde239d389 Merge pull request #995 from chrishonselaar/patch-1
this.tileSize undefined in this scope
2016-09-01 09:56:09 -07:00
Ian Gilman
192c0e5c36 Changelog and tweak for #863 2016-08-29 10:45:28 -07:00
Ian Gilman
1f75fb8d0a Merge pull request #863 from foobarable/master
Added first version of zoomifytilesource.js
2016-08-29 10:42:32 -07:00
Ian Gilman
a228126ddb Merge pull request #1019 from msalsbery/ms-vscode
Added Visual Studio Code workspace configuration
2016-08-29 09:59:42 -07:00
Antoine Vandecreme
fbcf78c894 Fix tests. 2016-08-28 19:59:36 +02:00
Antoine Vandecreme
62c96ebad7 Add clip-change event. 2016-08-28 14:39:14 +02:00
Antoine Vandecreme
33332bf774 Set rotation around center and fix typo. 2016-08-28 13:39:26 +02:00
Antoine Vandecreme
eaddc1c33b Merge branch 'master' of https://github.com/openseadragon/openseadragon 2016-08-28 12:14:49 +02:00
Antoine Vandecreme
2e3f57401f Fix tiles missing with rotation + rotate around center 2016-08-28 12:10:35 +02:00
Mark Salsbery
ff7dfac544 newline at end 2016-08-27 11:27:04 -07:00
Ian Gilman
e8324627e1 Changelog for #1014 2016-08-26 10:00:35 -07:00
Ian Gilman
7088dbf3c1 Merge pull request #1014 from CaptainCodeman/issue-1013
Fix #1013
2016-08-26 09:58:52 -07:00
Mark Salsbery
8e2358288b Merge remote-tracking branch 'origin/master' into ms-vscode
* origin/master: (249 commits)
  Fixed test issues
  Changelog for #837
  Changelog for #1004
  Use control anchor configuration for custom toolbar also
  changelog for #999
  Fix tests on Firefox.
  Make tileSources option smarter about detecting when a json string or xml string has been passed in
  Updated with improved API
  Changelog for #987
  [-] remove ref to getTileAtPoint - becasue this are subclass of TileSource
  [=] fix for image source type image and in legacytilesource
  [=] Dropped useless calculations
  [=] Wrap fix for #555
  Changelog for #981
  Passed options.crossOriginPolicy into getTileSource. Also changed checks on crossOriginPolicy to compare to undefined, and added tests for the addTiledImage crossOriginPolicy api.
  Changelog for #984
  Add support for commonjs.
  Added an option to addTiledImage to change the crossOriginPolicy. addTiledImage will also check the tileSource for crossOriginPolicy.
  Changelog for #967
  Moved setting of withCredentials to after the request is opened to fix IE 10 bug.
  ...
2016-08-25 18:27:07 -07:00
Mark Salsbery
b506281a49 Added Visual Studio Code workspace configuration 2016-08-25 18:15:28 -07:00
Simon Green
198e5b3461 Fix #1013
tiledImage. _needsDraw flag was only being set to true once the tile had been loaded which effectively made the initial tile loading sequential
2016-08-25 13:44:12 -06:00
Antoine Vandecreme
f0cb707ff2 Improve code readability 2016-08-21 19:24:40 +02:00
Antoine Vandecreme
9e69462405 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2016-08-21 13:16:38 +02:00
Antoine Vandecreme
a9f5e7ec73 Add unit test and fix code review comments. 2016-08-21 12:54:33 +02:00
Ian Gilman
23f3a9fb0d Merge pull request #1005 from openseadragon/loaded
Fixed test issues
2016-08-17 10:50:48 -07:00
Antoine Vandecreme
65b59c08d6 First draft of tiled image rotation. 2016-08-17 15:43:08 +02:00
Ian Gilman
168bbfea29 Fixed test issues 2016-08-16 10:18:39 -07:00
Ian Gilman
ae1e2757ba Changelog for #837 2016-08-16 09:48:29 -07:00
Ian Gilman
e7da167c4e Merge pull request #837 from openseadragon/loaded
Added "fully-loaded" event to TiledImage
2016-08-16 09:44:46 -07:00
Ian Gilman
f887b4fefc Changelog for #1004 2016-08-15 14:37:06 -07:00
Ian Gilman
e80c05183b Merge pull request #1004 from Riksarkivet/navigationControlAnchorFix
Use control anchor configuration for custom toolbar also
2016-08-15 14:35:08 -07:00
Sebastian Öberg
77726a684f Use control anchor configuration for custom toolbar also 2016-08-15 13:54:10 +02:00
Ian Gilman
03cc8ffa12 Merge branch 'master' of github.com:openseadragon/openseadragon 2016-08-11 09:51:26 -07:00
Ian Gilman
429a27960f Merge pull request #1001 from avandecreme/master
Fix tests on Firefox.
2016-08-11 09:50:56 -07:00
Ian Gilman
d03b6a7569 changelog for #999 2016-08-11 09:48:23 -07:00
Ian Gilman
b481a17298 Merge pull request #999 from rburgstaler/rpb/make-tilsources-option-smarter-with-json-xml-string
Make tileSources option smarter about detecting when a json string or…
2016-08-11 09:46:07 -07:00
Antoine Vandecreme
bbf354b6b6 Fix tests on Firefox. 2016-08-11 14:45:21 +02:00
Rick Burgstaler
dde379ba12 Make tileSources option smarter about detecting when a json string or xml string has been passed in
The tileSources option was only using a test looking for the presence of a "{", "[", or "<" character to determine if a json string or xml string was passed in.  It is possible for a url to contain one of these characters as well which would break using the url as a tileSources parameter.  The following is an example of a breaking url:
http://myurl.org/{25fb14f0-a839-4c4d-8c97-dd1d67b2cb35}/MyImage.xml

This patch resolves this issue.
2016-08-10 14:30:10 -05:00
Ian Gilman
23b955c6b4 Updated with improved API 2016-08-10 10:35:08 -07:00