Commit Graph

2867 Commits

Author SHA1 Message Date
Ian Gilman
bd0b0972b3 Fixed bad class names in docs 2013-05-02 09:57:23 -07:00
Ian Gilman
1c6deafe8b Added viewport property to Viewer documentation 2013-05-02 09:57:03 -07:00
iangilman
9d864c07b1 Merge pull request #80 from bgilbert/timer-leak
Fix updateMulti timer leak after multiple Viewer.open() calls. Fixes #76
2013-04-29 10:24:03 -07:00
Benjamin Gilbert
3652c7066c Re-add viewer.source check in updateMulti()
It should be redundant in normal operation, but may prevent a timer leak
in case of a bug in the open/close path.
2013-04-29 13:17:37 -04:00
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
ea2ef1f8a8 Merge remote branch 'upstream/master' 2013-04-10 10:52:39 -06:00
Heath Nielson
e05e04c7b2 Merge remote branch 'upstream/master' into getString-error 2013-04-10 10:51:33 -06:00
houseofyin
37cc433fc4 Adding blank line at the end of the file to make github happy 2013-04-08 20:59:16 -04:00
houseofyin
58107941bc Removing obsolete file 2013-04-08 20:56:31 -04:00
Ian Gilman
fdeaa10085 Updated github page link 2013-04-08 10:28:56 -07:00
houseofyin
e69033ee74 Removed some extraneous whitespace 2013-04-05 22:29:18 -04:00
houseofyin
cb5b844a74 Cleaned up and moved the demos 2013-04-05 22:28:03 -04:00
houseofyin
bbf0fc4302 Updated to address feedbac from @iangilman 2013-04-04 22:30:59 -04: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
houseofyin
ccf8934d0d Backout unneeded change in mousetracker.js 2013-04-03 13:42:16 -04:00
houseofyin
4c126dd39a Trying again to backout button.js changes 2013-04-03 13:36:55 -04:00
houseofyin
b352fe711b Trying again to backout button.js changes 2013-04-03 13:33:39 -04:00
houseofyin
df3344f67c Getting into alignment with code style guidelines 2013-04-03 11:51:24 -04:00
houseofyin
b3d358fa35 First pass at bringing the code in compliance with the project code standards 2013-04-02 21:07:10 -04:00
houseofyin
569a816df4 Backing out an event handler change 2013-04-02 21:06:07 -04:00
houseofyin
cfd5e67462 Backing out an event handler change 2013-04-02 18:40:28 -04:00
houseofyin
d34a912a13 Added autohide tests 2013-04-02 16:40:52 -04:00
houseofyin
50a9cecd35 Refactored to replace parallel arrays with an object 2013-04-02 14:09:49 -04:00
houseofyin
6b97ab4424 Refactored to remove duplicated code 2013-04-02 13:49:15 -04:00
houseofyin
858487f8c6 Tests now go to all corners 2013-04-02 10:44:42 -04:00
houseofyin
f3d880df4c Fixed a few minor errors in the test code 2013-04-01 23:30:05 -04:00
houseofyin
5bf4b51925 Checkpoint. Anchoring click to middle of view. Adding call to apply to constraints on viewer after the click, and additional testing 2013-04-01 22:33:58 -04:00