aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/configStore (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remodel the ModelSamuel Holland2018-12-081-4/+5
| | | | | | | | | | | | | | - The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update copyright headersJason A. Donenfeld2018-09-062-4/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-062-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Give Samuel heart attack by removing DaggerJason A. Donenfeld2018-06-071-2/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: Cleanup classesHarsh Shandilya2018-06-021-3/+3
| | | | | | | - Use final modifer wherever possible - Use try-with-resources for input/output streams Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: fix up copyrightsJason A. Donenfeld2018-05-032-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-022-0/+10
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* FileConfigStore: Warn for deletion failure in exception pathSamuel Holland2018-01-181-1/+2
| | | | | | | There's nothing we can do about it at this point; we're already rolling back changes. Signed-off-by: Samuel Holland <samuel@sholland.org>
* FileConfigStore: cleanup on rename problemJason A. Donenfeld2018-01-101-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ConfigStore: Add a rename method and implement itSamuel Holland2018-01-102-0/+19
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* FileConfigStore: Simplify error handlingSamuel Holland2018-01-091-8/+4
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Clean up error loggingSamuel Holland2018-01-091-2/+5
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Fix or suppress most lints/warningsSamuel Holland2018-01-081-1/+1
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Prefix tags with WireGuard/Jason A. Donenfeld2018-01-081-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FileConfigStore: Move function returns outside try blocksSamuel Holland2018-01-071-2/+2
| | | | | | | This makes more clear what things can throw exceptions, and the functions' control flow. Signed-off-by: Samuel Holland <samuel@sholland.org>
* Make TunnelManager the point of asynchronicitySamuel Holland2018-01-072-67/+42
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Serviceless rewrite, part 1Samuel Holland2018-01-062-0/+163
Signed-off-by: Samuel Holland <samuel@sholland.org>