Commit Graph

703 Commits

Author SHA1 Message Date
Ian Gilman
e01e36794d
Merge pull request #1441 from nelsonn3c/feature/flip
Adds flip/mirror slides feature.
2018-06-07 09:48:59 -07:00
Nelson Campos
0023ae9801 Put flip tests out from the original tests in their own test cases 2018-06-07 11:41:45 +01:00
Nelson Campos
6a2cd1ff84 Adds some more tests 2018-06-06 17:56:37 +01:00
Nelson Campos
3615ad412f Adds some more tests and tries to solve some code bugs.
A new variance parameter was added to assertPointsEquals function.

Variance value was set on loopingTestHelper function (1e-15).

The following tests were modified to execute tests on flipped viewport:
* 'panBy'
* 'panTo'
* 'zoomBy with ref point'
2018-06-06 17:03:40 +01:00
Nelson Campos
a31587df2f Adds tests about flip methods 2018-04-17 16:23:21 +01:00
Ian Gilman
b63c77fdb9
Merge pull request #1370 from avandecreme/tile_at_point
Fix getTileAtPoint epsilon precision
2018-04-16 09:44:25 -07:00
Zsolt Ero
59f15508b9 removed old files from test 2018-02-16 21:17:52 +01:00
Zsolt Ero
d44e907910 added tests for scaleFactors [1] 2018-02-16 21:14:28 +01:00
nein09
3a0e01479f Call equalsWithVariance correctly 2018-01-19 14:39:17 -08:00
nein09
c53bd18290 Revert timeout changes 2018-01-18 10:45:56 -08:00
nein09
ac013513a2 Comment out failing tests (opened a bug) 2018-01-04 08:35:40 -08:00
nein09
aaec7c9526 Implement code coverage without grunt-qunit-istanbul 2018-01-02 08:32:45 -08:00
nein09
80e8065e2f More work on navigator tests 2018-01-02 08:32:45 -08:00
nein09
b8a28ce838 Navigator tests 2018-01-02 08:32:45 -08:00
nein09
6f789e7e88 Everything but the navigator tests 2018-01-02 08:32:45 -08:00
nein09
b096e369d0 Controls and viewport 2018-01-02 08:32:45 -08:00
nein09
52a275808f Multi-image and overlays tests 2018-01-02 08:32:45 -08:00
nein09
76669f8a65 Update units 2018-01-02 08:32:45 -08:00
nein09
9f39f7bf03 Convert events tests 2018-01-02 08:32:45 -08:00
nein09
b4b1ec8825 Make timeWatcher args make more sense, add utils tests 2018-01-02 08:32:45 -08:00
nein09
73be93b995 Formats tests 2018-01-02 08:32:45 -08:00
nein09
c29715cbe8 Update QUnit syntax in strings tests 2018-01-02 08:32:45 -08:00
nein09
2af7db43a4 Update test helpers, basic tests, and polyfill tests 2018-01-02 08:32:45 -08:00
nein09
bfb00656cc Fix up QUnit syntax for ajax-tiles 2018-01-02 08:32:45 -08:00
Antoine Vandecreme
517e1feae8 Fix getTileAtPoint epsilon precision
Fix #1362
2017-12-24 10:57:57 +01:00
Oeystein Lygre
d1ea179296 manage preventDefaultAction flag in canvas-double-click viewer event
Trigger the canvas-double-click event before default double tap to zoom happens on the viewer
2017-08-22 23:11:12 +02:00
Antoine Vandecreme
cd4c4d38ed Fix getTileAtPoint floating point computation error 2017-08-06 15:00:50 +02:00
Jose
aabfa32595 Merge conflict resolved 2017-07-10 23:01:04 +02:00
John Perdue
191cf81d6b Skip version tests when running coverage. 2017-06-20 22:30:58 +01:00
John Perdue
bfa0ac0137 Added setDebugMode function to Viewer.
Added SetDebugMode tests.


