Commit Graph

2424 Commits

Author SHA1 Message Date
Luke Murray
68f9d675fc fix: calling viewer.destroy() multiple times throw an error. And a simple destroy to mousetracker 2013-08-08 17:49:24 +10:00
thatcher
88141c57f2 feature: navigatorPosition, option was available but not completely implemented 2013-08-08 00:12:44 -04:00
Luke Murray
4ccb141a42 Add a destroy function on the viewer to clean up and remove elements
created by open seadragon. Add removeAllHandlersForAllEvents to clean up all events on destroy. Clear
the onDraw callback on Overlay destroy.
2013-08-07 10:54:20 +10:00
Ian Gilman
967f2e4f32 Changelog for #177; minor doc tweaks 2013-08-02 09:40:55 -07:00
iangilman
51e37e3553 Merge pull request #177 from pnorcross/_getSafeElemSize
(hopefully) Final fix for issue #109, Viewport Broken on Hide.
2013-08-02 09:36:06 -07:00
iangilman
8e36f9eead Merge pull request #165 from bgilbert/releases
Update for GitHub-hosted release binaries
2013-08-01 10:53:49 -07:00
pnorcrss
26938ed10e cleaned up docBlock and tabs in _getSafeElemWidth() 2013-08-01 12:11:33 -05:00
Ian Gilman
1482f21d11 Changelog for #160 2013-08-01 09:55:18 -07:00
iangilman
f53ea2ddf1 Merge pull request #160 from lukemurray/custom_zoom_handler
Add the option for a zoom handler callback
2013-08-01 09:52:11 -07:00
Luke Murray
2717398181 Use the correct onDraw in drawer.js. Remove imageFullSize and fix up the comment for onDraw 2013-08-01 13:36:00 +10:00
pnorcrss
e47210d0bd refactored _getSafeElemSize() 2013-07-31 14:10:44 -05:00
pnorcrss
cb39fb7e32 fixed _getSafeElemSize() 2013-07-31 14:01:46 -05:00
pnorcrss
bf3dd7c031 fixed _getSafeElemSize() calls 2013-07-31 13:28:38 -05:00
pnorcrss
750eafcd2e added and implemented _getSafeElemSize() 2013-07-31 13:00:16 -05:00
Ian Gilman
9d4434ee86 Changelog for #168 2013-07-31 10:28:21 -07:00
iangilman
0aa0641cf4 Merge pull request #168 from ethanli83/fixtouch
canvas pans when tap on touch screen
2013-07-31 10:25:19 -07:00
Luke Murray
4239bb7adc fix: remove the useTransform/SVG stuff and move back to a simple onDraw callback only so people can handle their own custom drawing and sizing 2013-07-31 17:01:48 +10:00
Luke Murray
0a8d11875e Merge branch 'master' into custom_zoom_handler 2013-07-31 16:39:54 +10:00
ethan.li
0bb9c5be97 issue:
canvas pans when tap on touch screen

reason:
    onTouchStart calls onMouseDown which registers 'mousemove' event handler.
    when I tap on touch screen, even though browser did not dispatch 'touchmove' event, it dispatched 'mousemove' event.
    therefore, the 'mousemove' handler pans canvas.

fix:
    stop onTouchStart handler registering 'mousemove' handler as onMouseMove will be properly triggered by onTouchMove
