Commit Graph

935 Commits

Author SHA1 Message Date
Michael Bayne 55c544c68b Certs are out of date on Oracle 9, let's try 11. 2020-01-06 14:30:11 -08:00
Michael Bayne 78bcc59312 Use JDK 9, which now works.
It's also helpfully supported by Travis, which JDK 8 no longer is.
2020-01-06 14:23:51 -08:00
Michael Bayne bb995508d9 Added support for adding arbitrary classpath entries. 2020-01-06 14:14:52 -08:00
Michael Bayne 0c8a29deb0 Upgrade Proguard to work with Java >8. 2020-01-06 13:38:31 -08:00
Michael Bayne 5c38682f30 Upgrade Mockito to work with Java >8. 2020-01-06 13:38:22 -08:00
Michael Bayne 3d62949fe7 Fix indentation. No tabs. 2019-07-02 08:10:08 -07:00
Michael Bayne 66c037feed Merge pull request #229 from pb00068/noEngineAvailable
No engine available
2019-07-02 08:07:11 -07:00
Michael Bayne a212a1e7a5 Merge pull request #232 from neuweiler/master
replace "MISSING:" with "MISSING-" to avoid MalformedUrlException
2019-07-02 08:05:52 -07:00
e507802 024d84ac2a replace "MISSING:" with "MISSING-" to avoid MalformedUrlException when digesting/diffing app with undefined variables (during build time) in appbase/latest. 2019-07-02 14:00:00 +02:00
Guenther Demetz 338b5a66ef fix catch 2019-06-06 10:39:14 +02:00
Guenther Demetz 305fc314ab Merge branch 'master' into noEngineAvailable 2019-06-06 10:28:10 +02:00
Guenther Demetz fbc383d942 Avoid launcher abort due missing engine 2019-06-06 10:26:19 +02:00
Michael Bayne e7818030a7 Behave more gracefully when patch files do not exist.
It is possible to use versioned mode without patch files, though there's no way
to specifically tell Getdown whether or not you are using patch files, so it
always tries to download them. If they don't exist, it should now log one
reasonable warning and then proceed to update based on resource hashes.
2019-06-05 16:09:51 -07:00
Michael Bayne 157b12dbfa Oops, forgot to hook up myIpAddress(). 2019-06-05 15:45:03 -07:00
Michael Bayne e376dff945 Reinstate env var substitution in appbase.
Also added tests for base init of Application & versioned appbase creation.
2019-06-05 12:24:50 -07:00
Michael Bayne 5cb2613e3b [maven-release-plugin] prepare for next development iteration 2019-06-04 15:25:43 -07:00
Michael Bayne 6283b60776 [maven-release-plugin] prepare release getdown-1.8.6 2019-06-04 15:25:33 -07:00
Michael Bayne fead7c208e Prep for 1.8.6 release. 2019-06-04 15:23:59 -07:00
Michael Bayne b7ce500353 Merge pull request #226 from sergiorussia/patch-1
revert processArg for appbase
2019-06-04 15:23:07 -07:00
Sergey V 03997b20b9 revert processArg for appbase
that change broke versioned app update entirely. pls publish new getdown asap
2019-06-05 00:37:59 +03:00
Michael Bayne ce76832835 Add myIpAddress() to PAC proxy environment.
Also fixed issue with dnsResolve() in same.
2019-05-31 09:53:12 -07:00
Michael Bayne 85c4a0ddc1 Some comment fixes. 2019-05-31 09:48:30 -07:00
Michael Bayne e0c27b4e55 Merge pull request #225 from pb00068/fixDetectProxy
autoDetectProxy needs initialized configuration
2019-05-31 09:47:18 -07:00
Guenther Demetz bc889e67fd autoDetectProxy needs initialized configuration 2019-05-31 10:47:01 +02:00
Michael Bayne b5377ca66b Use a debug system property to control debugging.
When set, it disables stdout/stderr redirection and uses java.exe on Windows so
that a console window is shown with output from the launched app.

This removes the use of a debug.txt file.
2019-05-29 14:09:17 -07:00
Michael Bayne 7f305df410 Configure gpg plugin version in pluginManagement.
Maven is not using the 1.6 version of the GPG plugin for some reason, even
though the place where the plugin is triggered explicitly specified that
version. Maybe this new set of chicken sacrifices will cause Maven to do the
right thing.
2019-05-29 12:16:57 -07:00
Michael Bayne a0bdfb1ca9 [maven-release-plugin] prepare for next development iteration 2019-05-29 12:12:06 -07:00
Michael Bayne 45350e1842 [maven-release-plugin] prepare release getdown-1.8.5 2019-05-29 12:11:57 -07:00
Michael Bayne 9a0537a6f9 Fix javadoc error. 2019-05-29 12:10:59 -07:00
Michael Bayne 9d85d90244 Remove -html5 option.
I forgot that when I do a Maven release, I have to use a 1.8 JVM because
various plugins and things choke and die when run on Java 9 or newer. Sigh.
2019-05-29 12:08:42 -07:00
Michael Bayne 1aec25b11c Move javadoc plugin to plugins instead of pluginManagement.
For some incomprehensible reason, Maven is not using the config for
maven-javadoc-plugin when I put it in pluginManagement (it reverts to version
2.7). But it does use the updated config for the maven-compiler-plugin and the
maven-resources-plugin. And even more bizarrely, it does use the
maven-javadoc-plugin config in plugin for all submodules even though the *whole
point* of the pluginManagement section is for config that applies to all
submodules. The plugin section *should not* apply to all submodules.

