Commit Graph
1081 Commits
Author SHA1 Message Date
Mygod 8fa2e60cf3 Remove redundant bindToService
Please do not create methods casually.
2016-03-11 20:41:46 +08:00
Mygod 8657ef87f4 Crash recovery for NAT mode
Bugfix: when NAT process is killed, Internet access is gone. Reproduce with:

    adb shell killall com.github.shadowsocks:nat

One circumstance it cannot recover from is when updating to a new version, where both processes are killed at the same time. But a reset will be executed when the new version is launched.
2016-03-11 20:39:01 +08:00
Mygod da1b404175 Remove redundant IOUtils 2016-03-11 20:19:45 +08:00
Mygod fcdeb5144a Remove ProcessUtils
It's safe to say that Shadowsocks is only instantialized in the main process, so boom, problem solved.
2016-03-11 20:18:22 +08:00
Mygod 270d436017 Refine ShadowsocksDeathRecipient and ServiceBoundContext 2016-03-11 20:17:23 +08:00
Mygod a4e186b759 Generate images with android-sdk-plugin 2016-03-11 19:27:50 +08:00
Max Lv 9965a71c93 Refine #594 2016-03-07 17:59:15 +08:00
Max Lv 9e09e0329b Merge pull request #594 from ayanamist/miui
Recover unexpected process exit on MIUI
2016-03-07 17:04:45 +08:00
ayanamist c19eb4e9e5 Convert GuardedProcess to Scala 2016-03-07 16:46:54 +08:00
ayanamist cad6d7b62a Recover unexpected process exit on MIUI 2016-03-07 15:48:37 +08:00
Max Lv e4e1a42146 Bump version v2.9.11 2016-02-27 21:09:09 +08:00
Max Lv 76108ec450 Merge pull request #585 from JLLK/master
Fix a issue in ProcessUtils
2016-02-26 14:31:16 +08:00
chentao 5b9a0d0659 Refine #585 2016-02-26 11:48:05 +08:00
Max Lv 6558f275fe Refine #577 2016-02-26 08:54:53 +08:00
chentao c13cf6f5d2 Fix a issue in ProcessUtils 2016-02-26 08:45:43 +08:00
Max Lv cacde5cff1 Fix #584 2016-02-25 21:38:57 +08:00
Max Lv bb2bd82d73 Update README.md 2016-02-25 21:12:56 +08:00
Max Lv 0a46eedba1 Update README.md 2016-02-25 21:04:09 +08:00
Max Lv 63bc60e513 Update README.md 2016-02-25 21:03:04 +08:00
Max Lv d9eb0e5163 Merge pull request #583 from JLLK/master
Fix binder ipc issue when process died unexpected
2016-02-25 21:00:51 +08:00
chentao fc3d26d626 Fix binder ipc issue when process died unexpected 2016-02-25 00:04:57 +08:00
chentao 1bb3a6bf5d Add ShadowsocksDeathRecipient 2016-02-25 00:00:33 +08:00
chentao f6cab9b99c Add IOUtils 2016-02-24 23:58:57 +08:00
chentao a24d29196f Add ProcessUtils 2016-02-24 23:57:38 +08:00
Max Lv 2eb12ee2ae Bump version v2.9.10 2016-02-22 09:00:29 +08:00
Max Lv ef7701982d Fix #577 2016-02-22 08:59:57 +08:00
Max Lv bd942c688f Bump version v2.9.9 2016-02-18 17:36:19 +08:00
Max Lv 3f08a66aab Merge pull request #574 from JLLK/master
Replace Future.onFailure with Future.onComplete
2016-02-18 17:31:15 +08:00
Max Lv ae0801b71b Fix #575 2016-02-18 17:22:08 +08:00
Max Lv 241b84976f Bump version 2016-02-18 16:43:45 +08:00
chentao b76d089fb2 Avoid MatchError 2016-02-17 11:30:58 +08:00
chentao 2f4cdbce25 Replace Future.onFailure with Future.onComplete 2016-02-16 10:05:43 +08:00
Max Lv 8e2fc2b228 Merge pull request #572 from Mygod/master
Refine undo
v2.9.8
2016-02-11 23:12:36 +08:00
Mygod d794632616 Refine undo 2016-02-11 21:09:50 +08:00
Max Lv 529b1a32d3 Merge pull request #571 from Mygod/master
Add option: bypass China only
2016-02-08 16:43:03 +08:00
Mygod 396b49dab6 Fix broken links 2016-02-08 16:06:51 +08:00
Mygod 06deb4bbcb Add option: bypass China only
Fix #569.

It could have worked without upgrading database by using an option called `bypass-china-only`. But I think we will get better readability this way.
2016-02-08 15:44:10 +08:00
Max Lv 8127b9f8e2 Merge pull request #570 from Mygod/master
General enhancements
2016-02-08 15:13:14 +08:00
Mygod 3556eebfeb Tasker: scroll to selected profile 2016-02-08 15:06:53 +08:00
Mygod 10e3b211e3 Ask user to refrain from further using NAT mode 2016-02-08 14:40:49 +08:00
Mygod 05981fb117 Add a prompt: per-app proxy requires NAT mode under Android 4.x 2016-02-08 14:25:14 +08:00
Max Lv 4258e95f1e Merge pull request #568 from Mygod/layout
Refine layout of StatusPreference
2016-02-08 13:53:15 +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
Mygod 0cf1585712 Refine traffic stat layout 2016-02-07 18:41:50 +08:00
Mygod b8d97dde03 Remove obsolete xml files 2016-02-07 16:18:53 +08:00
Max Lv fbdf2dbf04 Merge pull request #565 from Mygod/ic-start
Replace placeholder icons with brand new icons
v2.9.7
2016-02-07 06:29:58 +08:00
Mygod c7dd9aeeca Replace placeholder with brand new icon 2016-02-07 02:00:15 +08:00
Mygod eaac098027 Update dependencies 2016-02-07 00:58:47 +08:00
Max Lv 65635c6b93 Avoid service restarted by system 2016-02-02 09:52:36 +08:00