summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-05-10version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10strings: sync with crowdinJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10ui: add shortcut for adding quick settings tileJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10gradle: hack around 8.1.0-beta02 api 21 outlining bugJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10gradle: generate locales for per-app pickingJason A. Donenfeld
Enable the per-app locale picking menu by adding the right metadata automatically to the manifest with new AGP automation. This attempts to follow: https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig Using the new AGP feature: https://developer.android.com/studio/preview/features#automatic-per-app-languages It appears to work, and it also should squelch the "W AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : " warnings on old Android that syphyr pointed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10gradle: bump to agp 8.1.0-beta02Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10ui: bifurcate only parts of release but nag about wrong contextJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10gradle: exclude version meta files in release buildJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-10gradle: bump coroutines and MDCHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2023-05-08version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-08ui: use debug key in debug buildsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-08ui: only register contracts in constructorsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-08gradle: restore play runtime detectionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-05ui: reformat all codeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-05ui: collect logs from IO thread onlyJason A. Donenfeld
Otherwise the pop() from the producer might causes an OOB read in the consumer: Exception java.lang.ArrayIndexOutOfBoundsException: at androidx.collection.CircularArray.get (CircularArray.java) at com.wireguard.android.activity.LogViewerActivity.rawLogBytes (LogViewerActivity.java) at com.wireguard.android.activity.LogViewerActivity.onCreate$lambda$3 (LogViewerActivity.java:133) at android.view.View.performClick (View.java:6935) at android.view.View$PerformClick.run (View.java:26214) at android.os.Handler.handleCallback (Handler.java:790) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loop (Looper.java:164) at android.app.ActivityThread.main (ActivityThread.java:7000) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408) Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-05gradle: use matching fallback instead of build typeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-04version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03strings: sync with crowdinJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03gradle: use += when possibleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03gradle: don't encourage sticking credentials in filesJason A. Donenfeld
We've only ever used this via environment variables, so keep it that way. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03gradle: reabstract package nameJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-04gradle: remove runtime detection of play storeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03README: account for java version updatesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03gradle: use newer desugaringJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03gradle: use Java 17Jason A. Donenfeld
It appears to work, even on API 21. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-03gradle: upgrade Kotlin and AGPHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2023-05-03gradle: move JVM target up to 11Harsh Shandilya
1.8 is being deprecated across the board Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2023-05-03gradle: convert build files to KotlinHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-24gradle: update wrapper to 8.1.1Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2023-05-03ui: update cleanupsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-02version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-05gradle: downgrade wrapper to 8.0.1Jason A. Donenfeld
This reverts commit 455fcc076becafdf21944aaf2c1f1e9086eb2fd9 because of f-droid. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-05ui: use .seconds instead of .toDurationJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-05-01ui: handle update signaturesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-27version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-27gradle: trim experimental listJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-27proguard: cleanup unused partsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-25build: bump activity-ktx and fragment-ktxJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-13strings: sync with crowdinJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-24ui: display latest handshake timeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-24tunnel: export latest handshake statJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-24gradle: update wrapper to 8.1.1Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2023-04-21tools: build elf-cleaner using system compilerJason A. Donenfeld
Rather than using the NDK compiler for the host arch and hoping it picks up on system library locations, just use `cc` and rely on the traditional symlink to resolve that to the default host compiler. This should address build errors seen on macOS. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-13ui: remove unused extra_margin constantJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-13tools: ndk-compat: NDK now is minimum API 19Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-27build: bump AGP to 8.0.0Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-13ui: layout: don't stretch text fields, so that alignment is correctJason A. Donenfeld
This makes things look uniform on RTL. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-13ui: LogViewerActivity: cleanup ret valJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-12version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-04-12tools: do not put vcs info into go binaryJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>