Update in respose to PR review.
2017-06-19 21:29:41 +01:00
Sean Nichols
035f35a26a Synchronize opacity and composite operation of TiledImages in navigator 2017-05-25 12:26:30 -04:00
Ian Gilman
7d3a32d372 Reverting accidental change to basic.html 2017-05-24 09:40:45 -07:00
Ian Gilman
5dc6700f0c Changelog for #1201 2017-05-23 10:02:19 -07:00
Alexey Tikhonov
ed93a32912 change regex determining tilesUrl to accept file as iipserver parameter without slash in front 2017-05-17 22:58:50 +03:00
Ian Gilman
dc70acec55 Merge pull request #1192 from UCLALibrary/timeout-configuration
Enable configuration of ImageJob timeout
2017-05-12 10:28:39 -07:00
Mark Allen Matney, Jr
77da306397 Enable configuration of ImageJob timeout 2017-05-11 21:36:27 -07:00
Ian Gilman
fc254c1c6f Merge pull request #1184 from avandecreme/zoomtowithref
Fix zoomTo/zoomBy with ref point and immediately to true. Fix #800
2017-05-11 10:16:02 -07:00
Sean Nichols
e2585bd66e Add more tests for AJAX tile loading 2017-05-08 16:21:35 -04:00
Sean Nichols
4e6badc548 Fix format of Range headers 2017-05-08 15:24:55 -04:00
Sean Nichols
b909caaf45 Add some tests for AJAX tile loading 2017-05-08 11:14:26 -04:00
Antoine Vandecreme
8e755c389a Fix zoomTo/zoomBy with ref point and immediately to true. Fix #800 2017-05-07 17:22:44 +02:00
Sean Nichols
6fdf81f266 Ignore falsy header values and improve ajaxHeaders documentation 2017-05-05 15:37:33 -04:00
Sean Nichols
15fe35a589 Improve documentation and option/argument names 2017-05-05 15:37:33 -04:00
Sean Nichols
ddab768696 Add options for loading tiles via AJAX and custom AJAX request headers. 2017-05-05 15:37:33 -04:00
Daniel Berthereau
f3198929b0 Added a demo file for the Zoomify format. 2017-03-13 00:00:00 +01:00
Jose
70bdc8839e Some issues solved 2017-02-20 20:23:25 +01:00
Jose
d5b62aabcd Patch to fix issue #697, also contains improvements when panning under certain constrains 2017-02-19 17:36:53 +01:00
Peter
c81e10ba57 updated test for console.log instead of console.debug 2017-02-10 15:20:05 -05:00
Antoine Vandecreme
e65de72e3a Fix simple image being drawn twice. Fix #1113 2017-02-04 15:37:50 +01:00
Antoine Vandecreme
63a8a2ffa6 Allow tiled image rotation outside the 0 to 360 range 2017-01-21 20:13:32 +01:00
Antoine Vandecreme
41b8956df6 Fix version object not filled. Fix #1024 2017-01-07 17:38:38 +01:00
Ian Gilman
6a3b2d52c5 Merge pull request #1074 from altert/smallfix
See #832, further fix for dzitilesource guessing of tilesUrl, for iii…
2016-12-22 09:59:09 -08:00
Alexey Tikhonov
63e4daab50 fixed type im test case 2016-11-08 02:02:59 +03:00
Alexey Tikhonov
870bb2a99a See #832, further fix for dzitilesource guessing of tilesUrl, for iiipserver configurations like /iiipsrv?DeepZoom=/path/my.dzi 2016-11-07 11:42:37 +03:00
Antoine Vandecreme
4a1ae35631 Add TiledImage._getCornerTiles unit tests 2016-11-06 15:31:36 +01:00
Antoine Vandecreme
b162f197ea Add TileSource.getTileAtPoint test 2016-11-05 17:34:36 +01:00
Antoine Vandecreme
6370a6bafa Fix tests 2016-11-05 16:41:09 +01:00
Ian Gilman
eb8b9ccd50 Merge pull request #1006 from avandecreme/master
Tiled image rotation
2016-10-26 09:58:12 -07:00
Ian Gilman
1f75fb8d0a Merge pull request #863 from foobarable/master
Added first version of zoomifytilesource.js
2016-08-29 10:42:32 -07:00
Antoine Vandecreme
fbcf78c894 Fix tests. 2016-08-28 19:59:36 +02:00
Antoine Vandecreme
62c96ebad7 Add clip-change event. 2016-08-28 14:39:14 +02:00
Antoine Vandecreme
9e69462405 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2016-08-21 13:16:38 +02:00
Antoine Vandecreme
a9f5e7ec73 Add unit test and fix code review comments. 2016-08-21 12:54:33 +02:00
Ian Gilman
168bbfea29 Fixed test issues 2016-08-16 10:18:39 -07:00
Ian Gilman
e7da167c4e Merge pull request #837 from openseadragon/loaded
Added "fully-loaded" event to TiledImage
2016-08-16 09:44:46 -07:00
Antoine Vandecreme
bbf354b6b6 Fix tests on Firefox. 2016-08-11 14:45:21 +02:00
Ian Gilman
23b955c6b4 Updated with improved API 2016-08-10 10:35:08 -07:00
Larissa Smith
4ccabe78de Passed options.crossOriginPolicy into getTileSource. Also changed checks on crossOriginPolicy to compare to undefined, and added tests for the addTiledImage crossOriginPolicy api. 2016-07-28 09:35:43 -06:00
Ralph Krimmel
7bf79eac77 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2016-06-17 08:26:34 +02:00
Victor Rodriguez Gil
c91039b545 Code that fixes #890, new test passes. Events.js test needed fixing with good value, unrelated to actual test. 2016-06-13 23:07:17 +00:00
Victor Rodriguez Gil
0035b3f36f Test that shows the bug #890, fails 2016-06-13 23:04:55 +00:00
Ralph Krimmel
96a4de7b87 Merge remote-tracking branch 'upstream/master' 2016-05-24 08:59:28 +02:00
Ian Gilman
bd743d688a Merge pull request #939 from avandecreme/perf
Avoid loading clipped out tiles. Fix #889.
2016-05-19 09:46:33 -07:00
Antoine Vandecreme
8951ac3f5b Fix fitBounds with extreme zoom values. 2016-05-17 14:27:28 -04:00
Daniel Zimmermann
7935ab82d4 Add unit tests for multi-touch 2016-05-17 11:29:42 +10:00
Antoine Vandecreme
352bfbc3a5 Avoid loading clipped out tiles. Fix #889. 2016-05-13 15:18:37 -04:00
Ralph Krimmel
44874b25b1 Using more interesting image for test 2016-05-13 09:10:49 +02:00
Antoine Vandecreme
0c398eacdb Add test for fitBounds with a rotated rectangle. 2016-05-10 21:19:33 -04:00
Antoine Vandecreme
e4c29d649b Remove code duplication in Viewport.applyConstraints. 2016-05-10 18:49:55 -04:00
Antoine Vandecreme
521e020b9a Viewport getBounds and fitBounds methods now take rotation into account. Fix #924 2016-05-04 22:26:33 -04:00
Antoine Vandecreme
3106d8f85b Fix viewport.fitBounds tests. 2016-04-23 08:29:32 -04:00
Antoine Vandecreme
e0e6ce9b65 Add unit tests for home bounds with clip. 2016-04-09 18:13:37 -04:00
Antoine Vandecreme
b8c87ddb61 Use Util.assertRectangleEquals 2016-04-09 11:56:34 -04:00
Antoine Vandecreme
686176f821 Add TiledImage.getClippedBounds test. 2016-04-09 11:37:05 -04:00
Antoine Vandecreme
e436fc93fd Fix test. 2016-04-09 11:23:59 -04:00
Antoine Vandecreme
ea86237a4a Merge branch 'master' of https://github.com/openseadragon/openseadragon into home-clip 2016-04-09 11:16:16 -04:00
Antoine Vandecreme
9e68f6c27b Fix home bounds with clipping. Fix #891 2016-04-05 17:51:50 -04:00
Antoine Vandecreme
824dc192bc Add unit tests for overlays with rotation mode EXACT 2016-04-01 16:54:29 -04:00
Antoine Vandecreme
5f9053fb6e Fix Overlay.getBounds with BOUNDING_BOX rotation mode. 2016-04-01 15:46:43 -04:00
Antoine Vandecreme
bd62d56a37 Fix Overlays.getBounds with rotation. 2016-04-01 13:29:09 -04:00
Antoine Vandecreme
0685d8a3a4 Use outline instead of border in overlay demo. 2016-04-01 09:19:40 -04:00
Antoine Vandecreme
70b39d681b Fix viewer.addOverlay and Overlay.getBounds 2016-03-31 13:25:59 -04:00
Antoine Vandecreme
577327a629 Change overlays to now always having Point location. 2016-03-30 15:12:50 -04:00
Antoine Vandecreme
33bd943b7a Set overlays position and size with floating point values. 2016-03-29 15:29:36 -04:00
Antoine Vandecreme
3e3ce188b1 Add scaleWidth and scaleHeight options to overlays. 2016-03-25 16:49:58 -04:00
Ian Gilman
430804ef16 Merge pull request #888 from avandecreme/fit-in-bounds
Add TiledImage.fitInBounds method.
2016-03-24 09:47:15 -07:00
Antoine Vandecreme
a52f4cadc5 Fix TiledImage.fitBounds with clipping. 2016-03-24 11:48:29 -04:00
Antoine Vandecreme
3cacc8edcf Add fitBounds option to TiledImage constructor. 2016-03-22 16:41:28 -04:00
Antoine Vandecreme
9c461824b3 Update OpenSeadragon.Placement to be serializable. 2016-03-22 15:50:48 -04:00
Antoine Vandecreme
0f82eed0db Add times parameter to addOnceHandler. 2016-03-22 13:54:35 -04:00
Antoine Vandecreme
e4fca14c33 Add TiledImage.fitInBounds method. 2016-03-21 16:11:50 -04:00
Antoine Vandecreme
d3b027bade Add addOnceHandler method to EventSource. 2016-03-21 11:27:43 -04:00
Ralph Krimmel
044a5b6794 Adding test for zoomify format 2016-02-25 11:51:16 +01:00
Ralph Krimmel
75e5365ecd Adding zoomify format example 2016-02-25 11:46:37 +01:00
Antoine Vandecreme
d18485844d Fix crash and improve tests.. 2016-02-24 19:48:11 -05:00
Antoine Vandecreme
7e3320c167 Fix transparent images clearing the images in backgroumd. Fix #849 2016-02-23 19:37:41 -05:00
Antoine Vandecreme
0725645344 Fix applyConstraints. Fix #833. 2016-02-15 17:09:31 -05:00
Antoine Vandecreme
18b101ccf5 Fix navigator not rotated when viewport rotation set in constructor. 2016-02-09 19:20:52 -05:00
Gaetano Guerriero
110e7f17d7 added dzitilesource test module to coverage 2016-02-03 19:08:01 +01:00
Gaetano Guerriero
4508405d42 test module for dzitilesource was bad named 2016-02-03 11:30:19 +01:00
Gaetano Guerriero
d3e23a2986 fixed dzitilesource guessing of tilesUrl.
Now the regex guessing the root url of tiles works also if the data
url (the url from which information about the tile was downloaded) does
not ends with .dzi, .xml or .js.
2016-02-03 00:27:14 +01:00
Antoine Vandecreme
9dbcd28a5a English fixes. 2016-01-27 21:49:05 -05:00
Antoine Vandecreme
ea6addb4c8 Add Viewer.addSimpleImage method. Fix #818 2016-01-26 18:02:11 -05:00
Tom Crane
f7c9585003 Support tile-less IIIF as per LegacyTileSource: Fix #737 2016-01-09 14:04:21 +00:00
Ian Gilman
0d43f7e01a Fixing white space 2016-01-06 17:25:58 -08:00
Hiroaki ENDOH
3524386543 Fix typo 2015-12-25 23:33:07 +09:00
Antoine Vandecreme
4a6d31ae37 Add units conversion with rotation unit tests. 2015-12-12 10:47:12 -05:00
Antoine Vandecreme
52f8ad6aa2 Fix coordinates conversion with rotation. 2015-12-11 19:07:23 -05:00
Antoine Vandecreme
1d04ceadff Fix home bounds with rotation. Fix #567 and #463 2015-12-05 19:18:56 -05:00
Antoine Vandecreme
5e362554e2 Normalize the rectangles 2015-12-05 17:51:21 -05:00
Antoine Vandecreme
fc919ff56d Make union reasons on bounding boxes. 2015-11-30 20:44:06 -05:00
Antoine Vandecreme
abc1168582 Remove superfluous comment. 2015-11-30 20:18:05 -05:00
Antoine Vandecreme
2e26ae5ff1 Remove Rect options contructor. 2015-11-30 19:11:41 -05:00
Antoine Vandecreme
94186826af Extend Rect class to support rotation. 2015-11-26 17:25:50 -05:00
Petar Petrov
7406727090 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2015-11-16 16:44:31 +02:00
Ian Gilman
b3b1a32717 Merge pull request #760 from avandecreme/imagetilesource
Add ImageTileSource. Fix #467
2015-11-11 10:32:09 -08:00
Antoine Vandecreme
f4f30c2925 Fix race condition in navigator tests. 2015-11-09 19:02:31 -05:00
Petar Petrov
515c15bf98 various fixes for edge smoothing - #755 2015-11-05 16:19:56 +02:00
Antoine Vandecreme
03ed52c5b4 Remove duplicate isCanvasTainted function in tests. 2015-11-04 17:49:13 -05:00
Antoine Vandecreme
c041746366 Add ImageTileSource. Fix #467 2015-11-01 10:23:02 -05:00
Ian Gilman
4e168d734e Updated tests for #524 2015-10-29 13:31:33 -07:00
Antoine Vandecreme
2c73b0fb44 Use Math.round instead of Math.floor and Math.ceil for overlay placement. 2015-10-09 14:15:54 -04:00
Larissa Smith
7076d64b1b Fixed race condition for replacing a tiledImage where the world may have changed before the new tiledImage loads. Added test for replacing with addTiledImage. 2015-08-21 11:01:32 -06:00
Grant Echols
9e142313d6 Added small checks around code to make m2 sample work locally. 2015-08-11 09:24:35 -06:00
Antoine Vandecreme
d960c69b34 Replace eval call when passing a Json string. 2015-07-30 16:44:41 -04:00
Ian Gilman
1c17374de1 Tweaks for #673 2015-07-15 09:50:15 -07:00
Conner Wingard
b687332c9e Fix merge conflict in upstream changelog.txt 2015-07-14 16:46:47 -04:00
Conner Wingard
e1e345a4bc Clean up TileSource object when provided tileWidth/tileHeight for clarity. Add basic TileSource tests. 2015-07-14 14:49:52 -04:00
Ian Gilman
35c7a30dc2 Merge pull request #680 from LarissaSmith/master
Adds collectionColumns as a configuration parameter
2015-07-08 08:57:35 -07:00
Larissa Smith
57e6fdde90 Added tests for collectionColumns use by world.arrange. 2015-07-07 14:09:49 -06:00
Ian Gilman
e93a0862bd Added demo for TileSource swapping 2015-07-03 10:19:10 -07:00
Rick Smith
cdf1942202 Create demo for creating an overlay 2015-06-23 16:02:46 -06:00
Ian Gilman
6ffc81760c Merge pull request #662 from avandecreme/coordinates
Add coordinates conversion methods to TiledImage.
2015-06-19 13:13:12 -07:00
Antoine Vandecreme
d671049a17 Fix and add unit tests. 2015-06-11 15:27:36 -04:00
Antoine Vandecreme
584daea732 Doc and test messages fix. 2015-06-11 10:59:32 -04:00
Antoine Vandecreme
fa868a039d Fix editorconfig config. 2015-06-11 10:49:32 -04:00
Antoine Vandecreme
606d25dbe6 Merge upstream. 2015-06-08 10:38:16 -04:00
Antoine Vandecreme
b9a6b7910e Add unit tests. 2015-06-04 15:32:10 -04:00
Antoine Vandecreme
7e39a528c0 Add tests for tile-loaded event. 2015-06-04 09:47:50 -04:00
Antoine Vandecreme
aa021d87c0 Add coordinates conversion methods to TiledImage. 2015-06-02 16:41:37 -04:00
Antoine Vandecreme
f5ede70018 Fix coordinates demo. 2015-05-09 12:49:32 -04:00
Antoine Vandecreme
39bd370930 Add opacity test in tiledimage. 2015-04-27 19:28:18 -04:00
Antoine Vandecreme
6bc5f1ff51 Fix drawer tests. 2015-04-22 20:12:38 -04:00
Ian Gilman
332b28ab2d * Now animating zoom spring exponentially 2015-03-30 14:50:37 -07:00
Ian Gilman
823e9c3d22 Non-Harvard version of M2 clip demo 2015-03-20 10:17:27 -07:00
Ian Gilman
e433863f09 Test for clip feature 2015-03-20 10:09:33 -07:00
Ian Gilman
e1d36ffb14 First version of clip feature 2015-03-18 10:03:44 -07:00
Ian Gilman
19ade7d76d Improved zoom and pan constraints 2015-03-11 15:41:36 -07:00
Ian Gilman
815cbd6019 Detail on/off button (m2) 2015-03-09 15:32:38 -07:00
Antoine Vandecreme
ed72ae748f Fix tests and coverage 2015-02-27 14:07:42 -05:00
Antoine Vandecreme
a372274ee1 Fix Cross Origin policy not working (#612)
Remove useless hostUrl field
2015-02-26 17:57:31 -05:00
Ian Gilman
2cd54648f0 Demos of alternates and details in non-Harvard version (m2) 2015-02-16 10:45:46 -08:00
Ian Gilman
70e08a02ce Positioning alternates better (m2) 2015-02-16 10:18:59 -08:00
Ian Gilman
725bc36c4e Detail view (m2) 2015-02-13 15:55:57 -08:00
Ian Gilman
de18b3dc63 Refactoring (m2) 2015-02-13 14:32:17 -08:00
Ian Gilman
ae7adad5cf Alternate images (m2) 2015-02-10 14:02:41 -08:00
Ian Gilman
5443eedebc Fixed positioning issue when going to book mode with tall images (m2) 2015-02-10 11:53:56 -08:00
Ian Gilman
f531a18531 Fixed mouse positioning (m2) 2015-02-10 11:42:36 -08:00
Ian Gilman
20443e30f1 Fixes for viewport tests with collections 2015-02-09 10:36:07 -08:00
Ian Gilman
6cb08a8b58 Merge branch 'master' into collections 2015-02-09 10:18:30 -08:00
Ian Gilman
0e67b9c204 Added TODO marker for #589 2015-02-09 09:24:43 -08:00
nein09
449e80bf24 Fix the viewport bounds for fitBoundsWithConstraints 2015-02-08 22:46:55 -08:00
Ian Gilman
5161793948 m2 readme 2015-02-04 10:23:24 -08:00
Ian Gilman
80d8d2e96f Prepped m2 demo for merging 2015-02-04 10:18:36 -08:00
nein09
ed0ffb14cf Change the fitBoundsWithConstraints test according to feedback (I think) 2015-02-01 23:29:30 -08:00
nein09
8ce77c51fb Merge branch 'master' into viewport-tests 2015-02-01 22:14:43 -08:00
Ian Gilman
408a8f6fd3 400+ collection; repeated nexts (m2) 2015-01-23 16:00:58 -08:00
Ian Gilman
a923c3f09c Fixed issues with panning in scroll view (m2) 2015-01-22 11:52:08 -08:00
Ian Gilman
ae3b100483 Merge branch 'collections' into m2 2015-01-22 11:16:09 -08:00
Ian Gilman
735fcc3e37 Merge branch 'master' into collections
fixed Conflicts:
	src/navigator.js
	src/openseadragon.js
2015-01-22 11:15:45 -08:00
Mark Salsbery
545997bace MouseTracker now defaults to tracking on (#558) 2015-01-20 18:35:58 -08:00
Ian Gilman
54be2b4b48 Fixed issues with window resizing (m2) 2015-01-20 17:19:20 -08:00
Ian Gilman
ec2e4a4e8f Refactored how scrolling works (m2) 2015-01-20 16:10:24 -08:00
Ian Gilman
adbde4682f Constraining while zooming out (m2) 2015-01-20 11:23:56 -08:00
nein09
3d5efbdbf0 Reset content size and goHome 2015-01-19 15:51:55 -08:00
Ian Gilman
732cd87a10 Merge branch 'collections' into m2
fixed Conflicts:
	changelog.txt
2015-01-19 10:45:26 -08:00
Ian Gilman
dc1a7c9cc5 Merge branch 'master' into collections
fixed Conflicts:
	src/viewer.js
2015-01-19 10:35:31 -08:00
nein09
500d8c2348 Fit horizontally and vertically. 2015-01-16 16:30:54 -08:00
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