Commit Graph

154 Commits

Author SHA1 Message Date
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