Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-07 | TunnelManager/QuickTileService: Remember last used tunnel | Samuel Holland | |
This is actually a bit simpler than having a manually-selected "primary" tunnel, and is hopefully easier for the user. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | Remove primary configuration preference | Samuel Holland | |
It is no longer used. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | FileConfigStore: Move function returns outside try blocks | Samuel Holland | |
This makes more clear what things can throw exceptions, and the functions' control flow. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | Tunnel: Remove UNKNOWN state | Samuel Holland | |
It's never used. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | Move bundle keys where they are used | Samuel Holland | |
This both clarifies and simplifies the code. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | WgQuickBackend: Prefer ArrayList over LinkedList | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | app: Upgrade to build tools version 27.0.3 | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | ConfigEditorFragment: Support renaming tunnels | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | model: Allow renaming tunnels | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | model: Remove confusing uses of completion chaining | Samuel Holland | |
This looks like the builder pattern, but isn't. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | TunnelListFragment: Name a CompletionStage what it is | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | Tunnel: The name passed to isNameValid is never null | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | ConfigEditorFragment: Ensure localName is never null | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-07 | Make TunnelManager the point of asynchronicity | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | TunnelManager: Sort tunnels case-insensitively | Samuel 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-06 | SortedKeyedList...: Support arbitrary comparators | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | Keyed...: Rename all the things | Samuel Holland | |
Hooray for diamond interface inheritance. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | project: Minor cleanups | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | model: Proxy all async work through the TunnelManager | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | TunnelManager: Enumerate running tunnels only once | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | Tunnel: Require passing a state to the constructor | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | Backend: Add a function to enumerate running tunnels | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | MainActivity: Fix ActionBar after rotation | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | TunnelDetailFragment: Allow copying peer public keys | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | TunnelDetailFragment: Remove state text and last change | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | activity: Remove useless indirection | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | databinding: Collection classes use generic E | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | databinding: Simplify method signature | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | databinding: Remove unused classes and methods | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | Convert the list of tunnels to a KeyedObservableList | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | databinding: Add an adapter for the KeyedObservableList | Samuel Holland | |
This adapter actually finally implements stable IDs correctly. Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | util: Add a keyed list class and a sorted variant | Samuel 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-06 | TunnelManager: Clear primary tunnel when it's removed | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | Serviceless rewrite, part 1 | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | Rename package widgets -> widget | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2018-01-06 | Rename package bindings -> databinding | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2017-12-26 | app: Enable Java 8 features | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2017-12-26 | app: Upgrade to build tools 27.0.2 | Samuel Holland | |
Signed-off-by: Samuel Holland <samuel@sholland.org> | |||
2017-12-26 | wg-quick: set mtu after addresses | Jason 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-20 | tools: use cmp and right arguments for mount | Jason A. Donenfeld | |
Some systems don't have cmp. Some systems have buggy mount tools. | |||
2017-12-20 | tools: add wg-quick directly | Jason A. Donenfeld | |
We also use all search paths for tool, since many want this to be CLI too. | |||
2017-12-19 | tools: force ld.gold | Jason A. Donenfeld | |
This is to work around a linker bug affecting the NDK. Reference: https://github.com/android-ndk/ndk/issues/602 | |||
2017-12-19 | SettingsActivity: allow for installing command line tools | Jason A. Donenfeld | |
2017-12-18 | tools: better cmake | Jason A. Donenfeld | |
2017-12-16 | RootShell: rewrite | Jason A. Donenfeld | |
2017-12-15 | tools: build required tools with apk | Jason A. Donenfeld | |
2017-11-30 | VpnService: require root access | Jason A. Donenfeld | |
2017-11-29 | NotSupportedActivity: fix font size | Jason A. Donenfeld | |
2017-11-28 | ConfigListFragment: Use correct icon for FAB | Samuel Holland | |
2017-11-28 | VpnService: Avoid duplicating file check | Samuel Holland | |