aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/tools (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-16Bump the go runtimeJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-15InetEndpoint: disallow huge portsJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-15Adjust code generation to match existing styleSamuel Holland1-0/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-15Clean up error messagesSamuel Holland15-113/+217
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-15Provide semantically meaningful exceptions for translationSamuel Holland18-186/+364
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-15Bump the go runtimeJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Fix locale usageJason A. Donenfeld12-49/+35
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Version bump0.0.20181210Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Squelch xml warningJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Throw illegalargumentexception instead of nullpointerexception for builder errorsJason A. Donenfeld3-3/+10
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Unwrap the correct exceptionZachary Wander1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Order stringsJason A. Donenfeld1-55/+53
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Localize exception messagesZachary Wander13-35/+92
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Lowercase endpoint in exception messageJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-10Do not allow for an empty port in endpointJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-10Export actual configuration for zipsJason A. Donenfeld1-1/+1
Reported-by: John Greenwood <ijohnyyh@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-10Add upstream go patch for lstatJason A. Donenfeld3-2/+293
Android O disallows lstat, and this upstream golang patch hasn't made it into a release yet. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-10Bump go submoduleJason A. Donenfeld1-0/+0
Fixes a problem with inotify_init being blocked by Android 9's seccomp policy. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-09Use English lower casingJason A. Donenfeld5-8/+14
In Turkish, I becomes ı instead of i, which is a problem when matching things like "AllowedIPs". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Version bump0.0.20181207Jason A. Donenfeld1-2/+2
I feel a bit uneasy releasing this, because who knows how much Samuel has tested his model rewrite, but nothing looks obviously horrible, so let's give it a shot. We're still "alpha", after all. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Do not close zip input streamJason A. Donenfeld2-41/+53
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Downgrade support libraryJason A. Donenfeld1-1/+1
We're not ready for the newer one yet, but we will be soon if all goes well. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Remove ACRAJason A. Donenfeld2-71/+1
This was requested by developers who never wound up using it. It's not really worth keeping around, since the play console gives us most of what we need anyway. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Remodel the ModelSamuel Holland47-1283/+2025
- The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-11Auto-format the source directoriesSamuel Holland42-810/+819
Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-11tools: wg-quick: bumpJason A. Donenfeld1-0/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-06libwg-go: do not mix C style and Go style variable namesJason A. Donenfeld2-8/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-03libwg-go: don't forget to include jni calls0.0.20181103Jason A. Donenfeld3-3/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-01Bump version so that we have correct submodule hashes0.0.20181031Jason A. Donenfeld2-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-30tools: update submodulesJason A. Donenfeld3-4/+6
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-11Never use system goJason A. Donenfeld1-13/+6
Telling people to patch their system go is bonkers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-09Update to go modulesJason A. Donenfeld8-13/+28
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01Fix small error0.0.20181001Jason A. Donenfeld2-2/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01Version bumpJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01Peer: prefer v4 endpoints to v6Jason A. Donenfeld2-33/+79
This works around DNS64 XLAT changeovers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01strings: properly mark positionalsJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01Update gradle and external depsJason A. Donenfeld7-4/+21
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-09-06global: update copyright headersJason A. Donenfeld68-112/+68
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-26Version bump0.0.20180826Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-26tools: bump submodulesJason A. Donenfeld2-0/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-26libwg-go: update golang versionJason A. Donenfeld2-48/+94
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-26QuickTileService: Don't use deprecated getDrawable methodHarsh Shandilya1-2/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-08-26Target SDK 28Harsh Shandilya3-7/+4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-08-26FragmentUtils: Make final and prevent instantiationHarsh Shandilya1-1/+5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-08-26Sort dependenciesHarsh Shandilya1-3/+2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-08-26Supress false-positive DefaultLocale warningsHarsh Shandilya2-0/+6
We decided in 402472237e8f that it's a bad idea for our use-case Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-08-26Extract error messages to string resourcesHarsh Shandilya7-15/+47
Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-08-26MonkeyedSnackbar: removeJason A. Donenfeld7-53/+10
This didn't actually help with much and caused problems. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-16config: fix wrong Peer endpoint string formatZhao Gang1-1/+4
When a tunnel is running, saving the tunnel's config with an IPv6 address endpoint like [::1]:42 would result in the wrong format ::1:42. This patch fixes it. For endpoints with an IPv6 address(e.g. [::1]:42). Since the default endpoint InetSocketAddress is created unresolved, getEndpointString() returns "[::1]:42" (InetSocketAddress.getHostString() returns the literal hostname). After the endpoint is resolved, getEndpointString() returns "::1:42" (InetSocketAddress.getHostString() returns the IPv6 address without the square brackets). This inconsistent return values caused the above mentioned bug. With this patch, function getEndpointString would return the right format string whether the endpoint is resolved or not. Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-31GoBackend: make socket IPC optionalJason A. Donenfeld1-19/+21
This fixes the multi-user case, which cannot be determined at compile time and probably isn't reasonable to consider anyway in a global manner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>