summaryrefslogtreecommitdiffhomepage
path: root/app
AgeCommit message (Collapse)Author
2018-01-07TunnelListFragment: Name a CompletionStage what it isSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-07Tunnel: The name passed to isNameValid is never nullSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-07ConfigEditorFragment: Ensure localName is never nullSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-07Make TunnelManager the point of asynchronicitySamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelManager: Sort tunnels case-insensitivelySamuel Holland
The second comparator is required to allow multiple tunnels that differ only in case. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06SortedKeyedList...: Support arbitrary comparatorsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Keyed...: Rename all the thingsSamuel Holland
Hooray for diamond interface inheritance. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06project: Minor cleanupsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06model: Proxy all async work through the TunnelManagerSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelManager: Enumerate running tunnels only onceSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Tunnel: Require passing a state to the constructorSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Backend: Add a function to enumerate running tunnelsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06MainActivity: Fix ActionBar after rotationSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelDetailFragment: Allow copying peer public keysSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelDetailFragment: Remove state text and last changeSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06activity: Remove useless indirectionSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06databinding: Collection classes use generic ESamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06databinding: Simplify method signatureSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06databinding: Remove unused classes and methodsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Convert the list of tunnels to a KeyedObservableListSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06databinding: Add an adapter for the KeyedObservableListSamuel Holland
This adapter actually finally implements stable IDs correctly. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06util: Add a keyed list class and a sorted variantSamuel Holland
This is inspired by C#'s KeyedCollection. The sorted variant removes the need for an observable SortedMap. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelManager: Clear primary tunnel when it's removedSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Serviceless rewrite, part 1Samuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package widgets -> widgetSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package bindings -> databindingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-12-26app: Enable Java 8 featuresSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-12-26app: Upgrade to build tools 27.0.2Samuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-12-26wg-quick: set mtu after addressesJason A. Donenfeld
This has all sorts of terrible implications and fixes a problem in a pretty terrible way. If the interface MTU is less than 1280, IPv6 addresses will fail to be added. Rather than explictly trying to catch this and do something particular about it -- such as nicely warning the user that there could be a v6 isolation issue, for example -- we just set the MTU _after_ we set the addresses, so that in setting the MTU, we wind up removing the addresses that were just added. This is pretty bad, but it makes things a bit smoother.
2017-12-20tools: use cmp and right arguments for mountJason A. Donenfeld
Some systems don't have cmp. Some systems have buggy mount tools.
2017-12-20tools: add wg-quick directlyJason A. Donenfeld
We also use all search paths for tool, since many want this to be CLI too.
2017-12-19tools: force ld.goldJason A. Donenfeld
This is to work around a linker bug affecting the NDK. Reference: https://github.com/android-ndk/ndk/issues/602
2017-12-19SettingsActivity: allow for installing command line toolsJason A. Donenfeld
2017-12-18tools: better cmakeJason A. Donenfeld
2017-12-16RootShell: rewriteJason A. Donenfeld
2017-12-15tools: build required tools with apkJason A. Donenfeld
2017-11-30VpnService: require root accessJason A. Donenfeld
2017-11-29NotSupportedActivity: fix font sizeJason A. Donenfeld
2017-11-28ConfigListFragment: Use correct icon for FABSamuel Holland
2017-11-28VpnService: Avoid duplicating file checkSamuel Holland
2017-11-29Config: use consistant verbJason A. Donenfeld
2017-11-29VpnService: search for binaries in most likely places firstJason A. Donenfeld
2017-11-28ConfigList: Always dismiss FAB menu on ListView touchSamuel Holland
2017-11-28NotSupported: Fix linksSamuel Holland
2017-11-28build.gradle: Consistent quoting styleSamuel Holland
2017-11-28ConfigListFragment: Use a floating action menuSamuel Holland
2017-11-28Show ConfigActivity when holding QS tileSamuel Holland
2017-11-28res/drawable: Fix icon sizesSamuel Holland
2017-11-28ConfigActivity: Listen for name changesSamuel Holland
2017-11-28EditFragment: do not autocomplete or capitalize ifnamesJason A. Donenfeld