🛠 Fixed issues with PAC proxy support: added
dnsResolve(), fixed crash when detecting PAC proxy.
⏪ Reverted env var support in
appbaseproperty. It's causing problems that need to be investigated.
🛠 Fixed issues with proxy information not getting properly passed through to app. Via [#216](//github.com/threerings/getdown/pull/216).
getdown.txtnow process env var subtitutions.
➕ Added support for Proxy Auto-config via PAC files.
Proxy handling can now recover from credentials going out of date. It will detect the error and ask for updated credentials.
try_no_proxysystem property. This instructs Getdown to always first try to run without a proxy, regardless of whether it has been configured to use a proxy in the past. And if it can run without a proxy, it does so for that session, but retains the proxy config for future sessions in which the proxy may again be needed.
revalidate_policyconfig to control when Getdown revalidates resources (by hashing them and comparing that hash to the values in
digest.txt). The default,
after_update, only validates resources after the app is updated. A new mode,
always, validates resources prior to every application launch.
verify_timeoutconfig to allow customization of the default (60 second) timeout during the resource verification process. Apparently in some pathological situations, this is needed. Woe betide the users who have to stare at an unmoving progress bar for more than 60 seconds. Via [#198](//github.com/threerings/getdown/pull/198) and [901682d](//github.com/threerings/getdown/commit/901682d).
java_local_dirconfig to allow custom location for Java if
java_locationis specified. Via [#206](//github.com/threerings/getdown/pull/206).
messages_XX.propertiesfiles are now all maintained in UTF-8 encoding and then converted to escaped ISO-8859-1 during the build process.
👍 Resources and unpacked resources now support
.zipfiles as well as
.jarfiles. Via [#210](//github.com/threerings/getdown/pull/210).
🛠 Fixed issue when path to JVM contained spaces. Via [#214](//github.com/threerings/getdown/pull/214).
➕ Added support for
nresourceresources which must be jar files that contain native libraries. Prior to launching the application, these resources will be unpacked and their contents added to the
⚡️ When the app is updated to require a new version of the JVM, that JVM will be downloaded and used immediately during that app invocation (instead of one invocation later). Via [#169](//github.com/threerings/getdown/pull/169).
When a custom JVM is installed, old JVM files will be deleted prior to unpacking the new JVM. Via [#170](//github.com/threerings/getdown/pull/170).
0️⃣ Number of concurrent downloads now defaults to num-cores minus one. Though downloads are I/O bound rather than CPU bound, this still turns out to be a decent default.
Avoid checking for proxy config if
https.proxyHostis set. This matches existing behavior when
➕ Added support for proxy authentication. A deployment must also use the
com.threerings.getdown.spi.ProxyAuthservice provider interface to persist the proxy credentials supplied by the user. Otherwise they will be requested every time Getdown runs, which is not a viable user experience.
The Getdown window can be now closed by pressing the
ESCkey. Via [#191](//github.com/threerings/getdown/pull/191).
💻 If no
appdiris specified via the command line or system property, the current working directory will be used as the
appdir. Via [8d59367](//github.com/threerings/getdown/commit/8d59367)
🌐 A basic Russian translation has been added. Thanks [@sergiorussia](//github.com/sergiorussia)!
- 🛠 Fixed a data corruption bug introduced at last minute into 1.8.1 release. Oops.
If both an
appdirare provided via some means (bootstrap properties file, system property, etc.) and the app dir does not yet exist, Getdown will create it.
getdown.txt. Controls what you would expect. Defaults to two.
bootstrap.propertiescan now contain system properties which will be set prior to running Getdown. They must be prefixed by
sys.: for example
sys.silent = truewill set the
silentsystem property to
💻 If Getdown is run in a headless JVM, it will avoid showing a UI but will attempt to install and launch the application anyhow. Note that passing
-Dsilentwill override this behavior (because in silent mode the default is only to install the app, not also launch it).
🛠 Fixed issue with
appidnot being properly used when specified via command line arg.
🛠 Fixed issue with running Getdown on single CPU systems (or virtual systems). It was attempting to create a thread pool of size zero, which failed.
🛠 Fixed issue with backslashes (or other regular expression escape characters) in environment variables being substituted into app arguments.
Added support for manually specifying the thread pool size via
-Dthread_pool_size. Also reduced the default thread pool size to
➕ Added support for bundling a
bootstrap.propertiesfile with the Getdown jar file, which can specify defaults for
➕ Added support for a host URL whitelist. Getdown can be custom built to refuse to operate with any URL that does not match the built-time-specified whitelist. See
✂ Removed the obsolete support for running Getdown in a signed applet. Applets are no longer supported by any widely used browser.
👀 Split the project into multiple Maven modules. See the notes on [migrating from 1.7 to 1.8] for details.
🔒 A wide variety of small cleanups resulting from a security review generously performed by a prospective user. This includes various uses of deterministic locales and encodings instead of the platform default locale/encoding, in cases where platform/locale-specific behavior is not desired or needed.
Made use of
appidfall back to main app class if no
appid-specific class is specified.
➕ Added support for marking resources as executable (via
🛠 Fixed issue where entire tracking URL was being URL encoded.
🔄 Changed translations to avoid the use of the term 'game'. Use 'app' instead.
Made it possible to use
🛠 Fixed issue with undecorated splash window being unclosable if failures happen early in initialization process. (#57)
➕ Added support for transparent splash window. (#92)
🛠 Fixed problem with unpacked code resources (
🔄 Changed default Java version regex to support new Java 9+ version formats. (#93)
Ensure correct signature algorithm is used for each version of digest files. (#91)
👉 Use more robust delete in all cases where Getdown needs to delete files. This should fix issues with lingering files on Windows (where sometimes delete fails spuriously).
🛠 Fixed issue with
Digesterthread pool not being shutdown. (#89)
🛠 Fixed resource unpacking, which was broken by earlier change introducing resource installation (downloading to
_newfiles and then renaming into place). (#88)
The connect and read timeouts specified by system properties are now used for all the various connections made by Getdown.
⏱ Proxy detection now uses a 5 second connect/read timeout, to avoid stalling for a long time in certain problematic network conditions.
✅ Getdown is now built against JDK 1.7 and requires JDK 1.7 (or newer) to run. Use the latest Getdown 1.6.x release if you need to support Java 1.6.
digest2.txt) computation now uses parallel jobs. Each resource to be verified is a single job and the jobs are doled out to a thread pool with #CPUs threads. This allows large builds to proceed faster as most dev machines have more than one core.
Resource verification is now performed in parallel (similar to the
digest.txtcomputation, each resource is a job farmed out to a thread pool). For large installations on multi-core machines, this speeds up the verification phase of an installation or update.
0️⃣ Socket reads now have a 30 second default timeout. This can be changed by passing
-Dread_timeout=N(where N is seconds) to the JVM running Getdown.
🛠 Fixed issue with failing to install a downloaded and validated
➕ Added support for "strict comments". In this mode, Getdown only treats
#as starting a comment if it appears in column zero. This allows
#to occur on the right hand side of configuration values (like in file names). To enable, put
strict_comments = truein your