Commit Graph

854 Commits

Author SHA1 Message Date
Ian Gilman
7106105fd7 Changelog for #225 2013-09-25 09:22:29 -07:00
iangilman
21aa2dc928 Merge pull request #228 from msalsbery/EventHandler-Rename
Renamed EventHandler to EventSource (#225)
2013-09-25 09:04:04 -07:00
Jon Stroop
ed8e76a2a9 Merge remote-tracking branch 'upstream/master' 2013-09-25 09:48:22 -04:00
Jon Stroop
5665ac82a1 supports IIIF 1.1 syntax 2013-09-25 09:45:45 -04:00
gwills
f8a0315757 Small formatting change
Needed to change spacing to pass through jshint
2013-09-24 21:54:54 +01:00
gwills
8f2999da29 Use $.parseXml for parsing string as XML 2013-09-24 21:49:54 +01:00
Mark Salsbery
dab182757d Renamed EventHandler to EventSource (#225) 2013-09-24 13:36:13 -07:00
Ian Gilman
6396fe1504 Merge branch 'Original-Events-In-Handlers' of github.com:msalsbery/openseadragon into msalsbery-Original-Events-In-Handlers
Fixed Conflicts:
	changelog.txt
2013-09-24 10:28:46 -07:00
Ian Gilman
9ebad24aad Added next version 2013-09-23 10:03:53 -07:00
Ian Gilman
13249cc896 0.9.131 2013-09-23 10:00:09 -07:00
Mark Salsbery
5335048c64 changelog.txt update for fixed issue #131 2013-09-20 10:23:22 -07:00
Mark Salsbery
93159aaf51 MouseTracker Original EVents in Handlers
changelog.txt fixed issue reference numbers (#23) (#215)
2013-09-20 10:05:01 -07:00
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