Commit Graph

211 Commits

Author SHA1 Message Date
Michael Bayne 201c5b03c7 Another patch from Elias: avoid CME when setting pass-through properties. 2007-08-06 18:50:57 +00:00
Michael Bayne f7e0726a5c Patch from Elias to close stdin and stdout of our launched process. If we had a
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.
2007-08-04 23:57:57 +00:00
Mike Thomas 92d61bca41 Japanese getdown translations. 2007-07-25 20:30:16 +00:00
Michael Bayne 1e4f8fdcab Added LaunchUtil.updateVersionAndRelaunch() to give external Getdown users some
idea of how to actually do that. Widened. Changed logging to standard Java
style.
2007-04-20 00:21:38 +00:00
Michael Bayne a2eeb0e769 The new signature validating code was failing to close its files properly which
was causing some freakout.
2007-04-13 20:50:39 +00:00
Michael Bayne 3b6e48e7a9 Reinstate the "move the old file out of the way then move the new file in
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).
2007-04-13 20:50:12 +00:00
Michael Bayne 573314875b Widened. 2007-04-13 20:47:04 +00:00
Michael Bayne 424aa5cd24 Fall back to renames by copying if normal renaming fails as Windows XP decided
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.
2007-04-13 18:48:23 +00:00
Dave Hoover f62ebb1bfa Keyword substitution. 2007-04-07 00:19:43 +00:00
Michael Bayne 707d36aac7 Modified Getdown to use a signature on the digest.txt file instead of a
signature on the applet parameters, to verify that the signed applet version is
not being misused.
2007-04-05 02:10:21 +00:00
Mike Thomas 19013958c6 m.init_error only takes two args, and they're supposed to be the error description and the installation help URL. This was resulting in confusing error messages when getdown fails to do its update on Vista. 2007-03-28 00:08:53 +00:00
Mike Thomas fd9834d051 Allow specification of a tracking URL suffix to be added after the event name. 2007-03-25 07:28:31 +00:00
Michael Bayne 782d3e4e84 A bit of rearrangement. Let's have all the actual tracking logic take place in
the launcher and let the Application continue to serve largely as an interface
to our configuration information.
2007-03-23 21:46:54 +00:00
Mike Thomas 849c119227 Allow the specification of a cookie name and property to fetch its value from for tracking URLs. Clientstep needs this so we can identify the user and correlate with their other events. 2007-03-23 16:57:04 +00:00
Michael Bayne 29b8e875de Progress reporting fixes. 2007-03-14 19:09:00 +00:00
Michael Bayne 7e61bbdf90 Added support for requesting external tracking URLs during the download
process. This will replace the flaky Applet -> JavaScript bridge but first
needs some testing.
2007-03-14 02:05:22 +00:00
Michael Bayne e5f8d8478a Minor tweaks. 2007-02-22 23:59:17 +00:00
Mike Thomas d12e85bea6 Fix path for Vista's use so the security manager doesn't bite us. 2007-02-22 23:48:49 +00:00
Michael Bayne 4341710e18 Ignore cruft at the end of the version string. 2007-02-22 19:21:52 +00:00
Michael Bayne cd622bee95 Whoops, wrong path. 2007-02-21 22:32:02 +00:00
Michael Bayne 5bb65c42fe Specifically enumerate what we need rather than slurping in all the games adn
all the puzzles and then freaking out when they depend on something we don't
have.
2007-02-21 22:08:57 +00:00
Michael Bayne 66eea86039 Handle versions of the form 1.5.0 as well as 1.5.0_05. 2007-02-09 20:09:14 +00:00
Michael Bayne ed74fd67ee We may be having problems where we know about one JSException class and the VM
is throwing another and they don't end up matching. Let's just catch any
exception thrown when trying to propagate status to JavaScript and log it.
2007-02-07 21:30:13 +00:00
Michael Bayne 371f680ba0 Prevent digester from freaking out on java_location. 2007-02-04 00:54:46 +00:00
Michael Bayne 4c3324752d Specifically include what we need from tools and exclude everything else. 2007-02-04 00:24:08 +00:00
Michael Bayne 47e3bec864 Created ant task for generating signed applet parameters. 2007-02-04 00:16:29 +00:00
Michael Bayne 67ed6fea56 If any of our signatures match, then we're good to go. Further investigation is
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.
2007-02-01 03:23:09 +00:00
Michael Bayne 5aa5de0aa0 Regenerate the classes.jsa file so that our locally installed Java can launch
with the same (emacs-like) fastness as a standard Java install.
2007-02-01 02:23:47 +00:00
Michael Bayne a2adc382a3 Provide support for automatically downloading and installing a local Java
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.
2007-02-01 01:41:58 +00:00
Michael Bayne 62ea52f83b Don't build our differ if we don't have javaws.jar; fixed some deprecated
CopyUtils usage.
2007-01-25 22:38:07 +00:00
Michael Bayne 92b4edf52e We need to look for our source file relative to basedir. 2007-01-24 23:42:03 +00:00
Jonathan Le Plastrier 958e872950 Let's build us a snapshot for getdown as well. 2007-01-24 23:09:08 +00:00
Michael Bayne 1455088ac3 Cleaned up the applet initialization process. If we are not granted privileges,
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.
2007-01-24 03:19:13 +00:00
Michael Bayne 28da206181 Get javaws.jar from our JRE installation directory. 2007-01-24 02:09:04 +00:00
Michael Bayne 817e752bdb Use sign.keystore. 2007-01-20 04:39:36 +00:00
Michelle 67e324e417 Added a few newlines so the digital signature error message doesn't show up right over our YPP logo 2006-12-19 21:17:17 +00:00
Elizabeth Fong c97a86d47b corrected missing import 2006-12-18 19:59:33 +00:00
Elizabeth Fong 1efeb4311b don't fatally bail out if calling a JS method fails. 2006-12-18 19:45:37 +00:00
Elizabeth Fong 1edb7950d3 Fail a tiny bit more gracefully if the user rejects the signing certificate. 2006-12-18 09:35:31 +00:00
Michael Bayne 6c5918b3c2 Include stub versions of the Java->JavaScript bridge interface so that we
compile properly and we'll link against the real deal at runtime.
2006-12-15 02:57:13 +00:00
Elizabeth Fong 0236092f1d Add in support for doing JS callbacks of progress 2006-12-15 01:09:20 +00:00
Mike Thomas 83b5b5923c Can't use String.replace since it's a 1.5ism. 2006-12-05 21:38:47 +00:00
Mike Thomas 93f82f372f Readability improvements as per MDB's suggestions. 2006-12-05 17:40:00 +00:00
Mike Thomas b3737c2b49 When loading images, have getdown looking for a localized version of the files, but then fall back to the generic ones. 2006-12-05 00:02:55 +00:00
Elizabeth Fong 065204a3f1 updated getdown messages in german from Hagen 2006-11-23 22:34:38 +00:00
Michael Bayne 70b8797c4b Use new safer library locating process. 2006-11-16 22:51:02 +00:00
Michael Bayne 93ceaa40c4 Use distlib.dir. 2006-11-16 21:36:57 +00:00
Michael Bayne 2acaa9bbf5 Work properly with the new build system. 2006-11-14 21:05:40 +00:00
Elizabeth Fong 8a3ea897cf put back the signature checking in getdown now that I know it's not the culprit 2006-10-22 19:26:49 +00:00
Elizabeth Fong 323ca2e3ee and explicitly set safe to be true 2006-10-19 23:31:58 +00:00