aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
...
* android: FloatingActionsMenu: Don't create labels on ASUS' Android 5 devicesHarsh Shandilya2018-06-301-0/+3
| | | | | | | | 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>
* android: VersionPreference: Handle no-browser-installed caseHarsh Shandilya2018-06-301-1/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* android: Add select all button to action modeHarsh Shandilya2018-06-304-0/+21
| | | | | | | Thanks to Jason for suggesting the not-clinically-insane method to go about this. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* wireguard: Bump snapshotHarsh Shandilya2018-06-301-0/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Version bump0.0.20180625Jason A. Donenfeld2018-06-251-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-quick: add iptables output allowanceJason A. Donenfeld2018-06-251-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Small cleanupsJason A. Donenfeld2018-06-253-7/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: Consolidate getPrefActivity into FragmentUtilsHarsh Shandilya2018-06-233-28/+31
| | | | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> [Samuel: Changed static to non-static import] Signed-off-by: Samuel Holland <samuel@sholland.org>
* QuickTileService: Remove useless overrideHarsh Shandilya2018-06-231-5/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* gradle: StyleHarsh Shandilya2018-06-231-3/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* treewide: Optimize importsHarsh Shandilya2018-06-238-19/+17
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* config: Refactor IPCidr and use of InetAddressSamuel Holland2018-06-197-90/+118
| | | | | | | | | 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>
* util: Extract non-Android utility interfacesSamuel Holland2018-06-1910-9/+17
| | | | | | | | 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>
* crypto: Slightly Java-ify the Curve25519 implementationSamuel Holland2018-06-191-65/+54
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* app: Regularly scheduled gradle updatesSamuel Holland2018-06-193-4/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* idea: Disable an unwanted inspectionSamuel Holland2018-06-191-1/+0
| | | | | | | | 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>
* Application: make lock finalJason A. Donenfeld2018-06-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* application: style fixJason A. Donenfeld2018-06-172-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump for clat fix0.0.20180616Jason A. Donenfeld2018-06-172-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20180613Jason A. Donenfeld2018-06-143-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: supply backend asynchronouslyJason A. Donenfeld2018-06-146-59/+98
| | | | | | | We can't block for IO, so move everything to async workers or to callbacks. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20180612Jason A. Donenfeld2018-06-123-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Application: require rootshell to use wgquick backendJason A. Donenfeld2018-06-121-3/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ToolsInstaller: safer state machineJason A. Donenfeld2018-06-103-39/+42
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20180606Jason A. Donenfeld2018-06-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseActivity: styleJason A. Donenfeld2018-06-072-4/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BootShutdownReceiver: styleJason A. Donenfeld2018-06-071-2/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Backend: abstract version informationJason A. Donenfeld2018-06-076-24/+48
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Give Samuel heart attack by removing DaggerJason A. Donenfeld2018-06-0720-233/+115
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VersionPreference: account for checking state and move away from tools installerJason A. Donenfeld2018-06-074-12/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionMenu: 5.1 requires explicit text colorJason A. Donenfeld2018-06-063-2/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: Fix styleHarsh Shandilya2018-06-061-5/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ToolsInstallerPreference: do not check for magisk on main threadJason A. Donenfeld2018-06-063-7/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: Allow building release artifacts in-treeHarsh Shandilya2018-06-052-0/+28
| | | | | | | | | | | | | | | | | | 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>
* MainActivity: Silence useless warningHarsh Shandilya2018-06-051-0/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Version bump0.0.20180605Jason A. Donenfeld2018-06-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionMenu: use appcompat themeJason A. Donenfeld2018-06-053-6/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: collapse action menu on toolbar touchHarsh Shandilya2018-06-051-0/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ToolsInstaller: allow installing as Magisk moduleJason A. Donenfeld2018-06-053-11/+68
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: better error when using unpatched GoJason A. Donenfeld2018-06-051-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ActionBar: show single menu item as tooliconJason A. Donenfeld2018-06-052-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: hide menu when going to settingsJason A. Donenfeld2018-06-051-0/+6
| | | | | | Really the menu should be hidden when clicking on the action bar, too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: styleJason A. Donenfeld2018-06-051-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: properly get theme colorJason A. Donenfeld2018-06-051-8/+7
| | | | | | | Harsh changed this before, but my original way is what the support library does internally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: more efficient and safer string passingJason A. Donenfeld2018-06-052-10/+7
| | | | | | It was unclear when the Go string was actually freed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: Remove useless overrideHarsh Shandilya2018-06-051-5/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: Use themed context to set styleHarsh Shandilya2018-06-051-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* DarkMode: move to shared preferences listenerJason A. Donenfeld2018-06-055-206/+79
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: styleJason A. Donenfeld2018-06-041-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionsMenu: remove unused importsJason A. Donenfeld2018-06-041-3/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>