Commit Graph

942 Commits

Author SHA1 Message Date
e507802 b18f96c1d6 fix regression from PR #221
when bootstrapping into empty directory with -Dappbase=... the version from the fetched getdown.txt must be extracted before calling processArg(SysProps.overrideAppbase(_appbase)) - otherwise _version is -1 instead of the version provided in the just downloaded getdown.txt.
2019-05-29 15:31:45 +02:00
sergiorussia 8ad174124a added more missing translations for russian 2019-05-29 10:29:59 +03:00
Michael Bayne 0a4bfe65c4 Proxy handling now detects need for updated credentials.
This revamps the way proxy handling is done to allow us to just proceed as
normal, and then if we get HTTP errors that indicate that we need a proxy or
need proxy credentials, we ask for them and then retry everything.

We still try to auto-detect the need for a proxy on our very first invocation
because on the first invocation, a failure to fetch a URL may well indicate
that a proxy is needed, but that same assumption does not hold on subsequent
invocations. In those later cases, it's probably just a transient network
failure and it would be weird and annoying to pop up the "please provide proxy
config" dialog in those cases.

Thanks pb00068 for getting this ball rolling, even though once again I have
nearly entirely rewritten the PR. I need to kick that habit. :)
2019-05-28 23:27:44 -07:00
Michael Bayne e337ccb743 Added note about new PAC support. 2019-05-28 16:30:29 -07:00
Michael Bayne 62e68af245 Merge pull request #222 from sergiorussia/feature/code-cleanup
code cleanup
2019-05-28 16:26:44 -07:00
Michael Bayne f087863098 Merge branch 'master' into feature/code-cleanup 2019-05-28 16:16:21 -07:00
Michael Bayne 6af6081648 Support PAC proxies.
What a horrible wart lingering from the early days of the Internet. Note to
future designers: please do not express configuration using a Turing complete
language.

Thanks jenriq for getting the ball rolling on this.

