aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* coroutines: use lifecycleScope where appropriateJason A. Donenfeld2020-09-1519-82/+66
| | | | | | | There's still a bit of GlobalScope lingering around, which might be removable. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedTextInputEditText: au revoirJason A. Donenfeld2020-09-155-46/+16
| | | | | | | Remember to go back to using com.google.android.material when 1.3.0-alpha03 comes out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wireguard-tools: bump to fix invalid freeJason A. Donenfeld2020-09-151-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: set selection on Main, not Main.immediateJason A. Donenfeld2020-09-151-1/+1
| | | | | | Otherwise, we crash when saving the config. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: update to go 1.15.2Jason A. Donenfeld2020-09-153-21/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedTextInputEditText: add note about sunset planJason A. Donenfeld2020-09-151-0/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* idea: import new import sorting rulesJason A. Donenfeld2020-09-151-1/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: desugar retrofuture and remove old depsJason A. Donenfeld2020-09-1511-34/+25
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: do not use retrofuture in uiJason A. Donenfeld2020-09-151-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* coroutines: convert the restJason A. Donenfeld2020-09-1523-532/+569
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* coroutines: convert low-hanging fruitsJason A. Donenfeld2020-09-145-73/+106
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove hacky manual check for keyguardHarsh Shandilya2020-09-131-20/+1
| | | | | | Setting the correct value for the allowedAuthenticators field lets the library correctly detect this by itself as verified on an API 21 emulator Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: update BiometricAuthenticator for API changesHarsh Shandilya2020-09-131-2/+6
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: fix memory leak from statically held Handler instanceHarsh Shandilya2020-09-131-2/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: uprev dependencies and fix script block orderHarsh Shandilya2020-09-131-12/+11
| | | | | | | | | | - buildscript must always be the first block in a Gradle build - ConstraintLayout, Kotlin and bintray plugin are updated to their latest stable revisions - Biometrics is updated to the latest alpha release to make use of multiple memory leak fixes that plague the 1.0.x implementations Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: update to Gradle 6.6.1Harsh Shandilya2020-08-302-4/+4
| | | | | | While praying F-Droid gets their shit together by the time we do our next release Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tools: bump for Android 11 ndc fixHarsh Shandilya2020-08-261-0/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: target SDK 30Harsh Shandilya2020-08-252-4/+4
| | | | | | We're all set to support it from the application side of things. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: switch fragment and preference to -ktx artifactsHarsh Shandilya2020-08-231-2/+2
| | | | | | Google recommends all dependencies with -ktx variants depend on them directly since they transitively pull in the main artifacts and offer extensions for better usage from Kotlin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: uprev core-ktx and material componentsHarsh Shandilya2020-08-231-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: fix SDK 30 deprecation warning for implicit Looper in Handler initHarsh Shandilya2020-08-231-1/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: also enable StrictMode thread policy in debug buildsHarsh Shandilya2020-08-231-0/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: remove explicit buildToolsVersionHarsh Shandilya2020-08-232-2/+0
| | | | | | AGP sets it automatically, let's rely on that Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: update AndroidX dependenciesHarsh Shandilya2020-08-231-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: uprev to Kotlin 1.4Harsh Shandilya2020-08-232-3/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: minor cleanups and reorganizationHarsh Shandilya2020-08-231-13/+10
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: uprev to Gradle 6.6Harsh Shandilya2020-08-124-5/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* version: bump1.0.20200724Jason A. Donenfeld2020-07-241-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AdminKnobs: allow enterprise admins to disable private key exportJason A. Donenfeld2020-07-237-0/+43
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump AGP to 4.0.1Jason A. Donenfeld2020-07-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade to Gradle 6.5.1Harsh Shandilya2020-07-102-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gitignore: add gradlew.batHarsh Shandilya2020-06-251-0/+1
| | | | | | We do not support building on Windows for now and deleting this file on every wrapper update is just lame Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: upgrade to 6.5Harsh Shandilya2020-06-252-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: bump core-ktx, coroutines and fragmentsHarsh Shandilya2020-06-251-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* libwg-go: use conn.Bind for socketfd peekDavid Crawshaw2020-06-223-9/+19
| | | | | Signed-off-by: David Crawshaw <crawshaw@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: bump versionsJason A. Donenfeld2020-06-075-20/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync translationsHarsh Shandilya2020-06-023-12/+268
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: address new databinding requirementsHarsh Shandilya2020-05-293-8/+9
| | | | | | | | | | Layouts in differing configurations must agree on their root tags, so we give both copies of main_activity the same root ID, and adjust the check for two-pane layout to simply test for nullability. This also changes the inset dispatch code to use ViewCompat and WindowInsetsCompat since they will adjust insets based on the SDK level allowing us to abstract away that concern. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: bump to AGP 4.0.0Harsh Shandilya2020-05-292-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: remove unneeded actionBarPopupTheme attributeHarsh Shandilya2020-05-093-3/+0
| | | | | | This caused inconsistencies between our overflow icon and actionbar title's tint Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: upgrade to gradle 6.4 and track checksumHarsh Shandilya2020-05-094-2/+6
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: add windows-style killswitch semantics for GoBackendJason A. Donenfeld2020-05-041-1/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: upgrade to mdc-android 1.2.0-alpha06Harsh Shandilya2020-04-301-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: bump gradle wrapper version in task configurationHarsh Shandilya2020-04-271-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* libwg-go: bump go versionHarsh Shandilya2020-04-261-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: switch up dark theme system bars colorsHarsh Shandilya2020-04-261-2/+2
| | | | | | | | | The status bar color had a subtle transparency applied which caused inconsistencies, and the navigation bar color was the wrong shade of gray. Reported-by: Danny Lin <danny@kdrag0n.dev> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: bump threetenabp to 1.2.4Harsh Shandilya2020-04-241-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ToolsInstaller: update Magisk directoryHarsh Shandilya2020-04-231-6/+6
| | | | | | | | | | /data/adb/modules has been the location for modules since v18.0 and nobody should reasonably be on any older version anymore. This has continued to work for this long because Magisk created symlinks for backwards compat. However, these symlinks are not created anymore on Android 11, which is where this problem first surfaced. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: don't obfuscate code in minify stepHarsh Shandilya2020-04-211-3/+3
| | | | | | | | While Play Console correctly manages to deobfuscate stacktraces using the ProGuard mapping, it makes user recorded logs useless which is rather undesirable. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: tweak fab animation durationHarsh Shandilya2020-04-192-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>