Commit Graph

640 Commits

Author SHA1 Message Date
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
Jamie Doornbos c2ed749698 Profile to deploy to a local place. 2014-11-14 15:31:07 -08:00
Jamie Doornbos aafaf45b78 Move eclipse hacks to reduce deploy warnings. 2014-11-14 15:30:54 -08:00
Jamie Doornbos 1408ef8dbd Rearrange maven tags a little. 2014-11-14 15:30:29 -08:00
Michael Bayne 04c78a00ef [maven-release-plugin] prepare for next development iteration 2014-11-14 08:46:25 -08:00
Michael Bayne fd963bb42a [maven-release-plugin] prepare release getdown-1.4 2014-11-14 08:46:21 -08:00
Michael Bayne 4c36b312e2 Fix some Javadoc errors. 2014-11-14 08:45:27 -08:00
Michael Bayne 17c14c7cea Bump README to 1.4 jar. 2014-11-14 08:43:14 -08:00
Michael Bayne b099564955 Bump Proguard versions.
Proguard 5.x finally supports Java 8. We don't compile Getdown to Java 8
bytecode, but Progaurd has to grok the stdlib of the JVM being used to run
Proguard, which previously meant that we couldn't compile Getdown with a Java 8
JVM, which was annoying. Now we can. Yay!
2014-11-14 08:39:47 -08:00
Michael Bayne 00f0212673 Upgrade Maven compiler plugin. 2014-11-14 08:35:55 -08:00
Michael Bayne a08a2999aa Brazilian Portuguese from brevleq. 2014-11-14 08:33:19 -08:00
Jamie Doornbos f682d7e513 Allow resources with spaces in the path.
This is in order to include a file output by unity that we have no control over.
2014-10-15 10:40:37 -07:00
noir2k 1b0cbea770 Localization messege.property for Korean language 2014-07-14 14:50:27 +09:00
Michael Bayne 9f40fadeff Better error reporting on no getdown.txt. 2014-07-07 07:52:02 -07:00
Michael Bayne df4eabbf09 Don't choke on proxy detection if allow_offline = true.
This unfortunately relies on _app.init() happening *inside* detect proxy in the
particular code path that results in failed proxy detection. I wish app.init
wasn't such a twisty maze of spaghetti, but that ship has long since sailed.
2014-04-09 07:15:47 -07:00
Michael Bayne 6134d3a967 Beans/frank. 2014-03-26 13:37:50 -07:00
David Hoover 6f679ddbde Revert "Ant build's been deprecated for ages."
This reverts commit 12f7b666af.

So it turns out despite getdown being public and having an
automatic travis build we still have an internal build. Which
uses ant. And requires blood sacrifices to cope with maven.

I'm really not in the mood to deal with it/don't have access to
set up the travis build to publish snapshots, so I'm just going to
revert and let someone else with more motivation clean up this mess
(or not)
2014-03-21 11:29:45 -07:00
David Hoover 895630cc2e Teach the pom about github 2014-03-21 10:41:40 -07:00