aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20190605Jason A. Donenfeld2019-06-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelList: Get focus to toggle button via remote for Fire TVRevath S Kumar2019-06-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | This removes a no-longer-needed workaround for the ListView OnItemClickListener (it won't fire if a focusable view is inside the item view). Since converting our ListView instances to RecyclerView instances, we set the OnClick and OnLongClick listeners directly on the item view, and this workaround no longer has any effect. Unsurprisingly, the workaround breaks focusability of the Switch, which is necessary to toggle tunnels on devices with keypad-based navigation, such as the Fire TV. This commit also adds explicit focusability hints for the Switch. Related mail thread: https://lists.zx2c4.com/pipermail/wireguard/2019-May/004112.html Reported-by: Christophe-Marie Duquesne <chmd@chmd.fr> Reported-by: Revath S Kumar <gmail@revathskumar.com> [Samuel: sorted attributes; expanded commit message] Signed-off-by: Samuel Holland <samuel@sholland.org>
* libwg-go: bumpJason A. Donenfeld2019-06-053-13/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20190319Jason A. Donenfeld2019-03-191-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* InetEndpoint: properly match IPv6 addressesJason A. Donenfeld2019-03-191-1/+1
| | | | | | | The old one didn't account for trailing digits. Reported-by: Brandon Jackson <bjackson@napshome.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: bumpJason A. Donenfeld2019-03-192-6/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: %i is invalidJason A. Donenfeld2019-03-191-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WgQuickBackend: pass result to error stringJason A. Donenfeld2019-03-161-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20190307Jason A. Donenfeld2019-03-083-9/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: use netpoll rather than rwcancelJason A. Donenfeld2019-03-072-8/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: don't use submoduleJason A. Donenfeld2019-03-0310-113/+41
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: update to 1.12Jason A. Donenfeld2019-02-277-328/+49
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* project: bump dependenciesJason A. Donenfeld2019-02-174-6/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ToolsInstaller: fix typo on cleanupJason A. Donenfeld2019-02-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20190215Jason A. Donenfeld2019-02-151-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: bump upstream versionJason A. Donenfeld2019-02-143-3/+1
| | | | | | | This now includes the latest ARM64 ChaCha20 implementation, which should improve performance. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ToolsInstaller: Require Magisk 18Jason A. Donenfeld2019-02-141-6/+6
| | | | | | | People installing magisk modules are people capable of updating Magisk. No need to leave around old compat cruft. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ToolsInstaller: Use chcon over restoreconHarsh Shandilya2019-02-141-1/+1
| | | | | | | | | | | restorecon probes file_contexts to get the context to be applied to the file. /sbin/.magisk does not exist in file_contexts for obvious reasons so restorecon always fails. Use chcon directly with the system_file context to allow contexts to be applied. Suggested-by: Chris Renshaw <osm0sis@outlook.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update copyrightJason A. Donenfeld2019-01-0780-80/+80
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* PeerProxy: Only add IPv4 DNS servers when excluding private IPsSamuel Holland2019-01-071-0/+1
| | | | | | Reported-By: Christophe-Marie Duquesne <chmd@chmd.fr> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Bump stream support libraries to latest stableHarsh Shandilya2018-12-181-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: squelch warning on multiple %sJason A. Donenfeld2018-12-181-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Enable proguard and wire up rulesHarsh Shandilya2018-12-182-0/+7
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Version bump0.0.20181218Jason A. Donenfeld2018-12-181-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Migrate to AndroidXHarsh Shandilya2018-12-1866-164/+165
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Bump the go runtimeJason A. Donenfeld2018-12-161-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* InetEndpoint: disallow huge portsJason A. Donenfeld2018-12-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Adjust code generation to match existing styleSamuel Holland2018-12-151-0/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Clean up error messagesSamuel Holland2018-12-1515-113/+217
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Provide semantically meaningful exceptions for translationSamuel Holland2018-12-1518-186/+364
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Bump the go runtimeJason A. Donenfeld2018-12-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fix locale usageJason A. Donenfeld2018-12-1112-49/+35
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20181210Jason A. Donenfeld2018-12-111-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Squelch xml warningJason A. Donenfeld2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Throw illegalargumentexception instead of nullpointerexception for builder errorsJason A. Donenfeld2018-12-113-3/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Unwrap the correct exceptionZachary Wander2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Order stringsJason A. Donenfeld2018-12-111-55/+53
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Localize exception messagesZachary Wander2018-12-1113-35/+92
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Lowercase endpoint in exception messageJason A. Donenfeld2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Do not allow for an empty port in endpointJason A. Donenfeld2018-12-101-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Export actual configuration for zipsJason A. Donenfeld2018-12-101-1/+1
| | | | | Reported-by: John Greenwood <ijohnyyh@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add upstream go patch for lstatJason A. Donenfeld2018-12-103-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>
* Bump go submoduleJason A. Donenfeld2018-12-101-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>
* Use English lower casingJason A. Donenfeld2018-12-095-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>
* Version bump0.0.20181207Jason A. Donenfeld2018-12-081-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>
* Do not close zip input streamJason A. Donenfeld2018-12-082-41/+53
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Downgrade support libraryJason A. Donenfeld2018-12-081-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>
* Remove ACRAJason A. Donenfeld2018-12-082-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>
* Remodel the ModelSamuel Holland2018-12-0847-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>
* Auto-format the source directoriesSamuel Holland2018-11-1142-810/+819
| | | | | | Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>