Mygod
80d93a84bd
Add support for TCP Fast Open ( #809 )
...
* Add support for TCP Fast Open
* Remove useless echo done line
* Check return values before proceeding in TcpFastOpen.enabled
2016-08-16 14:37:21 +08:00
Mygod
c7fc4095ff
Remove compatibility code for Jelly Bean
2016-08-16 10:26:52 +08:00
Mygod
984e75ae99
Fix incorrect handling of default values on database upgrade
2016-08-09 04:34:51 +08:00
Max Lv
b9a33cf1db
Add KCP support ( #788 )
...
Add KCP support for shadowsocks.
KCPTUN should be setup on a different port to avoid conflicts with Shadowsocks' UDP support.
2016-08-04 23:43:18 -05:00
Mygod
07eb4d2a5c
Refine utils.Key for readability
2016-07-05 19:31:58 +08:00
Mygod
c480137dec
Remove .aidl.Config and persisting SharedPreferences ( #742 )
...
Previously a profile can exist in the following forms:
* `.database.Profile` used for everything backend;
* `.ShadowsocksSettings` which uses Preferences to provide UI to tweak settings;
* `.aidl.Config` used for IPC;
* `<data dir>/shared_pref/com.github.shadowsocks_preferences.xml` which exists for no apparent reason.
Thus long code block can be seen whose purpose is simply converting the data from one form to another. This commit intends to remove the latter two by:
1. Using profile ID and take advantage of fs r/w lock SQLite uses for IPC and better extensibility;
2. Stop persisting redundant fields in the preferences file and update database directly.
2016-07-05 01:07:09 -05:00
Mygod
86f32ea67c
Add app.isNatEnabled for performance and readability
...
Warning: This is a boring commit.
2016-05-24 11:52:06 +08:00
Mygod
28ea9dd807
Use app.* instead of ShadowsocksApplication.*
...
Because typing ShadowsocksApplication is quite troublesome.
2016-05-24 11:37:33 +08:00
Mygod
535561cfe4
Manage auto connect via Android API
2016-05-24 10:53:34 +08:00
Mygod
a1871f792d
Fix building
2016-05-21 17:51:10 +08:00
Mygod
2c2e5790f5
Fix typo: deattach => detach
...
I can't believe I've been so blind.
2016-05-05 20:04:03 +08:00
Mygod
c8bb8fc929
Fix uncancellable about dialog
2016-04-14 22:45:12 +08:00
Mygod
8453267996
New UI polishment
...
* Refine exceptions handling when parsing per-app config string
* Remove redundant profiles Preference
* Move Network Traffic to title bar
* Add ripple to title text
* Animate using animateLayoutChanges
* Hide connection test in NAT mode
2016-04-03 09:33:14 -07:00
Mygod
0f2ae6521b
Oops fix a bug
2016-03-11 22:55:47 +08:00
Mygod
4c1a817c1b
Fix a crash on Android N preview
2016-03-11 22:17:06 +08:00
Mygod
cd5c2ef8ef
Fix rate display disappearing in StatusPreference
...
It turns out that `onCreateView` gets called every time `setSummary` is invoked, and thus restoring texts for `TextView` is mandatory.
2016-02-08 13:47:30 +08:00
Mygod
5a84854881
Refine layout using GridView
2016-02-08 12:53:21 +08:00
Max Lv
713ff53030
Refine Traffic Stat
2016-01-24 16:11:18 +08:00
Max Lv
bfbbb90ac3
Fix #523
2016-01-08 19:56:29 +08:00
Mygod
b6fc013a06
Unregister preference change callback in onDestroy instead of onPause
...
Fix #496
2015-12-27 10:17:07 +08:00
Mygod
0f9b686e55
Fix per-app proxy not enabled when NAT is on
2015-12-25 17:29:00 +08:00
Mygod
9fb0639f86
Move preference related logic to ShadowsocksSettings
2015-12-25 16:07:07 +08:00
Max Lv
0ee615ac6c
Ensure the fragment is unregistered onPause
...
It's quite tricky to avoid getActivity() returns null
http://stackoverflow.com/questions/8914368/getactivity-return-null-in-preferencefragment
2015-12-16 17:05:49 +08:00
Max Lv
ce023bf49b
Hide connection test in NAT mode
2015-12-16 16:13:22 +08:00
Max Lv
0b6fe8a4da
Refine connection test
2015-12-16 13:26:49 +08:00
Mygod
10ebf88484
Merge branch 'master' of shadowsocks/shadowsocks-android
2015-12-15 19:50:02 +08:00
Mygod
62a572ee3a
Implement HTTP client test
...
Fix #479
2015-12-15 19:39:57 +08:00
Max Lv
e82c7ccb99
Refine #478
2015-12-15 18:25:24 +08:00
Mygod
3108306b6e
Revert a change
2015-12-15 17:58:21 +08:00
Max Lv
88b875370e
Fix #478
2015-12-15 17:37:06 +08:00
Max Lv
38b333811e
Fix a crash when switching NAT mode
2015-12-07 17:25:50 +08:00
Mygod
93084f0ed0
Ask for ROOT only when it's needed
2015-12-06 20:04:41 +08:00
Mygod
8c2690c0fb
Fix #468
2015-12-06 00:02:29 +08:00
Max Lv
d2a1027229
Fix an issue of attach/deattach service when switching NAT mode
2015-12-05 17:32:56 +08:00
Mygod
c1730e4fa6
Add a toggle for showing traffic in notification.
...
TODO: Disabling it causes weird behavior. :-(
2015-11-24 21:16:08 +08:00
Mygod
da3690d18c
Fix #441
2015-11-23 21:21:47 +08:00
Mygod
81587b0551
Use AlertDialogs in support lib
2015-11-19 14:33:10 +08:00
Mygod
b05adbdd43
Remove redundant Global Proxy
2015-11-09 20:32:22 +08:00
Mygod
bf9b3f4fde
Hide root summary if rooted
2015-11-09 17:42:02 +08:00
Mygod
6f567879e5
Adjust preference order
2015-11-09 13:33:02 +08:00
Mygod
fc7c423695
Remove redundant resources
2015-11-09 03:13:31 +08:00
Mygod
b505ff3705
Move NAT/VPN switch to a more user-friendly place
2015-11-09 02:48:48 +08:00
Mygod
51e155c940
Add more material design (3)
2015-11-09 01:58:36 +08:00
Mygod
d4ec43e526
Add more material design (1)
2015-11-07 12:32:22 +08:00