Commit Graph

2972 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
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
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
Jirka
38e91f1fa5 Change coverage methods on TiledImage to be member methods. 2022-03-30 13:27:23 +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
Ian Gilman
5b87f9387e Changelog for #2116 2022-03-01 14:07:01 -08:00
Ian Gilman
3e5e12722a
Merge pull request #2116 from rvv-bouvet/fix/draw-tiles-without-canvas
fix: avoid crash when setting useCanvas to false
2022-03-01 14:03:49 -08:00
Clay Coleman
322a22cb68 Allow silencing multi-image warnings 2022-02-25 12:11:06 -06:00
Ronny Mikalsen
47cc04ff53 fix: contacts points on touch devices
Swiping fast multiple times makes contacts points in mousetracker to be out of sync for touch event

Fixes #2117
2022-02-22 14:24:10 +01:00
Ronny Valentin Vindenes
34fd856b4f fix: avoid crash when setting useCanvas to false 2022-02-22 12:31:32 +01:00
Ian Gilman
2b6c8dd622 Changelog for #2112 2022-02-18 14:23:03 -08:00
Ian Gilman
d4e03836dd
Merge pull request #2112 from shyamkumaryadav/doc-typo
Doc: small documentation fix
2022-02-18 14:19:02 -08:00
Shyamkumar Yadav
7532075aab
Doc: small documentation fix openseadragon#2111
line change from click to double-click
2022-02-18 09:49:24 +05:30
Shyamkumar Yadav
84257e3202 Doc: small documentation fix #2111 2022-02-12 23:34:40 +05:30
Ian Gilman
51e3ea7fa0 Changelog for #2072 and minor comment style change 2022-01-21 11:57:14 -08:00
Ian Gilman
b1ec71e91c
Merge pull request #2072 from Aiosa/master
Ajax POST data in the OpenSeadragon.
2022-01-21 11:53:07 -08:00
Jirka
63ecaafa51 Update documentation to be more explicit about post data string parameter format. 2022-01-20 18:03:08 +01:00