Commit Graph

2212 Commits

Author SHA1 Message Date
Mark Salsbery
ebb15936e1 Removed the 'onPageChange' callback (#285)
Fix for #285
Removed the 'onPageChange' callback from the viewer options.
Viewer.goToPage() now raises the 'page' event only.
2013-11-19 12:13:38 -08:00
Mark Salsbery
9065b5e1db Merge remote-tracking branch 'origin/master' into jsdoc3-documentation 2013-11-19 11:24:54 -08:00
Mark Salsbery
f23395b60e Updated doclets
Misc changes.
Committing to merge upstream changes.
2013-11-19 11:20:45 -08:00
Ian Gilman
dfd1b6ddfe Changelog for #286 2013-11-19 11:02:33 -08:00
iangilman
40dd1d276b Merge pull request #286 from jpstroop/master
Support IIIF servers that don't report tile dimensions
2013-11-19 10:59:06 -08:00
Mark Salsbery
09de239bfa Updated doclets
Remaining creation options - still need descriptions on some.
Started event descriptions.
Viewer constructor parameters fixed.
2013-11-19 10:08:04 -08:00
iangilman
38f0ccb334 Merge pull request #282 from msalsbery/build-tools-update
Updated build tool versions
2013-11-18 14:15:59 -08:00
Mark Salsbery
e30b0db3aa Merge remote-tracking branch 'origin/master' into jsdoc3-documentation 2013-11-18 11:11:24 -08:00
Mark Salsbery
d39341dad7 Merge remote-tracking branch 'origin/master' into build-tools-update 2013-11-18 11:11:00 -08:00
Mark Salsbery
3e1e5321c1 Updated doclets
openseadragon.js doc fixups
2013-11-18 10:30:48 -08:00
Mark Salsbery
b929f26872 Updated doclets
Creation options now documented in a typedef doclet named
OpenSeadragon.Options.
2013-11-18 10:06:38 -08:00
Ian Gilman
ad35d740ab Changelog for #279 2013-11-18 10:02:13 -08:00
iangilman
8527e43abe Merge pull request #279 from msalsbery/Button-href-Fix
Removed Button href (#274)
2013-11-18 09:59:18 -08:00
Jon Stroop
6aaf44cebf test for IIIF images w/o tiles 2013-11-18 12:52:55 -05:00
Jon Stroop
22587cec6e use the short dimension as the tile size if IIIF server does not report tile dimensions 2013-11-18 12:51:43 -05:00
Mark Salsbery
ccee9f5149 Updated doclets
Updated creation option defaults (issue #93)
2013-11-18 09:44:54 -08:00
Mark Salsbery
54049927f0 Updated doclets
Changed event docs:
Changed userData properties from optional to nullable.
Removed optional type from preventDefaultAction properties.
2013-11-18 06:56:32 -08:00
Mark Salsbery
d2eee6e67c Updated build tool versions
1) Delete/rename 'node_modules' folder
2) run 'npm install'
2013-11-17 08:17:13 -08:00
Mark Salsbery
70b91d57ec Updated doclets for jsdoc3
Updated so jsdoc3 parser picks everything up.
Added event docs.
Lots of documentation content needed...
2013-11-15 22:19:53 -08:00
Mark Salsbery
3d2a9e4699 Removed Button href (#274) 2013-11-14 10:13:49 -08:00
Ian Gilman
f76aa54851 Updates to #256 changelog
Thanks @avandecreme for pointing out the property change.
2013-11-12 10:43:17 -08:00
iangilman
a1c9b977dc Merge pull request #273 from msalsbery/bad-code-fix
Cleaned up some messy javascript
2013-11-12 10:20:59 -08:00
Mark Salsbery
7b0ba31487 Cleaned up some messy javascript 2013-11-11 13:33:27 -08:00
Ian Gilman
c595d0a74e Changelog for #256
@avandecreme, please double-check to make sure I've got it all right!
2013-11-11 10:17:39 -08:00
iangilman
d982035b64 Merge pull request #256 from avandecreme/fullscreen
Recenter the image after switching fullscreen mode. #62 and #170
2013-11-11 10:07:44 -08:00
Antoine Vandecreme
03f25cef5f Add support to cancel full screen and full page events.
Fix fullpage when element has margin or padding.
2013-11-08 15:03:54 -05:00
Antoine Vandecreme
6aca0c0886 Add counter to avoid trying to set scroll indefinitly
Style and spelling fixes
Set scrolls tests setup inside own function
2013-11-08 13:56:13 -05:00
Antoine Vandecreme
fafc985ada Merge branch 'master' of https://github.com/openseadragon/openseadragon into fullscreen 2013-11-08 13:40:04 -05:00
Ian Gilman
20d8f09011 Changelog updates 2013-11-08 10:09:09 -08:00
Ian Gilman
df80d2e572 Merge branch 'MouseTracker-preventDefaultAction' of github.com:msalsbery/openseadragon into msalsbery-MouseTracker-preventDefaultAction
fixed Conflicts:
	changelog.txt
2013-11-08 10:04:22 -08:00
iangilman
cb1fd65378 Merge pull request #268 from msalsbery/canvas-detect
Use canvas whenever possible (#191)
2013-11-08 09:56:40 -08:00
Mark Salsbery
626f27771f MouseTracker preventDefaultAction Unit Tests 2013-11-08 08:24:44 -08:00
Mark Salsbery
5c4131303a Use canvas when available - Fixes
Removed redundant useCanvas property from drawer
2013-11-07 11:48:01 -08:00
Mark Salsbery
8e325a3748 Added preventDefaultAction flag to MouseTracker
Added a boolean preventDefaultAction property (default false) to the
event object passed to MouseTracker handler methods. Implemented in the
following MouseTracker subscribers:

* Viewer.keyboardCommandArea.innerTracker.focusHandler:
preventDefaultAction == true prevents scrolling viewer into view
* Viewer.keyboardCommandArea.innerTracker.keyHandler:
preventDefaultAction == true prevents viewer keyboard navigation
* Viewer.innerTracker.clickHandler: preventDefaultAction == true
prevents viewer zoom on click
* Viewer.innerTracker.dragHandler: preventDefaultAction == true prevents
viewer panning with mouse/touch
* Viewer.innerTracker.scrollHandler: preventDefaultAction == true
prevents viewer zooming on mousewheel/pinch
2013-11-04 12:41:45 -08:00
Antoine Vandecreme
d70845d7eb Separate fullscreen and fullpage methods (#91)
Fix scroll issue.
Handle fullscreen denial by the browser
2013-11-02 21:01:04 -04:00
Antoine Vandecreme
d853224c15 Add units tests for scroll 2013-11-01 17:37:19 -04:00
Mark Salsbery
085c7f2ecb Use canvas when available - Fixes
Updated documentation doclet.
Enclosed detection code in a function.
Eliminated the Drawer USE_CANVAS global and replaced it with a
Drawer.useCanvas instance variable.
2013-11-01 13:02:28 -07:00
Mark Salsbery
85fcf0ec11 Merge remote-tracking branch 'origin/master' into canvas-detect
Conflicts:
	src/openseadragon.js
2013-11-01 12:22:48 -07:00
Ian Gilman
dbb7cee76a Changelog for #262 2013-11-01 11:18:35 -07:00
iangilman
047129e817 Merge pull request #262 from avandecreme/mousestop
Add mouse stop event
2013-11-01 11:14:57 -07:00
iangilman
55b3cfe9d0 Merge pull request #263 from msalsbery/wheel-event
Added 'wheel' Event Support (#261)
2013-11-01 11:12:09 -07:00
Mark Salsbery
5d034b9ad2 changelog.txt update 2013-11-01 10:33:17 -07:00
Mark Salsbery
e209846ac1 Use canvas whenever possible (#191)
Drawer uses an HTML5 canvas element if it's available.

Viewer.useCanvas can be used to override (default is true).
2013-11-01 10:19:47 -07:00
Antoine Vandecreme
7375ba9241 Fix scrolling when exiting full-screen mode.
Rename fullpage event to full-page and it's fullpage property to fullPage.
Add pre-full-page event.
2013-10-31 22:19:22 -04:00
Antoine Vandecreme
3f5db8f8de Fix mousestop event on IE 2013-10-31 16:16:08 -04:00
Mark Salsbery
bbedbd29cb Merged changes from master 2013-10-31 11:27:13 -07:00
Ian Gilman
667204096a Changelog for #264. 2013-10-31 10:17:08 -07:00
iangilman
46de3afe6d Merge pull request #264 from msalsbery/Tile-Render-Bug
Fix for non-canvas tile rendering at large size
2013-10-31 10:15:34 -07:00
Antoine Vandecreme
542d5f5aeb Remove cancelEvent + fix typos 2013-10-30 21:28:10 -04:00
Mark Salsbery
9e5dcd766f Punctuation fix 2013-10-30 13:35:39 -07:00