summaryrefslogtreecommitdiffhomepage
path: root/app
AgeCommit message (Collapse)Author
2018-05-10build: version bump and fix disasterJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-09build: version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-09theme: revert to old color schemeJason A. Donenfeld
Noble effort, but ultimately ugly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-09global: Cleanup line lengths and misc lint warningsHarsh Shandilya
I know we decided to ditch the idea of shutting up "Exception thrown with empty param" warnings but this pesters me too much and we can instead just treat this as a weird future proofing thing if and when we end up needing the exception messages. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-09MainActivity: Nip out as early as possible when moving to same fragmentHarsh Shandilya
Save the useless logging and fragment manager object creation. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-09libwg-go: new timer system upstreamJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-09libwg-go: ensure local Go instance is patchedJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-05mipmap: Fix formatting of launcher icon XMLSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-05-05styles: Fixup CAB background colorHarsh Shandilya
Long pressing any list item entry would cause the action bar to use the dark color from the parent theme -- fix that. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05drawables: Introduce material iconographyHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05styles: Propagate WireGuard blue in UIHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05styles: Propagate WireGuard red in UIHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05TunnelEditor: Add toast messages to success eventsHarsh Shandilya
Letting the user know that the operation went successfully via visual cues is a nice UX touch. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05wireguard-go: bump submoduleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-03TunnelEditor: Remove unused parameterHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-03ui: Use a proper CardView based layoutHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-03tools: include libmnl paths after system paths for ndk 17Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-03config: loosen parser to match realityJason A. Donenfeld
Mid-line comments, mixed case. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-03global: fix up copyrightsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-02Keypair: Minimize the scope of warning suppressionSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-05-02KeyEncoding: Address lints/warnings and match line lengthSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-05-02global: Add or update copyright headers in Java codeSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-05-02global: Some more lint cleanupHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-02drawable: add adaptive iconJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-02libwg-go: avoid phony target and update goJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-02libwg-go: Ignore go{path,root}Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-01libwg-go: do not deadlock on CloseJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30Version bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30ZipExporterPreference: account for directory already existingJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30global: Clean up JavaSamuel Holland
Address Java and Android lints. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30global: Clean up XMLSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30global: Automatic code formattingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30app: Sort dependenciesSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30libwg-go: use system Go when possibleJason A. Donenfeld
We're still maybe curlzipping and using a binary distribution of Go, but at least this is only the case on machines that don't have go. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30Tunnel importer: stricter file filtersJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30proguard: enableJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30Preferences: use v14 material styleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30ZipExporterPreference: requireNonNull is redundantJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30wg: Collapse fab when pressing back before exitingHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30SettingsActivity: Migrate permissions check to AppCompatHarsh Shandilya
Pretty straightforward, I was clearly overthinking this. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30ZipExporterPreference: Correctly get preference activityHarsh Shandilya
In AppCompat based preferences, this#getContext returns an object of android.view.ContextThemeWrapper class from where we can safely extract a reference to our parent activity. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30TunnelListFragment: Use Collections methods in place of ArraysHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30wg: Break out crossport dependencyHarsh Shandilya
Replace all crossport uses with upstream design support library components. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30wg-build: Upgrade databinding library to 3.1.2Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30SettingsActivity: Gracefully exit when options menu home is pressedHarsh Shandilya
This is an activity, so it does not join the fragment backstack, but instead piles on top SettingsActivity | -> MainActivity | -> EditorFragment | -> DetailFragment | -> ListFragment Without overriding the back button in the toolbar, it simply kills the entire state on MainActivity and causes it to reload. By calling finish() on the activity when home is pressed from the item menu we can silently make it die without affecting any underlying states held by MainActivity and instead return to the exact fragment we launched settings from. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30SettingsActivity: Define preferenceTheme for AppCompatHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30wg: Migrate menu visibility to AppCompatHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30wg: Add and use dummy AppThemeHarsh Shandilya
Preparation for when the app will start carrying colors reflecting the WireGuard brand. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30Prefer AppCompat classesHarsh Shandilya
AppCompat is the preferred way to go for any app targetting a wider range of SDKs. Replace all activities and fragments with their AppCompat variants and fixup method calls to use support variants. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30wireguard: Extract dependency versions to ext structHarsh Shandilya
Maintain common versions in a single place Also upgraded the support library to 27.1.1 and databinding library to 3.1.1. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>