b5fd81f963
Clarification / possible threading happiness.
Ray Greenwell
2012-03-08 00:56:11 +00:00
8acb1ee6dd
Unified progress bar.
Ray Greenwell
2012-03-08 00:53:17 +00:00
7456d77bbe
Use var-args, autoboxing.
Ray Greenwell
2012-03-07 22:21:06 +00:00
66f4c878e2
Hide our UI (in non-applet mode) before launching direct.
Michael Bayne
2012-03-06 17:39:28 +00:00
953769b143
Preparing for 1.3-SNAPSHOT development.
Mark Johnson
2012-02-22 06:24:48 +00:00
2e1ae1a74f
Preparing for getdown-1.2 release
Mark Johnson
2012-02-22 06:14:08 +00:00
7baaa1bbdd
If we use javaw.exe on Windows, we get a pop-up error when the JVM fails to initialize. Use java.exe instead when we try the optimum arguments.
Andrzej Kapolka
2011-11-10 00:20:19 +00:00
f6ee755b97
The Getdown.this is redundant.
Andrzej Kapolka
2011-11-09 23:30:34 +00:00
824ff33c69
Allow the definition of "optimum" JVM arguments. When launching, Getdown first tries with the optimum arguments included. If the process starts successfully, it continues as normal; otherwise, it tries again without the optimum arguments. The arguments in "extra.txt" are included after the optimum arguments, so that they can override them (for instance, if you have both -mx256m and -mx1g on the command line, the JVM will use whichever comes last).
Andrzej Kapolka
2011-11-09 23:26:35 +00:00
ef8a160e2d
When parsing env.txt and extra.txt, don't introduce am = if one wasn't there to begin with.
Michael Bayne
2011-11-02 18:46:14 +00:00
748f6828b8
We have plugin.jar in the POM classpath.
Michael Bayne
2011-10-07 17:52:17 +00:00
2fc6dc4fe5
German translation for "Patch notes."
Andrzej Kapolka
2011-10-05 20:33:53 +00:00
6f3f59de78
Allow customizing the install error/patch notes URLs by language.
Andrzej Kapolka
2011-10-05 02:19:25 +00:00
f3b33ab0cb
The patch notes button looks funny to me with the non-bold font. Use the same bold font we use for the status panel. Untested.
Ray Greenwell
2011-10-05 01:22:36 +00:00
9dde9d119a
Added the ability to specify a patch notes URL. When Getdown needs to patch, it will provide a button to access the URL if it's non-empty.
Andrzej Kapolka
2011-09-23 01:03:23 +00:00
4687e45596
Nine yards are apparently not enough. We need ten!
Andrzej Kapolka
2011-09-19 17:51:42 +00:00
71d3abddf1
Revamped the Maven build to use the Maven Proguard plugin (PITA!) instead of calling out to Ant to do the Proguard build.
Michael Bayne
2011-09-17 17:39:23 +00:00
f1f6b26bb0
This is also no longer used.
Michael Bayne
2011-09-14 18:16:33 +00:00
7ccfdb57e4
This is no longer used.
Michael Bayne
2011-09-14 18:15:49 +00:00
0ee1cd1b99
Expect/send close messages when the connection is (to be) closed.
Andrzej Kapolka
2011-09-13 23:39:34 +00:00
8fedfd9640
Added some additional logging.
Andrzej Kapolka
2011-09-12 18:20:53 +00:00
a641c3c23d
Provide a means of exchanging messages between the JavaScript context of the page hosting the applet and the launched application through a simple server socket bound to the loopback address on any available port (where the port is passed to the application as a system property). Not tested yet, but it shouldn't affect any deployments that don't specifically enable it.
Andrzej Kapolka
2011-09-12 05:29:53 +00:00
9611b988e0
Turn a null list into an empty list as various other application constructors still pass null and making them all pass an empty list would be a PITA.
Michael Bayne
2011-07-26 20:29:37 +00:00
f7fa27884e
Added support from Elias Naur for loading a bundled signing certificate instead of using the signers on the jar file. Also tidied up the code that passes certificates around so that we get rid of that wonderful Object[] as early as possible.
Michael Bayne
2011-07-26 17:17:54 +00:00
84ebe33396
Use the latest Maven Ant tasks (2.1.1 has disappeared from the Interwebs).
Michael Bayne
2011-07-26 16:46:48 +00:00
e3e566efb5
Change the variable names in the JVM version calculation code to reflect the nomenclature used by Java.
Michael Bayne
2011-07-26 16:46:24 +00:00
40de11fa15
Remove and ignore Eclipse files in favor of letting people generate their own using m2eclipse
Charlie Groves
2011-06-27 20:52:00 +00:00
4b739cd74f
Nix the building of the getdown-tools.jar. We can just include everything in getdown-pro.jar and it's only 10% larger (109k -> 121k), and it vastly simplifies life for users.
Michael Bayne
2011-06-22 00:52:56 +00:00
296d3ca210
Disable URLConnection caches when downloading control files.
Michael Bayne
2011-06-21 21:32:10 +00:00
686c1f1a3a
Added support for a "check_unpacked" flag that causes resources to be unpacked on initial install (even though the resources are already validated).
Andrzej Kapolka
2011-06-10 01:56:09 +00:00
35245d4d44
Adding a flag to prevent unpacking (for building Steam depots).
Andrzej Kapolka
2011-06-10 00:50:35 +00:00
e44931a433
Allow the 'appid' to be specified as a system property.
Ray Greenwell
2011-04-25 23:06:48 +00:00
9ed9d93623
Not sure if opening another connection here was intentional; I'm assuming not. At any rate, this was apparently what was causing some users' downloads to stall. Special thanks to Natalie B. for helping me track down the issue.
Andrzej Kapolka
2011-04-12 22:51:27 +00:00
90edcdf571
Some tidying.
Michael Bayne
2011-04-07 21:07:23 +00:00
14bb4f0f9b
I later realized we don't need quotes here, since we pass arguments as an array to Runtime.exec.
Michael Bayne
2011-04-07 21:06:59 +00:00
6c3abf3597
Added sane systems for augmenting jvmargs and appargs from getdown.txt instead of inconsistent-with-one-another-and-with-getdown.txt-and-limitation-ridden 'properties' and 'app_properties' mechanisms from ancient history.
Michael Bayne
2011-04-07 20:57:13 +00:00
86657244e1
Truth in commenting, studliness in variable naming (since all the neighbors are studly).
Michael Bayne
2011-02-11 23:06:02 +00:00
3f94853bb2
Allow a blank app_id so that when calling Getdown via:
Michael Bayne
2011-02-11 22:59:27 +00:00
1eaa058fa8
Some interface deconcretization, and changed config parsing so that we only complain if you actually provide an unparseable rect or color. If you don't provide one at all, we'll use the default.
Michael Bayne
2011-02-11 18:40:26 +00:00
a087c70e76
Build a getdown-tools.jar for use by non-Maven users to do things like generate digests and jardiffs and signed applet parameters, etc.
Michael Bayne
2011-02-11 18:21:55 +00:00
b3e650f939
Use the shipped samskivert-1.2, fix proguard jar creation.
Michael Bayne
2011-02-11 18:07:58 +00:00
2f29c77cdf
Report the underlying error message when failing due to paths that jar: URLs can't handle.
Michael Bayne
2011-01-31 18:16:47 +00:00
f60d063711
Deploy a sources jar along with the code jar for IDE-happiness
Charlie Groves
2011-01-20 00:47:10 +00:00
1d469e7d1d
Use m2eclipse for Eclipse configuration
Charlie Groves
2011-01-11 23:49:11 +00:00
86f580c175
To be safe, if we had a version file before and the latest version is newer, overwrite with the newer version.
Andrzej Kapolka
2011-01-06 21:09:59 +00:00
9577c2127c
To be safe, let's be sure that the "latest" version isn't less than the one in version.txt.
Andrzej Kapolka
2011-01-05 00:15:27 +00:00
c7e7da830a
Allow specifying a "latest" attribute containing the URL of the latest getdown.txt (from which we retrieve the most recent version).
Andrzej Kapolka
2011-01-05 00:09:52 +00:00
4c6f1f95b8
Use the renamed method.
Michael Bayne
2010-12-02 23:07:35 +00:00
33e0c7a975
Bring back multi-icon goodness.
Dave Hoover
2010-12-02 01:24:15 +00:00
04398ed747
Update to the samskivert-1.2 SNAPSHOT to get SwingUtil.setWindowIcons()
Dave Hoover
2010-12-02 01:24:08 +00:00
f73333d951
Damn, setIconImages is new in 1.6.
Dave Hoover
2010-11-30 01:06:34 +00:00
dbc08da57c
Speeling
Dave Hoover
2010-11-30 01:06:28 +00:00
da3d23a973
Whitespace
Dave Hoover
2010-11-30 01:06:20 +00:00
11b2317d2a
Don't worry about java 1.4 any more.
Dave Hoover
2010-11-30 01:06:13 +00:00
b484d0aad3
Let folks set the icon for the getdown window.
Dave Hoover
2010-11-29 23:00:10 +00:00
182809ec58
Whitespace
Dave Hoover
2010-11-29 19:55:21 +00:00
71184ca84e
Have eclipse get that from M2_REPO
Dave Hoover
2010-11-29 19:55:14 +00:00
6862c99db5
Update getdown's source header to be like the rest of the OOO ones.
Dave Hoover
2010-11-29 19:54:53 +00:00
a508c9e07a
Go back to the next snapshot revision.
Michael Bayne
2010-11-19 03:59:00 +00:00
88a950997c
Prepare a stable 1.1 release for the OOO repo.
Michael Bayne
2010-11-19 03:58:17 +00:00
6f5cc3a7dc
[maven-release-plugin] prepare for next development iteration
Michael Bayne
2010-11-19 01:11:49 +00:00
51fd4c08f5
[maven-release-plugin] prepare release getdown-1.1
Michael Bayne
2010-11-19 01:11:37 +00:00
dfc1d6ad4d
Go ahead and make maven-deploy publish locally unless otherwise directed.
Michael Bayne
2010-11-18 23:07:08 +00:00
d6482dedc5
Maven Ant tasks do provide properties for dependencies. Yay!
Michael Bayne
2010-11-18 22:55:44 +00:00
932acb52d4
Need to copy src/main/resources into dist/classes.
Michael Bayne
2010-11-18 22:22:04 +00:00
d57052b589
Eventually I'll have all of these converted over.
Michael Bayne
2010-11-18 17:48:13 +00:00
e7bf99ed0d
It's actually the runtime jar not tools, so let's name it appropriately.
Michael Bayne
2010-11-18 17:46:55 +00:00
771acc96de
We don't need to keep these in the Proguarded version, tools can use the non-Proguarded version with dependencies from Maven.
Michael Bayne
2010-11-18 17:42:39 +00:00
be491d3bfb
Added maven-deploy target and separate pom.xml for deploying the getdown-pro.jar.
Michael Bayne
2010-11-18 17:41:26 +00:00
5918b67fb1
Revamped primary build to use Maven Ant tasks. Eliminated Ivy-based build, which was used by Maven, now Maven calls into the primary build to generate its Proguarded jar file. Retired the Retroweaved jar file after a tremendous amount of fucking around with Retroweaver. I think it's safe to say that the number of people showing up with a 1.4 JDK operational in their browser is epsilon close to zero.
Michael Bayne
2010-11-18 17:38:43 +00:00
16029977d4
Don't obfuscate since it doesn't shrink things by much anyway and it causes problems for things like ToyBox which wants to reuse some Getdown internals.
Michael Bayne
2010-11-18 16:41:18 +00:00
6f1a6ce78d
Sorted out a way to get Maven to reference a local jar file without rendering the pom file hosed for transitive dependencies.
Michael Bayne
2010-11-18 15:54:42 +00:00
d999592401
Find our depends in M2_REPO.
Michael Bayne
2010-11-16 23:50:06 +00:00
d16fa8aebd
Only require signing when doing a real release.
Michael Bayne
2010-10-14 22:45:12 +00:00
a5499d8cb8
Patch from Andrzej:
Ray Greenwell
2010-10-02 03:36:19 +00:00
b4dae3be33
If we get valid values once we start downloading, use those to provide moderately more sane progress indication.
Michael Bayne
2010-09-23 00:15:20 +00:00
9d6f3e32ee
Track the reported size of each resource and its download progress individually. Cap the actual download size at the reported size to ensure that we don't end up borking our progress calculations if a web server returns a "clever" value for content-size like 1 or 0, but then sends back real data. Also sanitize the returned content-size in case the web server says something awesome like -42. No one can be trusted on the Interwebs, least of all web servers.
Michael Bayne
2010-09-22 21:36:01 +00:00
241c68ab72
Put our resources in src/main/resources.
Michael Bayne
2010-09-22 17:29:31 +00:00
f5a70f3116
Let's not fail if a tautology.
Michael Bayne
2010-09-22 17:17:47 +00:00
4cc18b9301
Just filter out the ant task, that's all we can't handle.
Michael Bayne
2010-09-21 16:31:44 +00:00
15619e4dd1
Extracted the digester into a command-line callable task.
Michael Bayne
2010-09-21 06:52:09 +00:00
1bb6dec1a2
Import and whitespace pruning.
Michael Bayne
2010-09-21 06:47:26 +00:00
44754f6d43
Let's call our auxiliary Ant file build-proguard since that is more indicative of its purpose in life.
Michael Bayne
2010-09-21 06:41:18 +00:00
98442b4a86
Nix ancient runjava script, modified differ to use Proguarded jar, added patcher script just for kicks.
Michael Bayne
2010-09-21 06:40:46 +00:00
355832d152
Keep the entry points to these other tools as well.
Michael Bayne
2010-09-21 06:40:03 +00:00
4de928424e
Trimmed the readme and added build instructions.
Michael Bayne
2010-09-21 06:35:16 +00:00
646dc2bdf0
More javadoc fixes.
Michael Bayne
2010-09-21 06:17:47 +00:00
31b77bcdbe
GetdownApp is the correct entry-point for the application.
Michael Bayne
2010-09-21 06:12:33 +00:00
ac3fd45c8a
Javadoc improvements.
Michael Bayne
2010-09-21 06:12:19 +00:00
90301057f6
[maven-release-plugin] prepare for next development iteration
Michael Bayne
2010-09-21 06:01:58 +00:00
bf0470b81a
[maven-release-plugin] prepare release getdown-1.0
Michael Bayne
2010-09-21 06:01:48 +00:00
3b6092c3d0
I think these were supposed to be reverted ages ago.
Michael Bayne
2010-09-21 05:46:37 +00:00
de1eb29569
Looks like apps just use LaunchUtil, so we'll just keep the public interface to that ship-shape.
Michael Bayne
2010-09-21 05:43:12 +00:00
c3c9c66290
This should be with the previous commit which has a lovely blank commit message.
Michael Bayne
2010-09-21 05:41:56 +00:00
95857ec608
Let's
Michael Bayne
2010-09-21 05:38:24 +00:00
724ee652f1
Praise be to Ivy, which lets me do what I need without tremendous amounts of hair-pulling and ball-ache. We now have Maven call out to an Ivy-based Ant task to do the Proguard build (with Ivy maintaining a parallel copy of the dependencies, unfortunately). It's a twisty maze of passages, but it gets the Proguard build done during the right Maven phase so that all of its magical building, version number changing, SVN commits, etc. can happen as usual during the publishing process.
Michael Bayne
2010-09-21 05:26:00 +00:00
f6a03dd99f
A bastard combination of Maven and Ivy that will hopefully eventually allow us to build and publish Getdown. Everything builds with Maven, but getting Proguard to work inside Maven is an exercise in gouge-my-eyes-out-now, so I'll be doing the Proguard bits in a separate Ant script which will use Ivy to obtain dependencies sanely. This too is rife with PITA, but less so than doing everything in Maven. Ivy bits don't yet work.
Michael Bayne
2010-09-21 00:45:35 +00:00
5fa9c80220
No more Snark.
Michael Bayne
2010-09-21 00:44:18 +00:00
bdec128b6c
The aforementioned shared constants.
Michael Bayne
2010-09-20 18:44:41 +00:00
487c594e06
Factor shared constants back out.
Michael Bayne
2010-09-20 18:44:29 +00:00