Jason A. Donenfeld
e7fd53b809
libwg-go: don't forget to include jni calls
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5年前
Jason A. Donenfeld
164ec1e31d
Bump version so that we have correct submodule hashes
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5年前
Jason A. Donenfeld
373a5f18d6
tools: update submodules
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
5年前
Jason A. Donenfeld
36058ead7d
Never use system go
Telling people to patch their system go is bonkers.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
33fd5b4634
Update to go modules
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
91647978e6
Fix small error
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
d0b64f4bd5
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
c23d58bc27
Peer: prefer v4 endpoints to v6
This works around DNS64 XLAT changeovers.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
49a9475c4a
strings: properly mark positionals
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
364032fe84
Update gradle and external deps
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
5658584803
global: update copyright headers
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
d580200989
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
c2cdde73d1
tools: bump submodules
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
bc74d4d7f8
libwg-go: update golang version
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Harsh Shandilya
535c611f2d
QuickTileService: Don't use deprecated getDrawable method
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前
Harsh Shandilya
6efbf65405
Target SDK 28
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前
Harsh Shandilya
abb121224d
FragmentUtils: Make final and prevent instantiation
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前
Harsh Shandilya
8ad4657d6f
Sort dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前
Harsh Shandilya
6d3f1e00a5
Supress false-positive DefaultLocale warnings
We decided in 402472237e8f that it's a bad idea for our use-case
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前
Harsh Shandilya
c38f6c471d
Extract error messages to string resources
Useful for validation errors and localisation later on
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前
Jason A. Donenfeld
85462de254
MonkeyedSnackbar: remove
This didn't actually help with much and caused problems.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Zhao Gang
61d4f17f5d
config: fix wrong Peer endpoint string format
When a tunnel is running, saving the tunnel's config with an IPv6
address endpoint like [::1]:42 would result in the wrong format : 42.
This patch fixes it.
For endpoints with an IPv6 address(e.g. [::1]:42). Since the default
endpoint InetSocketAddress is created unresolved, getEndpointString()
returns "[::1]:42" (InetSocketAddress.getHostString() returns the
literal hostname). After the endpoint is resolved, getEndpointString()
returns ": 42" (InetSocketAddress.getHostString() returns the IPv6
address without the square brackets). This inconsistent return values
caused the above mentioned bug.
With this patch, function getEndpointString would return the right
format string whether the endpoint is resolved or not.
Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
09cf73cd3c
GoBackend: make socket IPC optional
This fixes the multi-user case, which cannot be determined at compile
time and probably isn't reasonable to consider anyway in a global
manner.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
ffa3cefa67
Style: use attrs from appcompat rather than from frameworks
This isn't possible for colorForeground, colorBackground,
textAppearanceMedium, but at least it's useful for some things here.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
8ec2cc8582
FloatingActionsMenu: don't wrap context on asus api 21
Works around frameworks bug.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
75dfa0643b
Show different color for multiselection
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
d5cde43158
Replace hard-coded colors with theme colors
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Harsh Shandilya
6493a9a1f2
Remove placeholder color and directly use alpha
Why wasn't this done like this in the first place?
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前
Jason A. Donenfeld
f35e059194
MonkeyedSnackbar: fix typos
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
3cb3e9d8b7
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
5dfc5659ad
ConfigNamingDialog: use name input filter
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
c4102992ae
MonkeyedSnackbar: work around Harsh's broken phone
I think I'd probably like to revert this, since presumably there's a
good reason in the first place why the support lib disables animations
when accessibility services are turned on?
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
219f4e8016
MSF: make it more obvious what needs to be done
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
6558140a7c
FloatingActionButtonBehavior: animate transitions
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
db7b61ab80
Roll back to API 27 for now
There's no source available for API 28, which is a pain. But this commit
should be reverted whenever source is released.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
bce5d852e1
Target API 28
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
b960b4a6cd
TunnelListFragment: show selected tunnel
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
1b10e75168
TunnelListFragment: fix multiselection on rotation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
07359e392c
FloatingActionButonBehavior: set translation back to 0 when snackbar dies
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
e5a5bad240
MainActivity: only show two column on tablets
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Samuel Holland
ca92ac60b7
MainActivity: Fix fragment selection logic
Signed-off-by: Samuel Holland <samuel@sholland.org>
6年前
Jason A. Donenfeld
e29c21f8df
Application: refuse to run on old android
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
6ceeac93bf
QuickTileService: fix bug the wrong way
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
9f861096ac
config: show more informative error message on wrong key
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
520df16885
Set ACRA install source
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
c905ef6083
Version bump
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Eric Kuck
9652fe99df
TunnelDetailFragment now restores state correctly after process death
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
62d8beff96
Application: use proper completablefuture for backend
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Jason A. Donenfeld
7d438e9dbc
Wire up ACRA
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
6年前
Harsh Shandilya
b364221c93
FloatingActionBehaviour: Adjust constructors
Get these in line with the parent class
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
6年前