nein09
1debca9c41
Add panning tests
2015-01-16 16:14:18 -08:00
nein09
9d7424b1ce
Add panning tests
2015-01-16 16:00:57 -08:00
nein09
cc382eb263
add refpoint to zoom tests.
2015-01-16 15:45:04 -08:00
Ian Gilman
8c9fbafb06
Resize (m2)
2015-01-15 14:32:42 -08:00
nein09
3d3f4dbee5
More viewport unit tests - resize, get and set rotation, and the start of zoomBy and zoomTo.
2015-01-15 12:36:01 -08:00
Mark Salsbery
cb56e352cf
Mousetracker Improvements
...
1) MouseTracker - Simulated touchenter/touchleave events now bubble to parent element MouseTrackers
2) MouseTracker - Improved multitouch support in enter/exit event handlers
3) MouseTracker - orphaned tracked touch pointers removed (fix for #539 )
4) MouseTracker - removed touchenter/touchleave event support since the events don't exist on any known platform and have been removed from the W3C specification
5) Removed Viewer onContainerPress/onContainerRelease handlers (and the associated 'container-release' event ) that were never fired due to the canvas (child) element capturing the DOM events
6) Added 'canvas-enter', 'canvas-exit', and 'canvas-press' events to Viewer
7) ButtonGroup - removed obsolete MouseTracker event handlers
2015-01-15 12:15:22 -08:00
Ian Gilman
1da3418cbe
Selection and hover for thumbs mode (m2)
2015-01-14 17:09:39 -08:00
Ian Gilman
fe2aa52caf
Proper buffer for page and book modes (m2)
2015-01-14 15:09:48 -08:00
Ian Gilman
0c63f35de1
Consistent height for pages (m2)
2015-01-13 16:15:40 -08:00
Ian Gilman
e37564e58c
Better constraints for zooming out from corners
2015-01-13 15:49:53 -08:00
Ian Gilman
8f45207820
m2 constraints
2015-01-13 15:33:03 -08:00
Ian Gilman
ef20ccc1e7
Merge branch 'collections' into m2
2015-01-13 14:12:14 -08:00
Ian Gilman
17b8f356ed
Merge branch 'master' into collections
2015-01-13 14:11:52 -08:00
Mark Salsbery
cc1b6b7c6f
Minor events.js test comment fix
2015-01-13 08:41:02 -08:00
Mark Salsbery
0d6fca35c1
Fix pointer type passed to capturePointer/releasePointer in pointer events model.
...
Remembered to change the test shim as well.
2015-01-12 16:08:26 -08:00
Mark Salsbery
755854d3f7
Renamed non-primary button events/handlers
2015-01-12 11:02:54 -08:00
Mark Salsbery
becd11b6ce
Added unit tests
2015-01-11 10:06:07 -08:00
Ian Gilman
0429d8fe7f
Using real book images (m2)
2015-01-09 15:46:57 -08:00
Ian Gilman
c1d93acb27
Better next/previous support (m2)
2015-01-09 15:11:11 -08:00
Ian Gilman
a470d10f4d
* Scroll view: go to current page when entering mode; clamp at first and last (m2)
2015-01-09 14:04:45 -08:00
Ian Gilman
70e461c214
* Correct page height for thumbs (m2)
2015-01-09 13:53:48 -08:00
Ian Gilman
4fa6fea850
Scrollwheel for thumbs (m2)
2015-01-09 11:45:53 -08:00
Ian Gilman
3956e6013a
Clicking into thumbnails (m2)
2015-01-08 14:04:31 -08:00
Ian Gilman
c3d9b102c5
First version of m2 POC
2015-01-08 13:22:23 -08:00
Ian Gilman
03fec96f33
Moved viewport test
2015-01-02 14:25:42 -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
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
a8b9e2b88f
Fix for one viewport unit test
2014-12-19 16:53:30 -08:00
Ian Gilman
a0092a4298
Merge branch 'collections' into bugs
2014-12-19 16:14:46 -08:00
Ian Gilman
062ee6227b
Merge branch 'master' into collections
2014-12-19 16:14:16 -08:00
Ian Gilman
c6b1efe85d
Added pause and "add more" buttons to animation demo
2014-12-19 15:55:24 -08:00
Ian Gilman
c9708399a1
Fixed bug with passing single literal tilesource on construction
2014-12-19 15:32:19 -08:00
Ian Gilman
ce8b0358ff
Test for item positions + navigator
2014-12-19 15:21:57 -08:00
Ian Gilman
f1610425bc
Navigator now updates when items are moved
2014-12-19 13:57:08 -08:00
nein09
00510c6cc2
Refactor other looping tests that don't reopen the viewer in a similar manner.
2014-12-15 09:41:32 -08:00
nein09
aebfecb4e8
Factor out looping and reopening viewer into a helper method, based on Ian's example.
2014-12-14 13:15:50 -08:00
nein09
e901248816
Explicitly call viewport.update() after zooming and make the test expected values reflect that action.
2014-12-14 11:08:54 -08:00
Ian Gilman
40d8f84187
Testing
2014-12-12 16:28:02 -08:00
nein09
c4fac82489
Clean up errors found by SublimeLinter.
2014-12-12 12:51:50 -08:00
Ian Gilman
d1627f9975
Merge branch 'collections' into ian
2014-12-11 17:10:00 -08:00
Ian Gilman
549ce64238
Using highsmith for animation demo
2014-12-05 11:05:50 -08:00
Ian Gilman
222f942752
Animation demo
2014-12-04 13:36:02 -08: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
fd40c1a829
Test for tiledImage animation
2014-12-02 13:29:52 -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
bf9ccd5458
tile-drawing event now includes tiledImage
2014-11-24 13:25:20 -08:00
Ian Gilman
b8a1762a95
Unit tests for TiledImage unit conversion
2014-11-21 17:05:14 -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
632f09caa2
More drawer tests
2014-11-20 14:25:17 -08:00
Ian Gilman
78e44d487b
TileCache tests
2014-11-20 11:51:24 -08:00
Ian Gilman
cf0059daa5
Reorganized test folder
2014-11-19 16:52:33 -08:00
Ian Gilman
e465c24f2b
Support for generating code coverage reports
2014-11-19 16:46:05 -08:00
Ian Gilman
2508dd35f5
tiledImage tests for real
2014-11-19 09:28:09 -08:00
Ian Gilman
3449ba1961
tiledImage tests
2014-11-18 17:12:15 -08:00
Ian Gilman
613e03d413
Drawer tests; multi-image test
2014-11-18 16:28:08 -08:00
nein09
17fddb2ff5
Merge branch 'master' of https://github.com/nein09/openseadragon into viewport-tests
2014-11-18 13:19:35 -08:00
nein09
614261876d
Incorporate code review feedback - instantiate the viewer for looping ZoomLevel tests, change a few little syntax things
2014-11-18 13:05:58 -08:00
Ian Gilman
643332902d
Unit tests for World
2014-11-17 16:24:40 -08:00
Ian Gilman
b149b39b06
Reinstating sequence control tests
2014-11-17 14:06:10 -08:00
Ian Gilman
0e31b67ca5
ReferenceStrip fixes
2014-11-17 14:03:14 -08:00
Ian Gilman
4bd4dd5618
Reference strip testing
2014-11-17 13:17:24 -08:00
Ian Gilman
336482cd1c
Viewer.open now honors sequence mode
2014-11-17 12:57:49 -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
nein09
20711c485b
getContainerSize test
2014-11-13 17:19:36 -08:00
nein09
ca7f79c896
Aspect ratio test
2014-11-13 09:04:11 -08:00
nein09
f765ab9933
min and max zoom level tests
2014-11-13 08:55:15 -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
9ebdaee326
Merge branch 'collections' into ian
2014-11-10 14:40:12 -08:00
Ian Gilman
55759a6906
Merge branch 'master' into collections
2014-11-10 14:39:43 -08:00
Ian Gilman
1366bb7abe
Touch-ups for #481
2014-11-07 16:07:04 -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
nein09
06e970bbc3
Last of the tests for pixel/point/rect conversion.
2014-11-06 18:30:24 -08:00
Ian Gilman
3a902a7768
Testing overlays
2014-11-05 16:54:03 -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
8641279890
Better tile caching for duplicate images
2014-11-05 13:48:27 -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
ab33d984d3
More unit test fixes
2014-11-04 09:38:16 -08:00
Ian Gilman
00c2881c64
Fixed test breakages
2014-11-03 17:14:17 -08:00
nein09
fd380afe7f
Add tests for pixel <-> Point and viewport coordinates <-> image coordinates. Still working out the fine points of the target location.
2014-10-29 21:10:15 -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
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
nein09
e0fbf869c9
Replace more magic numbers with constants.
2014-10-27 18:06:37 -07:00
nein09
2d70ee32fc
Remove randomness from test cases.
2014-10-27 17:58:59 -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
nein09
c1ae3d08f7
More constants, fewer magic numbers.
2014-10-23 16:30:34 -07:00
nein09
72a0ecc195
Force a zoom factor of 2 and make that a constant; find the viewer position in the window for imageToWindowCoordinates (still not sure where the 20 x 20 pixel padding is coming from
2014-10-23 16:13:02 -07:00
Ian Gilman
46cd2ab800
Fixed issue with top/left margins; cleaned up naming
2014-10-21 17:11:09 -07:00
nein09
8494b7ee7f
Take out multiplication to avoid precision errors because it doesn't; add viewportToImageRectangle test
2014-10-21 11:19:41 -07:00
nein09
7cf4556cdc
Merge remote-tracking branch 'origin/master' into viewport-tests
2014-10-20 15:43:21 -07:00
Ian Gilman
a14bea39aa
More margins work
2014-10-17 14:27:24 -07:00
Ian Gilman
2d8652046a
First stab at margins
2014-10-16 14:00:07 -07:00
nein09
d9bd3343cc
viewerElementToImageCoordinates
2014-10-15 17:00:11 -07:00
nein09
c6dd2f213d
imageToViewerElementCoordinates and imageToWindowCoordinates
2014-10-15 16:54:09 -07:00
nein09
59ee91ea1a
add test for windowToImageCoordinates
2014-10-15 12:22:52 -07:00
nein09
13045e2ac4
Use propEqual to verify Point values, add a stub test for imageToWindowCoordinates
2014-10-15 11:45:19 -07:00
nein09
e8d4c00c5f
Add viewport.js to test.html so tests get run. Use built-in Point functions. Add a helper function to get a random number.
2014-10-09 16:58:45 -07:00
nein09
119ff4226d
Add a new test file to hold the viewport tests, and a few new tests to it.
2014-10-02 13:20:28 -07:00
Ian Gilman
e02209092c
Navigator now works with multiple images
2014-09-23 16:15:03 -07:00
Ben Delarre
bbcb9c1219
Fixed bounds of test.
2014-09-23 11:32:37 -07:00
Ben Delarre
23c9155e52
Fixed comment.
2014-09-23 11:30:46 -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
Rob Sanderson
38da88c794
Fixing 2.0 test info.json
2014-09-04 12:28:52 -07:00
Ian Gilman
349e6125ea
Improved collections demo: gridTest, crossTest
2014-08-26 15:27:55 -07:00
Ian Gilman
08a38a8602
More test fixes.
2014-08-19 15:27:04 -07:00
Ian Gilman
b2e2b2b125
Renamed layers.js to multi-image.js
2014-08-19 15:03:45 -07:00
Ian Gilman
98111212cd
Converted layer tests to multi-image tests
2014-08-19 15:02:35 -07:00
Ian Gilman
796588ace2
Unit test fixes.
2014-08-18 16:32:21 -07:00
Ian Gilman
8efad6f3a0
Fixed home/constraints for multi-image.
2014-08-18 16:04:49 -07:00
Ian Gilman
5c7c1d5b6c
Moved Viewport.goHome to Viewer.goHome.
2014-08-12 16:44:53 -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
cbdb0d19be
IIIF 2.0 Tiles test
2014-07-28 12:45:52 -07:00
Rob Sanderson
984fb8c531
Fixed drawer, renamed source, fixed tests
2014-07-28 11:53:06 -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
Henri Astre
d39971f80e
renaming fitBounds to fitboundswithconstraints
...
it looks like github for windows is not detecting filename changes when
a letter change from upper to lower case.
2014-06-23 16:16:38 -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
e7d8cff109
adding demo to show benefit of fitBoundsWithConstraints
2014-06-20 16:18:04 -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
Ian Gilman
eb58d3fd11
Fixed QUnit dependency
2014-06-05 09:53:03 -07:00
Mark Salsbery
41034705c1
Removed mousenter/mouseleave DOM Event Handling from Unit Tests
2014-05-05 10:44:17 -07:00
Mark Salsbery
8232546d51
Merged upstream changes, fixed conflicts
2014-04-24 12:40:49 -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
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
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
b897959cff
Unit test fix for mouseover/mouseout fallback
2014-04-15 14:16:10 -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
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
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
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
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
71618a39f7
Use minified version in tests.
2014-03-15 11:56:07 -04:00
Antoine Vandecreme
ecf10f5911
Fix test messages, add doc and factorize overlay object creation
2014-03-15 11:20:33 -04:00
Ian Gilman
13fa798e52
comment update on rotate test
2014-03-07 10:11:02 -08: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
3f095c71cf
Added simulated left/right rotate clicks to the test case.
2014-03-06 10:06:58 -07:00
Grant Echols
9f09951840
Reworded the test messages to 'should be' form as per standard practice.
2014-03-06 08:58:56 -07:00
Grant Echols
0bfb834393
Fixed message context to be more correct. I believe the message is only displayed when a failure occurs, so it needs to be clear what was being tested.
2014-03-04 10:28:19 -07:00
Grant Echols
27424348f3
Added test case for tile-drawing event.
2014-03-03 16:19:40 -07:00
Grant Echols
e368bd50aa
Added tests for rotate control on/off setting.
2014-03-03 14:45:30 -07:00
Antoine Vandecreme
aaad805727
Add test for fixed overlay + update doc
2014-02-05 14:57:47 -05:00
Antoine Vandecreme
db98e4c34e
Add overlays unit tests
2014-02-04 17:09:12 -05:00
Antoine Vandecreme
ed5eae9a73
Fix imageToViewerElementCoordinates method and corresponding unit tests.
2014-02-04 17:02:11 -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
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
6774fca39e
Navigator Tests Update
...
Added tests for resizable navigators.
Fixed typo.
2014-01-21 08:44:04 -08: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
5c94df34a1
Navigator Tests Update
...
Removed leftover comments
2014-01-16 12:13:48 -08:00
Mark Salsbery
d874bb63ac
Navigator Tests Update
...
Tests added for all navigator placements.
Work in progress: Adding tests for viewer resizing.
2014-01-16 12:11:35 -08: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
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
6aaf44cebf
test for IIIF images w/o tiles
2013-11-18 12:52:55 -05:00
Antoine Vandecreme
6aca0c0886
Add counter to avoid trying to set scroll indefinitly
...
Style and spelling fixes
Set scrolls tests setup inside own function
2013-11-08 13:56:13 -05:00
Antoine Vandecreme
fafc985ada
Merge branch 'master' of https://github.com/openseadragon/openseadragon into fullscreen
2013-11-08 13:40:04 -05:00
Mark Salsbery
626f27771f
MouseTracker preventDefaultAction Unit Tests
2013-11-08 08:24:44 -08:00
Antoine Vandecreme
d70845d7eb
Separate fullscreen and fullpage methods ( #91 )
...
Fix scroll issue.
Handle fullscreen denial by the browser
2013-11-02 21:01:04 -04:00
Antoine Vandecreme
d853224c15
Add units tests for scroll
2013-11-01 17:37:19 -04:00
iangilman
5d45054fee
Merge pull request #257 from msalsbery/EventSource-Original-Events
...
originalEvent Pass through to EventSource events (#227 )
2013-10-22 10:31:18 -07:00
Antoine Vandecreme
54d02ada78
Replace viewport.getImageZoomRatio by conversion methods between viewport zoom and image zoom
2013-10-18 15:16:49 -04:00
Mark Salsbery
a9d6a82c67
Unit test update for EventSource originalEvent
2013-10-15 11:27:21 -07:00
Mark Salsbery
d574700b3d
Event Handler Signatures Changed to 'fn(event)'
...
All event handler signatures changed to 'fn(event)'
eventSource property added to the event object passed
Redundant event source properties removed ('button' and 'viewer'
Documentation updated in MouseTracker
changelog.txt updated
2013-10-10 17:00:15 -07:00
iangilman
9050a39387
Merge pull request #243 from avandecreme/master
...
Add coordinates conversion methods to viewport.
2013-10-10 10:38:09 -07:00
Jon Stroop
32254f1418
removed duplicate iiif test tile files (w/ different names) and completed sets
2013-10-05 15:44:06 -04:00
Jon Stroop
935013c120
added missing 1.1 tiles
2013-10-05 15:38:00 -04:00
Jon Stroop
54ace13782
deleted duplicate iiif 1.1 test tiles
2013-10-05 15:15:47 -04:00
Jon Stroop
8f154e3173
removed old, unnecessary files from cache
2013-10-05 15:11:59 -04:00
Jon Stroop
964e73b9a5
iiiftilesource now uses pixel-based syntax 'w,'. level 1 compliance it still required, so backward compatability should not be an issue
2013-10-05 15:02:26 -04:00
Antoine Vandecreme
3e5a9b52c9
Rollback basic.html and create coordinates.html.
...
Fix unit tests.
Fix documentation.
2013-10-05 10:21:12 -04:00
iangilman
74332ca374
Merge pull request #238 from jpstroop/issue236
...
IIIF 1.0 and 1.1 tests now depend on local tiles
2013-10-04 10:51:30 -07:00
Jon Stroop
c418725ade
full tile sets
2013-10-03 19:23:52 -04:00
Antoine Vandecreme
791ecfae75
Add coordinates conversion methods to viewport.
2013-10-03 17:27:11 -04:00
Jon Stroop
85c4f27dd8
resolves #236 ; iiif 1.0 and 1.1 tests now depend on local tiles
2013-10-02 15:53:10 -04:00
Mark Salsbery
d8fc7d10f9
Merge branch 'master' into Event-Names-Normalize
2013-10-01 15:12:00 -07:00
Jon Stroop
8099f8a803
applied iangilman\'s patch
2013-10-01 15:07:45 -07:00
Jon Stroop
4a00a62dd8
Adding iiif 1.0 info samples
2013-10-01 15:07:44 -07:00
Jon Stroop
e4bd874b03
added test for 1.1; renamed 11 to 1_1
2013-10-01 15:07:44 -07:00
Jon Stroop
8750300612
applied iangilman\'s patch
2013-09-30 19:42:16 -04:00
Mark Salsbery
ec3141a778
Event Names Normalized
...
Compound event names lower case with hyphen.
Button event names removed "on" and made lower case.
2013-09-30 10:22:06 -07:00
Jon Stroop
00870530af
Adding iiif 1.0 info samples
2013-09-28 06:46:41 -04:00
Jon Stroop
dcb2fc7136
added test for 1.1; renamed 11 to 1_1
2013-09-26 17:24:02 -04:00
Mark Salsbery
041597998f
Event Names Normalized
...
All event names lower case with no hyphens
2013-09-26 09:50:26 -07:00
Mark Salsbery
dab182757d
Renamed EventHandler to EventSource ( #225 )
2013-09-24 13:36:13 -07:00
Mark Salsbery
4adeacdc5e
MouseTracker Original Events in Handlers
...
MouseTracker Unit Tests
2013-09-20 09:17:48 -07:00
Mark Salsbery
0bbf6bc58a
Unit tests for canvas drag, release, click events
2013-08-30 10:09:22 -07:00
Mark Salsbery
1a005573f5
Unit tests for canvas drag, release, click events
2013-08-29 13:01:07 -07:00
Mark Salsbery
6049a7ecef
Unit tests for canvas drag, release, click events
...
Added test for canvas-drag, canvas-release, and canvas-click events
2013-08-28 11:33:41 -07:00
Mark Salsbery
853a141994
Unit tests for userData in events (issue #203 )
2013-08-28 05:50:22 -07:00
Luke Murray
ab82783cf1
update the comments and unit test
2013-08-13 10:33:12 +10:00
Luke Murray
0c662b8a8d
fix: comment updates and add a simple test for viewer.destroy
2013-08-12 16:38:37 +10:00
Chris Adams
3434fe600c
Tests: update AJAX tests
...
* IE8 support for makeAjaxRequest test (xhr.response does not exist,
responseText is supported by all major browsers)
* Update makeAjaxRequest test to confirm that the success callback is
called and that the error callback is not
* Add a test for makeAjaxRequest with an invalid file and verify that
error callback is called but the success callback is not
2013-07-02 16:37:19 -04:00
Chris Adams
6d7dd71577
Tests: IE8 support for log capture
...
No Array.indexOf. We are living like animals!
2013-07-02 16:20:56 -04:00
Chris Adams
9fb4ae2a9a
Tests: more targeted log capture setup
...
@Ventero pointed out that functions also have a length property
2013-07-02 16:09:23 -04:00
Chris Adams
2a3044e0cf
Tests: verify invalid string log messages
2013-07-02 15:20:17 -04:00
Chris Adams
7131c7a7da
Tests: check for AJAX error log message
2013-07-02 15:19:55 -04:00
Chris Adams
5a300998a8
Tests: console log capture utility
2013-07-02 15:12:16 -04:00
Chris Adams
d782da411e
Tests: code cleanup
2013-07-02 13:56:55 -04:00
Chris Adams
59a254bea6
Tests: add open failure tests, overhaul test framework
...
* Add tests for open failures
* Refactor tests to avoid tests depending on implied status from
previous tests:
1. The viewer is now created and destroyed for each
test to avoid pollution and simplify error handling: nothing
starts until you request it.
2. Some tests like Basic: Homepage depended on the Zoom & Pan tests;
now this is handled explicitly as part of the test setup
3. All basic tests are now properly async tests (since they needed
the viewer to load, they really were in the past except that
they were relying on the viewer state left behind from previous
tests)
* All tests now run inside the qunit-fixture to prevent masking
failures. Util.resetDom() has been refactored to use the
qunit-fixture and the teardown logic only used in the navigator
tests has been moved into the navigator test teardown method
* Fixed undeclared mainViewerElement variable in optional path in
the navigator tests
* JSHint cleanup
2013-07-01 18:26:44 -04:00
Chris Adams
7048cda69e
Tests: getString with placeholder expansion
2013-07-01 16:55:39 -04:00
Chris Adams
d447bd5612
Remove detritus left behind from error handler testing
2013-07-01 12:55:58 -04:00
Chris Adams
630bccad3d
Basic demo: set HTML5 doctype
...
This keeps IE8 out of quirks mode, which breaks things like
getWindowSize…
2013-06-28 15:44:38 -04:00
Chris Adams
c850121e9b
Tests: avoid leaking into global scope
...
This means that this will pass without error:
http://127.0.0.1:8000/test/test.html?noglobals=true
2013-06-26 16:54:37 -04:00
Ian Gilman
8e88f36098
Merge branch 'master' into raf
...
Fixed Conflicts:
src/viewer.js
2013-06-19 11:19:54 -07:00
Chris Adams
9f6f164d9f
Remove all whitespace
...
The results of running this command::
find . -name \*.js -print0 | xargs -0 perl -p -i -e "s|[ \t]+$||"
(Split from #136 )
2013-06-19 13:33:27 -04:00
Ian Gilman
b38e319f2c
Testing closing one image and opening another in navigator suite
2013-06-18 11:09:05 -07:00
Ian Gilman
9a28793e64
Testing source and timer management in basic test
2013-06-18 11:08:33 -07:00
Ian Gilman
862b560cb4
Basic test no longer uses navigator since we have a suite for that
2013-06-18 11:08:16 -07:00
iangilman
f412d07237
Merge pull request #121 from houseofyin/issue37-navigator
...
Issue37 navigator / Issue101 navigator follow-up / Issue102 navigator default
2013-06-13 09:39:27 -07:00
houseofyin
1833f85232
Implemented fix for a test failure that shows up on Firefox in some situtions
2013-06-12 15:06:17 -04:00
houseofyin
af1f1b64af
Removing the navigator demo files now that we have reasonable tests and examples for the navigator
2013-06-11 14:36:39 -04:00
Ian Gilman
29f3d80249
Making the basic demo a little more useful for debugging
2013-06-10 17:23:09 -07:00
houseofyin
9edd6ec131
Updated to turn on the navigator, since the navigator is no longer on my default
2013-06-08 12:03:51 -04:00
houseofyin
867e6de85a
Fixed a test that would fail if not scrolled to the top. Improved test speed. Changed some variables to better echo corresponding variables in the application code
2013-06-07 10:25:26 -04:00
houseofyin
aca25d1979
Speeding up the tets
2013-06-01 16:08:23 -04:00
Ian Gilman
1c60f90ee5
Tests for requestAnimationFrame and cancelAnimationFrame
2013-05-23 09:48:53 -07:00
Ian Gilman
673f881d52
Minor fixes to basic demo
2013-05-21 11:06:03 -07:00
Ian Gilman
e4993700af
Added test for makeAjaxRequest
2013-05-21 10:39:23 -07:00
Ian Gilman
7fc55d8a1f
Added a demo of the basic default viewer
2013-05-20 10:44:36 -07:00
iangilman
da86ca2e38
Merge pull request #46 from houseofyin/issue37-navigator
...
Issue37 navigator
2013-05-20 09:38:49 -07:00
houseofyin
bb4a8a0b4f
Bringing back in sync with the latest baseline
2013-05-17 22:29:08 -04:00
Benjamin Gilbert
771b5443da
test: Drop workaround for broken Drawer event emission
2013-05-17 01:26:21 -04:00
Ian Gilman
160da513cc
Merge branch 'fullpage-class' of github.com:bgilbert/openseadragon into bgilbert-fullpage-class
...
Fixed Conflicts:
test/test.html
2013-05-14 09:08:04 -07:00
Benjamin Gilbert
fd04647b1b
Test addition/removal of fullpage class on viewer element
2013-05-13 22:35:27 -04:00
Benjamin Gilbert
31d4cc13b7
Add tests for addClass/removeClass
2013-05-13 22:24:04 -04:00
Benjamin Gilbert
f235d7a642
Rename test/util.js to test/test.js
...
since we are about to create a module for testing utility functions.
2013-05-13 21:54:41 -04:00
Ian Gilman
ed87ceb23f
Sped up animation for basic test
2013-05-13 10:57:16 -07:00
Ian Gilman
9001fe9a5e
Generalized format test and added DZI XML
2013-05-13 10:50:43 -07:00
Ian Gilman
199c2f6c2d
Merge branch 'master' of github.com:openseadragon/openseadragon
...
Fixed Conflicts:
test/test.html
2013-05-10 11:59:09 -07:00
Ian Gilman
b95d6540a1
Generalized test timeout code
2013-05-10 11:53:49 -07:00
Ian Gilman
457f908c06
DZI-JSONp test now works; enabled
2013-05-10 11:32:43 -07:00
Heath Nielson
eb14eae428
Merge remote branch 'upstream/master' into getString-error
...
Conflicts:
test/test.html
2013-05-10 11:54:45 -06:00
Ian Gilman
05c25fddcf
Getting started on a DZI-JSONp test; currently disabled
2013-05-09 11:03:31 -07:00
Ian Gilman
4f13328609
Minor cleanups on basic test
2013-05-09 11:02:51 -07:00
Heath Nielson
e98fb410ee
Add some get/setString tests.
2013-04-26 15:19:23 -06:00
houseofyin
37cc433fc4
Adding blank line at the end of the file to make github happy
2013-04-08 20:59:16 -04:00
houseofyin
58107941bc
Removing obsolete file
2013-04-08 20:56:31 -04:00
houseofyin
e69033ee74
Removed some extraneous whitespace
2013-04-05 22:29:18 -04:00
houseofyin
cb5b844a74
Cleaned up and moved the demos
2013-04-05 22:28:03 -04:00
houseofyin
bbf0fc4302
Updated to address feedbac from @iangilman
2013-04-04 22:30:59 -04:00
houseofyin
df3344f67c
Getting into alignment with code style guidelines
2013-04-03 11:51:24 -04:00
houseofyin
b3d358fa35
First pass at bringing the code in compliance with the project code standards
2013-04-02 21:07:10 -04:00
houseofyin
d34a912a13
Added autohide tests
2013-04-02 16:40:52 -04:00
houseofyin
50a9cecd35
Refactored to replace parallel arrays with an object
2013-04-02 14:09:49 -04:00
houseofyin
6b97ab4424
Refactored to remove duplicated code
2013-04-02 13:49:15 -04:00
houseofyin
858487f8c6
Tests now go to all corners
2013-04-02 10:44:42 -04:00
houseofyin
f3d880df4c
Fixed a few minor errors in the test code
2013-04-01 23:30:05 -04:00
houseofyin
5bf4b51925
Checkpoint. Anchoring click to middle of view. Adding call to apply to constraints on viewer after the click, and additional testing
2013-04-01 22:33:58 -04:00
houseofyin
b1809d4c49
Checkpoint. Some more cleanup and simplification. Starting to convert nav click to pixel-based. Starting to get props to target that
2013-03-31 11:10:31 -04:00
houseofyin
591b5b380d
Checkpoint. Some more cleanup and simplification
2013-03-31 11:00:45 -04:00
houseofyin
19225b77f6
Checkpoint. Some more cleanup and simplification
2013-03-31 10:53:33 -04:00
houseofyin
05cad2046f
Checkpoint. Some more cleanup and simplification
2013-03-31 10:42:35 -04:00
houseofyin
1e8acf5466
Checkpoint. Some more cleanup. Adjusted to work under PhantomJS
2013-03-30 23:27:33 -04:00
houseofyin
6d73456c66
Checkpoint. Simplified the viewer wait some more
2013-03-30 22:15:02 -04:00
houseofyin
6a4a53acb6
Checkpoint. Converted to pixel-based assessment, First crack at triggering events on the navigator.
2013-03-30 21:53:22 -04:00
houseofyin
20f27080bb
Another test checkpoint
2013-03-25 12:18:55 -04:00
houseofyin
977ce2d959
Making a snapshot before removing the SD coordinate based assertions in favor of the pixel-based assertions
2013-03-25 11:01:31 -04:00
houseofyin
8db1a15282
A little cleanup of the border issue
2013-03-23 23:06:34 -04:00
houseofyin
450760d3b7
Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
...
Conflicts:
test/test.html
2013-03-23 21:44:22 -04:00
houseofyin
00985c8872
Adding some wide and tall cases the demo page
2013-03-23 21:10:23 -04:00
houseofyin
e109b219f3
Adding wide and tall viewers
2013-03-23 21:08:21 -04:00
houseofyin
109956b5dd
Adding wide and tall viewers
2013-03-23 21:07:17 -04:00
houseofyin
81fd8114f6
Added tall and wide test cases, improved synchronization and test refactoring
2013-03-23 21:06:38 -04:00
Ian Gilman
b1758040a0
Added "home" and "click" tests
2013-03-21 13:44:22 -07:00
houseofyin
c92c9cd325
Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
2013-03-21 13:56:51 -04:00