Commit Graph

183 Commits

Author SHA1 Message Date
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
Elizabeth Fong adb0ee9b1e Oh god, something's gone wrong with MSIE and the signature validation. Pull it out. 2006-10-19 21:13:28 +00:00
Elizabeth Fong 5644e62dc5 Don't NPE if properties param isn't set; allow overriding torrent behavior for testing 2006-10-19 20:39:02 +00:00
Elizabeth Fong cd02c01f30 add property pass-through support, directly check on Snark's completion 2006-10-19 16:43:19 +00:00
Elizabeth Fong 913d5d798e update for SnarkShutdown constructor change 2006-10-18 21:45:40 +00:00
Jonathan Le Plastrier 9620de879d getdown now uses libs-incl 2006-10-14 18:50:23 +00:00
Michael Bayne 39c4d0f278 Added clean and distclean. 2006-10-13 23:51:38 +00:00
Jonathan Le Plastrier 57220404af runjava needs to use dist/lib for its classpath, not lib/ 2006-10-12 22:43:14 +00:00
Jonathan Le Plastrier 64c44bdc7c getdown needed some tweaking. 2006-10-12 19:18:12 +00:00
Ray Greenwell 27f7bdb390 Report 0% done if the _totalSize is 0, because it's better than
reporting 2147483647% done.
The real problem here is that the TorrentDownloader never sets _totalSize.
2006-08-25 18:36:46 +00:00
Elizabeth Fong 14d823a930 remove debug logging 2006-08-20 09:50:07 +00:00
Elizabeth Fong c92e372d39 prevent hijacking of signed Getdown to run malicious code; greater torrent download speed tolerance 2006-08-20 09:45:21 +00:00
Elizabeth Fong a98376a2f7 fix the Ice 404 and production 247,143,675,456 percent complete bugs; get bittorrent fully working 2006-08-17 12:44:15 +00:00
Elizabeth Fong ed118c0ffa fix 1.5ism 2006-08-02 00:57:08 +00:00
Elizabeth Fong 05eb7a6109 better document behavior of bittorrent fudge factor code 2006-07-28 18:20:15 +00:00
Elizabeth Fong a81e7bc316 some installations bundle background.png, so allow fudge factor 2006-07-28 07:37:24 +00:00
Michael Bayne 6eed6697dc Do not simply assume we want to use the Bit Torrent downloader. It causes weird
things to happen if one is not actually running a tracker.

Fortunately this did not break everything, but having our users see
"2,147,483,647%" complete" instead of actual download progress is not an
especially graceful fallback.
2006-07-26 20:11:34 +00:00
Elizabeth Fong ae36f9138d wire things so both patches and full installs try bittorrent first 2006-07-16 09:49:54 +00:00
Elizabeth Fong 7f5384629e Now that Snark has proper exception handling, use it. 2006-07-16 01:05:21 +00:00
Michael Bayne cef42b0dd5 Unbreak the builds until we get Liz's modified snark.jar where we need it. 2006-07-13 19:54:21 +00:00
Michael Bayne 72ef40f297 Don't freak out if we don't have the Snark library. We'll sort this out more
nicely later.
2006-07-13 18:52:58 +00:00
Elizabeth Fong 3c9b29adcb properly javadoc things, include proguard/lib modifications 2006-07-13 18:29:13 +00:00
Elizabeth Fong d07042efee Abstract the Downloader class, separate download protocol. Add bittorrent support (alpha) 2006-07-13 18:17:31 +00:00
Elizabeth Fong 5c7b887f59 type safety, remove unused imports 2006-07-13 18:13:14 +00:00
Michael Bayne cfbf92b5a7 Reference our dependent documentation at the proper locations. 2006-07-12 17:17:29 +00:00
Michael Bayne 5ecce1c8ba Some formatting cleanup. 2006-07-12 16:59:15 +00:00
Michael Bayne 16a45b2a2a Nixed unwanted extra blank line. 2006-07-12 16:50:38 +00:00
Michael Bayne b8c385126c Added the proper GPL headers to everything, created a README, generally cleaned
things up.
2006-07-12 16:49:14 +00:00
Michael Bayne 4e901691bf Added support for auxiliary resource groups which are sets of jar files that
are not downloaded until a control file is created in the application directory
to activate them.
2006-07-12 02:41:08 +00:00