aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* build: upgrade to AGP 7.0.0 and fix CMake warninghs/agp-upgrade-prepHarsh Shandilya2021-06-162-1/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: update property set with AGP 7 experimental flagsHarsh Shandilya2021-06-164-27/+44
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: drop obsolete dependency substitutionHarsh Shandilya2021-06-161-7/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: bump to v7.1Harsh Shandilya2021-06-164-5/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: bump desugar_jdk_libs and KotlinHarsh Shandilya2021-05-271-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: retry DNS resolution for 10 secondsJason A. Donenfeld2021-05-264-2/+26
| | | | | | | | | | This has several problems: 1) it blocks the main thread; 2) it doesn't distinguish between a permanent error and a transient one; 3) the 10 seconds is hard coded; 4) there's no way for the user to cancel it. We'll have to improve this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade AndroidX dependenciesHarsh Shandilya2021-05-192-7/+7
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: use longer timeouts for Gradle publish tasksHarsh Shandilya2021-05-071-0/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* version: bump1.0.20210506Jason A. Donenfeld2021-05-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: bump depsJason A. Donenfeld2021-05-072-12/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: download hash list in chunks if necessaryJason A. Donenfeld2021-05-071-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: update datastore and rework apiJason A. Donenfeld2021-05-064-34/+38
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove hack for broken kotlin compilerJason A. Donenfeld2021-05-061-5/+1
| | | | | | Seems like things are finally fixed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: avoid race between shutdown and statsJason A. Donenfeld2021-05-061-5/+6
| | | | | | | | | | | | | | wgTurnOff can block for a while, in which case, calling getStatistics will use a stale handle and stale tunnel. Not only that, but wgGetConfig might return null, in which case string.split throws. java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String[] java.lang.String.split(java.lang.String)' on a null at com.wireguard.android.backend.GoBackend.getStatistics Reported-by: tomt@adslweb.co.uk Link: https://lists.zx2c4.com/pipermail/wireguard/2021-May/006709.html Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bump1.0.20210505Jason A. Donenfeld2021-05-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: replace deprecated string operationsHarsh Shandilya2021-05-053-10/+6
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* project: use kotlin official code styleJason A. Donenfeld2021-05-051-9/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: bump depsJason A. Donenfeld2021-05-054-18/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update AGP, Kotlin and AndroidX LifecycleHarsh Shandilya2021-05-051-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: bump fragment to 1.3.3Harsh Shandilya2021-04-221-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: abstract out theme attributes to reduce overlapHarsh Shandilya2021-04-212-22/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: replace three dots with ellipsis characterHarsh Shandilya2021-04-212-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: remove unnecessary v21 styles overrideHarsh Shandilya2021-04-211-26/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: remove invalid translation from FarsiHarsh Shandilya2021-04-211-1/+0
| | | | | | copied_to_clipboard is a format string and must have a format specifier Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: remove some more non-null assertions on binding fieldsHarsh Shandilya2021-04-212-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: reduce size of QS tile drawableHarsh Shandilya2021-04-211-2/+2
| | | | | | | This will be rendered on an even smaller scale on devices, but 400dp x 400dp was simply too big and could cause performance issues. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: fix resource qualifier for IndonesianHarsh Shandilya2021-04-211-0/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelListFragment: drop incorrect non-null assertionHarsh Shandilya2021-04-211-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: bump wrapper to v7.0Harsh Shandilya2021-04-112-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: sync translationsHarsh Shandilya2021-04-1114-56/+653
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: bump to Kotlin 1.4.32Harsh Shandilya2021-03-301-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade dependenciesHarsh Shandilya2021-03-291-8/+8
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: include mavenCentral in plugin search repositoriesHarsh Shandilya2021-03-291-0/+6
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: remove JCenter repositoryHarsh Shandilya2021-03-161-7/+6
| | | | | | Force trove4j to be resolved from the newer coordinates used by AGP 7.0 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade AndroidX activity and fragmentHarsh Shandilya2021-03-111-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade Kotlin and turn on IR compilerHarsh Shandilya2021-03-012-1/+2
| | | | | | | | | Kotlin has been building a new JVM backend for a while now and it is finally in Beta, scheduled to hit stable in Kotlin 1.4.50. This is the time to enable it and report any bugs we hit, before it becomes the default. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade to Gradle 6.8.3Harsh Shandilya2021-02-232-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: update to go 1.16 and newer apiJason A. Donenfeld2021-02-225-31/+32
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade to ZXING 4.1.0Harsh Shandilya2021-02-192-2/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: report git commit as wgVersionJason A. Donenfeld2021-02-1220-21/+36
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* README: move tunnel to maven centralJason A. Donenfeld2021-02-121-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update MDC to 1.3.0 stable releaseHarsh Shandilya2021-02-111-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade to Kotlin 1.4.30Harsh Shandilya2021-02-111-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade AndroidX libraries to stable versionsHarsh Shandilya2021-02-111-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: fix the distribution checksumHarsh Shandilya2021-02-112-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* version: bump1.0.20210211Jason A. Donenfeld2021-02-111-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: add developer information to pom xmlJason A. Donenfeld2021-02-111-0/+4
| | | | | | Otherwise sonatype gets upset. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update AGP to 4.1.2Jason A. Donenfeld2021-02-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: remove bad checksum from propertiesJason A. Donenfeld2021-02-111-2/+2
| | | | | | | | The hash was wrong, causing crashes. Android studio told me to remove it so I did. I don't quite like that, but I don't know how Harsh came up with the previous hash. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: bump all toolsJason A. Donenfeld2021-02-114-5/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>