Commit Graph

840 Commits

Author SHA1 Message Date
Michael Bayne 1ce7c8e515 Made the shadow color configurable; set up sensible defaults so that we
can report errors even before we download a config file; catch and report
the case where the application install directory fucks us into not
working; redirect getdown's output into a log file in the install
directory as well.
2004-07-26 22:57:03 +00:00
Michael Bayne b24801cf43 Further cleanups; once we create our window, never let it go away, just
reconfigure it.
2004-07-26 21:24:59 +00:00
Michael Bayne 2c7410e759 Better default colors. 2004-07-26 18:59:15 +00:00
Michael Bayne ddd40d009c Justify the status label appropriately based on the relative position of
the progress bar and the status display.
2004-07-26 18:59:00 +00:00
Michael Bayne 191e31f083 Let's shadow the progress text as well. 2004-07-26 18:31:39 +00:00
Michael Bayne b108684f37 Time estimate smoothing, further font properness. 2004-07-26 18:30:16 +00:00
Michael Bayne cbf272221c Format the remaining time in code so we can do the right thing with the
seconds.
2004-07-26 18:05:55 +00:00
Michael Bayne 119541f527 Various purdifications and improvements. 2004-07-26 17:52:32 +00:00
Michael Bayne 9ff27d3c26 If the unversioned digest changes, pop up the UI because we're going to
revalidate everything which will take time and we'll want to see the
feedback.
2004-07-20 07:35:56 +00:00
Michael Bayne c21119bc0e Default size fiddling. 2004-07-20 01:27:32 +00:00
Michael Bayne dfa722b358 More color fiddly. 2004-07-20 01:25:06 +00:00
Michael Bayne 016d15b833 Try redownloading getdown.txt before creating the UI so that things look
good when we first install. If the redownload fails, we'll pop up the UI
anyway and display the error message.
2004-07-20 01:24:54 +00:00
Michael Bayne 8ca03245aa Hardcode the label color to one suitable for our purposes for the moment. 2004-07-19 12:49:56 +00:00
Michael Bayne 0d67faee44 Handle compound translation keys. We have to duplicate some stuff from
Narya in here, but I don't want to introduce that dependency. Moving the
Narya stuff into samskivert is sort of an option, but here (and in most
places) we don't need the full-blown multiple named resource file support
that Narya has. Maybe just Narya's ResourceBundle could be moved...
2004-07-19 12:39:08 +00:00
Michael Bayne 884f4100ee New and improved Getdown! Now with better status and error reporting. 2004-07-19 11:59:06 +00:00
Michael Bayne b87a59464a Reference the now needed javaws.jar 2004-07-16 08:42:42 +00:00
Michael Bayne 2e56b30267 Get rid of the patch file when we're done with it. 2004-07-14 14:04:44 +00:00
Michael Bayne 4dc01dc712 Further cleanups. We now report progress to the best of our ability modulo
some deplorable oversight on the part of JarDiffPatcher's author.
2004-07-14 13:44:49 +00:00
Michael Bayne b5e2086182 Compute the digest on jar files in a JarDiff-friendly manner. Now we're
fully operational. I have performed a successful versioned update of the
client which went smooth like butter. Next, I need to wire up progress-bar
feedback during the verification and patching phases.
2004-07-14 12:14:44 +00:00
Michael Bayne 71d17c834e Removed vestigal import. 2004-07-14 12:11:46 +00:00
Michael Bayne 70117c3489 Wired up the rest of the patching process. I need to rewrite the code that
computes MD5 hashes of jar files to be properly agnostic of the metadata
in the jar file and the order in which the files appear so that a jar file
patched with JarDiff hashes to the same value as one created arbitrarily.
Basically, I just want to hash the contents of the jar file in a canonical
order instead of hashing the actual jar file.
2004-07-13 17:45:40 +00:00
Michael Bayne 8d5592a9af Further shaving. 2004-07-13 17:43:52 +00:00
Ray Greenwell 8d4ee4a34c Fixed comment typo. 2004-07-13 16:15:26 +00:00
Ray Greenwell 4c01d8e657 Occam's razor. 2004-07-13 15:52:18 +00:00
Michael Bayne dc80d924d9 A tool to generate unified patch files that are used to patch all files in
an application from one version to another. We use jardiff because I could
find no free (Java) binary diff libraries that looked worth a damn. Once
we release the source to Getdown, I'm sure someone will get a wild hair
and implement one.
2004-07-13 10:41:52 +00:00
Michael Bayne 2cc8d4a596 Moving logging around. 2004-07-13 10:39:50 +00:00
Michael Bayne 7b24a1b606 Implement equals() and hashCode(). 2004-07-13 10:39:37 +00:00
Michael Bayne f376eadd7c Further progress on versioned application upgrades. 2004-07-13 02:42:52 +00:00
Michael Bayne 1384a79330 Ignore some stuff. 2004-07-07 16:28:46 +00:00
Michael Bayne b6b2d5779e Whipped up a DashO build system. 2004-07-07 16:25:31 +00:00
Michael Bayne 54b658b1cb Welcome to the wild world of Windows, where you can't rename a file onto
another file and instead have to bend over backwards to avoid risking the
big fuckola.
2004-07-07 16:18:23 +00:00
Michael Bayne 4608fdec20 Close them thar streams when yer done with 'em. 2004-07-07 16:17:01 +00:00
Michael Bayne ea0059770f More user interfacely goodness, localized text, added code to attempt to
redownload getdown.txt if we choke while parsing it.
2004-07-07 10:45:20 +00:00
Michael Bayne d3449f4518 Beginnings of an interface to display download and patching status. 2004-07-07 08:42:40 +00:00
Michael Bayne e884648bf8 Further juicy goodness. 2004-07-06 09:46:35 +00:00
Michael Bayne 3795d51e15 We have liftoff! There's no fancy GUI yet, but it now downloads invalid or
missing resources and launches the application like a champ.
2004-07-06 05:13:36 +00:00
Michael Bayne ebd2105285 Mo' better progress. Code and media resource validation partially in
place. Next up the download manager.
2004-07-02 17:03:33 +00:00
Michael Bayne 0d91188d7f Further progress. It makes me giddy with joy when I munge some text in the
getdown.txt configuration file and then watch the system recover and
proceed by downloading a fresh copy, emitting but a mild mannered log
message in the process.
2004-07-02 15:22:49 +00:00
Michael Bayne 2fb08f098a The illustrious beginnings of Getdown. 2004-07-02 11:01:21 +00:00
Mystery Person 5881bad346 New repository initialized by cvs2svn. 2004-07-02 11:01:21 +00:00