Commit Graph

2805 Commits

Author SHA1 Message Date
Takuma Kira
344ddb924f - Undo removing prefixUrl option in memorycheck-with-simple-image demo.
- Define destroy method in TileSource class, call ImageTileSource.freeupCanvasMemory method as optional from TileSource.destroy method and remove TODO.
2020-03-23 11:29:07 +09:00
Takuma Kira
6cb57aa66c - Make ImageTileSource.freeupCanvasMemory method private and call it from ImageTileSource.destroy for consistency.
- Add comment to memorycheck-with-simple-image demo how to reproduce the problem.
- Simplify memorycheck-with-simple-image demo.
2020-03-19 12:02:50 +09:00
Takuma Kira
798e49e4b2 - Add freeupCanvasMemory method on Viewer.destroy method. 2020-03-18 14:37:45 +09:00
Takuma Kira
abc11e3eb6 - Add memorycheck-with-simple-image demo to reproduce "Total canvas memory use exceeds the maximum limit" warning and then "null is not an object (evaluating 'smallContext.drawImage')" error.
(To get them, click Create button 12 times on "iPad Air (3rd generation) -- 13.3" Simulator on Mac with Web Inspector by Safari.)
2020-03-18 14:36:56 +09:00
Ian Gilman
519cbaccde
Merge pull request #1788 from openseadragon/dependabot/npm_and_yarn/acorn-7.1.1
Bump acorn from 7.1.0 to 7.1.1
2020-03-16 11:14:14 -07:00
dependabot[bot]
1dc6720d0d
Bump acorn from 7.1.0 to 7.1.1
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-13 21:45:14 +00:00
Ian Gilman
a700581493
Merge pull request #1785 from openseadragon/dependabot/npm_and_yarn/js-yaml-3.13.1
Bump js-yaml from 3.7.0 to 3.13.1
2020-03-06 11:06:23 -08:00
Ian Gilman
2b6fec38c0
Merge pull request #1784 from openseadragon/dependabot/npm_and_yarn/handlebars-4.7.3
Bump handlebars from 4.0.11 to 4.7.3
2020-03-06 11:06:06 -08:00
Ian Gilman
4c64042bac JSDoc fixes 2020-03-05 10:29:08 -08:00
Ian Gilman
b8c5c42920 Starting on 2.4.3 2020-03-05 10:20:37 -08:00
dependabot[bot]
73e1bbf179
Bump js-yaml from 3.7.0 to 3.13.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.7.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.7.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-05 18:16:59 +00:00
dependabot[bot]
16706765a2
Bump handlebars from 4.0.11 to 4.7.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 to 4.7.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.7.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-05 18:16:59 +00:00
Ian Gilman
c4507497f2 Version 2.4.2 2020-03-05 10:15:28 -08:00
Ian Gilman
eff33b64f7 Changelog for #1779 2020-02-24 15:09:33 -08:00
Ian Gilman
4a6226361f
Merge pull request #1779 from jstaab/master
apply pixelDensityRatio after flip
2020-02-24 15:06:40 -08:00
Jasper Staab
0c2c506d88 apply pixelDensityRatio after flip 2020-02-19 18:35:23 -10:00
Ian Gilman
3adb001b9f Changelog for #1772 2020-02-14 10:33:52 -08:00
Ian Gilman
17cabdb923
Merge pull request #1772 from zero41120/feature/1540-cropping-with-multiple-polygons
Feature/1540 cropping with multiple polygons
2020-02-14 10:30:31 -08:00
YSH
4627d59609
Update tiledimage.js 2020-02-13 14:49:14 -08:00
zero41120
3ec9b66bc9 1540 Use OSD defined isArray 2020-02-11 11:34:53 -08:00
YSH
d8651bd268
1540 Update documentation with correct terminology 2020-02-11 11:30:37 -08:00
zero41120
a885c33433 1540 Remove support for array in the demo UI 2020-02-10 16:19:36 -08:00
zero41120
ff70878bb9 1540 Update documentation for setCroppingPolygons 2020-02-10 16:19:09 -08:00
zero41120
9d0c7bd9c9 1540 Remove support for array for cropping 2020-02-10 16:16:19 -08:00
Yansong Hong
956c830f3e 1540 Add point support on the demo page 2020-02-07 16:04:16 -08:00
Yansong Hong
7193f5b445 1540 Add support for xy point object and mixed array 2020-02-07 16:03:40 -08:00
Yansong Hong
b4bf21cda8 1540 Use strict equality instead of loose equality 2020-02-07 13:16:09 -08:00
Yansong Hong
dadef91ce0 1540 Address reviewer comment to better document viewportCoordToDrawerCoord function 2020-02-07 13:15:03 -08:00
zero41120
94183f7f18 1540 Change innerHTML to value to sync user input 2020-02-06 13:50:15 -08:00
zero41120
2d971af445 1540 Add feature to crop tiledImage with multiple polygons 2020-02-06 13:46:14 -08:00
Ian Gilman
d97fe5b1eb Changelog for #1764 2020-01-16 10:26:18 -08:00
Ian Gilman
898b8456d1
Merge pull request #1764 from lutzhelm/iiif-v3beta
Add support for IIIF Image API 3.0 beta
2020-01-16 10:22:50 -08:00
Lutz Helm
8afdce3e00 Add error message if IIIF data @context property contains no IIIF context URI 2020-01-15 09:56:45 +01:00
Lutz Helm
996cf610c3 Add iiif.js tests to coverage.html 2020-01-15 09:50:31 +01:00
Lutz Helm
d5d0b4ce6e Add tests for IIIF, fix error in OpenSedragonIIIFTileSource.canBeTiled 2020-01-07 16:10:14 +01:00
Lutz Helm
11719baaaf Expose private functions in IIIFTileSource for testing purposes 2020-01-06 16:16:05 +01:00
Lutz Helm
456567af59 Fix error in IIIF version detection 2020-01-06 13:42:32 +01:00
Lutz Helm
e851620df4 Add some unit tests for the handling of different IIIF versions 2020-01-06 13:42:32 +01:00
Lutz Helm
ddf42bf224 Improve clarity and remove error in IIIF size param determination 2020-01-06 13:42:32 +01:00
Lutz Helm
07cb95e99b Improve code readability 2020-01-06 13:42:32 +01:00
Lutz Helm
8ae1edfd48 Add support for IIIF Image API 3.0 beta 2020-01-06 13:42:32 +01:00
Ian Gilman
ae4f586714
Merge pull request #1761 from openseadragon/ig-update
Updated NPM packages
2020-01-02 09:58:20 -08:00
Ian Gilman
9c561cc866 audit fix 2019-12-30 10:52:39 -08:00
Ian Gilman
89268e1e57 package lock 2019-12-30 10:51:58 -08:00
Ian Gilman
c01887f3e3 Updated NPM packages 2019-12-30 10:46:44 -08:00
Ian Gilman
cef269d323 Changelog for #1758 2019-12-30 10:07:07 -08:00
Ian Gilman
e732b6b3aa
Merge pull request #1758 from AaronPlave/safely-decodeURIComponent
Safely decode uri component (#1757)
2019-12-30 10:05:58 -08:00
aplave
0953bb4be8 Move $.console declaration up so $.Browser can make use of it 2019-12-22 10:33:15 -08:00
aplave
f7f2f501f5 Wrap URL parameter decoding in try-catch for safety 2019-12-22 10:32:17 -08:00
Ian Gilman
e46d7c64ae Changelog for #1756 2019-12-19 09:53:16 -08:00