2dust
5628cbee3a
Merge pull request #725 from mzz2017/patch-1
...
fix: the problem that importing SS URL not support standard format
2020-11-05 14:30:56 +08:00
mzz
9e49a2dbd9
fix: the problem that importing SS URL not support standard format
2020-11-02 12:37:26 +08:00
yuhan6665
39af5fdb86
Release AndroidLibV2rayLite 22
2020-10-21 21:31:23 -04:00
2dust
7b2794f6be
Merge pull request #695 from rurirei/proxyOnly
...
proxyOnly update
2020-10-22 07:59:19 +08:00
2dust
411d9e5c9a
Merge pull request #691 from rurirei/api30
...
target 30
2020-10-22 07:58:41 +08:00
Rurirei
a57aee9424
proxyOnly update
...
* do not run Tun2socks under proxyOnly
2020-10-21 15:19:55 +08:00
Rurirei
4602afc67e
call stopV2ray on onDestroy
2020-10-21 15:14:44 +08:00
Rurirei
ceb29840f2
BuildTools 30 fix
2020-10-20 09:49:16 +08:00
Rurirei
afa0eb9375
package visibility
2020-10-20 07:20:37 +08:00
Rurirei
49b682f0f3
target 30
...
* update dependencies
2020-10-20 07:10:19 +08:00
Rurirei
d5def3bf2f
useless anko
2020-10-20 07:06:36 +08:00
2dust
51b97b64f2
Merge pull request #670 from yuhan6665/fix-gson
...
Fix crash when custom config cannot be parsed by Gson
2020-10-15 08:18:59 +08:00
yuhan6665
a5d3dda941
Fix crash when custom config cannot be parsed by Gson
2020-10-14 11:28:32 -04:00
Rurirei
030b9a3900
native fixes
...
* call sendFd() before tun2socks start
2020-10-08 15:50:51 +08:00
Rurirei
24d105a53c
catch logs to checkout this error
2020-10-08 15:49:30 +08:00
2dust
45805d6df7
Merge pull request #644 from yuhan6665/clean-dependency
...
Clean dependency
2020-10-04 19:16:27 +08:00
yuhan6665
89be5f077b
Say goodbye to Anko
...
replace with support lib PreferenceManager
replace LayoutInflater
2020-10-03 11:19:46 -04:00
yuhan6665
896889778f
Replace Anko with support lib AlertDialog
...
replace some property setter
2020-10-03 11:19:46 -04:00
yuhan6665
10f705a8b2
Use standard startActivity
2020-10-03 11:19:46 -04:00
yuhan6665
2956fa2030
Replace doasync with Kotlin coroutine
...
Using a custom coroutine scope, we don't need to keep track of the
running job. We can simply call cancel children for the scope.
2020-10-03 11:19:46 -04:00
yuhan6665
c2a704a6ea
Deprecate some anko function
...
- Replace toast with inline function
- Use standard startActivityForResult
2020-10-03 11:19:46 -04:00
yuhan6665
78cac0cd90
Replace divider with standard library
...
Also, cleanup some unused classes
2020-10-03 11:19:46 -04:00
Rurirei
3ffb2e8e05
catch exception for lateinit
...
PropertyNotInitialized exception needs catch for lateinit var
2020-10-03 20:23:43 +08:00
Rurirei
e2d667e0bb
sendFd() should not called twice
2020-10-01 17:36:07 +08:00
Rurirei
3ae0777d7f
useless bool
2020-10-01 17:07:51 +08:00
Rurirei
5e6348676c
ignore err of registerNetworkConnectivity
2020-10-01 15:32:08 +08:00
yuhan6665
c54d8fa43a
Update dependencies
...
Fix a delegate annotation for Kotlin 1.4
2020-09-25 18:37:29 -04:00
yuhan6665
4abf20fa32
Fix protect() when there is no service
2020-09-20 19:00:14 -04:00
yuhan6665
83aab0f880
Add help link in mode setting
2020-09-18 17:48:54 -04:00
2dust
66ea17877e
Merge pull request #598 from yuhan6665/fix-process
...
Add missing process for ScSwitchActivity
2020-09-12 19:48:04 +08:00
yuhan6665
5bbf40c784
Grey out per-app proxy in proxy only mode
2020-09-11 21:30:08 -04:00
yuhan6665
6d5c23245c
Move version to drawer
...
Make it easier to check version.
Technically, version should not be selectable setting
2020-09-11 21:30:08 -04:00
yuhan6665
b148290211
Add missing process for ScSwitchActivity
2020-09-11 21:29:58 -04:00
2dust
c473f9bb13
Merge pull request #587 from yuhan6665/proxy-mode
...
Proxy only mode
2020-09-06 08:09:10 +08:00
yuhan6665
bebc6fea13
Add mode in settings
2020-09-04 18:19:51 -04:00
yuhan6665
9271857b1e
Remove VPN related logic in toggle components
2020-09-04 18:19:51 -04:00
yuhan6665
7ea78c1840
Make all toggle component run in daemon process
...
This commit make the two process with clear role:
- Daemon process will run proxy core, keep minimum configuration
and long running in the background, support toggle on/off
- Main process will have all UI, all servers configuration
2020-09-04 18:19:51 -04:00
yuhan6665
ac668788b3
Add proxy only service
2020-09-04 18:19:51 -04:00
yuhan6665
adfcf0a5d9
Fix some trivial IDE warnings
2020-09-04 18:19:51 -04:00
yuhan6665
15b5595797
Refactor service
...
Break VpnService so that it only control vpn and tun2socks,
Other function is moved to a singleton service manager.
This code makes it possible to add proxy only service next.
2020-09-04 18:19:51 -04:00
Akatsuki
5a18296cb2
V2RayVpnService.kt: use setMetered
...
setMetered to false let VPN network to inherit its meteredness from its underlying networks.
Revert `addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED)`
2020-09-03 02:07:11 +08:00
Akatsuki
1256edbaf5
V2RayVpnService.kt: fix OS marks VPN as metered
...
VPN apps targeting Build.VERSION_CODES.Q or above will be considered metered by default.
Ref:
https://developer.android.com/reference/android/net/VpnService.Builder#setMetered(boolean)
https://developer.android.com/about/versions/pie/android-9.0-changes-all#network-capabilities-vpn
2020-09-02 13:46:18 +08:00
yuhan6665
e798cb3f42
Fix release build with tun2socks
2020-08-29 12:34:54 -04:00
2dust
b970f0bcff
Merge pull request #574 from yuhan6665/all-outbounds-speed
...
All outbounds speed
2020-08-29 20:33:18 +08:00
yuhan6665
eb8bd13266
Add speed notification for all outbounds
2020-08-28 21:52:44 -04:00
yuhan6665
d850c88c63
Support ordered set in DPreference
...
Note the ordered set need to be stored internally as String,
not string set
2020-08-28 21:52:43 -04:00
yuhan6665
6bee795c0d
Update target sdk to 29
2020-08-27 20:19:00 -04:00
yuhan6665
d7d7e029e0
Fix compile warnings that will be error in sdk 29
2020-08-27 20:18:59 -04:00
yuhan6665
5e0235cf70
Fix test crash if node is removed
...
This should fix almost all issues when the testing is in progress
and the array is changed. However, there might be uncovered edge
cases since the vmess array is in both process and accessed by
multiple threads.
2020-08-21 19:47:33 -04:00
yuhan6665
b2437279dc
Update UI for custom config
...
- add server address and port
- add share button (full configuration)
- update "Export all config to clipboard" text to indicate
it will not include custom config
2020-08-15 19:37:59 -04:00