Commit Graph

3385 Commits

Author SHA1 Message Date
Jirka
4f79f29238 Move cache creation, image downloading process and transparency deduction to the TileSource instance to allow custom data fetching, caching, processing. 2022-04-16 21:19:54 +02:00
Jirka
b2eda881e8 Another problem with release handler: a point instace could be undefined. 2022-04-16 16:53:30 +02:00
Ian Gilman
3dc1fc87b1 Changelog for #2142 2022-04-15 14:16:06 -07:00
Ian Gilman
334e8fbc67
Merge pull request #2142 from Aiosa/master
Delegate error printing to the ajax caller.
2022-04-15 14:12:39 -07:00
Jirka
ec430779f4 Move open-failed error message to the handler, adjust test for the new message style. Add 'numberOfHandlers()' method for events. 2022-04-15 10:32:08 +02:00
Ian Gilman
3b2d456a25 Changelog for #2138 2022-04-14 15:03:24 -07:00
Ian Gilman
d8a8eff21a
Merge pull request #2138 from Aiosa/cache-key
Change Tile.cacheKey strategy
2022-04-14 15:00:35 -07:00
Ian Gilman
f70106e41b
Merge pull request #2144 from openseadragon/dependabot/npm_and_yarn/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7
2022-04-13 13:50:14 -07:00
Ian Gilman
0976c67a29 Changelog for #2100 2022-04-13 13:49:06 -07:00
Tammy DiPrima
e1b651b66c
update expression
Code fails if element.style is undefined.
2022-04-13 13:33:44 -04:00
Jirka
3a84b9369b Clarify documentation on cache-key creation. 2022-04-13 10:47:48 +02:00
dependabot[bot]
e722c960bc
Bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 23:12:41 +00:00
Ian Gilman
2d7be96bdf
Merge pull request #2143 from openseadragon/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-04-12 16:11:47 -07:00
Ian Gilman
2d890fb7a1
Merge pull request #2100 from TanukiSharp/master
Changed full page sizing to 100% instead of compute fixed size (issue #2099)
2022-04-12 15:53:16 -07:00
dependabot[bot]
4679455720
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 08:55:12 +00:00
Sebastien ROBERT
99f73c548c Changed full page sizing to 100vw/100vh instead of compute fixed size (issue 2099) 2022-04-08 08:23:25 +09:00
Jirka
1ec4d71db0 makeAjaxRequest(): delegate error message responsibility to the handler if any. 2022-04-07 17:56:14 +02:00
Jirka
a2b915cc6d Merge remote-tracking branch 'origin/cache-key' into cache-key 2022-04-07 14:53:20 +02:00
Jirka
ee2404afe3 Update Tile.prototype.getTileHashKey() documentation. Provide deprecation warning for cacheKey property - now it must be passed through Tile constructor. 2022-04-07 14:48:26 +02:00
Aiosa
29d16bd535
Merge branch 'openseadragon:master' into cache-key 2022-04-02 15:23:37 +02:00
jonasengelmann
eca51850e2 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2022-04-01 11:14:55 +02:00
jonasengelmann
c16d1e3dff ensure backward compatibility 2022-04-01 10:06:18 +02:00
jonasengelmann
d62538f42e fixed white space 2022-03-31 23:50:38 +02:00
jonasengelmann
c2821b1775 set initial navigator animation time to viewport's 2022-03-31 23:45:46 +02:00
Ian Gilman
2c9d244023 Changelog for #2134 2022-03-31 13:55:53 -07:00
Ian Gilman
8e6369969b
Merge pull request #2134 from Aiosa/master
Docs clarification and solve #2094. Unwrap TiledImage closure.
2022-03-31 13:48:53 -07:00
jonasengelmann
ef8e7ad9c5 fixed typo 2022-03-30 23:41:43 +02:00
jonasengelmann
fb8bafc6a0 updated tests 2022-03-30 23:05:14 +02:00
jonasengelmann
dc2a1534d3 removed modulo for degrees to avoid spining 2022-03-30 22:59:29 +02:00
jonasengelmann
8746e8b243 fixed wrong getHomeBounds 2022-03-30 22:37:14 +02:00
Jirka
38e91f1fa5 Change coverage methods on TiledImage to be member methods. 2022-03-30 13:27:23 +02:00
jonasengelmann
1cbc2d96c1 fixed initial degree option 2022-03-29 19:18:25 +02:00
jonasengelmann
65957efe72 updated docs 2022-03-29 16:55:47 +02:00
jonasengelmann
8519e30a3a added viewport rotation animation 2022-03-29 16:50:18 +02:00
Jirka
2750100d24 Move cache-key generation to TileSource: user might need to override default behaviour in case of non-unique URL's (post data used). 2022-03-29 09:30:25 +02:00
Jirka
7f784835a7 Revert 'spacing change' for licence disclaimer (TiledImage), fix tests on drag-end event no longer firing when mouse does not move (PR #2064) 2022-03-25 12:30:18 +01:00
Jirka
20594e5a51 Stupid typo, added 'static' methods to a wrong class... 2022-03-23 14:25:36 +01:00
Jirka
aa0119be45 Rewrite TiledImage closure functions to be private class members. Fix tests that expect error message to appear in 'log' instead of 'error'. 2022-03-23 14:05:58 +01:00
Jirka
68126a82dc Update docs on POST data to reflect more accurately the behaviour.
Fix bug & implement propositions ~ issue #2094.
2022-03-23 10:22:13 +01:00
Ian Gilman
8506b8a486 Changelog for #2121 (for real) 2022-03-15 14:54:08 -07:00
Ian Gilman
fd8405dd6b Changelog for #2021 2022-03-15 14:52:17 -07:00
Ian Gilman
7e64d28197
Merge pull request #2121 from ronnymikalsen/fix/2117-contacts-points-in-mousetracker
fix: contacts points on touch devices
2022-03-15 14:49:51 -07:00
Ian Gilman
cf709b1c5c
Merge pull request #2132 from ronnymikalsen/fix/demo-iiif-tilesources
fix: change tileSources in demo for iiif
2022-03-15 14:46:47 -07:00
Ronny Mikalsen
576a0f9c33 fix: setting contacts to 0 if below 0 2022-03-14 14:26:11 +01:00
Ronny Mikalsen
01a9e3b168 fix: change tileSources in demo for iiif
Tile sources on wellcomelibrary.org is no longer available
2022-03-14 14:12:21 +01:00
Ian Gilman
116d0a7001 Changelog for #2120 2022-03-04 14:17:02 -08:00
Ian Gilman
7ee059d276 Merge branch 'master' of github.com:openseadragon/openseadragon 2022-03-04 14:14:50 -08:00
Ian Gilman
d175de1496
Merge pull request #2120 from claycoleman/allow-silencing-multi-image-warnings
Allow silencing multi-image warnings
2022-03-04 14:13:51 -08:00
Ronny Mikalsen
eeeccff1ba chore: revert code that should be in another PR 2022-03-02 10:12:06 +01:00
Ronny Mikalsen
0f984bd3b3 refactor: removed unnecessary code 2022-03-02 10:10:30 +01:00