Michael Bayne
a884284cf3
Apparently prereqs are not for regular projects.
...
I was misled by the check upgrade plugin which complained about a lack
of prereqs.
2017-04-23 07:08:15 -07:00
Michael Bayne
e66b8fc2eb
Fix error parsing code_cache_retention_days.
...
Fixes #82 .
2017-04-10 14:03:01 -07:00
Michael Bayne
9e23a426a6
Fix backward logic re: use of code cache.
2017-02-22 08:45:20 -08:00
Michael Bayne
4ac9990785
Apparently jspawnhelper moved.
2017-02-14 11:01:44 -08:00
Michael Bayne
1f0897dacc
Reference 1.6.2 release.
2017-02-12 09:24:25 -08:00
Michael Bayne
0eaf144a1d
[maven-release-plugin] prepare for next development iteration
2017-02-12 09:23:07 -08:00
Michael Bayne
c45588e2ac
[maven-release-plugin] prepare release getdown-1.6.2
2017-02-12 09:22:58 -08:00
Michael Bayne
e60b95cf2d
Install the local JVM resource before unpacking.
...
Fixes #78 .
2017-02-12 09:20:58 -08:00
Michael Bayne
0b5c82a116
Get the absolute path to a local VM to avoid CWD problems.
2017-02-12 09:20:22 -08:00
Michael Bayne
1da36ace83
Added override_appbase system property.
...
This can be used to completely override the appbase via the installer in
situations where you want to build a deployment once, but then potentially
serve it from some other webserver.
2017-02-12 08:47:57 -08:00
Michael Bayne
977b6de7b4
Reference 1.6.1 build.
2017-02-12 07:52:54 -08:00
Michael Bayne
9fe6ff9472
[maven-release-plugin] prepare for next development iteration
2017-02-12 07:47:44 -08:00
Michael Bayne
c3de781075
[maven-release-plugin] prepare release getdown-1.6.1
2017-02-12 07:47:37 -08:00
Michael Bayne
8a36b101bb
Fix javadoc error.
2017-02-12 07:46:51 -08:00
Michael Bayne
84af080b0d
Encode paths for download more robustly.
2017-02-12 07:38:30 -08:00
Michael Bayne
a5ad6edf3c
Bias pair parsing toward key in digest.txt.
...
In that file we have:
filename = hex_encoded_hash
The hex_encoded_hash will never contain = but the filename could
conceivably contain =, so for that file we split on the last = instead
of the first.
Everywhere else we continue to split on the first = because that makes
more sense.
2017-02-02 19:24:16 -08:00
Michael Bayne
173986c8be
Only ignore things created by this project's standard build.
...
If you use an IDE that generates random cruft in the project directory,
create your own global .gitignore:
http://stackoverflow.com/questions/7335420/global-git-ignore
2016-12-22 08:13:46 -08:00
Michael Bayne
1b5e4aae11
Merge pull request #76 from Artelys/master
...
bugfix for ProgressAggregator
2016-12-22 08:13:30 -08:00
Paul-Yves Lucas
b1c41b5e70
Merge remote-tracking branch 'artelysGithub/master'
2016-12-06 14:16:22 +01:00
Paul-Yves Lucas
256e0933aa
correcting bug in progressaggregator where progress event updated the _sizes array instead of globabl _progress array (progressbar now progress more fluidly)
2016-12-06 14:09:30 +01:00
Michael Bayne
1053a11c46
Mark jspawnhelper as executable.
...
Closes #74 .
2016-11-11 07:57:36 -08:00
Paul-Yves Lucas
a1a7f416ff
Merge remote-tracking branch 'origin/master'
2016-11-10 09:59:47 +01:00
Michael Bayne
e9d07f3055
Reference new 1.6 release.
2016-11-05 07:31:47 -07:00
Michael Bayne
f2e600fdf2
[maven-release-plugin] prepare for next development iteration
2016-11-05 07:08:16 -07:00
Michael Bayne
9c528f89c0
[maven-release-plugin] prepare release getdown-1.6
2016-11-05 07:08:11 -07:00
Michael Bayne
d802d2e296
Fix Javadoc.
2016-11-05 07:07:08 -07:00
Michael Bayne
41c59d7e1b
Upgrade signing algorithm & digest algo.
...
Since we're upping the protocol version, we can do all this too at the
same time. So v2 digest will use SHA256, sign using SHA256withRSA and
will include the contents of META-INF in the digests. Upgrades++!
This also includes the code from pull request #73 to allow a .crt file
to be included with the app to allow for signature verification of
standalone apps (we already did this for applets via the applet
parameters).
2016-11-04 19:38:39 -07:00
Michael Bayne
d75d5a7a69
Create a separate digest.txt file for each "protocol version".
...
Right now there's only two versions of the digester protocol, so I just
always generate both of them. If we evolve the protocol further, we
could conceivably allow you to specify a "minimum" protocol version,
once you were confident that all of your clients had upgraded to a
version of Getdown that used that minimum version.
2016-11-04 18:51:17 -07:00
Michael Bayne
7c651fbd73
Tidy up new resources stuff a bit.
...
The one major change here is that Getdown.isUpdateAvailable/install()
are no longer static.
GetdownApp has a start() method that you can call if you want to get the
Getdown reference back. You can call isUpdateAvailable() on that. It was
super weird that you would call GetdownApp.main() and then just call
some static methods after that.
2016-11-04 17:45:51 -07:00
Michael Bayne
345f64d62d
Merge pull request #60 from runiter/master
...
Avoid corrupted resources when download is interrupted
2016-11-04 16:54:26 -07:00
Michael Bayne
fc9b6d3c89
Include the META-INF files in the digest.
...
We used to ignore them for some reason but I think that whatever
benefits that yielded have long been overshadowed by detriments.
2016-11-04 16:41:37 -07:00
Saeid Nourian
51a34e4ccc
Merge branch 'master' of https://github.com/threerings/getdown.git
2016-10-11 15:59:14 -04:00
Saeid Nourian
d7ec0f05e9
Allow checking to see if update is downloaded and ready for install
2016-10-11 15:47:23 -04:00
Michael Bayne
ba5b31300e
Demote verbose logging to debug.
2016-09-25 10:47:08 -07:00
Michael Bayne
10c43a6252
Format tweaks.
2016-09-25 10:47:08 -07:00
Michael Bayne
ea316ef29f
Merge pull request #71 from thokuest/fix_messages_typo
...
fixed typos and german translations
2016-09-25 10:46:50 -07:00
Michael Bayne
51dd1bf30e
Merge pull request #70 from thokuest/use_junit_assert
...
Use JUnit Assert instead of the Java keyword
2016-09-25 10:44:24 -07:00
Michael Bayne
49a7e28216
Undid style changes, reduced OO boilerplate.
2016-09-25 10:42:48 -07:00
Michael Bayne
0388c590cb
Merge pull request #69 from thokuest/launch_from_cache
...
A code cache to support multiple app instances
2016-09-25 09:30:26 -07:00
Thomas Küstermann
7f7ac709a6
fixed a bunch of typos and german translations
2016-09-20 15:04:26 +02:00
Thomas Küstermann
fda9e2b1e9
Use JUnit assert instead of the java keyword
2016-09-20 14:40:44 +02:00
Thomas Küstermann
33dafbaa4a
completely get rid of the "sleep"
2016-09-20 14:31:22 +02:00
Thomas Küstermann
310be0e326
further increased the time to wait before proceeding with the test
2016-09-20 14:20:07 +02:00
Thomas Küstermann
5690570f93
increase the "sleep time"
2016-09-20 13:50:52 +02:00
Thomas Küstermann
0a34632c0a
Issue #64 introduced a code cache to support multiple app instances
...
Whenever 'use_code_cache' is set to 'true' the application's code
resources are copied to a cache directory prior to launching the
application. This is done in order to support multiple open application
instances of different versions.
2016-09-20 13:22:19 +02:00
Michael Bayne
e1c59ab6d0
Nix unused import.
2016-09-11 13:14:34 -07:00
Michael Bayne
c914823d21
Merge pull request #65 from thokuest/target_java6
...
Change build source and target to Java 6
2016-09-11 12:42:56 -07:00
Michael Bayne
4fe57ead00
Fix license confusion.
...
We relicensed as New BSD a long time ago, so the POM should reflect
that.
Also fixed the authors referenced in the LICENSE file.
Closes #66
2016-09-11 12:40:14 -07:00
Thomas Küstermann
282aac0a6f
Added "Trusted-Library" manifest attribute
...
The "Trusted-Library" manifest attribute is required for Applets and
Java Web Start. Otherwise classes from the Getdown package might be
silently ignored (ClassNotFoundException).
2016-09-09 17:53:53 +02:00
Thomas Küstermann
4fad760399
Compiler to use Java 6 as source and target
...
As the sources cannot be compiled with Java 5 the compliance level has
been changed to Java 6.
2016-09-09 12:29:11 +02:00