Commit Graph

1567 Commits

Author SHA1 Message Date
Mark Salsbery
1e8b3a1ea6 Removed Viewer focusHandler/onCanvasFocus
Presumably, this was meant to manually scroll the viewer into view when it receives focus. This is already handled by browsers when tabbing to the viewer, so doing it explicitly isn't necessary, and it creates a negative user experience when clicking on a viewer to give it focus (as of #569).
2015-01-21 11:49:19 -08:00
Mark Salsbery
1da57564df Merge branch 'master' into mousetracker_defaulton
Conflicts:
	changelog.txt
	src/navigator.js
2015-01-21 11:18:52 -08:00
Ian Gilman
e966f3eafb Merge pull request #575 from msalsbery/navigator_disable
Added setMouseNavEnabled() support in Navigator
2015-01-21 09:59:47 -08:00
Mark Salsbery
406005c8c9 Removed dead code 2015-01-21 09:42:03 -08:00
Mark Salsbery
2fd2da465b Merge branch 'master' into navigator_disable
Conflicts:
	changelog.txt
2015-01-21 09:38:40 -08:00
Ian Gilman
78d91c9acf Merge pull request #574 from msalsbery/mousetracker_MSPointerEvent
Fixed pointer event model detection for IE 10 (#571)
2015-01-21 09:16:24 -08:00
Mark Salsbery
545997bace MouseTracker now defaults to tracking on (#558) 2015-01-20 18:35:58 -08:00
Mark Salsbery
269f9ee71d changelog update 2015-01-20 17:45:13 -08:00
Ian Gilman
54be2b4b48 Fixed issues with window resizing (m2) 2015-01-20 17:19:20 -08:00
Ian Gilman
2172da6aaa * Fixed an error in fitBounds that occurred sometimes with immediately = true 2015-01-20 17:19:13 -08:00
Ian Gilman
ec2e4a4e8f Refactored how scrolling works (m2) 2015-01-20 16:10:24 -08:00
Ian Gilman
2b9a51036f Fixed change detection for viewport (after recent spring change) 2015-01-20 16:09:54 -08:00
Mark Salsbery
1151a9343e Merge branch 'master' into navigator_disable
Conflicts:
	changelog.txt
2015-01-20 14:01:45 -08:00
Mark Salsbery
674a208d95 Replace base class innerTracker instead of using a new one 2015-01-20 13:56:06 -08:00
Mark Salsbery
912f82d36d IE 11 fix and Merge branch 'master' into mousetracker_MSPointerEvent
Conflicts:
	changelog.txt
2015-01-20 13:28:30 -08:00
Ian Gilman
54ad0502e7 Merge pull request #573 from msalsbery/mousetracker_keyevents
Removed 'position' property from MouseTracker keyDownHandler/keyUpHandle...
2015-01-20 11:31:09 -08:00
Ian Gilman
adbde4682f Constraining while zooming out (m2) 2015-01-20 11:23:56 -08:00
Ian Gilman
897a237807 Added viewport-change event; fixed spring reset 2015-01-20 11:23:34 -08:00
Mark Salsbery
198d4de0e6 Added setMouseNavEnabled() and isMouseNavEnabled() method overrides to Navigator (#572) 2015-01-20 11:01:09 -08:00
Mark Salsbery
3b01014ac8 Fixed pointer event model detection for IE 10 (#571) 2015-01-20 10:26:14 -08:00
Mark Salsbery
7c39794bd9 changelog update 2015-01-20 09:52:18 -08:00
Mark Salsbery
e87020cf78 Removed 'position' property from MouseTracker keyDownHandler/keyUpHandler/keyHandler functions
Positional data is not available in the corresponding DOM event objects
2015-01-20 09:48:28 -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
Ian Gilman
2bd105042a Changelog for #537 2015-01-19 10:31:30 -08:00
Ian Gilman
ea060b33c8 Merge pull request #569 from msalsbery/keynavigation
Keyboard navigation fixes
2015-01-17 11:56:32 -08:00
Mark Salsbery
0f5c205656 Cut/pasted code fix 2015-01-17 11:25:24 -08:00
Mark Salsbery
b5b4131f49 changelog update 2015-01-17 11:21:16 -08:00
Mark Salsbery
412ebce94d Keyboard navigation fixes
Removed textarea element from Viewer DOM. Viewer.canvas now handles keyboard navigation.
2015-01-17 11:18:55 -08:00
Ian Gilman
1765e3c0c9 Merge pull request #537 from bitjutsu/bug-500-keyboard-nav
fix #500 - requests keyboard focus when canvas is clicked
2015-01-16 16:58:11 -08:00
Ian Gilman
02f3637a59 Merge pull request #568 from msalsbery/mousetracker_keys
MouseTracker - keyboard handling
2015-01-16 16:54:41 -08:00
Mark Salsbery
abacc50820 changelog update 2015-01-16 16:31:23 -08:00
nein09
500d8c2348 Fit horizontally and vertically. 2015-01-16 16:30:54 -08:00
Mark Salsbery
2831771af5 MouseTracker - keyboard handling
1) MouseTracker - added keydown and keyup handlers
2) Modifier keys ignored in keyboard  navigation handlers (#503)
3) Arrow key navigation fixed across platforms (#565)
2015-01-16 16:26:30 -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
a8ac532ce1 Merge pull request #566 from msalsbery/mousetracker_nocanvas
Mousetracker Improvements
2015-01-16 10:22:04 -08:00
Mark Salsbery
8e5e2168c8 Ensure capture released in abortTouchContacts() 2015-01-16 08:33:34 -08:00
Ian Gilman
c55daff222 Merge pull request #553 from openseadragon/ajax
Allowing XHRs withCredentials for authenticated requests
2015-01-15 14:35:06 -08:00
Ian Gilman
8c9fbafb06 Resize (m2) 2015-01-15 14:32:42 -08:00
Mark Salsbery
00aae52a08 Fix container-enter/container-exit event properties 2015-01-15 12:37:54 -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
3d8ddcf1ff changelog update 2015-01-15 12:18:35 -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
3232ba4fe5 * Fixed an error in fitBounds if the new and old bounds were extremely close in size 2015-01-14 17:06:18 -08:00
Ian Gilman
fe2aa52caf Proper buffer for page and book modes (m2) 2015-01-14 15:09:48 -08:00
Ian Gilman
105e1f761e Merge pull request #564 from msalsbery/mousetracker_iframe
MouseTracker - Improved IE 9+ compatibility
2015-01-14 09:21:41 -08:00