aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* fab: properly get theme colorJason A. Donenfeld2018-06-051-8/+7
| | | | | | | Harsh changed this before, but my original way is what the support library does internally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: Remove useless overrideHarsh Shandilya2018-06-051-5/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: Use themed context to set styleHarsh Shandilya2018-06-051-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* DarkMode: move to shared preferences listenerJason A. Donenfeld2018-06-055-206/+79
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: styleJason A. Donenfeld2018-06-041-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionsMenu: remove unused importsJason A. Donenfeld2018-06-041-3/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseActivity: support android 5 and 6 when clearing drawable cacheJason A. Donenfeld2018-06-041-7/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogExporterPreference: get all past processesJason A. Donenfeld2018-06-041-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseActivity: invalidate icon cache on Android PJason A. Donenfeld2018-06-042-15/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelManager: disable dangerous intents for nowJason A. Donenfeld2018-06-041-0/+6
| | | | | | | We need to think about how to allow this securely. It's not okay for all apps to be allowed to twiddle with VPN settings. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelManager: new intentsJason A. Donenfeld2018-06-044-13/+52
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: don't use round iconJason A. Donenfeld2018-06-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: Move version pref to top and add iconHarsh Shandilya2018-06-022-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Backends: print versions somewhere in logJason A. Donenfeld2018-06-022-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: Cleanup classesHarsh Shandilya2018-06-0211-40/+41
| | | | | | | - Use final modifer wherever possible - Use try-with-resources for input/output streams Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* crypto: KeyEncoding: Fix styleHarsh Shandilya2018-06-021-25/+32
| | | | | | | - Replace python style variable names with camel case - Don't declare multiple variables in the same line Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Topic: John does things differentlyJason A. Donenfeld2018-06-021-29/+30
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ExporterPreferences: disable control immediatelyJason A. Donenfeld2018-06-022-4/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: add log exporterJason A. Donenfeld2018-06-024-18/+137
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Topic: make reentrantJason A. Donenfeld2018-06-011-6/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseActivity: flush themed icon cache on theme changeJason A. Donenfeld2018-06-011-0/+18
| | | | | | | | | | The most terrible hack you have ever seen. The drawable cache isn't properly flushed when changing the theme -- a frameworks bug, evidently -- so we work around it by digging deep into the mud. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* 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>