Commit Graph

807 Commits

Author SHA1 Message Date
Michael Bayne b8bffc2b9c Merge pull request #34 from noblemaster/master
Bugfix: for apps using -direct mode
2016-01-12 14:11:30 -08:00
Christoph Aschwanden df5e2e72d2 Bugfixes: will (a) prevent an app from closing in direct-mode & (b) force close the download window (doesn't go away if there is nothing to download). 2016-01-11 00:54:49 +09:00
Michael Bayne 47ee7c99bb Wasn't processing app args in invokeDirect.
Oh how I'd like to clean all that up, but sleeping dogs, etc.
2015-12-18 11:33:03 -08:00
Michael Bayne 6cb400ee2a Report useful bits to launcher.log when invoking direct. 2015-12-18 11:10:50 -08:00
Michael Bayne 408defd0d0 Must set the thread context classloader when invoking direct. 2015-12-18 11:06:30 -08:00
Michael Bayne 5f373cd4db Merge pull request #33 from xylo/master
added support for https proxies
2015-12-16 10:55:00 -08:00
Stefan Endrullis 28cad72291 added support for https proxies 2015-12-16 13:27:55 +01:00
Michael Bayne 256b048fce Support app_id-prefixed jvmarg parameters.
This makes sense given that we already support app_id-prefixed apparg
parameters, and one might want to configure the JVM specially for different
apps from the same installation.

Note: unlike apparg, app_id-prefixed jvmargs are appended to un-prefixed
jvmargs rather than replacing them. I think this makes sense because you
probably want to specify standard JVM args and then maybe tweak a thing or two
for your other app. This is also backward compatible which is usually a good
thing. It does mean that it's harder to "undo" a jvmarg set for your "default"
app, in such cases you'd probably have to not have a default app and instead
identify all of your apps with app_ids.
2015-11-29 16:58:14 -08:00
Michael Bayne 197d3e6620 Factor out addAll(String[], List<String>). 2015-11-29 16:57:35 -08:00
Michael Bayne 942d55a18b Disable Javadoc warnings about @param & @return. 2015-10-06 13:58:50 -07:00
Michael Bayne 5efc57f603 Reference new 1.5 release. 2015-10-06 13:58:44 -07:00
Michael Bayne c931fd071b [maven-release-plugin] prepare for next development iteration 2015-10-06 13:56:58 -07:00
Michael Bayne 958beb3b8d [maven-release-plugin] prepare release getdown-1.5 2015-10-06 13:56:54 -07:00
Michael Bayne 2baf101e9d Add Sonatype plugin to make release easier. 2015-10-06 13:55:49 -07:00
Michael Bayne bf6ac3ea9e No one uses JDK 1.6 on Mac anymore. 2015-10-06 13:54:54 -07:00
Michael Bayne 9230068de7 Update plugin versions.
Also added Maven version prereq, which I guess is a good thing to do.
2015-10-06 13:53:57 -07:00
Michael Bayne 2f78de7b76 Update Travis bits. 2015-10-06 13:50:43 -07:00
Michael Bayne 1edc4e2b6f Some drive-by tidying while reviewing. 2015-10-06 13:49:00 -07:00
neher e8e4a151df Added option to hide progress text with ui.hide_progress_text 2015-10-06 21:18:41 +02:00
Michael Bayne 947e45ef05 Tidying. 2015-10-02 09:50:06 -07:00
Réda Housni Alaoui 8076999d68 #23 Digest computation on packed 200 jars should only consider jar content 2015-09-15 15:55:51 +02:00
Michael Bayne c38ddc2305 Some tidying and commenting. 2015-08-22 12:37:05 -07:00
Michael Bayne 4edcdce102 Merge branch 'pack-200' of git://github.com/Cosium/getdown 2015-08-22 12:21:39 -07:00
Réda Housni Alaoui 1b900dc2d0 https://github.com/threerings/getdown/issues/14 Add support for pack200 2015-08-22 19:00:27 +02:00
Michael Bayne 893a5d8c3b Wrapped long lines, fixed some UTF8 glyphs.
I wish we could just keep these files in UTF8 and have the accented characters
displayed directly.
2015-08-11 07:39:47 -07:00
Michael Bayne 862d3a7de6 Merge pull request #21 from Cosium/issue-18
Correct french translation
2015-08-11 07:35:30 -07:00
Réda Housni Alaoui 2ea7df0d4a https://github.com/threerings/getdown/issues/18 Correct french translation 2015-08-05 00:01:16 +02:00
Michael Bayne 9fc06c1fcb Remove Eclipse metafile ignores.
IDE users should ignore metafiles for their preferred IDE once in their own
global .gitignore instead of burdening every project in the Universe with
ignore directives.

Create ~/.gitconfig, add to it:

[core]
  excludesfile = ~/.gitignore

Create ~/.gitignore, add to it:

/.classpath
/.project
/.settings/
2015-06-23 07:17:22 -07:00
Michael Bayne 7a10d9a786 A bit of tidying here and there. 2015-06-23 07:14:28 -07:00
Michael Bayne 3933fee89c We still need to close fout here. 2015-06-23 07:13:49 -07:00
Stephen Neal effee62d26 Restore parent version on default branch 2015-06-23 13:59:42 +09:30
Stephen Neal b799ca8cd6 Merge pull request #2 from stephenneal/dev
Clean up; close streams, readers (potential memory leaks)
2015-06-23 13:50:57 +09:30
Stephen Neal 1fa262cd49 Clean up; close streams, readers (potential memory leaks) 2015-06-23 13:47:27 +09:30
Stephen Neal 4b080c70f2 Merge pull request #1 from stephenneal/dev
Merge dev to master
2015-06-23 11:14:00 +09:30
Stephen Neal ae26c43a31 Cleanup unused imports 2015-06-23 11:10:15 +09:30
Stephen Neal 15379722e8 Change version to minor iteration (to avoid clash with parent) and ignore Eclipse project files 2015-06-22 13:28:11 +09:30
Michael Bayne c9ccb4aee0 Some tidying.
We don't like tabs, we don't like spurious blank lines, we don't like butter,
we don't like cheese.
2015-06-01 17:23:40 -07:00
phildin 3c32a119e8 Added option to hide decorations with ui.hide_decorations 2015-04-09 17:50:57 +01:00
Michael Bayne 2225ae6e97 Parse and check the version of an unpacked JVM.
This relies on the existence of a 'release' file in the top-level of the
unpacked JVM. If no 'release' file exists (or it can't be read) then we fall
back to the old behavior which is to assume that an unpacked JVM meets the
app's version requirements.

This also assumes that the java_version_regex configured for the app is capable
of parsing the version string in the release file. The release file appears to
contain a string that matches the system property 'java.version', so if you are
doing version shenanigans and using 'java.runtime.version', you need to do one
of two things:

1. Make sure your regexp can handle missing bits and that the lack of said bits
doesn't hose your version checks. For example, if you need 1.8.0_42-b15 and
your version regexp turns that into 108004215, but the release file just
contains 1.8.0_42 which your version regexp turns into 108004200, then you're
going to have a problem. But if your minimum version is some previous patch
release (say 1.8.0_25-b32) and the custom JVM you ship is 1.8.0_42, then you'll
be OK because 108004200 > 108002532.

2. Create your own 'release' file in your custom packaged JVM (or modify the
existing one) which contains a line with the following syntax:

JAVA_VERSION="VVV"

where VVV is the full version string that your regexp expects. It will be
extracted and parsed with your regexp, and everything will be peachy.
2015-03-18 10:08:59 -07:00
Michael Bayne 8d0455a03c Emit some debug info when checking Java version. 2015-03-18 09:12:37 -07:00
Michael Bayne b3f71b7514 Build with JDK8 as well. 2015-03-14 10:12:42 -07:00
Michael Bayne ee4c0016d8 Allow config of sysprop used to get Java version.
For example:

java_version_prop = java.runtime.version
java_version_regex = (\d+)\.(\d+)\.(\d+)(_\d+)?(-b\d+)?

Note: double backslashes are not needed in getdown.txt.
2015-02-16 10:51:39 -08:00
Michael Bayne f27e276732 Back to 1.5-SNAPSHOT. 2015-02-16 10:50:32 -08:00
Michael Bayne 985f2baaa1 Prepare for more flexible Java version parsing.
This preserves existing functionality, but accomplishes it with a general
purpose method that can parse any Java version string, given a regular
expression that matches all the number parts (which have to be in most to least
significant order).
2015-02-16 10:45:08 -08:00
Michael Bayne 8e446d96e4 Whitespace tweaks. 2015-02-16 09:46:46 -08:00
Michael Bayne 382bb2cd5b Parse java_max_version down by java_min_version. 2015-02-16 08:34:54 -08:00
Mark Johnson b849d0052d Preparing for getdown-1.4.1 release. 2014-12-04 15:12:57 -08:00
Mark Johnson 7b215a0b2d Fix the getdown manifest for maven builds.
We have an ant build.xml and a maven pom.xml.  At some point I guess the
build switched to maven, which didn't have the special manifest to use
for the jar to work around all the Java permission changes.  If you want
getdown to work with the latest Java, you will need to use this update.
2014-12-04 15:02:44 -08:00
Jamie Doornbos 0dfd443a80 Revert "Temporary maven exec to debug java.home on jenkins."
Oops, that was supposed to go into my fork. So much for keeping the historty on the main
project clean.

This reverts commit e628f64e9a.
2014-11-17 09:55:02 -08:00
Jamie Doornbos e628f64e9a Temporary maven exec to debug java.home on jenkins. 2014-11-17 09:53:47 -08:00