Saeid Nourian
176cb8ca99
Avoid corrupted resources when download is interrupted
...
1) Download resources first into a temporary file
2) Perform verification and digest comparison with the downloaded
temporary file instead of the original if temporary file exist
3) Only when verification completes successfully rename all the
temporary files to override the original. This step can be done
automatically or manually by calling GetDown.install() which is useful
for those who want to download in background and install upon program
exit.
2016-06-17 11:03:56 -04:00
Michael Bayne
3a4b4ae539
Merge pull request #56 from DevFactory/bugfix-caused-by-pr-51
...
Fixing bug cause by PR#51
2016-05-17 19:08:22 -07:00
Faisal Hameed
8876725b1a
Fixing bug cause by PR#51
2016-05-18 06:17:25 +05:00
Michael Bayne
a5527c3af9
Link to OOO wikipedia page.
...
Instead of defunct threerings.net.
2016-05-15 13:03:12 -07:00
Michael Bayne
51ac46797b
Updated source headers.
...
Also shifted copyright to AUTHORS because OOO is a legal entity no more.
2016-05-15 13:01:19 -07:00
Michael Bayne
0a217cada6
MetaProgressObserver -> ProgressAggregator.
...
This changes the way progress is aggregated so that we can do the various
progress accumulating steps in parallel if we like.
2016-05-15 13:01:19 -07:00
Michael Bayne
949eb8d718
Some renaming and clarification.
2016-05-15 13:01:19 -07:00
Michael Bayne
04309d3bdb
Minor tweaks.
2016-04-20 07:30:25 -07:00
Michael Bayne
5dc0cc0c12
Merge pull request #51 from DevFactory/release/collapsable-if-statements-should-be-merged-fix-1
...
Code quality fix - Collapsible "if" statements should be merged.
2016-04-20 07:07:34 -07:00
Faisal Hameed
ef9358023f
Fixing squid:S1066 - Collapsible "if" statements should be merged.
2016-04-19 18:27:48 +05:00
Michael Bayne
42eac2d71d
Support %ENV.NAME% substitutions.
...
These can appear anywhere %APPDIR% and %VERSION% substitutions occur (pretty
much everywhere in getdown.txt).
In this case the NAME is the name of an environment variable, and the value of
the environment variable is substituted into the text.
2016-02-10 12:27:00 -08:00
Michael Bayne
4fd707d54d
Added support for "class = manifest".
...
This causes Getdown to run your app using java -jar code.jar instead of java
-classpath code.jar classname. See wiki docs for more info.
2016-02-10 12:02:23 -08:00
Michael Bayne
78f71839be
Comment & whitespace tweaks.
2016-01-12 14:12:50 -08:00
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