2013-07-23 16:40:04 +10:00
Benjamin Gilbert
a09f09c002 README: Update link to releases page 2013-07-22 21:33:58 -04:00
Benjamin Gilbert
4ff498814c Stop copying changelog.txt to the website
It's not referenced from the site itself, and the GitHub releases page is
nicer.
2013-07-22 21:19:18 -04:00
Benjamin Gilbert
1f05e0de72 Stop excluding site-build/built-openseadragon/releases from clean
The historical releases directory in site-build is no longer kept in
built-openseadragon.
2013-07-22 21:11:14 -04:00
Benjamin Gilbert
5555698cae Don't publish release binaries into site-build repo
We're going to be hosting them in GitHub Releases instead.
2013-07-22 03:52:24 -04:00
Luke Murray
df877493a9 Rename drawHandler to onDraw. Also make it a notification style callback
(does not override the draw functionality).
Add an overlay option 'useTransform' that will transform the overlay
element instead of moving it's postion - useful for SVG elements
2013-07-16 12:04:37 +10:00
Ian Gilman
aa7111aef1 changelog update for #159 2013-07-12 09:03:40 -07:00
iangilman
77cf2a3b88 Merge pull request #159 from ethanli83/master
Fix for onTouchEnd
2013-07-12 09:01:31 -07:00
Luke Murray
233c3a357a Add the option for a zoom handler callback 2013-07-12 16:51:56 +10:00
ethan.li
0ef98be0b7 for fix I made to onTouchEnd:
1. remove IE8 related code as it does not support touch anyway
2. use event.changedTouches [ 0 ] rather than event
2013-07-12 10:29:44 +10:00
Ian Gilman
21ec16f2a7 Update changelog 2013-07-10 09:38:41 -07:00
Ian Gilman
7391561dcd OpenSeadragon.now() returned undefined the first time; fixed 2013-07-10 09:31:22 -07:00
Ian Gilman
39b24e2a44 Updated for 0.9.130 (In progress) 2013-07-09 09:16:37 -07:00
Ian Gilman
024fefd7f1 Updated for 0.9.129 2013-07-09 09:14:47 -07:00
ethan.li
8108009ba7 fix issue:
onTouchEnd did not call the correct mouse up handler
2013-07-09 11:07:18 +10:00
Ian Gilman
d941cee953 Changelog for #147 2013-07-08 09:52:46 -07:00
Ian Gilman
74fdc25f08 Changelog for #151 2013-07-03 09:56:33 -07:00
iangilman
850aa14802 Merge pull request #151 from acdha/overhauled-ajax-error-reporting
Overhauled AJAX error reporting
2013-07-03 09:56:07 -07:00
Ian Gilman
1707e404c6 Changelog for #55 2013-07-03 09:33:30 -07:00
iangilman
db2b4bcd2a Merge pull request #154 from radix-pro/patch-1
Update iiiftilesource.js
2013-07-03 09:31:25 -07:00
radix-pro
004f13365d Update iiiftilesource.js 2013-07-02 13:41:37 -07:00
Chris Adams
3434fe600c Tests: update AJAX tests
* IE8 support for makeAjaxRequest test (xhr.response does not exist,
  responseText is supported by all major browsers)
* Update makeAjaxRequest test to confirm that the success callback is
  called and that the error callback is not
* Add a test for makeAjaxRequest with an invalid file and verify that
  error callback is called but the success callback is not
2013-07-02 16:37:19 -04:00
Chris Adams
6d7dd71577 Tests: IE8 support for log capture
No Array.indexOf. We are living like animals!
2013-07-02 16:20:56 -04:00
Chris Adams
9fb4ae2a9a Tests: more targeted log capture setup
@Ventero pointed out that functions also have a length property
2013-07-02 16:09:23 -04:00
Chris Adams
2a3044e0cf Tests: verify invalid string log messages 2013-07-02 15:20:17 -04:00
Chris Adams
7131c7a7da Tests: check for AJAX error log message 2013-07-02 15:19:55 -04:00
Chris Adams
5a300998a8 Tests: console log capture utility 2013-07-02 15:12:16 -04:00
Chris Adams
d782da411e Tests: code cleanup 2013-07-02 13:56:55 -04:00
radix-pro
3c7e4b794a Update iiiftilesource.js 2013-07-02 00:41:22 -07:00
radix-pro
8f8e028015 Update iiiftilesource.js 2013-07-02 00:34:23 -07:00
radix-pro
acd55c709d Update iiiftilesource.js 2013-07-02 00:27:53 -07:00
radix-pro
040ff3a7ae Update iiiftilesource.js 2013-07-02 00:18:37 -07:00