openseadragon/changelog.txt

266 lines
17 KiB
Plaintext
Raw Normal View History

2013-03-25 20:51:58 +04:00
OPENSEADRAGON CHANGELOG
=======================
2.0.0: (in progress)
2014-08-21 21:44:32 +04:00
* True multi-image mode (#450)
2014-11-04 20:38:16 +03:00
* BREAKING CHANGE: Navigator no longer sends an open event when its viewer opens
2014-11-04 22:53:39 +03:00
* BREAKING CHANGE: Viewer.drawers and Viewer.drawersContainer no longer exist
2014-08-21 21:44:32 +04:00
* DEPRECATION: use Viewer.addTiledImage instead of Viewer.addLayer
* addTiledImage supports positioning config properties
* DEPRECATION: use World.getItemAt instead of Viewer.getLayerAtLevel
* DEPRECATION: use World.getIndexOfItem instead of Viewer.getLevelOfLayer
* DEPRECATION: use World.getItemCount instead of Viewer.getLayersCount
* DEPRECATION: use World.setItemIndex instead of Viewer.setLayerLevel
* DEPRECATION: use World.removeItem instead of Viewer.removeLayer
* DEPRECATION: use World.needsUpdate instead of Drawer.needsUpdate
* DEPRECATION: use TileCache.numTilesLoaded instead of Drawer.numTilesLoaded
* DEPRECATION: use World.resetItems instead of Drawer.reset
* DEPRECATION: use Drawer.clear and World.update instead of Drawer.update
* DEPRECATION: the layersAspectRatioEpsilon option is no longer necessary
* DEPRECATION: Viewer's add-layer event is now World's add-item event
* DEPRECATION: Viewer's layer-level-changed event is now World's item-index-changed event
* DEPRECATION: Viewer's remove-layer event is now World's remove-item event
* DEPRECATION: Viewer's add-layer-failed event is now add-item-failed
* Drawer has been split into three classes:
* TiledImage, tile management and positioning for a single tiled image
* TileCache, tile caching for all images
* Drawer, tile drawing for all images
* New class: World, keeps track of multiple images in the scene
* Viewer now has world and tileCache properties
* Rect and Point now have clone functions
* New Viewport method for managing homeBounds as well as constraints: setHomeBounds
* Viewport.open supports positioning config properties
2014-11-04 22:53:39 +03:00
* Margins option to push the home region in from the edges of the Viewer (#505)
2014-08-21 21:44:32 +04:00
2014-07-30 20:25:40 +04:00
1.2.0: (in progress)
2014-05-08 20:33:52 +04:00
2014-07-30 20:25:40 +04:00
* New combined IIIF TileSource for 1.0 through 2.0 (#441)
* BREAKING CHANGE: Removed IIIF1_1TileSource (now that IIIFTileSource supports all versions)
* Allowed TileSources to have dynamic tileSize via source.getTileSize(level) (#441)
* DEPRECATION: Use .getTileSize(level) instead of .tileSize
2014-06-02 20:10:17 +04:00
* Fix for IIPServer-style urls when using DZI (#413)
2014-06-19 20:14:16 +04:00
* Fix memory leak while destroying the viewer (#421)
2014-07-24 20:31:17 +04:00
* Added fitBoundsWithConstraints() to the viewport (#423)
2014-08-06 22:38:43 +04:00
* Fixed MouseTracker cross-browser issues with tracking pointers over and out of the tracked element (pull request #448, fix for #152, #404, #420, and #427)
2014-08-07 21:05:01 +04:00
* Fixed incorrect flick direction after image is rotated (#452)
2014-08-08 22:31:48 +04:00
* Debug mode now works with rotate images (#453)
2014-08-15 20:30:43 +04:00
* Now supporting dzi xml with namespaces (#462)
2014-08-15 21:00:57 +04:00
* You can now rotate the navigator along with the main viewer (#455)
2014-08-26 21:49:10 +04:00
* Viewport.setRotation now allows all rotation angles (#466)
* Pinch rotate is now available (defaults to off) (#468)
2014-09-16 00:30:07 +04:00
* Added option for home button to fill viewer (#474)
2014-06-02 20:10:17 +04:00
2014-05-08 20:30:03 +04:00
1.1.1:
2014-04-30 21:39:44 +04:00
2014-05-05 21:06:10 +04:00
* Fixed issue with dragging the navigator highlight on Webkit browsers (#395)
2014-05-08 20:30:03 +04:00
* Improved Viewer Options Support in Gesture Handling (#399)
2014-05-05 21:06:10 +04:00
2014-04-30 21:34:25 +04:00
1.1.0:
2013-12-03 21:51:24 +04:00
2014-03-21 20:15:04 +04:00
* BREAKING CHANGE: the openseadragon-canvas element now has two child divs. This means: (#298)
* The drawer element is no longer accessible via viewer.canvas.firstChild but via viewer.drawersContainer.firstChild or viewer.drawer.canvas.
* The overlays elements are no longer accessible via viewer.canvas.childNodes but via viewer.overlaysContainer.childNodes or viewer.currentOverlays[i].element.
* BREAKING CHANGE: Pseudo full screen mode on IE<11 using activex has been dropped. OpenSeadragon will run in full page if full screen mode is requested.
* BREAKING CHANGE: MouseTracker touch pinch gestures are no longer converted to scroll events. MouseTracker.pinchHandler should be used instead. (#369)
* DEPRECATION: overlay functions have been moved from Drawer to Viewer (#331)
* DEPRECATION: OpenSeadragon.cancelFullScreen has been renamed OpenSeadragon.exitFullScreen (#358)
* DEPRECATION: The 'isTouchEvent' property passed in MouseTracker events is deprecated and has been replaced with 'pointerType', which is a String value "mouse", "touch", "pen", etc. to support multiple simultaneous pointing devices (#369)
* DEPRECATION: The 'buttonDownAny' property passed in MouseTracker enter and exit events (enterHandler/exitHandler) is deprecated and has been replaced with 'buttons', which indicates the button(s) currently pressed (#369)
* DEPRECATION: The 'buttonDownAny' property passed in Viewer's 'container-enter' and 'container-exit' events is deprecated and has been replaced with 'buttons', which indicates the button(s) currently pressed (#369)
2014-03-21 20:15:04 +04:00
* Added layers support. Multiple images can now been displayed on top of each other with transparency via the Viewer.addLayer method (#298)
* Improved overlay functions (#331)
2013-12-09 21:43:24 +04:00
* Fixed: Nav button highlight states aren't quite aligned on Firefox (#303)
2013-12-10 21:48:34 +04:00
* Added ControlAnchor options for default controls (#304)
2013-12-12 22:03:55 +04:00
* Enabled basic cross-domain tile loading without tainting canvas (works in Chrome and Firefox) (#308)
2014-03-21 20:19:40 +04:00
* Added crossOriginPolicy drawer configuration to enable or disable CORS image requests (#364)
2014-04-09 01:29:49 +04:00
* Disabled CORS by default (#377)
2013-12-13 21:44:21 +04:00
* Added a ControlAnchor.ABSOLUTE enumeration. Enables absolute positioning of control elements in the viewer (#310)
2014-04-03 19:50:25 +04:00
* Added a 'navigator-scroll' event to Navigator. Fired when mousewheel events occur in the navigator (#310)
2013-12-13 21:44:21 +04:00
* Added a navigatorMaintainSizeRatio option. If set to true, the navigator minimap resizes when the viewer element is resized (#310)
* Added 'ABSOLUTE' as a navigatorPosition option, along with corresponding navigatorTop, navigatorLeft options. Allows the navigator minimap to be placed anywhere in the viewer (#310)
* Enhanced the navigatorTop, navigatorLeft, navigatorHeight, and navigatorWidth options to allow a number for pixel units or a string for other element units (%, em, etc.) (#310)
2014-01-09 01:22:47 +04:00
* Additional enhancements for IIIF support (#315)
2014-02-17 21:40:30 +04:00
* Fixed: Setting degrees in Viewer constructor has no effect (#336)
2014-03-06 21:34:23 +04:00
* Added pre-draw event for tiles to allow applications to alter the image (#348)
2014-03-07 22:08:47 +04:00
* Added optional Rotate Left/Right buttons to standard controls (#341)
2014-03-24 20:17:03 +04:00
* Added optimization for large numbers of overlays: `checkResize = false` option for OpenSeadragon.Overlay (#365)
* Updated full screen API, adding support for Opera and IE11 and allowing keyboard input in Chrome (#358)
2014-04-09 01:27:49 +04:00
* Various fixes to bring OpenSeadragon into W3C compliance (#375)
2014-04-09 20:06:46 +04:00
* Added separate flags for turning off each of the nav buttons (#376)
2014-04-14 20:12:56 +04:00
* Added support for query parameters in DZI tileSource URL (#378)
2014-04-03 19:50:25 +04:00
* Enhanced MouseTracker for multi-touch (#369)
* Added support for tracking multiple touch-points on multiple/simultaneous pointing devices
2014-04-03 19:50:25 +04:00
* Added support for the W3C Pointer Events event model. Enables touch/multi-touch on IE10+
* Added a dragEndHandler event callback, called when a drag gesture ends
* Added a pinchHandler event callback, called as a pinch gesture (2 touch points) is occurring
* Added real-time velocity (speed and direction) tracking to drag operations. 'speed' and 'direction' values are passed in the dragHandler and dragEndHandler event data
* Enhanced Viewer for multi-touch (#369)
* Added pinch zoom with the new MouseTracker pinchHandler. The 'pan' and 'zoom' Viewer events can be used to detect changes resulting in pinch gestures
* Added a "canvas-pinch" event fired by the pinch event handler
* Added flick gesture with the new MouseTracker dragEndHandler
* Added a "canvas-drag-end" event fired by the drag-end event handler
* Added a GestureSettings class for per-device gesture options. Currently has settings to enable/disable zoom-on-scroll, zoom-on-pinch, zoom-on-click, and flick gesture settings.
* Added GestureSettings objects for mouse, touch, and pen devices to the Viewer options giving users the ability to customize gesture handling in the viewer
* Added velocity (speed and direction) properties to the "canvas-drag" event
* Added double-click gesture detection to MouseTracker with corresponding dblClickHandler event callback (#392)
* Added zoom on double-click feature to Viewer, with corresponding dblClickToZoom option added to the GestureSettings class (#392)
2014-04-24 21:06:03 +04:00
* Made it possible to run OpenSeadragon from local filesystem on some browsers (#379)
2013-12-09 21:43:24 +04:00
2013-12-03 21:43:34 +04:00
1.0.0:
NOTE: This version has a number of breaking changes to the API, mostly in event handling. See below.
2013-09-23 21:03:53 +04:00
* BREAKING CHANGE: All EventSource and MouseTracker event handler method signatures changed to 'handlerMethod(event)' where event == { eventSource, userData, ... } (#251) (Also fixes #23, #224, #239)
* The new eventSource property in the event object replaces the old eventSource parameter that was passed to handler methods.
* Where the event object duplicated the eventSource value, those properties have been removed. This affects the following events:
* All Button events - 'button' property removed
* All Viewer (Viewer, Drawer, Viewport) events - 'viewer' property removed
2013-09-26 21:13:06 +04:00
* BREAKING CHANGE: Renamed EventHandler to EventSource (#225)
* BREAKING CHANGE: Event names changed for consistency: changed to lower case, compound names hyphenated, and "on" prefixes removed (#226):
* Viewer "animationstart" changed to "animation-start"
* Viewer "animationfinish" changed to "animation-finish"
* Button "onPress" changed to "press"
* Button "onRelease" changed to "release"
* Button "onClick" changed to "click"
* Button "onEnter" changed to "enter"
* Button "onExit" changed to "exit"
* Button "onFocus" changed to "focus"
* Button "onBlur" changed to "blur"
* BREAKING CHANGE: Numerous improvements to fullPage/fullScreen (#256):
* Retains zoom/pan position better when switching into and out of fullPage.
* Retains scroll position when switching back out.
* More resilient to styling variations on the page.
* setFullPage no longer automatically engages fullScreen; there's now a separate setFullScreen.
* 'fullpage' event is now 'full-page'.
* The `fullpage` property of the 'full-page' event is now `fullPage`.
* There is now a 'full-screen' event with a `fullScreen` property (true if it has gone to full screen).
* There are now 'pre-full-page' and 'pre-full-screen' events that include a `preventDefaultAction` property you can set in your handler to cancel. They also have `fullPage` and `fullScreen` properties respectively, to indicate if they are going into or out of the mode.
* BREAKING CHANGE: Removed the 'onPageChange' callback from the viewer options. Viewer.goToPage() now raises the 'page' event only (#285)
2013-11-26 21:53:15 +04:00
* Major documentation improvements (#281)
* MouseTracker now passes the original event objects to its handler methods (#23)
* MouseTracker now supports an optional 'moveHandler' method for tracking mousemove events (#215)
2013-11-01 22:18:35 +04:00
* Added stopHandler to MouseTracker. (#262)
* Fixed: Element-relative mouse coordinates now correct if the element and/or page is scrolled (using new OpenSeadragon.getElementOffset() method) (#131)
2013-10-04 02:49:15 +04:00
* Fixed: Pinch zoom event issue, regressive issue from previous event system changes (#244)
2013-10-04 22:07:23 +04:00
* Added IIIF Image API 1.1 Tile Source (#230)
2013-10-08 21:40:57 +04:00
* IIIF 1.0 now uses pixel based syntax (#249)
* Fixed: Touch event issue where no canvas-click events were being raised (#240)
2013-10-08 21:19:35 +04:00
* Check that zoom reference point is valid before using it in zoomTo and zoomBy (#247)
2013-10-10 21:40:01 +04:00
* Added a number of easier coordinate conversion methods to viewport (#243)
2013-10-11 21:01:53 +04:00
* Added the ability to create a viewer and start at a specified page (#252)
2013-10-14 21:45:00 +04:00
* Fixed image resolve issue with collection mode (#255)
2013-11-08 22:09:09 +04:00
* DOM events are now passed through as 'event.originalEvent' in viewer and button events where appropriate. (#257) Affects the following events:
* Viewer: 'canvas-release', 'canvas-click', 'canvas-drag', 'canvas-scroll', 'container-enter', 'container-exit', 'container-release'
* Button: 'enter', 'exit', 'press', 'release', 'focus', 'blur', 'click'
2013-10-22 21:45:54 +04:00
* Fixed: IE 10 not reading DZI file correctly in certain circumstances (#218)
* Added support for the 'wheel' DOM mousewheel event (#261)
2013-10-31 21:17:08 +04:00
* Fix for non-canvas tile rendering at large size (#264)
2013-11-01 21:33:17 +04:00
* Drawer now uses an HTML5 canvas element whenever it's available. Can be overridden with the Viewer.useCanvas option (#191)
2013-11-08 22:09:09 +04:00
* Added a boolean preventDefaultAction property (default false) to the event object passed to MouseTracker handler methods. (#270) Implemented in the following MouseTracker subscribers:
* Viewer.keyboardCommandArea.innerTracker.focusHandler: preventDefaultAction == true prevents scrolling viewer into view
* Viewer.keyboardCommandArea.innerTracker.keyHandler: preventDefaultAction == true prevents viewer keyboard navigation
* Viewer.innerTracker.clickHandler: preventDefaultAction == true prevents viewer zoom on click
* Viewer.innerTracker.dragHandler: preventDefaultAction == true prevents viewer panning with mouse/touch
* Viewer.innerTracker.scrollHandler: preventDefaultAction == true prevents viewer zooming on mousewheel/pinch
2013-11-18 22:02:13 +04:00
* Fixed: IE8 error with custom buttons - "Object doesn't support this action" (#279)
2013-11-19 23:02:33 +04:00
* Support IIIF servers that don't report tile dimensions (#286)
* Added an autoResize option. Default is true. When set to false, the viewer takes no action when its container element is resized. (#291)
* Added a static 'version' property to OpenSeadragon. Useful for plugins that require specific OpenSeadragon versions. (#292)
2013-09-23 21:00:09 +04:00
0.9.131:
2013-08-27 01:02:03 +04:00
2013-08-28 20:58:13 +04:00
* Fixed: canvas-click event shouldn't fire as you drag (#198)
* Fixed: LegacyTileSource doesn't fail gracefully when no supported file formats are found (#202)
* Added an optional userData argument to EventHandler.addHandler() which is passed unchanged to the handler method (#203)
2013-08-30 20:53:04 +04:00
* Fixed AJAX error reporting on IE8 (#208)
2013-09-06 03:24:53 +04:00
* Added viewportToImageRectangle method, and updated imageToViewportRectangle, imageToViewportCoordinates, and viewportToImageCoordinates to be more flexible with params (#212)
2013-09-17 02:12:10 +04:00
* Fixed: Viewer is not responsive (css) after returning from full screen (#222)
2013-08-28 20:58:13 +04:00
2013-08-27 00:58:16 +04:00
0.9.130:
2013-07-09 20:16:37 +04:00
2013-08-27 00:58:16 +04:00
* Added partial support for rotation (just 90 degree increments for now). (#185)
* Hiding and restoring broke the viewer; fixed (#177)
* You can now provide an onDraw function for overlays to do custom overlay manipulation (#160)
* Added a destroy function on the viewer to clean up and remove elements (#179)
* Fixed: navigatorPosition option corrected. (#163)
2013-07-10 20:38:41 +04:00
* OpenSeadragon.now() returned undefined the first time; fixed
2013-07-12 20:03:34 +04:00
* onTouchEnd did not call the correct mouse up handler; fixed (#159)
2013-07-31 21:28:21 +04:00
* Touch events no longer capture mouse (was causing issues on devices that support both) (#168)
2013-08-16 21:13:52 +04:00
* Clicking on a button control no longer refreshes page (#184)
2013-08-19 20:56:22 +04:00
* Drawer now works when the page is rtl (#187)
2013-08-19 21:04:25 +04:00
* Fixed a situation that could throw errors in touch handling (#188)
2013-07-10 20:38:41 +04:00
2013-07-09 20:14:47 +04:00
0.9.129:
2013-06-17 21:05:10 +04:00
2013-07-09 20:14:47 +04:00
* Fixed: navigator image not updating when base zoom image is changed (#147)
* Fixed tile rendering issue at lower zoom levels with the IIIF TileSource (#55)
* On IE, ajax errors would cause an exception to be thrown; fixed (#144)
* Faster and more consistent millisecond getter (#138)
2013-06-19 21:14:49 +04:00
* Fixed an error when using navPrevNextWrap on single images (#135)
2013-06-19 21:16:59 +04:00
* Various fixes to our timer handling (#133)
2013-06-20 21:34:33 +04:00
* Now generating source map for openseadragon.min.js (#51)
2013-06-26 20:15:48 +04:00
* Fix for calculating overlay width / height (#142)
2013-06-26 20:38:07 +04:00
* JSHint tidying (#136)
2013-07-01 20:22:58 +04:00
* Improved Ajax method (#149)
2013-07-03 20:56:29 +04:00
* Overhauled AJAX error reporting (#151)
2013-06-19 21:14:49 +04:00
2013-06-17 21:03:06 +04:00
0.9.128:
2013-05-14 20:55:19 +04:00
* The navigator is now off by default (#102)
* Reverted minPixelRatio to 0.5 for better quality (#116)
* Sometimes tiles wouldn't resolve if you used the blendTime option; fixed. (#95)
* You can now choose to have previous and next buttons wrap using the config.navPrevNextWrap. (#114)
2013-05-20 20:56:23 +04:00
* You can now specify an ID for a div to hold the navigator (#46)
* You can now click in the navigator to go to a new location (#46)
* Keyboard handling is now done in the viewer rather than navigator (#46)
* Additional navigator fixes (#46)
* Drawer events now fire properly (#94)
2013-05-21 00:16:12 +04:00
* Fixed an error in EventHandler.removeHandler() (#48)
2013-05-30 21:03:37 +04:00
* Better requestAnimationFrame detection on older Firefox (#103)
* More efficient navigator loading (#115)
2013-06-14 22:17:57 +04:00
* Simplified element opacity setting implementation (#123)
2013-05-20 20:40:08 +04:00
2013-05-14 20:53:34 +04:00
0.9.127:
2013-05-09 22:07:17 +04:00
2013-05-10 23:04:09 +04:00
* Fixed a problem with getString when the string property is a sub-property. (#64)
2013-05-13 21:20:57 +04:00
* Fixed: Tooltips for Navigation Controls not displaying (#63)
2013-05-10 23:04:09 +04:00
* Cleaned up some diagnostic code that was broken.
2013-05-14 20:38:04 +04:00
* Added fullpage class to viewer element when in fullpage mode (#61)
* Reverted to original New BSD license; cleaned up license declarations (#89)
2013-05-10 23:04:09 +04:00
2013-05-09 22:04:31 +04:00
0.9.126:
* DZI JSONp was broken; fixed.
2013-05-09 20:36:26 +04:00
2013-05-09 20:34:11 +04:00
0.9.125:
2013-06-20 21:34:33 +04:00
* Fully deprecated OpenSeadragon.createFromDZI, safely deprecated Viewer.openTileSource and
Viewer.openDZI to use Viewer.open internally. (#53 & #54).
* Full page bug fix for when viewer is child of document body (#43).
2013-06-20 21:34:33 +04:00
* Overlays for DZI bug fix (#45).
2013-05-07 20:27:37 +04:00
* DziTileSource: avoid changing relative paths (#56).
* Fix typo in preserveViewport handling (#77).
* Fix updateMulti timer leak after multiple Viewer.open() calls (#76).
* Minor documentation fixes.
2013-03-25 20:51:58 +04:00
0.9.124:
* Performance enhancements.
0.9.123:
* Real fullscreen support.
0.9.122:
* Performance enhancements.
0.9.121:
* Touch pan now works on Android.
* Pinch zoom is better on all devices.