summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-05-19build: upgrade AndroidX dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07gradle: use longer timeouts for Gradle publish tasksHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-07tunnel: bump depsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-07tunnel: download hash list in chunks if necessaryJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-06ui: update datastore and rework apiJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-06ui: remove hack for broken kotlin compilerJason A. Donenfeld
Seems like things are finally fixed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-06tunnel: avoid race between shutdown and statsJason A. Donenfeld
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>
2021-05-05version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-05ui: replace deprecated string operationsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-05project: use kotlin official code styleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-05tools: bump depsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-05-05build: update AGP, Kotlin and AndroidX LifecycleHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-22build: bump fragment to 1.3.3Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21ui: abstract out theme attributes to reduce overlapHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21strings: replace three dots with ellipsis characterHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21ui: remove unnecessary v21 styles overrideHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21strings: remove invalid translation from FarsiHarsh Shandilya
copied_to_clipboard is a format string and must have a format specifier Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21ui: remove some more non-null assertions on binding fieldsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21ui: reduce size of QS tile drawableHarsh Shandilya
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>
2021-04-21strings: fix resource qualifier for IndonesianHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21TunnelListFragment: drop incorrect non-null assertionHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-11gradle: bump wrapper to v7.0Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-11strings: sync translationsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-30build: bump to Kotlin 1.4.32Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-29build: upgrade dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-29gradle: include mavenCentral in plugin search repositoriesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-16build: remove JCenter repositoryHarsh Shandilya
Force trove4j to be resolved from the newer coordinates used by AGP 7.0 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-11build: upgrade AndroidX activity and fragmentHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-03-01build: upgrade Kotlin and turn on IR compilerHarsh Shandilya
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>
2021-02-23build: upgrade to Gradle 6.8.3Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-22tunnel: update to go 1.16 and newer apiJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-19build: upgrade to ZXING 4.1.0Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-12tunnel: report git commit as wgVersionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-12README: move tunnel to maven centralJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11build: update MDC to 1.3.0 stable releaseHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11build: upgrade to Kotlin 1.4.30Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11build: upgrade AndroidX libraries to stable versionsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11gradle: fix the distribution checksumHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-11version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11tunnel: add developer information to pom xmlJason A. Donenfeld
Otherwise sonatype gets upset. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11build: update AGP to 4.1.2Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11gradle: remove bad checksum from propertiesJason A. Donenfeld
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>
2021-02-11tunnel: bump all toolsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11tunnel: sign using gpg-agentJason A. Donenfeld
This way we don't have to have a separate java universe. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-02-11tunnel: switch publishing to MavenCentralHarsh Shandilya
Since MavenCentral requires GPG signed artifacts, we'll need to configure some things on the machine running the deployment. Specifically, these three Gradle properties need to be set (preferably in ~/.gradle/gradle.properties) ``` signing.keyId= // Duh signing.password= // I have absolutely no idea how this will work with HSMs signing.secretKeyRingFile= // $HOME/.gnupg/... you know the deal ``` The BINTRAY_USER and BINTRAY_KEY variables are replaced by SONATYPE_USER and SONATYPE_PASSWORD to better reflect their new contents. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-10build: include org.jetbrains.trove4j from jcenterL.W.Reek
mavenCentral does not have org.jetbrains.trove4j which causes the build to fail. * What went wrong: Execution failed for task ':tunnel:extractReleaseAnnotations'. > Could not resolve all files for configuration ':tunnel:lintClassPath'. > Could not find org.jetbrains.trove4j:trove4j:20160824. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/ trove4j/20160824/trove4j-20160824.pom - https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/ trove4j/20160824/trove4j-20160824.pom Required by: project :tunnel > com.android.tools.lint:lint-gradle:27.1.1 > com.android.tools:sdk-common:27.1.1 project :tunnel > com.android.tools.lint:lint-gradle:27.1.1 > com.android.tools.external.com-intellij:intellij-core:27.1.1 Fixes: 13cc4436ca22 ("build: switch to mavenCentral as the main repository") Signed-off-by: L.W.Reek <syphyr@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-05build: upgrade to Gradle 6.8.2Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-05build: switch to mavenCentral as the main repositoryHarsh Shandilya
Retain JCenter but restrict it the single dependency we require off it Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-02-03build: update fragment to 1.3.0-rc02Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>