08b7e9dbba
Don't rename anything in our native library Windows registry stuff.
Michael Bayne
2005-03-15 22:28:16 +00:00
de924b7172
We need the META-INF from getdown.jar for our manifest.
Michael Bayne
2005-03-15 22:24:10 +00:00
87ae5dc651
Auto-flush our log file after every line written.
Michael Bayne
2005-03-15 22:08:38 +00:00
2c667e9ced
Don't copy the manifests from our source jar files.
Michael Bayne
2005-03-15 07:30:09 +00:00
54eea4d9a3
Build a -pro file, we'll handle Yohoho's legacy business in Yohoho rather than in Getdown.
Michael Bayne
2005-03-08 00:56:58 +00:00
6afddd08a4
We need to name our outfile getdown-dop.jar, for old-times sake. (Why we ever appended the name of some tool we use onto a production jar is beyond me.)
Ray Greenwell
2005-03-07 22:56:23 +00:00
00da0ce3f8
We don't use any Java Web Start code in the runtime launcher, only in the command-line tool that generates the diffs.
Michael Bayne
2005-03-04 01:47:45 +00:00
98c74c7f03
Switched from DashO (commercial, old, crufty) to Proguard (free, new, sexy) for our download-size optimization.
Michael Bayne
2005-03-04 01:37:35 +00:00
9636bd7117
Moved computeDigest() into a public method that can be easily used externally.
Michael Bayne
2004-12-14 23:29:03 +00:00
c4641083bf
Reference this at the permanent location, though this should all go away and be replaced with something free.
Michael Bayne
2004-12-14 23:14:12 +00:00
ef6f55ae71
If we have no observer to notify of failure, emit a warning message ourselves.
Michael Bayne
2004-12-10 00:23:17 +00:00
97e210fb9d
Reference java in its new Ray-friendly location.
Michael Bayne
2004-11-23 05:55:40 +00:00
f57cccf12e
Versions are now longs.
Ray Greenwell
2004-11-22 22:39:55 +00:00
9c85fac31e
No JAVA_LIBS.
Michael Bayne
2004-11-18 00:14:48 +00:00
5a6cf91b89
Fixed the two annoying bugs: the zip file compressed size not matching the compressed data and the failure to report valid progress when patching. JarDiffPatcher will need to be rewritten at some point though.
Michael Bayne
2004-10-27 23:10:36 +00:00
650b0ba04e
Don't allow the updater window to be resized.
Michael Bayne
2004-10-27 16:10:05 +00:00
dc8815610f
Some changes to cope with 1.5.
Michael Bayne
2004-10-20 23:10:07 +00:00
6cbdafb0b2
Readding jar to get proper binary handling.
Michael Bayne
2004-10-20 21:43:29 +00:00
735921fa1b
Removing booched non-binary jar.
Michael Bayne
2004-10-20 21:43:07 +00:00
086142a257
Include Mac OS X's runtime in the Dasho classpath
Landon Fuller
2004-10-20 04:03:10 +00:00
25e129db5c
German translations.
Michael Bayne
2004-09-10 23:56:08 +00:00
9a3cfdbe27
Use the same (buffered) output stream for stdout and stderr.
Ray Greenwell
2004-08-21 01:12:33 +00:00
9f268a0ae1
If we're a non-versioned application ignore the version.txt file.
Michael Bayne
2004-08-10 22:28:17 +00:00
e5b89948ce
Allow username and password to be passed to getdown and then passed along to Yohoho! to deal with the various hackery that the Chinese need.
Michael Bayne
2004-08-10 07:26:19 +00:00
471c6cddf3
Allow digests to be easily created externally.
Michael Bayne
2004-08-10 07:23:12 +00:00
898fcff302
Allow additional custom JVM arguments to be specified in an external file.
Michael Bayne
2004-08-09 22:01:56 +00:00
9aa68b81d2
Make sure to catch the exciting runtime errors thrown by the zip code when it feels like it's panties are in a bunch.
Michael Bayne
2004-08-04 18:43:27 +00:00
0c41fc850b
Do the right thing when a patch involves a brand new file in a brand new directory.
Michael Bayne
2004-08-03 22:36:48 +00:00
82e97bef11
Refactored some things to allow us to use them in externally.
Michael Bayne
2004-08-03 03:29:58 +00:00
70701da47c
Updated Chinese translations.
Michael Bayne
2004-08-03 00:39:35 +00:00
ae3e306c0c
More robustly goodness.
Michael Bayne
2004-08-03 00:10:34 +00:00
b0cf1e9760
If getdown.txt fails to validate, redownload both getdown.txt and digest.txt to be sure we have the ultra latest business.
Michael Bayne
2004-08-02 23:19:48 +00:00
c4c1c2d359
Blow away a bunch of unneeded cruft that DashO imports from the javaws.jar file because we can only tell it to include every single non-class file rather than just those matching a pattern or whatnot.
Michael Bayne
2004-08-02 22:44:39 +00:00
0c54b9070a
Under every situation in the world *except this one* we would want to exclude the com.sun.* packages from being DashO'd, however because we need to include Java Web Start code to do our patching we have to roll that in, and we mustn't forget the translation properties file that is also hiding in the javaws.jar.
Michael Bayne
2004-08-02 22:44:08 +00:00
057f568124
We need to do this on WinME as well.
Michael Bayne
2004-08-02 20:07:33 +00:00
75e5b9ee86
The beginnings of a Chinese translation.
Michael Bayne
2004-07-31 23:07:01 +00:00
578ac4ebbd
Report the resource info when we fail to compute a digest.
Michael Bayne
2004-07-31 22:05:06 +00:00
aba5853e4a
Only check the registry on Vinders.
Michael Bayne
2004-07-31 03:55:16 +00:00
fc5585dbca
If we're sticking around on Win98, close our status window while we wait.
Michael Bayne
2004-07-31 03:05:12 +00:00
e4c326279b
Finished up the proxy jockeying. Now we peek into the registry to see if they've already got a proxy configuration. Oh how we love to go native.
Michael Bayne
2004-07-30 22:37:15 +00:00
e18d279b3b
Further progress on proxy handling. The first time we run, we attempt to detect the need for a proxy and if there is a need, the actual settings. If we detect a need, but can't detect the proxy, we pop up a UI asking the user if they know what it might be.
Michael Bayne
2004-07-30 21:45:28 +00:00
9176da3c85
If the patcher chokes, just log an error and forge onward.
Michael Bayne
2004-07-30 18:14:21 +00:00
f1f056ae0e
Report the proxy configuration in the startup log.
Michael Bayne
2004-07-30 17:45:14 +00:00
b0e0147f8c
On Vinders 98 we need to stick around and read the output from our forked process otherwise that process will hang when it fills up its output buffer.
Michael Bayne
2004-07-30 17:37:48 +00:00
9be3283e4a
Added support for conditionally including or excluding parameters based on the client operating system.
Michael Bayne
2004-07-30 02:23:52 +00:00
8f8ee94dc1
Look for the appropriate java executable which is different on Vinders.
Michael Bayne
2004-07-30 00:27:39 +00:00
4baf7a571b
Record useful info about the JVM and environment to the log.
Michael Bayne
2004-07-30 00:27:19 +00:00
eb4f2e4850
getParentFile() is returning null.
Michael Bayne
2004-07-29 21:23:04 +00:00
1ea8c42b91
Give a little love back to our Mac users.
Michael Bayne
2004-07-29 21:08:56 +00:00
9faa6b09a4
Look for already configured proxy settings and use those first.
Michael Bayne
2004-07-29 18:46:57 +00:00
2d78ed50d3
Auto-detect and use proxy settings.
Michael Bayne
2004-07-29 17:57:45 +00:00
750d627f41
Scripts.
Michael Bayne
2004-07-29 05:06:43 +00:00
7933f3a8ab
We really want you to finish the download. No really.
Michael Bayne
2004-07-28 08:05:44 +00:00
006e7a81ff
This one was my oversight, but we'll play it safe anyway.
Michael Bayne
2004-07-28 07:45:44 +00:00
9cd2882190
Score one for the JarDiffPatcher and Windows. JarDiffPatcher doesn't properly close its files, so Windows prevents us from deleting them. Yay! Hopefully if we queue them up for deletion on exit, the finalizers will all have been run and JarDiffPatcher's mess will be cleaned up and they'll get deleted.
Michael Bayne
2004-07-28 07:38:25 +00:00
2e8d7a2b34
Removed debugging.
Michael Bayne
2004-07-28 06:01:58 +00:00
a254a122b1
Work around a bug in JarDiff which chokes on jar files created with differing compression levels and/or different versions of the JVM.
Michael Bayne
2004-07-28 02:25:49 +00:00
2dee599b11
Compare the digests of files and leave unchanged files entirely out of the patch instead of creating empty JarDiff patches for them.
Michael Bayne
2004-07-28 01:30:53 +00:00
dda8d015c4
Make our message digest getting routing available to all.
Michael Bayne
2004-07-28 01:28:55 +00:00
7617c20675
Fixed a bug, cleaned things up a bit more.
Michael Bayne
2004-07-26 23:27:46 +00:00
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.
Michael Bayne
2004-07-26 22:57:03 +00:00
b24801cf43
Further cleanups; once we create our window, never let it go away, just reconfigure it.
Michael Bayne
2004-07-26 21:24:59 +00:00
2c7410e759
Better default colors.
Michael Bayne
2004-07-26 18:59:15 +00:00
ddd40d009c
Justify the status label appropriately based on the relative position of the progress bar and the status display.
Michael Bayne
2004-07-26 18:59:00 +00:00
191e31f083
Let's shadow the progress text as well.
Michael Bayne
2004-07-26 18:31:39 +00:00
b108684f37
Time estimate smoothing, further font properness.
Michael Bayne
2004-07-26 18:30:16 +00:00
cbf272221c
Format the remaining time in code so we can do the right thing with the seconds.
Michael Bayne
2004-07-26 18:05:55 +00:00
119541f527
Various purdifications and improvements.
Michael Bayne
2004-07-26 17:52:32 +00:00
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.
Michael Bayne
2004-07-20 07:35:56 +00:00
c21119bc0e
Default size fiddling.
Michael Bayne
2004-07-20 01:27:32 +00:00
dfa722b358
More color fiddly.
Michael Bayne
2004-07-20 01:25:06 +00:00
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.
Michael Bayne
2004-07-20 01:24:54 +00:00
8ca03245aa
Hardcode the label color to one suitable for our purposes for the moment.
Michael Bayne
2004-07-19 12:49:56 +00:00
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...
Michael Bayne
2004-07-19 12:39:08 +00:00
884f4100ee
New and improved Getdown! Now with better status and error reporting.
Michael Bayne
2004-07-19 11:59:06 +00:00
b87a59464a
Reference the now needed javaws.jar
Michael Bayne
2004-07-16 08:42:42 +00:00
2e56b30267
Get rid of the patch file when we're done with it.
Michael Bayne
2004-07-14 14:04:44 +00:00
4dc01dc712
Further cleanups. We now report progress to the best of our ability modulo some deplorable oversight on the part of JarDiffPatcher's author.
Michael Bayne
2004-07-14 13:44:49 +00:00
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.
Michael Bayne
2004-07-14 12:14:44 +00:00
71d17c834e
Removed vestigal import.
Michael Bayne
2004-07-14 12:11:46 +00:00
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.
Michael Bayne
2004-07-13 17:45:40 +00:00
8d5592a9af
Further shaving.
Michael Bayne
2004-07-13 17:43:52 +00:00
8d4ee4a34c
Fixed comment typo.
Ray Greenwell
2004-07-13 16:15:26 +00:00
4c01d8e657
Occam's razor.
Ray Greenwell
2004-07-13 15:52:18 +00:00
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.
Michael Bayne
2004-07-13 10:41:52 +00:00
2cc8d4a596
Moving logging around.
Michael Bayne
2004-07-13 10:39:50 +00:00
7b24a1b606
Implement equals() and hashCode().
Michael Bayne
2004-07-13 10:39:37 +00:00
f376eadd7c
Further progress on versioned application upgrades.
Michael Bayne
2004-07-13 02:42:52 +00:00
1384a79330
Ignore some stuff.
Michael Bayne
2004-07-07 16:28:46 +00:00
b6b2d5779e
Whipped up a DashO build system.
Michael Bayne
2004-07-07 16:25:31 +00:00
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.
Michael Bayne
2004-07-07 16:18:23 +00:00
4608fdec20
Close them thar streams when yer done with 'em.
Michael Bayne
2004-07-07 16:17:01 +00:00
ea0059770f
More user interfacely goodness, localized text, added code to attempt to redownload getdown.txt if we choke while parsing it.
Michael Bayne
2004-07-07 10:45:20 +00:00
d3449f4518
Beginnings of an interface to display download and patching status.
Michael Bayne
2004-07-07 08:42:40 +00:00
e884648bf8
Further juicy goodness.
Michael Bayne
2004-07-06 09:46:35 +00:00
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.
Michael Bayne
2004-07-06 05:13:36 +00:00
ebd2105285
Mo' better progress. Code and media resource validation partially in place. Next up the download manager.
Michael Bayne
2004-07-02 17:03:33 +00:00
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.
Michael Bayne
2004-07-02 15:22:49 +00:00
2fb08f098a
The illustrious beginnings of Getdown.
Michael Bayne
2004-07-02 11:01:21 +00:00
5881bad346
New repository initialized by cvs2svn.
Mystery Person
2004-07-02 11:01:21 +00:00