Commit Graph

1229 Commits

Author SHA1 Message Date
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
71618a39f7 Use minified version in tests. 2014-03-15 11:56:07 -04: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
Ian Gilman
13fa798e52 comment update on rotate test 2014-03-07 10:11:02 -08:00
Ian Gilman
06065c3ab4 Change log for #341 2014-03-07 10:08:51 -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
Ian Gilman
214cda41e9 Changelog for #348 2014-03-06 09:35:13 -08:00
iangilman
b60b78c409 Merge pull request #348 from fs-webdev/tile-drawing-event
Added pre-draw event for tiles to allow applications to alter the image ...
2014-03-06 09:32:45 -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
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
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
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
e8697e5c19 Updated images for rotate left/right to better match existing buttons. 2014-02-20 15:03:13 -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
Ian Gilman
e73e5a9528 Changelog for #336 2014-02-17 09:40:38 -08:00
iangilman
2ca3e52109 Merge pull request #336 from avandecreme/minorbugs
Pass degrees from the viewer to the viewport. Fix #305
2014-02-17 09:39:24 -08: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
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
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
iangilman
9ecb69e1d8 Merge pull request #310 from msalsbery/Navigator-Resize
Enhanced Navigator Resizability (#280, #296)
2014-01-21 09:04:20 -08: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
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