Aiosa
f127014f0f
Design of separated events: drop update data support for tile-loaded, use only invalidated event.
2024-11-01 21:43:12 +01:00
Aiosa
cd60aff5dc
Fix demo further: clear tile processing logics, perform locking on tile level, delete tile if drawn process encountered _destroyed state.
2024-10-23 15:54:31 +02:00
Aiosa
207bc88aab
Fix demo further: _queuedInvalidateTiles was not being used, simplify how tile cache updates are being called (but without priorities).
2024-10-23 14:37:43 +02:00
Aiosa
20177116e7
Integration tests: bugfixing of manipulation of tiles that share data: when tiles are loaded, when tiles are processed, also await async data preparation befre finishing the invalidation event.
2024-10-22 17:25:02 +02:00
Aiosa
82e1160508
Clean up outdated TODO comments.
2024-10-21 11:00:23 +02:00
Aiosa
68f0ed8901
Do not spit out warns on invalid tile unload (preemtive working cache deletion), do not ignore working cache even if __restore=true.
2024-10-21 09:00:24 +02:00
Aiosa
1e47bd6add
Add cache tests, add more robust CacheRecord creation/deletion logics. Zombies now do not replace data, prevents also potential memory leak.
2024-10-18 14:38:04 +02:00
Aiosa
0b63a943b6
Tests & Bugfixes: new cache tests, working cache preemptively deleted when restore() called, zombie cache had bug (restored cache had no attached tile reference and restoration failed since we relied on any existing tile on the cache to inherit state), deprecated old HTMLDrawer props on tile, rewritten HTMLDrawer to work also with cache API.
2024-10-17 12:10:04 +02:00
Aiosa
f8e5cff117
Feature/Optimization: cache can be created by a callback (async or sync), to avoid premature data creation
2024-10-16 16:31:08 +02:00
Aiosa
29b01cf1bd
First visually correct design: tile invalidation event manages three caches that are shared among equal tiles (based on cache key). Works with both latest drawers and shared caches.
2024-08-24 09:49:16 +02:00
Aiosa
e0f442209b
Fix black viewport with testing filtering demo on webgl renderer. Introduce managed mock getters for tests.
2024-03-05 10:48:07 +01:00
Aiosa
e2c633a23b
Small bugfixes, rename some properties. Add more redraw calls.
2024-03-04 19:23:47 +01:00
Aiosa
360f0d6796
Fix docs, commit before upstream merge.
2024-03-03 14:50:01 +01:00
Aiosa
63f0adbc15
Fix issues with tile reference in cache: keep the 'most fresh' ref.
2024-02-11 17:18:03 +01:00
Aiosa
d91df0126b
Add base drawer options and fix docs. Implement 'simple internal cache' for drawer data, optional to use.
2024-02-11 11:27:02 +01:00
Aiosa
fcf20be8ea
Drawers now use new cache API to draw onto a canvas. The type conversion now requires also the tile argument so that conversion can rely on the tile metadata.
2024-02-04 18:48:25 +01:00
Aiosa
3fa13570ef
Resolve Merge with First WebGL PR: code is merged, but not operable [drawer refactoring needs interaction implemented with cache system].
2024-02-04 15:41:05 +01:00
Tom
3f7e7141b9
fixes from review of drawerbase.js
2023-12-14 19:14:05 -05:00
Aiosa
a690b50eee
Add external execution pipeline (proof of concept implementation, needs polishing). Add filtering plugin live demo for testing. Fix issues with tile cache access outside its lifespan. Add custom css for the static page renderer and differentiate folder icons. Remove some old deprecations.
2023-12-10 16:34:42 +01:00
Aiosa
90ce0669c5
Add auto recognition of the need for tiledImage draw call. Fix ajax-headers test: did not finish because we don't call tile-loaded on cached tiles by default.
2023-11-27 12:12:54 +01:00
Aiosa
2c67860c61
Implement cache manipulation strategy: default copy on access if tile in the rendering process, remove 'canvas' type support, many bugfixes and new tests.
2023-11-26 21:32:26 +01:00
Aiosa
219049976c
Add tests for zombie and data type conversion, ensure destructors are called.
...
Fix bugs (zombie was disabled on item replace, fix zombie cache system by separating to its own cache array). Fix CacheRecord destructor & dijkstra. Deduce cache only from originalCacheKey. Force explicit type declaration with types on users.
2023-11-18 20:16:35 +01:00
Aiosa
f796925ae5
Remove irrelevant code and comments.
2023-09-25 08:52:45 +02:00
Aiosa
750d45be81
Implement asynchronous tile processing logic wrt. tile cache conversion.
2023-09-24 22:30:28 +02:00
Aiosa
f01a7a4b3c
Cache Overhaul for OpenSeadragon (areas to discuss marked with FIXME).
2023-09-08 08:47:43 +02:00
Tom
f4ded1630f
code cleanup
2023-07-26 15:42:18 -04:00
Tom
386ca85db8
implement native webgl renderer, and many associated changes related to drawing pipeline and testing
2023-06-26 21:29:08 -04:00
Tom
5328761877
finished many implementation details and demo
2023-06-06 18:08:01 -04:00
Tom
f9ab63944b
ThreeJSRenderer nearly complete, starting refactor of core to support plugin drawers.
2023-06-06 18:05:17 -04:00
Ian Gilman
b9cb52a184
Updated copyright to 2023
2023-05-25 14:52:20 -07:00
Ian Gilman
c93df98363
JSDoc fixes
2022-12-16 14:14:40 -08:00
John Reagan
601160e9fb
Add support for dynamic urls from tile source. Fixes #1970
2022-11-30 15:38:57 -05:00
Shyamkumar Yadav
5baa8d3252
docs: change @return
-> @returns
2022-10-10 01:12:18 +05:30
Aiosa
298f069c7e
Change missing cacheKey in Tilesource constructor to warning. Provide default implementation of getTileHashKey for tileSource if the tileSource does not inherit from OpenSeadragon.TileSource
2022-08-09 10:40:57 +01:00
Aiosa
bb1755613e
Merge branch 'master' of https://github.com/openseadragon/openseadragon into openseadragon-master
...
# Conflicts:
# src/tiledimage.js
2022-06-28 14:11:02 +02:00
Jirka
8a2c998cb9
Finish on image job now accepts request argument. Further comments cleanup. Deprecation message for image property in tile loaded event. Removal of downloadTileFinish(). More robust aborting that cleans up an image properties when aborted (not done until now).
2022-05-04 15:16:13 +02:00
Jirka
d82fd35323
Fix comments on #2148 : part 2. Better commens on the new TileSource API. Deprecation if 'tile-loaded' image event parameter. Unwrap ImageJob and add userData property.
2022-04-29 23:45:01 +02:00
Jirka
45a7a4aaf3
Fix comments on #2148 : hasTransparency as a property. Move '.image' tile property to be a getter instead. Rename 'ImageJob' data property from 'image' to 'data'. Repair comments related to #2148 .
2022-04-29 18:41:43 +02:00
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
3a84b9369b
Clarify documentation on cache-key creation.
2022-04-13 10:47:48 +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
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
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
51e3ea7fa0
Changelog for #2072 and minor comment style change
2022-01-21 11:57:14 -08:00
Jirka
63ecaafa51
Update documentation to be more explicit about post data string parameter format.
2022-01-20 18:03:08 +01:00
Jirka
aacae1ca3f
Reverted .json configuration changes made by npm. Added tests for PUSH functionality, new flag 'allowPost' to explicitly enable POST data, remove (-1) in the URL splitting.
2022-01-12 22:31:13 +01:00
Aiosa
745a788d84
Merge branch 'openseadragon:master' into master
2022-01-06 10:56:43 +01:00
Sebastien ROBERT
e5b608d86a
Extends the fix for seams in transparent images to any browsers, making it configurable
2021-12-13 14:20:11 +09:00
Aiosa
a11b5ce602
Support for POST data in the ajax requests.
2021-12-08 09:54:14 +01:00
Alistair Buxton
afa8c2d1bd
Store the flipped state in each tile and render it as such
...
This will flip each individual tile on a per image bases. However
the tiles are now drawn in the wrong locations. Clipping etc works.
this is implemented for Canvas and HTML renderers.
2021-03-19 14:49:07 +00:00