Commit Graph

842 Commits

Author SHA1 Message Date
Mark Salsbery
c27481546a MouseTracker Original Events in Handlers
Whitespace fixes on un-empty [] brackets
2013-09-20 09:58:18 -07:00
Mark Salsbery
47a911bb4a MouseTracker Original Events in Handlers
changelog.txt update
2013-09-20 09:38:01 -07:00
Mark Salsbery
4adeacdc5e MouseTracker Original Events in Handlers
MouseTracker Unit Tests
2013-09-20 09:17:48 -07:00
Jon Stroop
4b4325c5ff fixed size param 2013-09-17 14:17:01 -04:00
Ian Gilman
40800c9f83 Changelog for #222 2013-09-16 15:12:16 -07:00
iangilman
c25dc6e268 Merge pull request #222 from nhart/master
Use style attributes when storing the previous elment size instead of th...
2013-09-13 15:13:47 -07:00
Mark Salsbery
56ef12e850 Original Events in Handlers
Documentation fixes
isTouchEvent property removed from eventData where not used
'eventOrTouchPoint' var name used and 'originalEvent' var name restored
to 'event'
2013-09-12 10:05:50 -07:00
Nelson Hart
6d6cc363b4 Use style attributes when storing the previous elment size instead of the literal size of the element #220 2013-09-12 10:41:51 -03:00
Jon Stroop
bb924692da configureFromObject uses @id 2013-09-11 13:40:00 -04:00
Jon Stroop
8315eece4a Merge branch 'master' of github.com:openseadragon/openseadragon 2013-09-11 13:24:18 -04:00
Jon Stroop
6182c3911e use pixels for size instead of pct 2013-09-11 13:19:30 -04:00
Mark Salsbery
af078f8f19 MouseTracker Original Events in Handlers
Renamed insideElementRelease to insideElementReleased.
2013-09-10 17:31:51 -07:00
Mark Salsbery
1dc2d7e011 MouseTracker Original Events in Handlers
Touch events bug fix. Now uses touch object(s) properly when calculating
positions.
2013-09-10 17:23:19 -07:00
Mark Salsbery
13415b36f3 MouseTracker Original Events in Handlers
Misc name changes, indentation/whitespace fixes.
Still TODO: Fix documentation, evaluate presence of key handler in a
mouse tracker, evaluate whether isTouchEvent flag should be in all
eventData objects or not.
2013-09-09 14:27:58 -07:00
gwills
2bef2e882f IE 10 not reading DZI file correctly
IE 10 is treating the data coming back from the JSONP request as a
string and not as XML. I have confirmed this issue is happening on
numerous IE10 machines but have not seen it on any other browser.

