lock="true" param is passed to the applet.
Release the lock when launching the application directly from getdown,
navigating away from the applet and borking. Hopefully one of the first two
releases will allow invoking directly to work in an applet, but applets seem to
share the lock on my Mac, so I haven't been able to test it.
pesky and pushes annoying requirements on users of the Getdown download
services (like Yohoho and ToyBox).
Instead we'll allow Downloader.download() to return false to indicate that the
download was aborted by an observer, and the observers will simply return false
to indicate that they wish the download to be aborted.
While I was in there, I moved the Downloader and its concrete implementations
into a getdown.net package because it annoyed me that they were in
getdown.launcher.
instances of getdown from stepping on each others toes. Getdown now checks the
modtime of getdown.txt when it starts, during its downloading, and before
launching the real app. If at any of these points the modtime has changed from
when it was last checked, getdown assumes that means another instance is
running and bails to let the other instance do its magic.
Mainly this is for a delayed, silent installer that wants to launch after its
delay, but not if getdown has been run manually after it was launched. Also, if
someone manages to get a little click happy on their installer, this will keep
multiple instances from fighting for the bandwidth to download the same file
simultaneously.
Win98 machine around we could test whether closing stderr prevents the buffer
fill-up deadlock that necessitates leaving the Getdown process around to read
stderr on that platform, but I vaguely recall having tried that and having it
not work.
place" Windows-friendly rename and try that before falling back to the brute
force copy (which risks failing due to a full disk and leaving us with a
corrupt file rather than just an out of date one).
today that renaming is no longer allowed (at least in the directory in which
we're installing our games). Also nixed the old JavaScript bridge stuff which
we no longer use and was flaky in the first place.
needed to make sure this isn't badness but for whatever reason all of a sudden
it started trying to check our applet signature against Thawte's cert signing
cert which did not work.
version from within Getdown if the user does not have the desired version for
the application.
This does not yet support upgrading a locally installed version of Java, right
now it assumes that if we have a locally installed version, it's good enough.
We can make that do the right thing too, later.
we will not display our background image because will be unable to read the
necessary metadata that tells us where to display status on that image. Also
clarified the language a bit in the "user failed to grant is privileges" case.