Commit Graph

365 Commits

Author SHA1 Message Date
Benjamin Gilbert
8cb2714dae Fix timer leak after multiple Viewer.open() calls, take 2
Track the request ID of the outstanding animation frame and cancel it
on Viewer.close().

Fixes #76.
2013-04-26 22:32:51 -04:00
Benjamin Gilbert
23c20e3d5a Revert "Fix timer leak after multiple Viewer.open() calls"
This should be done with cancelAnimationFrame() instead.

This reverts commit 47aba60940.
2013-04-26 21:48:48 -04:00
Heath Nielson
e98fb410ee Add some get/setString tests. 2013-04-26 15:19:23 -06:00
Heath Nielson
d16eb04a8a Fix setStrings() with the same fix as getStrings(). Initialize container to
I18N.
2013-04-26 15:18:27 -06:00
Ian Gilman
64a10f28df Added note about "good first bug" issues 2013-04-26 10:06:31 -07:00
Ian Gilman
beba155ece Sublime project now excludes node_modules 2013-04-26 10:06:14 -07:00
Benjamin Gilbert
47aba60940 Fix timer leak after multiple Viewer.open() calls
Keep a counter of Viewer.close() calls in private state and a copy in
the timer's closure, and stop the timer when they no longer match.

Fixes #76.
2013-04-25 00:37:36 -04:00
Benjamin Gilbert
9eb19d6c9c Garbage-collect strings 2013-04-25 00:23:02 -04:00
Benjamin Gilbert
b315b148c2 Drop remains of code to show "Loading..." message
It calls a method that no longer exists, but only when an impossible
condition is true.
2013-04-24 23:57:35 -04:00
iangilman
f5aa476f62 Merge pull request #77 from bgilbert/vewport
Fix typo in preserveViewport handling
2013-04-24 13:47:02 -07:00
iangilman
0309e8de7f Merge pull request #75 from bgilbert/dist
Improve release packaging
2013-04-24 11:53:58 -07:00
Benjamin Gilbert
f958e66f05 Fix typo in preserveViewport handling 2013-04-23 23:58:58 -04:00
Benjamin Gilbert
0d6457027d Stable Builds wording improvement 2013-04-23 21:19:04 -04:00
Benjamin Gilbert
eafd707d1a Drop unnecessary quotes 2013-04-23 21:16:33 -04:00
Benjamin Gilbert
1430ac38fe Drop obsolete .gitignore entries 2013-04-22 20:28:13 -04:00
Benjamin Gilbert
c7c7b202dd Don't delete old releases from the website
It's convenient for old releases to be available indefinitely so that
deployment scripts can retrieve a particular qualified version.  This
won't affect the disk space requirements of the repository, since the
old packages will be in the Git history anyhow.

Move packages to a subdirectory of the site root to avoid causing
permanent clutter.
2013-04-22 20:27:55 -04:00
Benjamin Gilbert
15994b688b Include changelog and license files in packages
A README would be good too, but right now README.md consists mostly of
things that are only meaningful in a Git checkout.
2013-04-22 20:20:19 -04:00
Benjamin Gilbert
739ff2dbed Rename {tar,zip}ball and packaged directory
{Tar,zip}balls now have the form openseadragon-bin-0.9.125.{tar.gz,zip},
containing a directory openseadragon-bin-0.9.125.

Including the project's version number makes it easy to determine the
version of a random release sitting around a filesystem, and ensures
that unpacking a tarball won't overwrite another unpacked tarball or
write into a checked-out repo.