The change simply checks the type of the data variable and if it is a
string it parses the string as XML and updates the data object.
2013-09-07 17:08:39 +01:00
Mark Salsbery
d60224b615 MouseTracker Original Events in Handlers
Pass original touch events to handlers.
2013-09-06 13:12:11 -07:00
Mark Salsbery
2e1f71a824 MouseTracker Original Events in Handlers
Bug fixes.  Event handler methods shouldn't be called directly in
theory...
2013-09-06 12:24:19 -07:00
Mark Salsbery
8229a9aba5 MouseTracker Original Events in Handlers
More formatting fixes
2013-09-06 11:20:14 -07:00
Mark Salsbery
5f6b89b8b5 MouseTracker Original Events in Handlers
More formatting fixes
2013-09-06 11:10:05 -07:00
Mark Salsbery
56f5b9fb74 MouseTracker Original Events in handlers
Comment & Formatting fixes
2013-09-06 10:43:39 -07:00
Mark Salsbery
b3fa8f1184 MouseTracker original events in handlers
Implemented "Expose original event in handlers" (#23) for MouseTracker

Added OpenSeadragon.getElementOffset() method. Element-relative mouse
coordinates should be correct even if the element and/or page is
scrolled (#131)
2013-09-05 17:20:17 -07:00
Ian Gilman
75ddd299e4 Changed Seajax to OpenSeadragon 2013-09-05 16:26:00 -07:00
Ian Gilman
ed8311b5b8 Updated changelog for #212 2013-09-05 16:25:01 -07:00
iangilman
a221477eb3 Merge pull request #212 from avandecreme/master
Add viewportToImageRectangle method
2013-09-05 16:22:13 -07:00
Antoine Vandecreme
63af5a69ac Add comments and fix indentation 2013-09-04 14:13:25 -04:00
iangilman
ea16668389 Merge pull request #209 from msalsbery/Events-Unit-Tests
Unit tests for canvas drag, release, click events
2013-09-03 13:25:21 -07:00
Jon Stroop
1c98e6ba5e added support for iiif 1.1 2013-08-30 16:40:06 -04:00
Antoine Vandecreme
bfa76e471b Add viewportToImageRectangle method and add support to pass a point to viewportToImageCoordinates and imageToViewportCoordinates 2013-08-30 13:59:48 -04:00
Mark Salsbery
0bbf6bc58a Unit tests for canvas drag, release, click events 2013-08-30 10:09:22 -07:00
Ian Gilman
7f88bf78b6 Changelog for #208 2013-08-30 09:53:09 -07:00
iangilman
b2ecdcdc2a Merge pull request #208 from acdha/ie8-ajax-error-handler-fix
Fix AJAX error reporting on IE8
2013-08-30 09:52:11 -07:00
Chris Adams
baa3559df1 Graceful handling of cross-domain tilesource failures on IE<10
The TileSource error handling path used to raise non-obvious
"Unspecified error" exceptions on IE < 10 when configured with a URL
from a different origin (hostname or port) because the handler included
``xhr.status`` in the error message, triggering a security exception.

Now the second exception is caught and the log message will use the
original exception message instead to make the root cause more obvious.
2013-08-30 12:32:17 -04:00
Chris Adams
1b6cf93474 Graceful handling of IE cross-domain AJAX failures
Prior to IE 10, XmlHttpRequest cannot be used for requests to a
different origin even when the target URL's CORS headers would allow
access (see http://caniuse.com/#feat=cors).

This is easy to miss in testing if you use a single origin during
testing but have a CDN or domain-sharding for production and will break
the error handler function passed to makeAjaxRequest() if that code
assumes it can access properties on the request object.

This adds a more informative pointer to Microsoft's documentation when a
security exception is raised.
2013-08-29 16:13:18 -04:00
Mark Salsbery
1a005573f5 Unit tests for canvas drag, release, click events 2013-08-29 13:01:07 -07:00
iangilman
1a5f712aee Added a mention about basic.html 2013-08-29 10:30:56 -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
iangilman
9af81aa6de Merge pull request #206 from msalsbery/Events-Unit-Tests
Unit tests for userData in events (issue #203)
2013-08-28 10:07:19 -07:00
Ian Gilman
9373ecc3cb Changelog for #204 2013-08-28 09:58:13 -07:00
iangilman
340f753831 Merge pull request #204 from msalsbery/master
Fixes for issues #198, #201, #202, #203
2013-08-28 09:54:11 -07:00
Mark Salsbery
853a141994 Unit tests for userData in events (issue #203) 2013-08-28 05:50:22 -07:00
Mark Salsbery
c7f184f199 Reverted breaking change for issue #201
To be grouped with other breaking changes for major version release.
Also, minor formatting fix in src/eventhandler.js
2013-08-27 10:10:55 -07:00
Mark Salsbery
57ae0656c1 Fixes for issues #198, #201, #202, #203 2013-08-26 16:48:59 -07:00
Mark Salsbery
f8ab315795 Revert "Bad sync"
This reverts commit 70a7e8090e13cc35b93e652d2bcd7f418af26fc1.
2013-08-26 15:48:03 -07:00
Mark Salsbery
04a0197dc7 Fixes for issues #198, #201, #202, and #203 2013-08-26 15:25:57 -07:00
Ian Gilman
445c1e3e66 Starting 0.9.131 2013-08-26 14:02:03 -07:00
Ian Gilman
4d006d628c Updated for 0.9.130 2013-08-26 13:58:16 -07:00
Ian Gilman
6ca934d0ca Added changelog for #185 2013-08-20 11:10:50 -07:00
iangilman
aefe7f3610 Merge pull request #185 from robhobbes/master
Adding partial support for rotation.
2013-08-20 11:08:58 -07:00
Robert Hickman
d4467477ad More rotation documentation. 2013-08-19 16:29:22 -06:00
Ian Gilman
4b0450d271 Documented "current" param to a number of viewport functions 2013-08-19 10:14:04 -07:00