summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-07-06TunnelEditor: better looking buttonsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-30android: model: Make some methods staticHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-30android: FloatingActionsMenu: Don't create labels on ASUS' Android 5 devicesHarsh Shandilya
They have completely wrecked the framework there and all efforts to work around their absolutely broken software have been in vain, hence let's atleast let users be able to use the app, labels or otherwise. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-30android: VersionPreference: Handle no-browser-installed caseHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-30android: Add select all button to action modeHarsh Shandilya
Thanks to Jason for suggesting the not-clinically-insane method to go about this. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-30wireguard: Bump snapshotHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-25Version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-25libwg-quick: add iptables output allowanceJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-25global: Small cleanupsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-23android: Consolidate getPrefActivity into FragmentUtilsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> [Samuel: Changed static to non-static import] Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-06-23QuickTileService: Remove useless overrideHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-23gradle: StyleHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-23treewide: Optimize importsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-19config: Refactor IPCidr and use of InetAddressSamuel Holland
Use a canonically-named utility class to tack on methods to the existing InetAddress class. Rename IPCidr to InetNetwork so it better matches InetAddress and is more pronouceable :) While here, simplify the constructor and toString() functions, and properly implement hashCode(). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-19util: Extract non-Android utility interfacesSamuel Holland
As part of a refactoring that will likely introduce more custom collection classes, move the non-Android-specific parts outside the com.wireguard.android package. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-19crypto: Slightly Java-ify the Curve25519 implementationSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-19app: Regularly scheduled gradle updatesSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-19idea: Disable an unwanted inspectionSamuel Holland
Android Studio isn't smart enough to realize that the public/private keys and the keypair are effectively the same thing. Just turn off the inspection because it's usually tripped by intentional things. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-17Application: make lock finalJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-17application: style fixJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-17Version bump for clat fixJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-14Version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-14global: supply backend asynchronouslyJason A. Donenfeld
We can't block for IO, so move everything to async workers or to callbacks. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-12Version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-12Application: require rootshell to use wgquick backendJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-10ToolsInstaller: safer state machineJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-07Version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-07BaseActivity: styleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-07BootShutdownReceiver: styleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-07Backend: abstract version informationJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-07Give Samuel heart attack by removing DaggerJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-07VersionPreference: account for checking state and move away from tools installerJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-06FloatingActionMenu: 5.1 requires explicit text colorJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-06MainActivity: Fix styleHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-06ToolsInstallerPreference: do not check for magisk on main threadJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05build: Allow building release artifacts in-treeHarsh Shandilya
This change avoids all need for changing any file under VCS to insert signing keys and configs for release builds. Example contents of keystore.properties ``` // Location of keystore, relative to module build.gradle, // in this case, of the app module storeFile=../wireguard.jks storePassword=b3ty0uc4nth4xxth1s keyAlias=wireguard keyPassword=4ndr01dsux ``` Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-05MainActivity: Silence useless warningHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-05Version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05FloatingActionMenu: use appcompat themeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05MainActivity: collapse action menu on toolbar touchHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-05ToolsInstaller: allow installing as Magisk moduleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05libwg-go: better error when using unpatched GoJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05ActionBar: show single menu item as tooliconJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05TunnelListFragment: hide menu when going to settingsJason A. Donenfeld
Really the menu should be hidden when clicking on the action bar, too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05MainActivity: styleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05fab: properly get theme colorJason A. Donenfeld
Harsh changed this before, but my original way is what the support library does internally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05libwg-go: more efficient and safer string passingJason A. Donenfeld
It was unclear when the Go string was actually freed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-05fab: Remove useless overrideHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-05fab: Use themed context to set styleHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-05DarkMode: move to shared preferences listenerJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>