Commit Graph

676 Commits

Author SHA1 Message Date
Michael Bayne 471c6cddf3 Allow digests to be easily created externally. 2004-08-10 07:23:12 +00:00
Michael Bayne 898fcff302 Allow additional custom JVM arguments to be specified in an external file. 2004-08-09 22:01:56 +00:00
Michael Bayne 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.
2004-08-04 18:43:27 +00:00
Michael Bayne 0c41fc850b Do the right thing when a patch involves a brand new file in a brand new
directory.
2004-08-03 22:36:48 +00:00
Michael Bayne 82e97bef11 Refactored some things to allow us to use them in externally. 2004-08-03 03:29:58 +00:00
Michael Bayne 70701da47c Updated Chinese translations. 2004-08-03 00:39:35 +00:00
Michael Bayne ae3e306c0c More robustly goodness. 2004-08-03 00:10:34 +00:00
Michael Bayne b0cf1e9760 If getdown.txt fails to validate, redownload both getdown.txt and
digest.txt to be sure we have the ultra latest business.
2004-08-02 23:19:48 +00:00
Michael Bayne 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.
2004-08-02 22:44:39 +00:00
Michael Bayne 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.
2004-08-02 22:44:08 +00:00
Michael Bayne 057f568124 We need to do this on WinME as well. 2004-08-02 20:07:33 +00:00
Michael Bayne 75e5b9ee86 The beginnings of a Chinese translation. 2004-07-31 23:07:01 +00:00
Michael Bayne 578ac4ebbd Report the resource info when we fail to compute a digest. 2004-07-31 22:05:06 +00:00
Michael Bayne aba5853e4a Only check the registry on Vinders. 2004-07-31 03:55:16 +00:00
Michael Bayne fc5585dbca If we're sticking around on Win98, close our status window while we wait. 2004-07-31 03:05:12 +00:00
Michael Bayne 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.
2004-07-30 22:37:15 +00:00
Michael Bayne 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.
2004-07-30 21:45:28 +00:00
Michael Bayne 9176da3c85 If the patcher chokes, just log an error and forge onward. 2004-07-30 18:14:21 +00:00
Michael Bayne f1f056ae0e Report the proxy configuration in the startup log. 2004-07-30 17:45:14 +00:00
Michael Bayne 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.
2004-07-30 17:37:48 +00:00
Michael Bayne 9be3283e4a Added support for conditionally including or excluding parameters based on
the client operating system.
2004-07-30 02:23:52 +00:00
Michael Bayne 8f8ee94dc1 Look for the appropriate java executable which is different on Vinders. 2004-07-30 00:27:39 +00:00
Michael Bayne 4baf7a571b Record useful info about the JVM and environment to the log. 2004-07-30 00:27:19 +00:00
Michael Bayne eb4f2e4850 getParentFile() is returning null. 2004-07-29 21:23:04 +00:00
Michael Bayne 1ea8c42b91 Give a little love back to our Mac users. 2004-07-29 21:08:56 +00:00
Michael Bayne 9faa6b09a4 Look for already configured proxy settings and use those first. 2004-07-29 18:46:57 +00:00
Michael Bayne 2d78ed50d3 Auto-detect and use proxy settings. 2004-07-29 17:57:45 +00:00
Michael Bayne 750d627f41 Scripts. 2004-07-29 05:06:43 +00:00
Michael Bayne 7933f3a8ab We really want you to finish the download. No really. 2004-07-28 08:05:44 +00:00
Michael Bayne 006e7a81ff This one was my oversight, but we'll play it safe anyway. 2004-07-28 07:45:44 +00:00
Michael Bayne 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.
2004-07-28 07:38:25 +00:00
Michael Bayne 2e8d7a2b34 Removed debugging. 2004-07-28 06:01:58 +00:00
Michael Bayne a254a122b1 Work around a bug in JarDiff which chokes on jar files created with
differing compression levels and/or different versions of the JVM.
2004-07-28 02:25:49 +00:00
Michael Bayne 2dee599b11 Compare the digests of files and leave unchanged files entirely out of the
patch instead of creating empty JarDiff patches for them.
2004-07-28 01:30:53 +00:00
Michael Bayne dda8d015c4 Make our message digest getting routing available to all. 2004-07-28 01:28:55 +00:00
Michael Bayne 7617c20675 Fixed a bug, cleaned things up a bit more. 2004-07-26 23:27:46 +00:00
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