527 Commits
Author SHA1 Message Date
Max Lv b9517f0703 Bump version 2018-04-23 19:58:48 -07:00
Mygod 33a8967f30 Revert "make connection test url configurable" (#1767) 2018-04-19 22:24:44 -07:00
V.E.O 8e83272fa7 remove test URL for ChinaList 2018-04-19 23:53:19 +08:00
VYSE V.E.O d17d791b3b make connection test url configurable 2018-04-18 16:27:14 +08:00
Max Lv 63ae014581 Fix #1754 2018-04-16 23:56:17 -07:00
Mygod 98df31c258 Use Formatter.formatFileSize
Fix #1751.
2018-04-16 20:37:56 -07:00
Mygod 04092bf8e0 Disable night mode for now 2018-04-16 20:26:32 -07:00
Mygod 5e56bfec89 Fix dialog padding 2018-04-15 09:09:12 -07:00
Max Lv d5fd487ff9 Bump version 2018-04-13 01:35:24 -07:00
Max Lv 89c5d94275 Merge pull request #1747 from Mygod/guarded-process-pool
Manage all processes with GuardedProcessPool
2018-04-12 16:56:31 +08:00
Mygod 1bc851dac0 Fix cache inconsistency 2018-04-10 11:54:44 -07:00
Mygod 518e25d205 Refine plugin lib 2018-04-10 00:32:43 -07:00
Mygod 84c12e705f Update dependencies 2018-04-09 22:17:32 -07:00
Mygod 68f3f8b20d Manage all processes with GuardedProcessPool
This way we can destroy the processes and wait for them to exit in parallel, and ensure the process is destroyed so that we won't encounter strange port being used issue at the same time.
2018-04-09 21:54:11 -07:00
Mygod 36b46d6f32 Refine code style 2018-04-08 20:49:31 -07:00
Max Lv 7687a19cc1 Update GFW List 2018-04-08 18:03:11 -07:00
Max Lv 246e436bbf Bump version 2018-04-05 21:09:40 -07:00
Mygod 0f9ca2c5b5 Update strings.xml (POEditor.com)
Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)

Update strings.xml (POEditor.com)
2018-04-04 20:16:03 -07:00
Max Lv 9f90600867 Bump version 2018-04-01 21:45:38 -07:00
Max Lv 4d2033330b Disable SNI when DNS forwarding enabled 2018-04-01 10:14:58 +08:00
Mygod 26acea8efe Fix code style issues 2018-03-30 15:40:17 -07:00
Mygod a7d7746195 Fix traffic stats not saved in direct boot mode 2018-03-30 15:05:41 -07:00
Mygod ecd3cb5472 Code styling 2018-03-30 15:05:11 -07:00
Max Lv b0d0be1f9d Avoid hostname matching in overture 2018-03-30 01:35:45 -07:00
Max Lv d34ed1642b Revert "Disable China IP list in overture"
This reverts commit 24116b53bc.
2018-03-30 01:35:45 -07:00
Mygod 7d8eabd147 Correctly resolve no plugin found 2018-03-30 01:19:27 -07:00
Max Lv eee293c072 Update GFW List 2018-03-30 01:07:46 -07:00
Mygod b634ef0d82 Name threads for better debugging experience
Also removes an unnecessary thread.
2018-03-30 01:04:42 -07:00
Mygod 32d64222b1 Include exception message in track 2018-03-30 00:52:46 -07:00
Max Lv 7f13b62215 Revert "Fix SQLiteDatabaseLockedException"
This reverts commit 3c532f1ac5.
2018-03-29 23:51:33 -07:00
Mygod 9960f87a64 Fix inconsistent shortcut icons
Will Google ever quit being high and make a consistent UI/specs? I guess not.
2018-03-29 22:09:32 -07:00
Max Lv afac16997d Merge pull request #1709 from onlymash/master
add adaptive shortcut icon for android 8.0+
2018-03-30 10:41:49 +08:00
Max Lv 3dff421867 Bump version 2018-03-29 19:39:19 -07:00
Mygod 6dadff9736 Use underlying network only since Android P
Fixes #1706.
2018-03-29 19:31:29 -07:00
Mygod 35d3707ff2 Update dependencies 2018-03-29 19:21:39 -07:00
onlymash 9a959d6aed remove fillAlpha from shortcut icon 2018-03-29 17:06:28 +08:00
onlymash 698b924603 add adaptive shortcut icon for android 8.0+ 2018-03-29 16:29:09 +08:00
Max Lv ac4aeb5218 Bump version 2018-03-25 21:26:50 -07:00
Max Lv 24116b53bc Disable China IP list in overture 2018-03-24 09:41:44 +08:00
Mygod cffd9d1eb4 Fix usage stats not saved 2018-03-23 01:57:13 -07:00
Mygod 3c532f1ac5 Fix SQLiteDatabaseLockedException 2018-03-23 01:55:04 -07:00
Mygod c64e15acad Catch URISyntaxException 2018-03-23 01:32:25 -07:00
Mygod 9ff33ec1fd Fix IllegalArgumentException thrown by Base64.decode 2018-03-23 01:08:33 -07:00
Mygod a1aed680fd Fix IllegalStateException in Profile.findAll 2018-03-23 00:54:47 -07:00
Mygod dec2059a36 Fix NPE in primaryClip 2018-03-23 00:53:18 -07:00
Mygod 74e2935f1e Actually use underlying network 2018-03-23 00:23:13 -07:00
Mygod 0af450008b Implement network capabilities reporting
This commit should fix the problem where VPN connection is viewed as metered connections on Android P DP1. However as I only have an emulator to test, I can't tell if it really works but it should.

An interesting observation is that the developer can call setUnderlyingNetworks(arrayOfNulls(1)) to make the VPN connection always unmetered. This is more of a quick hack instead of a real fix. Source: https://android.googlesource.com/platform/frameworks/base/+/adbf1d0/services/core/java/com/android/server/connectivity/Vpn.java#312

One may ask whether it's possible to fix this issue for Android 8.1. The short answer is not that I know of.
After some intensive source code reading, I found out that this is the commit that "breaks" whether VPN is metered for Android 8.1: https://android.googlesource.com/platform/frameworks/base/+/43d2a1700b6eb1d804924c6a1e5e0161a13a5348%5E%21/
The key is that isActiveNetworkMetered() used to return getActiveNetworkInfo().isMetered() and now it uses the more up-to-date API getActiveNetwork(). However, getActiveNetworkInfo() ignores VPN connections while getActiveNetwork() prefers VPN connection. And since NetworkCapabilities for VPN Network is always metered by default, this ultimately causes the bug. One might be able to get around this bug by somehow calling NetworkAgent.sendNetworkCapabilities in the correct context.

Fix #1666.
2018-03-22 23:40:15 -07:00
Mygod 75bc9334ef Fix #1691 2018-03-22 23:05:02 -07:00
Mygod ec803d9859 Fix assert not working 2018-03-17 14:20:48 -07:00
Mygod f63842f773 Fix signature checks in ResolvedPlugin 2018-03-08 23:44:29 -08:00