Even after all these years, Maven can still surprise me with new failures
stemming from its legion of unfortunate design decisions.
2019-05-29 12:04:26 -07:00
Michael Bayne b8aa1dea7c Nix vestigial javadoc param. 2019-05-29 11:50:14 -07:00
Michael Bayne e855d2ca1d Update javadoc plugin. 2019-05-29 11:50:08 -07:00
Michael Bayne b308a35211 Prepare for 1.8.5 release. 2019-05-29 11:41:57 -07:00
Michael Bayne 9d6088ab80 Added revalidate_policy config.
This allows resources to be validated prior to every app launch instead of just
after update.

Also fixed some erroneous logging.
2019-05-29 11:40:36 -07:00
Michael Bayne a4cef568b1 Use correct file name for local excludes. 2019-05-29 11:04:06 -07:00
Michael Bayne 87d99eb0d7 Revert addition of IDE file ignores.
Added a note to (hopefully) avoid this issue in the future.
2019-05-29 11:03:14 -07:00
Michael Bayne c4529bd42d Merge pull request #224 from neuweiler/master
fix regression of PR 221: extract version before replacing variables
2019-05-29 11:01:14 -07:00
Michael Bayne a706936bce Oops, use valid URL for PAC proxy detection. 2019-05-29 10:59:54 -07:00
Michael Bayne ddb91ee4c5 Merge pull request #223 from sergiorussia/feature/updated-ru-translation
added more missing translations for russian
2019-05-29 10:55:26 -07:00
e507802 4a63a0262c make IT text files for IT tests checkout with correct line endings on windows (to create correct hash in DigestIT.java)
also hide project files of a modern IDE ;)
2019-05-29 16:03:56 +02:00
e507802 bf0f0deecb fix regression from PR #221
when bootstrapping into an empty directory with -Dappbase parameter, the version must be read first from the configuration in order to create a valid appbase after re-reading the just downloaded getdown.txt (in verisoned mode)
2019-05-29 15:49:37 +02:00
e507802 ad32699ca3 Merge branch 'master' of https://github.com/threerings/getdown
# Conflicts:
#	core/src/main/java/com/threerings/getdown/data/Application.java
2019-05-29 15:44:29 +02:00
e507802 b18f96c1d6 fix regression from PR #221
when bootstrapping into empty directory with -Dappbase=... the version from the fetched getdown.txt must be extracted before calling processArg(SysProps.overrideAppbase(_appbase)) - otherwise _version is -1 instead of the version provided in the just downloaded getdown.txt.
2019-05-29 15:31:45 +02:00
sergiorussia 8ad174124a added more missing translations for russian 2019-05-29 10:29:59 +03:00
Michael Bayne 0a4bfe65c4 Proxy handling now detects need for updated credentials.
This revamps the way proxy handling is done to allow us to just proceed as
normal, and then if we get HTTP errors that indicate that we need a proxy or
need proxy credentials, we ask for them and then retry everything.

We still try to auto-detect the need for a proxy on our very first invocation
because on the first invocation, a failure to fetch a URL may well indicate
that a proxy is needed, but that same assumption does not hold on subsequent
invocations. In those later cases, it's probably just a transient network
failure and it would be weird and annoying to pop up the "please provide proxy
config" dialog in those cases.

Thanks pb00068 for getting this ball rolling, even though once again I have
nearly entirely rewritten the PR. I need to kick that habit. :)
2019-05-28 23:27:44 -07:00
Michael Bayne e337ccb743 Added note about new PAC support. 2019-05-28 16:30:29 -07:00
Michael Bayne 62e68af245 Merge pull request #222 from sergiorussia/feature/code-cleanup
code cleanup
2019-05-28 16:26:44 -07:00
Michael Bayne f087863098 Merge branch 'master' into feature/code-cleanup 2019-05-28 16:16:21 -07:00
Michael Bayne 6af6081648 Support PAC proxies.
What a horrible wart lingering from the early days of the Internet. Note to
future designers: please do not express configuration using a Turing complete
language.

Thanks jenriq for getting the ball rolling on this.

Closes #196.
2019-05-28 16:04:42 -07:00