Commit Graph

440 Commits

Author SHA1 Message Date
Mark Salsbery
f5750bb9f6 referencestrip.js event handler cleanup 2013-10-11 10:44:03 -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
iangilman
7d8fb803ef Merge pull request #244 from msalsbery/Pinch-Zoom-Fix
Pinch zoom fix
2013-10-08 10:23:10 -07:00
iangilman
45ee8236e3 Merge pull request #247 from jmnetus/master
Check that zoom reference point is valid before using it
2013-10-08 10:17:29 -07:00
Mark Salsbery
1c17ea8afa Merge branch 'master' into Pinch-Zoom-Fix
Conflicts:
	changelog.txt
2013-10-07 08:44:29 -07:00
Mark Salsbery
a9cf3f2904 Merge branch 'master' into Button-Event-Signatures 2013-10-07 08:38:08 -07: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
Jonathan Nielsen
c5ac5b6550 whitespace formatting change 2013-10-04 13:09:58 -06:00
Jonathan Nielsen
ae5acb6547 Add similar refPoint validity check to zoomBy 2013-10-04 13:06:25 -06:00
Jonathan Nielsen
fd85ee4f4e Check that zoom reference point is valid before using it 2013-10-04 10:12:47 -06:00
Mark Salsbery
dde06bf416 Merge branch 'master' into Button-Event-Signatures 2013-10-03 19:50:57 -07:00
Mark Salsbery
2f31395fc0 Merge remote-tracking branch 'origin/Touch-Bug-Fix' 2013-10-03 17:07:28 -07:00
iangilman
d88ce4a970 Merge pull request #242 from msalsbery/Touch-Bug-Fix
Fix for touch event issue #240
2013-10-03 16:30:15 -07:00
Mark Salsbery
d55b2e7703 Pinch zoom fix
The existing code failed on iPhone Safari iOS 6.x - event.detail was
always 0 causing only zoom out behavior.
2013-10-03 15:30:40 -07:00
Antoine Vandecreme
791ecfae75 Add coordinates conversion methods to viewport. 2013-10-03 17:27:11 -04:00
Mark Salsbery
9928a6d925 Fix for touch event issue #240 2013-10-03 12:11:33 -07:00
Mark Salsbery
76733c4ca2 Button event signatures fixed for consistency
Button event signatures now "handlerMethod(eventSource, eventData)"
where eventData == { button }
2013-10-03 09:29:20 -07:00
Mark Salsbery
5c37a1f375 Ready event signature fixed for consistency
Signature now handlerMethod(eventSource, eventData)
2013-10-02 13:09:40 -07:00
Mark Salsbery
d8fc7d10f9 Merge branch 'master' into Event-Names-Normalize 2013-10-01 15:12:00 -07:00
Jon Stroop
e4bd874b03 added test for 1.1; renamed 11 to 1_1 2013-10-01 15:07:44 -07:00
Jon Stroop
1a52656ed6 supports IIIF 1.1 syntax 2013-10-01 15:07:43 -07:00
Jon Stroop
890ec0c848 fixed size param 2013-10-01 15:07:42 -07:00
Jon Stroop
bccbf5ecf1 configureFromObject uses @id 2013-10-01 15:07:42 -07:00
Jon Stroop
e3c1007ae2 use pixels for size instead of pct 2013-10-01 15:07:41 -07:00
Jon Stroop
434807a660 added support for iiif 1.1 2013-10-01 15:07:41 -07:00
Mark Salsbery
ec3141a778 Event Names Normalized
Compound event names lower case with hyphen.
Button event names removed "on" and made lower case.
2013-09-30 10:22:06 -07:00
Mark Salsbery
c0a16dacc4 eventsource.js comment fix 2013-09-26 10:23:00 -07:00
Mark Salsbery
bf0608b4b2 string.js quotes/whitespace fix 2013-09-26 10:16:10 -07:00
Mark Salsbery
041597998f Event Names Normalized
All event names lower case with no hyphens
2013-09-26 09:50:26 -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
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
Mark Salsbery
c27481546a MouseTracker Original Events in Handlers
Whitespace fixes on un-empty [] brackets
2013-09-20 09:58:18 -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
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
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
Antoine Vandecreme
63af5a69ac Add comments and fix indentation 2013-09-04 14:13:25 -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
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