Closes #196.
2019-05-28 16:04:42 -07:00
sergiorussia b57524d0d6 fixed exception logging 2019-05-28 23:37:11 +03:00
Michael Bayne 490420852e Bit of cleanup of config parsing. 2019-05-28 11:15:45 -07:00
Michael Bayne ac499c1e3c Merge pull request #220 from sergiorussia/bugfix/digester-with-platform
fixed digesting with platform specifier for java, tracking and args
2019-05-28 10:48:53 -07:00
Michael Bayne c45615f0a0 Add changelog, undo null tolerance.
Null tolerance is a plague. I wish `String` did not admit nulls and we had to
use Optional<String> for potentially null strings, but Java will forever be
cursed with the billion dollar mistake.
2019-05-28 10:30:26 -07:00
Michael Bayne 1ba5e5542c Merge pull request #221 from neuweiler/master
allow appbase and latest URL to use ENV variables too
2019-05-28 10:27:31 -07:00
e507802 c8901cadf2 allow appbase and latest URL to use ENV variables too 2019-05-28 10:34:14 +02:00
sergiorussia 0d384966a6 dropped obsolete comment 2019-05-27 23:11:28 +03:00
sergiorussia 01825b6f88 fixed digesting with platform specifier for java, tracking and args configs 2019-05-27 23:02:57 +03:00
Michael Bayne 604c917f3b Fix copy pasta. 2019-05-20 13:39:55 -07:00
Michael Bayne 913c980a0a Mention PR. 2019-05-20 09:38:03 -07:00
Michael Bayne aed11c085b Log entry for proxy fix. 2019-05-20 09:34:39 -07:00
Michael Bayne daf459e063 Pass proxy info from Proxy object to launched app. 2019-05-20 09:31:06 -07:00
Michael Bayne a34394383b Merge pull request #219 from sergiorussia/patch-1
Update CHANGELOG.md
2019-05-20 09:22:28 -07:00
Sergey Valkov 15c52c4646 Update CHANGELOG.md
just in case if you wonder why i'm doing this: because i often want to see how particular issue was resolved or feature was implemented and PRs usually contain enough explanation 👀
2019-05-15 10:10:56 +03:00
Michael Bayne 330061deab [maven-release-plugin] prepare for next development iteration 2019-05-14 10:31:30 -07:00
Michael Bayne 57c124cc97 [maven-release-plugin] prepare release getdown-1.8.4 2019-05-14 10:31:21 -07:00
Michael Bayne c67139af6c Prep for 1.8.4 release. 2019-05-14 10:30:17 -07:00
Michael Bayne b382e475ea Merge pull request #218 from sergiorussia/patch-1
Update CHANGELOG.md
2019-05-14 10:26:03 -07:00
Sergey Valkov cfe417ce33 Update CHANGELOG.md 2019-05-14 14:26:06 +03:00
Michael Bayne f72aab9464 Note 100 character max line length. 2019-05-09 12:40:28 -07:00
Michael Bayne 0a5d556e49 Merge pull request #208 from sergiorussia/feature/editorconfig
editorconfig support
2019-05-09 12:40:03 -07:00
Michael Bayne b8c37e5a14 Added change log entries. 2019-05-09 10:40:07 -07:00
Michael Bayne 5734913462 Formatting tweak. 2019-05-09 10:39:58 -07:00
Michael Bayne 6496e5eeb4 Merge pull request #214 from Simpli-city/master
Fix bug on mac while regenerating classes.jsa when path to java contains spaces
2019-05-09 10:38:52 -07:00
Michael Bayne dca5d69f9f Various formatting & style blah blah. 2019-05-09 10:34:35 -07:00
Michael Bayne 4065acd77e If we're creating a .jar file, use a JarOutputStream.
JOS stuffs some secret data into the zip extension slot, so we can't just
create a .jar file with a ZipOutputStream and call it a day.
2019-05-09 10:33:20 -07:00
Michael Bayne 4a1376093e Merge pull request #210 from sergiorussia/feature/zip-files-support
zip files supported as resources
2019-05-09 09:48:10 -07:00
Anon 4e1472e4ec Use spaces instead of tabs 2019-05-09 18:34:42 +02:00
Michael Bayne 339faa8260 Fix incorrect handling of args in format.
This is what I get for replacing the battle tested samskivert code with a quick
rewrite.
2019-05-09 09:33:41 -07:00
Anon 1c4daa78f9 Fix bug on mac when regenerating classes.jsa when path has spaces 2019-05-09 18:32:07 +02:00
sergiorussia 7cf4ce0b2f unit tests 2019-05-05 18:06:52 +03:00
sergiorussia 4973da5e45 revert non-related changes, small fixes 2019-05-05 17:24:38 +03:00
sergiorussia c17882f432 zip files support 2019-05-05 17:09:51 +03:00
Michael Bayne 76a6401d82 Check that local JVM is not in use before attempting update. 2019-05-03 14:03:16 -07:00
Michael Bayne b2263104e6 Small formatting tweaks. 2019-05-03 13:45:44 -07:00
Michael Bayne 18d449166c Merge pull request #206 from sergiorussia/feature/java_local_dir
enable custom java local dir instead of hardcoded "java_vm"
2019-05-03 13:34:32 -07:00
sergiorussia 19f9179fc9 editorconfig support 2019-05-01 00:24:31 +03:00
sergiorussia f7a5092116 review fixes 2019-05-01 00:18:47 +03:00
Michael Bayne 901682d5f7 timeout_verify -> verify_timeout. 2019-04-30 10:58:46 -07:00
Michael Bayne 635feb97d6 Merge pull request #198 from vgropp/timeoutVerify
add config timeout_verify
2019-04-30 10:55:33 -07:00
Michael Bayne eb8a2da9d8 Merge branch 'master' into timeoutVerify 2019-04-30 10:55:10 -07:00
Michael Bayne b0a796beef Added changelog for encoding change. 2019-04-30 10:53:26 -07:00
Michael Bayne 047e3972a0 Convert translation files from UTF-8 to (escaped) ISO-8859-1 during build.
This makes it *way* easier to view and edit the translation files and avoids
the danger of accidentally slipping UTF-8 encoded characters into existing
files during editing.
2019-04-30 10:08:40 -07:00