Mark Salsbery
1c465ec59c
Revert "Second attempt: capturePointer()/releasePointer() call fix for pointer event model"
...
This reverts commit 1bdb83dc58
.
2015-01-12 15:33:18 -08:00
Ian Gilman
a411215eba
Merge branch 'master' into collections
...
fixedConflicts:
src/openseadragon.js
2015-01-12 14:31:20 -08:00
Ian Gilman
83b7d7597a
Added a note about preserveOverlays
2015-01-12 14:22:10 -08:00
Ian Gilman
753bf64e8a
* Fixed: DZI tilesource was broken
2015-01-12 14:18:39 -08:00
Ian Gilman
0fd94bb048
Merge branch 'master' into collections
...
fixed Conflicts:
changelog.txt
src/viewer.js
2015-01-12 14:10:49 -08:00
Mark Salsbery
1bdb83dc58
Second attempt: capturePointer()/releasePointer() call fix for pointer event model
2015-01-12 12:56:18 -08:00
Mark Salsbery
d582a9563f
capturePointer()/releasePointer() call fix for pointer event model
2015-01-12 12:26:38 -08:00
Mark Salsbery
755854d3f7
Renamed non-primary button events/handlers
2015-01-12 11:02:54 -08:00
Mark Salsbery
30b5ec04c6
MouseTracker Improvements
...
* Exposed secondary pointer button (middle, right, etc.) events from MouseTracker and through viewer (#479 )
* MouseTracker - Improved IE 8 compatibility
2015-01-10 14:49:02 -08:00
Younes El Alami
1d16b01a28
Changed _this.source.overlays to _this.overlays, https://github.com/openseadragon/openseadragon/pull/561/files#r22730318
2015-01-10 12:11:45 +00:00
Ian Gilman
4fa6fea850
Scrollwheel for thumbs (m2)
2015-01-09 11:45:53 -08:00
Younes El Alami
9e07c96d29
Added preserveOverlays option to Viewer
2015-01-09 02:21:16 +00:00
Ian Gilman
a336b23667
Documentation for ajaxWithCredentials-related changes
2015-01-02 16:07:11 -08:00
Ian Gilman
c820f9f918
Added ajaxWithCredentials option
2015-01-02 15:45:46 -08:00
Ian Gilman
56ee5bd3c5
Viewport and tiledImage test fixes
2015-01-02 14:24:05 -08:00
Ian Gilman
a7d9f7dcd5
Fixed broken defaultZoomLevel and homeFillsViewer options
2015-01-02 11:44:35 -08:00
Ian Gilman
cd329016bb
Merge branch 'collections' into bugs
2015-01-02 11:19:44 -08:00
Ian Gilman
48eaf7c805
Merge branch 'master' into collections
2014-12-31 15:17:43 -08:00
Mark Salsbery
b39d31a845
MouseTracker - Added explicit pointer capture for touch event model events
2014-12-31 14:30:10 -08:00
Ian Gilman
68dfc79101
Merge branch 'collections' into bugs
2014-12-31 11:16:33 -08:00
Ian Gilman
0edef40db2
Merge branch 'master' into collections
2014-12-31 11:13:27 -08:00
Mark Salsbery
8d4c776cd0
MouseTracker fixes for #502 , #518 , #527 , #539
2014-12-30 12:57:17 -08:00
Ian Gilman
b141a22c87
Merge pull request #544 from kim-company/fix-imageloader
...
Fix the jobLimit of the imageLoader
2014-12-29 11:48:20 -08:00
Adam Carruthers
6e49f80248
Prevent mobile keyboard from opening
...
Adds readonly property to .keyboard-command-area to prevent
input, but allow keys to be captured.
2014-12-22 20:29:44 -07:00
Philip Giuliani
b8a7d33ebb
Fix documentation of jobLimit
2014-12-22 08:51:57 +01:00
Ian Gilman
c9708399a1
Fixed bug with passing single literal tilesource on construction
2014-12-19 15:32:19 -08:00
Ian Gilman
f1610425bc
Navigator now updates when items are moved
2014-12-19 13:57:08 -08:00
Ian Gilman
c0163f7d6b
Merge branch 'collections' into bugs
...
fixed Conflicts:
test/demo/collections/main.js
2014-12-19 11:58:41 -08:00
Philip Giuliani
71cbd84879
Fix case of filename
...
All files are downcased so far.
2014-12-19 16:06:21 +01:00
Philip Giuliani
b82f5cea76
Fixed imageLoaderLimit
...
Currently jobsInProgress was not incremented after adding a job. So it
has gone into the - range and was like unlimited jobs.
2014-12-19 15:50:19 +01:00
Philip Giuliani
c737bad66e
Fix the jobLimit of the imageLoader
...
Fixes #490
2014-12-19 15:17:15 +01:00
Ian Gilman
e98d47e3ce
Fixed erroneous "undefined" asserts
2014-12-18 15:21:48 -08:00
Adam Carruthers
69e9326d4f
fix #500 - requests keyboard focus when canvas is clicked
...
The canvas click listener will now check if keyboard-command-area has
focus, and if it does not, it will request it.
2014-12-04 17:06:33 -05:00
Ian Gilman
28b1296105
IE8 fixes for DZI and World.removeItem
2014-12-04 12:00:04 -08:00
Ian Gilman
6b0e44d037
Merge branch 'collections' into ian2
...
fixed Conflicts:
test/demo/collections/main.js
2014-12-03 13:37:44 -08:00
Ian Gilman
211127b87b
Fixed window resize for navigator with multi-image
2014-12-03 11:13:06 -08:00
Ian Gilman
09e494091e
More fixes for tiledImage animation
2014-12-02 13:17:56 -08:00
Ian Gilman
6a7f56d858
tiledImage bounds animation now works
2014-12-02 11:44:02 -08:00
Ian Gilman
7078826be1
Auto-resize now works for multi-image
2014-12-01 16:29:21 -08:00
Ian Gilman
4e788473b0
image springs start
2014-11-24 17:47:16 -08:00
Ian Gilman
bf9ccd5458
tile-drawing event now includes tiledImage
2014-11-24 13:25:20 -08:00
Ian Gilman
2de44c752d
Using "viewport coordinates" instead of "world coordinates"
2014-11-24 11:59:06 -08:00
Ian Gilman
66517dab8d
Coordinate conversion rounding errors were causing test breakages; fixed
2014-11-24 11:46:33 -08:00
Ian Gilman
d5c345970c
Coordinate conversion functions for TiledImage
2014-11-21 16:32:04 -08:00
Ian Gilman
2a5fd0b0f7
Fixed "toImage" converters
2014-11-21 15:18:25 -08:00
Ian Gilman
2336b81618
TiledImage update events now include which tiled image
2014-11-20 16:41:43 -08:00
Ian Gilman
36831d3434
Testing deprecations
2014-11-20 16:02:02 -08:00
Ian Gilman
68fbdc7beb
* Overlays appear in the DOM immediately on open or addOverlay ( #507 )
2014-11-20 15:33:13 -08:00
Ian Gilman
78f65152bc
Fixed: overlays were appearing under the canvas
2014-11-20 14:50:07 -08:00
Ian Gilman
78e44d487b
TileCache tests
2014-11-20 11:51:24 -08:00
Ian Gilman
3449ba1961
tiledImage tests
2014-11-18 17:12:15 -08:00
Ian Gilman
b7c78812c5
Items added with addTiledImage are now added in correct sequence
2014-11-18 15:45:03 -08:00
Ian Gilman
643332902d
Unit tests for World
2014-11-17 16:24:40 -08:00
Ian Gilman
0e31b67ca5
ReferenceStrip fixes
2014-11-17 14:03:14 -08:00
Ian Gilman
336482cd1c
Viewer.open now honors sequence mode
2014-11-17 12:57:49 -08:00
Ian Gilman
f018059b60
Docs for sequence mode
2014-11-17 11:50:20 -08:00
Ian Gilman
1279c6766c
More sequence mode work
2014-11-14 17:19:04 -08:00
Ian Gilman
0dd97dbc56
First version of sequence mode
2014-11-14 16:51:02 -08:00
Ian Gilman
b371af712e
Fixed broken test
2014-11-14 15:49:42 -08:00
Ian Gilman
9347cfe692
Event handler cleanup for tiled images in world
2014-11-12 16:44:11 -08:00
Ian Gilman
1ed80b0d27
Docs and naming changes for collection mode
2014-11-12 16:31:46 -08:00
Ian Gilman
c4c17db045
Supporting collectionTileSize and collectionTileMargin
2014-11-12 15:48:38 -08:00
Ian Gilman
56ddf8c9c3
First steps for collection mode
2014-11-11 17:14:48 -08:00
Ian Gilman
1159711e26
Fixed broken navigator unit test
2014-11-10 16:25:17 -08:00
Ian Gilman
e02a2d55cc
Fixed issue with navigator size when viewer is zero size to start
2014-11-10 15:53:38 -08:00
Ian Gilman
55759a6906
Merge branch 'master' into collections
2014-11-10 14:39:43 -08:00
Ian Gilman
7fcdbf210e
One extra merge conflict
2014-11-07 17:15:11 -08:00
Ian Gilman
30a1005fb8
Merge branch 'master' into merger
...
fixed Conflicts:
src/drawer.js
2014-11-07 17:13:48 -08:00
Ian Gilman
b15b94799c
Merge branch 'issue-464' of github.com:SupplyFrame/openseadragon into SupplyFrame-issue-464
2014-11-07 15:48:57 -08:00
Ian Gilman
fab33ea1af
Merge branch 'imageLoaderPatch' of github.com:rdlester/openseadragon into rdlester-imageLoaderPatch
...
fixed Conflicts:
src/drawer.js
2014-11-07 15:29:34 -08:00
Ian Gilman
b5a9116a0b
Fixed rotation with multiple images
2014-11-05 16:39:35 -08:00
Ian Gilman
8bdc55bd63
Fixed fitVertically and fitHorizontally
2014-11-05 15:57:44 -08:00
Ian Gilman
a9c9478752
Wraparound now works for images of other widths than 1
2014-11-05 15:24:31 -08:00
Ian Gilman
e52e2fef34
Improved docs
2014-11-05 14:48:37 -08:00
Ian Gilman
8641279890
Better tile caching for duplicate images
2014-11-05 13:48:27 -08:00
Ian Gilman
8466a91470
One more doc fix
2014-11-04 11:57:58 -08:00
Ian Gilman
d346d165f8
Updated documentation
2014-11-04 11:53:39 -08:00
Ian Gilman
31c15aed69
Merge branch 'collections' into ian
...
fixed Conflicts:
src/viewer.js
test/demo/collections/main.js
2014-11-04 09:58:09 -08:00
Ian Gilman
43292c9bcb
Merge branch 'collections' into margins
2014-11-04 09:42:45 -08:00
Ian Gilman
de2d473db6
Merge branch 'master' into collections
...
fixed Conflicts:
test/test.html
2014-11-04 09:41:28 -08:00
Ian Gilman
00c2881c64
Fixed test breakages
2014-11-03 17:14:17 -08:00
Ian Gilman
f8156991ef
More doc tweaks
2014-10-29 17:23:54 -07:00
Ian Gilman
a68be6ac68
You can now open multiple images when creating via OpenSeadragon()
2014-10-29 17:14:46 -07:00
Ian Gilman
72aa6c4669
Docs for Viewer.open()
2014-10-29 17:06:14 -07:00
Ian Gilman
4d6be50c05
More cleanup for open() changes
2014-10-29 16:39:43 -07:00
Ian Gilman
95836a6ad1
Major overhaul to Viewer.open()
2014-10-29 16:11:21 -07:00
nein09
19844c8f42
Incorporate code review feedback, add a times method to the Rect class.
2014-10-29 09:42:19 -07:00
Ben Delarre
61d757e86b
Merge branch 'master' into issue-465
2014-10-27 14:07:10 -07:00
Ian Gilman
fb6280644a
Merge branch 'collections' into margins
...
fixed Conflicts:
test/demo/collections/main.js
2014-10-24 15:27:14 -07:00
Ian Gilman
3e1870cde0
Navigator now updates for item index changes and removals
2014-10-24 15:18:32 -07:00
Ian Gilman
46cd2ab800
Fixed issue with top/left margins; cleaned up naming
2014-10-21 17:11:09 -07:00
Ian Gilman
a14bea39aa
More margins work
2014-10-17 14:27:24 -07:00
Ian Gilman
2a7f48ef60
Cleanup and docs for margins
2014-10-16 15:19:05 -07:00
Ian Gilman
2d8652046a
First stab at margins
2014-10-16 14:00:07 -07:00
Ian Gilman
a08e361512
Navigator following host viewer's world events
2014-09-24 13:58:09 -07:00
Ian Gilman
e02209092c
Navigator now works with multiple images
2014-09-23 16:15:03 -07:00
Ben Delarre
1d1b9bf01a
Added support for pointer API so this now works in IE11.
2014-09-23 14:31:53 -07:00
Ben Delarre
f07108ec2d
Updated implementation to better pass tests, still not 100% though.
2014-09-23 11:26:42 -07:00
Ian Gilman
63996a7d92
Merge branch 'master' into collections
...
fixed Conflicts:
src/viewport.js
2014-09-17 16:05:23 -07:00
iangilman
356b7e1f5f
Merge pull request #474 from nein09/issue-127
...
Add option for home button to fill viewer (issue 127)
2014-09-15 13:24:55 -07:00
Ben Delarre
7278793e5c
Fixed notation for travis build.
2014-09-12 16:22:55 -07:00
Ben Delarre
2a8cb43d02
Fixes issue #464 by adding mouseout handler to document and calling mouseUp handler
2014-09-12 16:01:19 -07:00
nein09
b0613a5971
Revert "Merge remote-tracking branch 'origin/issue-127' into issue-127"
...
oh god help
This reverts commit ffa2ee1e8d
, reversing
changes made to 2163e5230c
.
2014-09-12 15:31:05 -07:00
nein09
8b368f72f7
I somehow missed saving the jsdoc change in my last commit.
2014-09-12 14:50:43 -07:00
nein09
9b66eeee99
Merge remote-tracking branch 'origin/master' into issue-127
2014-09-12 10:41:19 -07:00
nein09
741978caf9
Incorporate code review feedback for Openseadragon isue 127. Added appropriate default values and docs to openseadragon.js; restored a blank line that I accidentally deleted.
2014-09-12 10:33:48 -07:00
Rob Sanderson
d6c3ccfd31
scale_factors -> scaleFactors in 2.0 API
2014-09-04 12:04:31 -07:00
nein09
2e4e187b21
Adding functionality for https://github.com/openseadragon/openseadragon/issues/127 - option for home button to fill rather than fit.
...
- Added a option to pass to the OpenSeadragon constructor called homeFillsViewer, which defaults to false. If true, the home button will fill the viewer with the image, centered on the image's center, zoomed to fill the viewer at the image's smallest dimension, and clipped at the image's largest dimension. For example, a very tall, thin image in a 4:3 aspect ratio viewer will zoom so that the width of the image fills the viewer, and most of the height of the image is clipped.
2014-08-29 11:53:29 -07:00
Ian Gilman
6f0f23e728
Fixed constraints for when homeBounds.x or y is negative
2014-08-26 15:12:49 -07:00
Ian Gilman
5a1a41428b
Merge branch 'master' into collections
...
fixed Conflicts:
src/drawer.js
2014-08-26 11:53:03 -07:00
iangilman
b8c5d62782
Merge pull request #468 from PathXL/rotate-pinch
...
Implements pinch rotate.
2014-08-26 10:45:17 -07:00
iangilman
ff2e0a1c55
Merge pull request #466 from PathXL/free-hand-rotation
...
Allow all rotation angles
2014-08-26 10:44:37 -07:00
Dominik Picheta
e9382ffbf7
Fixes doc comment.
2014-08-26 14:56:24 +01:00
Dominik Picheta
0ff6eb443d
Added pinchRotate option.
2014-08-22 15:22:00 +01:00
Dominik Picheta
c3b292cfb1
Fix code style issue.
2014-08-22 14:57:20 +01:00
Ian Gilman
52aa693531
Merge branch 'master' into collections
2014-08-21 10:13:13 -07:00
Ian Gilman
7b80263718
Reinstating a small check.
2014-08-21 10:11:21 -07:00
Dominik Picheta
097714cf39
Implements pinch rotate.
2014-08-20 12:03:42 +01:00
Dominik Picheta
ea80c05a05
Replace error for non right-angle rotations in Rect.rotate.
2014-08-20 09:21:02 +01:00
Ian Gilman
1f13d1f909
Moved update-viewport event
2014-08-19 15:43:36 -07:00
Ian Gilman
33f0fa1e4b
World cleanup; viewer layer function deprecation
2014-08-19 15:02:04 -07:00
rlskoeser
fd0d8d4507
always use getElementsByTagNameNS since it will work for DZI xml with or without ns prefix
2014-08-19 13:47:51 -04:00
Dominik Picheta
1c63c96f04
Increase viewport bounds slightly for rotation.
2014-08-19 15:56:23 +01:00
Dominik Picheta
a8b6c8d0e1
Merge branch 'master' into free-hand-rotation
2014-08-19 10:00:12 +01:00
Dominik Picheta
e00e4c53ef
Proper viewport bounds changes for rotation.
2014-08-19 09:51:27 +01:00
Ian Gilman
8efad6f3a0
Fixed home/constraints for multi-image.
2014-08-18 16:04:49 -07:00
rlskoeser
343f9ed367
correct typo in fallback ns logic for pulling display rect nodes
2014-08-18 14:37:37 -04:00
rlskoeser
0d92737ff2
check length instead of undefined for DisplayRect nodes tagname ns fallback
2014-08-18 14:17:37 -04:00
rlskoeser
df90308b0e
use getElementsByTagNameNS for namespaced DZI xml when getElementsByTagName fails
2014-08-18 14:10:36 -04:00
Ian Gilman
26e9575f41
Merge branch 'collections' into ian
2014-08-15 14:50:19 -07:00
Ian Gilman
1cc29db432
Merge branch 'master' into collections
...
fixed Conflicts:
src/viewport.js
2014-08-15 14:49:56 -07:00
iangilman
e93578fa54
Merge pull request #455 from PathXL/fixes-192
...
Fixes #192 .
2014-08-15 09:59:28 -07:00
Dominik Picheta
50f9a82089
Small rotation fixes.
2014-08-15 15:47:50 +01:00
Dominik Picheta
01303787ce
Cleanup.
2014-08-15 09:46:27 +01:00
rlskoeser
8662bf9496
use localName instead of tagName, to support dzi xml with namespaces
2014-08-14 18:06:29 -04:00
Dominik Picheta
3353bd5f69
Support other rotation angles.
2014-08-13 15:52:20 +01:00
Dominik Picheta
873135b492
Adds rotate event. Fixes #454 .
2014-08-13 10:53:52 +01:00
Ian Gilman
5c7c1d5b6c
Moved Viewport.goHome to Viewer.goHome.
2014-08-12 16:44:53 -07:00
Ian Gilman
66b8d7e191
Previous cleanup was a little too aggressive.
2014-08-12 16:15:17 -07:00
Ian Gilman
2ee59635fa
World.getHomeBounds()
2014-08-12 16:04:55 -07:00
Dominik Picheta
afd8b48d6b
Fixes #192 .
...
Navigator can now rotate together with the viewer.
2014-08-12 15:27:16 +01:00
Ian Gilman
45b7118732
Further cleanup
2014-08-11 17:04:20 -07:00
Ian Gilman
94080c3180
Cleaned up tileCache code.
2014-08-08 16:32:43 -07:00
Ian Gilman
f04d538b5b
Deprecated layer functions in viewer; additional cleanup.
2014-08-08 16:15:23 -07:00
Ian Gilman
d86edff931
Merge branch 'collections' into ian
...
fixed Conflicts:
src/drawer.js
2014-08-08 11:38:13 -07:00
Ian Gilman
82637d95a5
Merge branch 'master' into collections
2014-08-08 11:32:14 -07:00
Dominik Picheta
a2334353f7
Merge branch 'master' into fix-195
2014-08-08 12:19:48 +01:00
Dominik Picheta
29b69a9e83
Fixes #195 : debug feature now works with rotation.
2014-08-08 12:18:05 +01:00
Ian Gilman
b43ac582dc
Merge branch 'collections' into ian
2014-08-07 10:06:44 -07:00
Ian Gilman
00c7315989
Merge branch 'master' into collections
...
fixed Conflicts:
src/viewport.js
2014-08-07 10:06:15 -07:00
iangilman
c9c973276f
Merge pull request #452 from PathXL/flick-after-rotate-fix
...
Fixes incorrect flick direction after image is rotated.
2014-08-07 10:03:12 -07:00
Dominik Picheta
a672ca9785
Fixes incorrect flick direction after image is rotated.
2014-08-07 10:50:38 +01:00
Ian Gilman
dbb60c0ab2
Splitting drawer into drawer/tileCache/tiledImage; adding World
2014-08-06 13:48:18 -07:00
Ian Gilman
973ef29d66
Copied drawer.js to tiledImage.js
2014-08-06 13:38:56 -07:00
Mark Salsbery
1d5b059fcc
Call Viewport.applyConstraints() on drag-end when flick gesture is enabled
2014-08-06 11:26:18 -07:00
Mark Salsbery
ee3ab70025
Combined redundant captureMouse()/capturePointer() and releaseMouse()/releasePointer() functions
2014-08-06 10:49:42 -07:00
Mark Salsbery
e9b7634499
Added $.setElementTouchActionNone function
2014-08-05 16:57:54 -07:00
Mark Salsbery
be13d25a26
Removed debug code
2014-08-05 16:17:40 -07:00
Mark Salsbery
bf19e73f5e
touch-action fixup
2014-08-05 16:01:43 -07:00
Mark Salsbery
3521bac90e
Fixed pointer event capture, Cleaned up debug code
2014-08-05 13:56:18 -07:00
Mark Salsbery
4152b8b866
Trailing whitespace fixes
2014-08-05 07:13:06 -07:00
Mark Salsbery
c6bea68b4e
Merge branch 'master' into IE9-MouseTracker-Clicks
2014-08-05 07:00:05 -07:00
Mark Salsbery
e11095968c
Mousetracker Over/Out Tracking Fixes
2014-08-04 21:41:07 -07:00
Ian Gilman
6066fa2eeb
Cleanup and docs.
2014-07-31 16:17:46 -07:00
Ian Gilman
48603ba260
Drawer creation now supports width or height rather than scale.
2014-07-31 15:54:20 -07:00
Ian Gilman
298bcc25fb
Merge branch 'master' into ian
2014-07-30 09:26:15 -07:00
Rob Sanderson
59225a7250
Missed a Multi in a comment again :(
2014-07-29 11:16:23 -07:00
Rob Sanderson
92d5f72ceb
Missed a Multi in a comment
2014-07-29 11:15:14 -07:00
Rob Sanderson
8a6a111698
Documentation and © fix
2014-07-29 11:12:05 -07:00
Rob Sanderson
69bf069038
navigator to request maxLevel tileSize
2014-07-28 12:17:45 -07:00
Rob Sanderson
984fb8c531
Fixed drawer, renamed source, fixed tests
2014-07-28 11:53:06 -07:00
Rob Sanderson
2c4440b5a2
Combined IIIF tilesource and dynamic tileSize
2014-07-25 16:31:13 -07:00
Ian Gilman
f97202833f
Merge branch 'master' into ian
...
fixed Conflicts:
src/viewport.js
2014-07-24 09:40:43 -07:00
iangilman
1e4288f770
Merge pull request #423 from henri-astre-msft/fitBoundsWithConstraints
...
add fitBoundsWithConstraints() to the viewport.
2014-07-24 09:28:53 -07:00
Ian Gilman
a3973a25e7
Added scaling to drawer.
2014-07-22 11:13:22 -07:00
Ian Gilman
ea6ee54136
Added x and y to drawer.
2014-07-17 16:24:28 -07:00
Ryan Lester
43f8dc74ea
Fixing CORS bug
2014-06-26 11:33:43 -07:00
Henri Astre
318071d3ce
Cleanup for PR comments
...
- raise 'constrain' event inside applyBoundaryConstraints
- fix demo title/filename
- various fixes (default immediately to false + add private for
documentation)
2014-06-23 16:10:01 -07:00
Henri Astre
9e6c46d484
Revert "hiding properly _ functions."
...
This reverts commit 118c2b2c87
.
2014-06-23 15:40:36 -07:00
Henri Astre
118c2b2c87
hiding properly _ functions.
2014-06-20 17:53:07 -07:00
Henri Astre
e67f6b4003
First attempt at removing duplicated code
...
I've created _applyBoundaryConstraints() and _fitBounds() to remove
duplicated code.
2014-06-20 13:44:59 -07:00
Henri Astre
f86f9063fd
Improve comment for destroy() method.
2014-06-18 12:56:36 -07:00
Henri Astre
48aded3824
add fitBoundsWithConstraints() to the viewport.
2014-06-18 11:11:34 -07:00
Henri Astre
a563bdb658
fix .close() called after .destroy() + spacing
2014-06-18 10:35:23 -07:00
Henri Astre
764fa3e34a
Fix memory leak while destroying the viewer.
2014-06-17 17:26:10 -07:00
iangilman
e4800a9455
Merge pull request #419 from esmondb/master
...
Removes unnecessary trailing commas which stops google's closure compile...
2014-06-16 09:11:24 -07:00
esmondb
59ab6562d3
Removes unnecessary trailing commas which stops google's closure compiler.
2014-06-14 10:15:40 +01:00
Ian Gilman
02b606680d
Updated to latest npm packages
2014-06-02 11:02:22 -07:00
esmondb
d9ddc5f65d
Fix for IIPServer style urls when using DZI.
2014-05-31 08:30:25 +01:00
Ryan Lester
06dcfadf20
Quick patch to fix mid-update image loaded callbacks
2014-05-21 18:29:40 -07:00
Ryan Lester
dd51df97ab
Added ImageLoader; loads batches of images using async queue pattern
2014-05-10 15:09:02 -07:00
Mark Salsbery
bd11af6571
Improved Viewer Options Support in Gesture Handling
...
Apply constrainDuringPan option in flick and drag gesture handling.
Apply panHorizontal and panVertical options in flick and pinch gesture
handling.
2014-05-06 11:39:02 -07:00
Mark Salsbery
5b995eb04b
Removed mousenter/mouseleave DOM Event Handling
...
Fixes #394
mouseenter/mouseleave are not implemented in Webkit very well, so
reverted to mouseover/mouseout.
2014-05-02 23:01:38 -07:00
iangilman
af383668d4
Merge pull request #392 from msalsbery/Double-Tap
...
Add Double-Click/Tap Gesture to MouseTracker (#300 )
2014-04-28 10:01:23 -07:00
iangilman
f0c92146d1
Merge pull request #385 from msalsbery/IE-Browser-Detection
...
Fix for IE 11 Browser Detection
2014-04-28 09:57:04 -07:00
Mark Salsbery
5806eed7f4
Merge remote-tracking branch 'origin/master' into IE-Browser-Detection
2014-04-24 12:50:21 -07:00
Mark Salsbery
6df9368f2c
Merge remote-tracking branch 'origin/master' into Firefox-Unit-Tests
2014-04-24 12:49:58 -07:00
Mark Salsbery
8232546d51
Merged upstream changes, fixed conflicts
2014-04-24 12:40:49 -07:00
iangilman
c0a3333663
Merge pull request #387 from msalsbery/Touch-Enter-Event
...
MouseTracker Touch Fixes - Flick Defaults and Bubbling
2014-04-24 10:32:35 -07:00
iangilman
669925776a
Merge pull request #379 from avandecreme/ajax-file
...
Fix ajax call for file: and ftp: #73
2014-04-24 10:02:44 -07:00
Mark Salsbery
bd52f38788
iOS touch enter/exit fix for BUttonGroup
2014-04-23 08:38:55 -07:00
Mark Salsbery
d9dfd0a435
iOS touch enter/exit fix
2014-04-23 08:07:48 -07:00
Mark Salsbery
e900b605af
Update changelog.txt
...
Updated changelog.
Misc documentation fixes.
2014-04-22 09:41:29 -07:00
Mark Salsbery
7567a657bd
Add Double-Click/Tap Gesture to MouseTracker ( #300 )
...
Fix for enhancement #300
Added double-click/tap gesture detection to MouseTracker.with
corresponding dblClickHandler event callback.
Added unit test for double-click detection.
Added Viewer dblClickHandler handling to optionally zoom on
double-click.
2014-04-22 09:23:56 -07:00
Antoine Vandecreme
e7ca7b1e95
Prefer DOMParser over ActiveX when both are availables.
2014-04-21 09:23:17 -04:00
Mark Salsbery
765df51bd3
Stiffened the spring
2014-04-20 21:25:29 -07:00
Mark Salsbery
5860167d65
MouseTracker Touch Fixes - Flick Defaults and Bubbling
...
Flick gesture settings defaults set to better values.
Removed touch event model bubble cancelling so viewer controls show on
touch contact.
2014-04-20 18:19:32 -07:00
Mark Salsbery
8589ebef0d
Fix for IE 11 Browser Detection
...
Proposed temporary fix until we don't need browser sniffing anymore.
2014-04-19 12:10:48 -07:00
Mark Salsbery
1e80b5a916
Float to Integer Fix for 'px' values in Navigator
...
Also fixes unit tests on Firefox (#332 )
2014-04-19 11:48:26 -07:00
Antoine Vandecreme
6a24af3743
Add @private to internal methods.
2014-04-18 16:59:47 -04:00
Antoine Vandecreme
116cf7449f
Test if activex is available by trying to create one for ie11 compatibility.
2014-04-17 17:20:04 -04:00
Antoine Vandecreme
3b4dca329d
Use ActiveX on IE when requesting a file: URL with ajax.
2014-04-17 16:13:26 -04:00
Mark Salsbery
8e119d66e5
Minor naming changes
2014-04-16 06:40:19 -07:00
Mark Salsbery
c2e7b376b0
pinchToZoom gesture option added, misc. fixes
...
changelog update.
pinchToZoom gesture option added.
Event unit tests cleaned up.
2014-04-15 19:19:47 -07:00
Mark Salsbery
9b15ca090b
Fallback to mouseover/mouseout,
2014-04-15 13:04:08 -07:00
Antoine Vandecreme
47ae094675
Fix ajax call for file: and ftp: #73
2014-04-15 12:55:32 -04:00
Mark Salsbery
e8e0f28f5a
Merge Upstream Changes
2014-04-15 06:40:46 -07:00
Mark Salsbery
09bfd55add
MouseTracker fixes and tests
...
Separated event-model/device specific event handling code from
event-model/device agnostic event handling code.
Use enter/leave events instead of over/out events.
Updated unit tests for above changes.
Added unit tests for mouse gestures.
Updated changelog for breaking changes and deprecations.
2014-04-14 18:17:18 -07:00
Heath Nielson
c61a22f750
Support query parameters in DZI tileSource URLs
...
Any query parameters that are a part of the tileSource URL are added
to the tile URLs.
2014-04-10 14:08:19 -06:00
Ian Gilman
5dafa32f5d
Changelog for #376 and spelling fix
2014-04-09 09:06:46 -07:00
iangilman
a2a5387a83
Merge pull request #376 from avandecreme/hide-controls
...
Add showZoomControl, showHomeControl and showFullPageControl options to ...
2014-04-09 09:04:35 -07:00
Antoine Vandecreme
e27df5327f
Improve documentation.
2014-04-09 10:18:51 -04:00
iangilman
59a00ddfd1
Merge pull request #377 from avandecreme/cors
...
Disable CORS by default.
2014-04-08 14:28:41 -07:00
Antoine Vandecreme
dbe87d659e
Disable CORS by default.
2014-04-07 16:59:48 -04:00
Antoine Vandecreme
16ee82d43b
Add showZoomControl, showHomeControl and showFullPageControl options to be able to hide specific controls. See #210
...
Add missing doc for buttons.
Set the rotate buttons to viewer.rotate(Left/Right)Button for coherence with other buttons.
Update tests.
2014-04-07 14:11:33 -04:00
Antoine Vandecreme
f7d65fa4cb
Make OpenSeadragon W3C compliant.
2014-04-04 16:14:32 -04:00
Mark Salsbery
642c302225
Changelog, documentation, options update
2014-04-03 10:06:12 -07:00
Mark Salsbery
dc48a31412
Exposed gesture settings as options
2014-04-03 08:50:25 -07:00
Mark Salsbery
b8ea87d3f8
MouseTracker Fixes
...
Fixed mouse capture, should work on IE8 without IE8-specific code.
2014-04-01 18:27:54 -07:00
Mark Salsbery
2c8af72f5e
Multi-Touch MouseTracker Fixes
...
Removed zoom on click for touch.
Added an isPrimary flag to gesture points.
Fixed documentation error and updated documentation and comments.
Implemented the stopHandler for mouse events.
2014-04-01 09:32:04 -07:00
Mark Salsbery
8df20a5b86
Multi-Touch MouseTracker Update
...
Removed artifact
2014-03-31 13:42:19 -07:00
Mark Salsbery
d324aea761
Multi-Touch MouseTracker Update
...
Refactored, fixed a couple bugs, unit tests working.
Issuing a pull request.
2014-03-31 12:54:37 -07:00
Mark Salsbery
73b7519471
Merge remote-tracking branch 'origin/master' into Pointer-Event-Model
2014-03-29 17:09:24 -07:00
Mark Salsbery
1475f5865d
Multi-Touch MouseTracker Update
...
Ready to pull request, merging upstream changes and running tests.
2014-03-29 17:02:24 -07:00
iangilman
a4d877297e
Merge pull request #367 from avandecreme/master
...
Fix missed copy paste.
2014-03-27 09:05:00 -07:00
Antoine Vandecreme
37bc36a7e7
Fix missed copy paste.
2014-03-26 15:28:35 -04:00
Antoine Vandecreme
7055322ee3
Add support for old webkit. Add fullScreenApi.getFullScreenElement method. Remove old license.
2014-03-25 13:29:58 -04:00
Antoine Vandecreme
6e48de47ed
Remove useless parameter Element.ALLOW_KEYBOARD_INPUT
2014-03-25 11:59:48 -04:00
Antoine Vandecreme
009b75393f
Remove ActiveX for IE<11. Update changelog.
2014-03-25 11:34:46 -04:00
Antoine Vandecreme
a15c8b035f
Merge branch 'master' of https://github.com/openseadragon/openseadragon into fullscreen-inputs
2014-03-25 10:36:37 -04:00
Mark Salsbery
70716b0706
Merge remote-tracking branch 'origin/master' into Pointer-Event-Model
2014-03-24 14:47:18 -07:00
Antoine Vandecreme
639af65ea9
Remove duplicate method
2014-03-21 16:15:08 -04:00
Antoine Vandecreme
775f4eba25
Merge branch 'master' of https://github.com/openseadragon/openseadragon into optimization
2014-03-21 16:12:50 -04:00
Antoine Vandecreme
4a5ccea2f7
Update overlays unit tests.
2014-03-21 15:55:04 -04:00
Mark Salsbery
3c0ca21568
Merge remote-tracking branch 'origin/master' into Pointer-Event-Model
2014-03-21 11:54:28 -07:00
Mark Salsbery
f6dfe9b079
Multi-Touch MouseTracker Update
2014-03-21 11:45:20 -07:00
iangilman
184ba0dbea
Merge pull request #364 from sul-dlss/cors-policy
...
add crossOriginPolicy drawer configuration to enable or disable CORS image requests
2014-03-21 09:18:41 -07:00
Antoine Vandecreme
4be56cdb52
Overlays performance optimization. See #359
2014-03-20 15:39:31 -04:00
Chris Beer
3d028716fe
add crossOriginPolicy drawer configuration to enable or disable CORS image requests
2014-03-20 10:30:46 -07:00
Antoine Vandecreme
73eaf2ce96
Separate layers and overlays to ensure that overlays are always on top of layers.
2014-03-20 09:56:12 -04:00
Antoine Vandecreme
ba10c392a1
Merge branch 'master' into layers
...
Conflicts:
src/drawer.js
src/viewer.js
test/test.html
2014-03-19 16:24:48 -04:00
Antoine Vandecreme
c9df575347
Merge from master
2014-03-18 13:17:43 -04:00
Antoine Vandecreme
2473c809b2
Fix mistakes in doc.
2014-03-18 13:05:21 -04:00
Antoine Vandecreme
a0cb7ec10f
Fix fullscreen test on IE11
2014-03-17 17:33:26 -04:00
Antoine Vandecreme
3cfce81705
Update full screen API.
2014-03-17 17:01:36 -04:00
Mark Salsbery
d52df4a9bf
Multi-Touch MouseTracker Update
...
Pinch gesture fixups
2014-03-15 17:12:13 -07:00
Antoine Vandecreme
7852718be2
Fix style
2014-03-15 11:51:36 -04:00
Antoine Vandecreme
41cded608c
Use viewer.addOverlay instead of drawer.addOverlay in collection mode
2014-03-15 11:40:51 -04:00
Antoine Vandecreme
ecf10f5911
Fix test messages, add doc and factorize overlay object creation
2014-03-15 11:20:33 -04:00
Mark Salsbery
7aa0df1b66
Multi-Touch MouseTracker Update
...
Pinch zoom update
2014-03-14 14:15:09 -07:00
Mark Salsbery
38cae86659
Multi-Touch MouseTracker Update
2014-03-14 10:42:22 -07:00
Mark Salsbery
c7ea247baa
Initial commit - Multi-touch, pointer event MouseTracker
2014-03-10 11:49:51 -07:00
iangilman
08568b5354
Merge pull request #341 from fs-webdev/rotate-buttons
...
Added Rotate Left/Right buttons to standard controls
2014-03-07 10:05:36 -08:00
Grant Echols
95f0591210
Added message to clarify that the event only fires when <canvas> is being used.
2014-03-04 10:38:10 -07:00
Grant Echols
e368bd50aa
Added tests for rotate control on/off setting.
2014-03-03 14:45:30 -07:00
Grant Echols
5e0e8005d6
Tuned the configuration around the rotate left/right to work when the drawer is instantiated.
2014-03-03 11:14:09 -07:00
Grant Echols
60da75aede
Added configuration around the rotate left/right buttons. The default for showRotationControls is false to preserve existing functionality. Also added default tooltip strings for the buttons.
...
This version runts the tests fine locally using 'npm test'. It looks like the remote build was having a timeout issue which I couldn't reproduce.
2014-03-03 09:28:28 -07:00
Antoine Vandecreme
0f43cd5a16
Add deprecated drawers methods.
2014-03-01 08:32:38 -05:00
Grant Echols
be79249c9c
Added pre-draw event for tiles to allow applications to alter the image just prior to its rendering. This should enable invert, brightness, contrast, sharpen and other transformations to occur naturally through the 'tile-drawing' event listener.
...
The listener is given the 'rendered' object which is the pre-drawn image on a canvas context object. By altering the 'rendered' object the listener can alter the display results. Since this event gets fired multiple times for the tile, it is wise for the handler to track what their desired modifications are and to tag the 'tile' element to keep track of the modifications already applied.
2014-02-27 15:35:00 -07:00
Grant Echols
576df57cdc
Fixed code style issue.
2014-02-20 14:04:26 -07:00
Grant Echols
2fd1a849d1
Added rotate right/left buttons to default tools
2014-02-20 13:57:39 -07:00
Antoine Vandecreme
95c7668f68
Pass degrees from the viewer to the viewport. Fix #305
2014-02-05 15:52:31 -05:00
Antoine Vandecreme
aaad805727
Add test for fixed overlay + update doc
2014-02-05 14:57:47 -05:00
Antoine Vandecreme
ed5eae9a73
Fix imageToViewerElementCoordinates method and corresponding unit tests.
2014-02-04 17:02:11 -05:00
Antoine Vandecreme
e26727488f
Fix doc in point.js
2014-02-04 16:59:45 -05:00
Antoine Vandecreme
c4428db8a5
Fix crash when closing the viewer when no overlay has been added.
2014-01-31 11:49:44 -05:00
Antoine Vandecreme
695df873ca
Update the source when the base layer change.
2014-01-30 16:59:51 -05:00
Antoine Vandecreme
d43b6d86b5
Add layersAspectRatioEpsilon check
2014-01-30 16:43:35 -05:00
Antoine Vandecreme
365dad9317
Move all overlay code from drawer to viewer
2014-01-30 15:38:37 -05:00
Antoine Vandecreme
7210181b4f
Remove not working code
2014-01-29 16:31:13 -05:00
Antoine Vandecreme
53ec6889e0
Support removal of base layer.
2014-01-22 11:33:59 -05:00
Antoine Vandecreme
1c1cd0dc4d
Allow base layer reassignment if not in sequence mode.
2014-01-21 19:24:47 -05:00
Mark Salsbery
601f533fcf
Navigator update with tests update
...
Navigator hosted in viewer with navigatorMaintainSizeRatio==false (the
default) now maintains its area and aspect ratio.
Tests added for most (all?) navigator configurations.
2014-01-18 18:19:22 -08:00
Mark Salsbery
7ce552caf9
Navigator update
...
Allow navigators hosted in a user-supplied element to be styled by user.
2014-01-13 14:51:22 -08:00
Antoine Vandecreme
facccf7b45
Throw an error when trying to add a layer in collection mode.
2014-01-11 19:25:27 -05:00
Antoine Vandecreme
cd62ba7eca
Prevent adding collections as layers.
2014-01-11 19:15:28 -05:00
Antoine Vandecreme
f0f76b847e
Add viewer.getLayerAtLevel method and rename getLayerLevel to getLevelOfLayer.
...
Add layers unit test.
2014-01-11 18:08:04 -05:00
Antoine Vandecreme
56707bd4f7
Add viewer.getNumberOfLayers method
...
layers.html test file:
-display 2 layers after opening
-fix order
-add opacity demo
-add rotation demo
2014-01-11 12:52:44 -05:00
Mark Salsbery
23954d0adf
Merge remote-tracking branch 'origin/master' into Navigator-Resize
...
Conflicts:
changelog.txt
2014-01-08 14:03:47 -08:00
Jon Stroop
ddde07b614
style changes, per @iangilman on openseadragon/openseadragon#315
2014-01-07 14:59:44 -05:00
Antoine Vandecreme
63af1e7517
Uncomment version
2014-01-05 19:30:52 -05:00
Antoine Vandecreme
b542b90590
Fix $.indexOf pollyfill
...
Add the original options in addLayer events
Add layers demo page
2014-01-05 19:20:45 -05:00
Jon Stroop
24298dcbba
Only require IIIF level 1; Vary tile size based on src image when no tiles are reported. Toward openseadragon/openseadragon#313
2014-01-02 19:59:10 -05:00
Jon Stroop
e9c2b502c1
support iiif level 1
2013-12-18 17:34:39 -05:00
Mark Salsbery
cae29bb144
Merge remote-tracking branch 'origin/master' into Navigator-Resize
2013-12-16 12:53:34 -08:00
Mark Salsbery
1cac9fa533
Navigator cursor fix
2013-12-16 07:17:35 -08:00
Mark Salsbery
1e9ea154f2
Added navigatorAutoResize option
...
Improved resizable navigator support.
2013-12-14 14:45:11 -08:00
Mark Salsbery
a189ba97d7
Update navigator on full-page/full-screen bug fix
2013-12-14 09:11:14 -08:00
Sean Wilkinson
03e82a7ca3
Corrected spelling in comments
2013-12-13 15:12:35 -06:00
Sean Wilkinson
3d1ba84c4d
Corrected simple spelling mistakes in comments
2013-12-13 15:11:00 -06:00