Adding -bin distinguishes the packages from source tarballs, which are
conventionally <project>-<version>.{tar.gz,zip}.
2013-04-22 20:20:07 -04:00
Benjamin Gilbert
551215404d Use maximum compression when creating packages
grunt-contrib-compress defaults to minimum compression.
2013-04-22 20:13:45 -04:00
Benjamin Gilbert
d7224f8206 Compress package tarballs with gzip
Tar files are conventionally compressed, often with gzip.  xz would be
better but is not as universally supported; in particular,
grunt-contrib-compress doesn't support it.
2013-04-22 20:13:42 -04:00
Ian Gilman
ee02dda56e Wording tweaks 2013-04-22 10:34:26 -07:00
Ian Gilman
63c24aa563 Build info on readme 2013-04-22 10:32:23 -07:00
iangilman
cc999cc0be Merge pull request #71 from bgilbert/i-am-my-own-person
Fix one more place where we define ourselves as a fork
2013-04-22 09:51:59 -07:00
Benjamin Gilbert
5383ce7e61 Fix one more place where we define ourselves as a fork 2013-04-20 03:38:10 -04:00
Heath Nielson
e05e04c7b2 Merge remote branch 'upstream/master' into getString-error 2013-04-10 10:51:33 -06:00
Ian Gilman
fdeaa10085 Updated github page link 2013-04-08 10:28:56 -07:00
Heath Nielson
530e445756 Fix a problem with getString when the string property is a sub-property. 2013-04-03 12:33:47 -06:00
Ian Gilman
c8cc050abf Added "contributing" section to readme 2013-03-28 09:43:18 -07:00
Chris Thatcher
da35f3b39f Merge pull request #56 from acdha/dzitilesource-relative-paths
DziTileSource: avoid changing relative paths
2013-03-26 17:47:31 -07:00
Chris Adams
2345f9b217 DziTileSource: avoid changing relative paths
For cases where DZI files aren't explicitly configured with a tilesUrl,
the logic for generating a URL from the DZI source URL would inject an
extra leading `/` which would either cause an unnecessary redirect or
break depending on whether the webserver in use attempts to normalize
`//` to `/`.

This change also removes some URL processing logic which duplicates the
browser's default behaviour
2013-03-26 16:11:27 -04:00
thatcher
122369eb5e Merge branch 'master' of https://github.com/openseadragon/openseadragon 2013-03-26 14:36:31 -04:00
thatcher
9aecfddcbf refs #54 - added missing support for tilesource configuration as xml string or json string via Viewer.open 2013-03-26 14:35:43 -04:00
iangilman
3dcf560d05 Merge pull request #49 from acdha/update-qunit
Update qunit version
2013-03-26 09:20:30 -07:00
thatcher
86f101f02c refs #54 - pointing deprecated method at correct current method. 2013-03-26 09:25:56 -04:00
thatcher
a90ac76c38 updating changelog to reflect issues addressed on current master branch (0.9.125 in progress) 2013-03-26 09:14:11 -04:00
thatcher
f4f4fde17a Merge branch 'master' of https://github.com/openseadragon/openseadragon 2013-03-26 09:02:49 -04:00
thatcher
266f33094c addresses #54, dont use openDZI, use open. openDZI now calls open. all the details of tileHost were already handled in DZITileSource.configure. $.createFromDZI is fully deprecated and will throw an error. 2013-03-26 09:02:34 -04:00
Chris Adams
deb229eb78 Update qunit version
qunit 0.1.1 fails on node v0.10.1 with the new streaming api
2013-03-25 13:44:07 -04:00
Ian Gilman
6c4643d447 Grunt publish now publishes into the new folder in site-build 2013-03-25 10:02:41 -07:00
Ian Gilman
f792af9eb9 Added changelog.txt 2013-03-25 09:51:58 -07:00
Ian Gilman
557927e4c0 Removed "We've upgraded Grunt" message; it's been a month 2013-03-22 09:51:37 -07:00
Ian Gilman
57f4cf1549 A little git-describe cleanup 2013-03-22 09:42:51 -07:00
Ian Gilman
ae56136d32 Merge branch 'master' into describe 2013-03-22 09:40:45 -07:00
Ian Gilman
f0c4f5a875 Fixed git-describe grunt task 2013-03-22 09:40:37 -07:00
Ian Gilman
b1758040a0 Added "home" and "click" tests 2013-03-21 13:44:22 -07:00
Ian Gilman
2bc61933b2 First attempt 2013-03-21 10:26:03 -07:00
Ian Gilman
65bb177fb8 Added tall and wide test DZIs 2013-03-21 10:25:03 -07:00
thatcher
eff17208e0 updated package.json for release, unfortunately i forgot to commit it 2013-03-14 17:38:23 -04:00
Chris Thatcher
695dbae3f6 Merge pull request #33 from openseadragon/prerender
Prerender bundles a number of performance optimizations.
2013-03-14 06:21:52 -07:00
thatcher
0297a20aee merged conflict 2013-03-14 09:08:27 -04:00