Commit Graph

762 Commits

Author SHA1 Message Date
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
radix-pro
a4303fb232 Update iiiftilesource.js 2013-07-02 00:02:48 -07:00
radix-pro
0441cfe4ec Update iiiftilesource.js 2013-07-01 23:55:07 -07:00
radix-pro
44a9d1b98b Update iiiftilesource.js 2013-07-01 23:49:25 -07:00
radix-pro
dde42b641d Update iiiftilesource.js
Fix Issue #55 "Tiles rendering issue..."
2013-07-01 22:38:37 -07:00
Chris Adams
59a254bea6 Tests: add open failure tests, overhaul test framework
* Add tests for open failures
* Refactor tests to avoid tests depending on implied status from
  previous tests:
  1. The viewer is now created and destroyed for each
     test to avoid pollution and simplify error handling: nothing
     starts until you request it.
  2. Some tests like Basic: Homepage depended on the Zoom & Pan tests;
     now this is handled explicitly as part of the test setup
  3. All basic tests are now properly async tests (since they needed
     the viewer to load, they really were in the past except that
     they were relying on the viewer state left behind from previous
     tests)
* All tests now run inside the qunit-fixture to prevent masking
  failures. Util.resetDom() has been refactored to use the
  qunit-fixture and the teardown logic only used in the navigator
  tests has been moved into the navigator test teardown method
* Fixed undeclared mainViewerElement variable in optional path in
  the navigator tests
* JSHint cleanup
2013-07-01 18:26:44 -04:00
Chris Adams
0ed4703bd3 Viewport messages: add a class to the dialog for easy styling 2013-07-01 18:26:44 -04:00
Chris Adams
7048cda69e Tests: getString with placeholder expansion 2013-07-01 16:55:39 -04:00
Chris Adams
1ab6094420 Viewer: make viewport messages private, repeatable
* Marked _showMessage/_hideMessage as private
* Fix DOM manipulation bug: call standard removeNode() method rather
  than proprietary WebKit .remove()
* Change messageDiv to be the outer wrapper to simplify removing the
  entire message container
2013-07-01 13:43:48 -04:00
Chris Adams
b912896158 Viewer.showMessage() hides any previous message 2013-07-01 12:58:22 -04:00
Chris Adams
d447bd5612 Remove detritus left behind from error handler testing 2013-07-01 12:55:58 -04:00
Ian Gilman
d68999bc87 Changelog for #149 2013-07-01 09:23:10 -07:00