Michael Bayne
4c36b312e2
Fix some Javadoc errors.
2014-11-14 08:45:27 -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
Michael Bayne
5cb44526e8
Up-dates, point to LICENSE on github.com.
2014-03-10 08:25:59 -07:00
Michael Bayne
b793b56a28
Reinit our UI more cleanly.
2014-02-11 11:32:53 -08:00
Michael Bayne
f706ed216a
Fix our bounds calculation when missing bg image.
2014-02-11 11:32:30 -08:00
Michael Bayne
faece11e11
Allow specification of appbase via system property.
...
This allows one to bootstrap a Getdown install with no files at all. You don't
get a very sexy UI during the first install, but you can make something
non-horrible with a background color and a small window.
2014-02-11 11:13:13 -08:00
Michael Bayne
c1d2946747
Provide a default background color.
...
Otherwise we get black text on a black background in catastrophic failure
scenarios.
2014-02-11 11:13:13 -08:00
Michael Bayne
25c4d7671c
Support java_min_version as alias of java_version.
2013-12-04 11:26:42 -08:00
Michael Bayne
fc817d5b1e
Changed java_version_max to java_max_version.
...
Other tidying and consolidation.
2013-12-04 11:24:59 -08:00
Michael Bayne
c098dba735
Merge pull request #1 from makkus/master
...
Added option to specify max Java version.
2013-12-04 11:15:31 -08:00
Michael Bayne
b04e0bc4c5
Merge pull request #4 from agharta/master
...
Added Italian Translation
2013-12-04 11:09:06 -08:00
agharta
dbac6d56d8
Added Italian Translation
...
Added italian translation.
2013-10-21 10:44:24 +02:00
dajaksic
e9e65e41dd
changed condition
2013-10-17 11:10:10 +02:00
Markus Binsteiner
1172015198
Added option to specify max Java version.
...
Property name in getdown.txt is: java_version_max
2013-09-24 11:30:34 +12:00
Michael Bayne
050c14844e
Support basic auth when downloading latest.txt.
...
Fixes issue 27.
2013-04-16 08:27:39 -07:00
Michael Bayne
be56b50801
Strip \r as well as \n when "one-lining" auth blob. Fixes #28 .
2013-04-16 08:22:21 -07:00
Michael Bayne
e74c71aa6b
Added support for configuring a connect timeout when downloading metafiles.
2013-04-10 13:24:23 -07:00
Michael Bayne
cfe51b4439
We need to chmod on Mac too. Err on the side of trying it.
2013-04-09 06:57:35 -07:00
Michael Bayne
07e0ba1081
Added support for java_exact_version_required.
2013-03-14 17:06:05 -07:00
Michael Bayne
7b785fa8f2
Update header with new copyright and link to LICENSE.
2013-01-29 10:36:30 -08:00
Michael Bayne
406657ff43
Extract our myriad system properties into one place.
...
This makes it easier to see all the secret configuration tweaks that one can
supply to Getdown if you have the esoteric knowledge.
2013-01-29 10:33:53 -08:00
Michael Bayne
431e35d3e2
Change name to getAllActiveResources for future comprehensibility.
2013-01-10 16:39:46 -08:00
Michael Bayne
f4ee206516
We need all active code resources here.
2013-01-10 16:38:42 -08:00
Michael Bayne
ce171faa47
Add support for code resources in auxgroups.
...
Usage is as you might expect:
auxgroups = foo
foo.code = foo-code.jar
foo.resource = foo-wontbeunpacked.jar
foo.uresource = foo-willbeunpacked.jar
2013-01-09 22:15:16 -08:00
Jamie Doornbos
bfb23911f0
Added support for username:password@ prefix on URLs.
2012-12-19 11:11:48 -08:00
Mark Johnson
557dcca4ac
The check_unpacked setting will now to version checks so that unpacking can occur if an update is
...
done by an external source outside of getdown.
2012-12-10 13:05:22 -08:00
Mark Johnson
6b85340ed4
You can now override the scheme and domain of the appbase and latest URLs specified in your
...
getdown.txt by setting the appbase_domain system property when launching getdown as an application
2012-12-07 18:20:25 -08:00
Mark Johnson
c483b1dc64
- Let StatusPanel handle asyncronous loading of background images (ie: when in applet mode)
2012-06-01 22:47:00 +00:00
Mark Johnson
b022c03321
- reinit the play again button before displaying since the image could have been a downloaded
...
resource
2012-03-30 22:35:27 +00:00
Mark Johnson
73d5bcb605
- Some tweaks to the play again button handling
...
- Removed the very naughty interrupt swallowing used to detect if the process started correctly
under optimal arguments, replaced it with a busy-wait loop so the thread can still be used to
launch the application multiple times
2012-03-30 03:33:51 +00:00
Mark Johnson
ba86664122
- Added an optional play again button for the applet after getdown has launched the application
2012-03-29 23:13:51 +00:00
Ray Greenwell
6727e01625
Whoops, Throttle's reinit() is for changing the throttle parameters,
...
not clearing the history of operations.
2012-03-21 21:48:40 +00:00
Ray Greenwell
5a355460db
French translations.
2012-03-18 17:37:40 +00:00
Ray Greenwell
268c327ebd
Parse a background color from getdown.txt, or figure out a sensible one.
...
Always fill the component with that, in case there's trouble with the
background image.
2012-03-16 14:10:00 +00:00
Ray Greenwell
dba65488f3
Clarify that we're trying to block div-by-0 by checking the totalsize.
...
The elementSize can be 0, that's fine. It's when ALL the elements are 0....
2012-03-16 14:08:10 +00:00
Ray Greenwell
eb2fee6b7c
- Right before we exit let's set the progress to 100%
...
(launching normally stops at 99%)
- In the applet version's exit() we stop the 'throbber'.
2012-03-15 22:47:49 +00:00
Ray Greenwell
828a4638b0
This might be causing a divide by 0 error because all the sizes are 0...
2012-03-15 21:34:32 +00:00
Ray Greenwell
cbf49d87b8
Revamped German translations.
2012-03-15 18:17:09 +00:00
Ray Greenwell
358a14bdfa
Spanish translations.
2012-03-15 06:32:08 +00:00
Ray Greenwell
5695bfdf9a
Allow the arbitrary step percentages to be specified in getdown.txt.
2012-03-12 23:50:21 +00:00
Ray Greenwell
57242277c1
Start displaying progress at 0%, rather than 1%.
2012-03-12 22:56:03 +00:00
Ray Greenwell
2d89d7acf4
And fix this javadoc comment.
2012-03-12 22:41:29 +00:00
Ray Greenwell
19fa9b298e
Revert to reporting global percent to setStatus().
...
The Getdown class can be extended with that method overridden,
so move the step->global calculation outside of it.
2012-03-12 22:38:12 +00:00
Ray Greenwell
a07bb6066b
A hopefully kosher edit.
...
This little chunk of code has been tweaked and cargo'd forward for years
with no documentation as to what's going on.
What I object to is the blatent disregarding of the width specified in
getdown.txt with something calculated internally. (width - x*2)
GIGO; fix your fucking getdown.txt.
- If we are not granted privileges, reading the metadata breaks, which
is why the fallback was first added.
- Later it was tweaked because getWidth() can sometimes report 0 and
that would cause the fallback width to be negative.
2012-03-12 22:17:41 +00:00
Ray Greenwell
16017037e8
- Nixed the START step.
...
- Allow multiple percentages to be specified for a step. The lowest one that's
higher than the current percentage is used.
- It seems sometimes the UI is shown after some progress is made. Track
the percentage we're at when the UI is shown and reset that to be the new
0, scaling subsequent progress to fill the remainder.
I added this convinced I needed it, but now I'm seeing that it's always
at 0 when the UI is shown...
Perhaps I'll revisit that after I do some other stuff...
2012-03-12 21:52:15 +00:00