aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Settings: add versionJason A. Donenfeld2018-06-015-0/+78
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* colors: final touchesJason A. Donenfeld2018-06-012-2/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Use better list colors in night modeHarsh Shandilya2018-06-011-0/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelListFragment: Dejank action mode titleHarsh Shandilya2018-06-011-1/+5
| | | | | | | | | | | | When unselecting items, the toolbar briefly says '0 items selected' before it reverts back to the non-action mode toolbar which feels janky at best. To mitigate this, just set a blank title to the action mode toolbar when item count is 0, to facilitate the smoothness of the transition to non-action mode toolbar. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: Make label responsive to night modeHarsh Shandilya2018-06-014-2/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable classHarsh Shandilya2018-06-011-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionButton: Make attribute grabbing not be terribleHarsh Shandilya2018-06-013-11/+10
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* theme: add dark theme with toggleJason A. Donenfeld2018-06-016-3/+183
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: fix theme situation and clean up cruft while adding more cruftJason A. Donenfeld2018-06-0118-43/+78
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: default to app theme colorsHarsh Shandilya2018-06-012-7/+14
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: use AppCompatTextView for labelHarsh Shandilya2018-06-011-2/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: cleanupHarsh Shandilya2018-06-013-34/+32
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* wg-quick: don't break push notificationsJason A. Donenfeld2018-05-311-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KeyEncoding: more constant timeJason A. Donenfeld2018-05-301-21/+28
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionButton: import cleaned up getbase codeJason A. Donenfeld2018-05-2916-4/+1288
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* SharedLibraryLoader: introduce to work around Samsung PackageManager bugsJason A. Donenfeld2018-05-292-4/+76
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Support always-on-vpnJason A. Donenfeld2018-05-275-9/+55
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* EditorFragment: show toast on creation tooJason A. Donenfeld2018-05-271-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: try no stickiness and no roamingJason A. Donenfeld2018-05-261-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: reenable sticky sockets, just slightly less stickyJason A. Donenfeld2018-05-241-0/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ExceptionLoggers: never have a null messageJason A. Donenfeld2018-05-166-11/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: Directly use views for snackbarsHarsh Shandilya2018-05-162-15/+8
| | | | | | There should be no need to deference an extra variable. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* theme: revert to old color schemeJason A. Donenfeld2018-05-093-17/+1
| | | | | | Noble effort, but ultimately ugly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Cleanup line lengths and misc lint warningsHarsh Shandilya2018-05-0910-71/+85
| | | | | | | | | 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>
* MainActivity: Nip out as early as possible when moving to same fragmentHarsh Shandilya2018-05-091-3/+3
| | | | | | Save the useless logging and fragment manager object creation. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* mipmap: Fix formatting of launcher icon XMLSamuel Holland2018-05-052-6/+6
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* styles: Fixup CAB background colorHarsh Shandilya2018-05-051-0/+1
| | | | | | | 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>
* drawables: Introduce material iconographyHarsh Shandilya2018-05-051-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* styles: Propagate WireGuard blue in UIHarsh Shandilya2018-05-052-0/+6
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* styles: Propagate WireGuard red in UIHarsh Shandilya2018-05-053-1/+10
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelEditor: Add toast messages to success eventsHarsh Shandilya2018-05-051-0/+2
| | | | | | | 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>
* TunnelEditor: Remove unused parameterHarsh Shandilya2018-05-031-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: Use a proper CardView based layoutHarsh Shandilya2018-05-034-417/+442
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* config: loosen parser to match realityJason A. Donenfeld2018-05-032-5/+9
| | | | | | Mid-line comments, mixed case. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: fix up copyrightsJason A. Donenfeld2018-05-0347-33/+49
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Keypair: Minimize the scope of warning suppressionSamuel Holland2018-05-021-1/+1
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* KeyEncoding: Address lints/warnings and match line lengthSamuel Holland2018-05-021-9/+12
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-0245-1/+224
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Some more lint cleanupHarsh Shandilya2018-05-022-31/+28
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* drawable: add adaptive iconJason A. Donenfeld2018-05-024-0/+49
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ZipExporterPreference: account for directory already existingJason A. Donenfeld2018-04-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Clean up JavaSamuel Holland2018-04-3013-215/+237
| | | | | | Address Java and Android lints. Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Clean up XMLSamuel Holland2018-04-303-9/+18
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Automatic code formattingSamuel Holland2018-04-3022-919/+893
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Tunnel importer: stricter file filtersJason A. Donenfeld2018-04-301-2/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: use v14 material styleJason A. Donenfeld2018-04-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ZipExporterPreference: requireNonNull is redundantJason A. Donenfeld2018-04-301-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg: Collapse fab when pressing back before exitingHarsh Shandilya2018-04-302-2/+19
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* SettingsActivity: Migrate permissions check to AppCompatHarsh Shandilya2018-04-301-20/+11
| | | | | | Pretty straightforward, I was clearly overthinking this. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ZipExporterPreference: Correctly get preference activityHarsh Shandilya2018-04-301-2/+14
| | | | | | | | 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>