2102 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
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
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
Ian Gilman
23f3a9fb0d Merge pull request #1005 from openseadragon/loaded
Fixed test issues
2016-08-17 10:50:48 -07: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
Ian Gilman
03b2a86a9d Merge branch 'master' into loaded 2016-08-10 09:49:59 -07:00
Chris Honselaar
0b28b5f152 this.tileSize undefined in this scope 2016-08-04 16:02:48 +02:00
Ralph Krimmel
0d9e2e8b96 Adding a comment describing the format 2016-08-01 09:39:54 +02:00
Ian Gilman
0c43d76ed0 Changelog for #987 2016-07-29 13:24:12 -07:00
Ian Gilman
6f6207412c Merge pull request #987 from VoidVolker/master
[=] Wrap fix for #555
2016-07-29 13:21:24 -07:00
VoidVolker
41c82c88a9 [-] remove ref to getTileAtPoint - becasue this are subclass of TileSource 2016-07-29 20:45:57 +03:00
VoidVolker
eb799bdc70 [=] fix for image source type image and in legacytilesource 2016-07-29 20:36:05 +03:00
VoidVolker
ecebc3305f [=] Dropped useless calculations 2016-07-29 12:41:25 +03:00
VoidVolker
2bcc1aa0f4 [=] Wrap fix for #555
1. Fix for horizontal and vertical wrap. Problem was in
`getTileAtPoint`: it was working only for points inside viewer - thanks
to @avandecreme for finding this.
2. Was small bug in not rendering top row and left column - after scroll
there are empty space and need some time for rendering.
2016-07-29 01:33:48 +03:00
Ian Gilman
a4d97e1929 Changelog for #981 2016-07-28 10:16:46 -07:00
Ian Gilman
469341094d Merge pull request #981 from LarissaSmith/master
Added an option to addTiledImage to change the crossOriginPolicy.
2016-07-28 10:15:25 -07:00
Larissa Smith
4ccabe78de Passed options.crossOriginPolicy into getTileSource. Also changed checks on crossOriginPolicy to compare to undefined, and added tests for the addTiledImage crossOriginPolicy api. 2016-07-28 09:35:43 -06:00
Ian Gilman
922d247c7b Changelog for #984 2016-07-27 09:56:41 -07:00