aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/config/InetAddresses.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrate tunnel related classes to tunnel/ Gradle moduleHarsh Shandilya2020-03-091-71/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* InetAddresses: don't have global android importJason A. Donenfeld2020-02-101-3/+2
| | | | | | This allows a proper fallback on normal JRE. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* InetAddresses: cleanup and implement final fallbackJason A. Donenfeld2019-10-181-22/+30
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* export: use content resolver on android Q+Jason A. Donenfeld2019-10-121-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Migrate to Android 10Harsh Shandilya2019-09-301-3/+11
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* InetAddresses: prepare for Android 10's real method supportJason A. Donenfeld2019-09-301-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update copyrightJason A. Donenfeld2019-01-071-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Provide semantically meaningful exceptions for translationSamuel Holland2018-12-151-4/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remodel the ModelSamuel Holland2018-12-081-9/+20
| | | | | | | | | | | | | | - 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-061-2/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Extract error messages to string resourcesHarsh Shandilya2018-08-261-1/+4
| | | | | | Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* InetAddresses: unwrap reflection exceptionsJason A. Donenfeld2018-07-161-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Add nullity annotationsEric Kuck2018-07-131-2/+0
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-061-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* config: Refactor IPCidr and use of InetAddressSamuel Holland2018-06-191-0/+42
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>