Commit Graph
49 Commits
Author SHA1 Message Date
Mygod 2a47362195 Fix profile name not updated in ShadowsocksTileService 2016-09-15 00:11:37 +08:00
Mygod 25bd5347eb Refine #816 and error handling in startRunner 2016-08-19 15:23:43 +08:00
Max Lv 586c5e2ae4 Bump version 2016-08-06 17:25:10 +08:00
Max Lv 66ceed8607 Restart kcptun when switching network 2016-08-06 10:55:33 +08:00
Mygod b5ce788353 Bugfix for previous commit 2016-07-18 15:27:55 +08:00
Mygod 360b425d47 Fix #767 2016-07-18 14:37:18 +08:00
Mygod 76f7306a93 Use Shell.Interactive interactively and removes iptables submodule
The following action will take only one SU request with this commit:

* Start service in NAT mode;
* Reset in NAT mode;
* Flush DNS.

And stopping service in NAT mode doesn't need SU request any more.
2016-07-13 09:42:18 +08:00
Mygod c92d66d9f3 Revert "Refine #530 again and again" and probably fix #530
This reverts commit b833cb6267.
2016-07-12 15:56:32 +08:00
Max Lv a21d099a34 Fix #746 2016-07-08 11:42:10 +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 28ea9dd807 Use app.* instead of ShadowsocksApplication.*
Because typing ShadowsocksApplication is quite troublesome.
2016-05-24 11:37:33 +08:00
Mygod 0b7fb75b7a Obsolete code cleanup 2016-05-20 21:33:01 +08:00
Mygod 7d9686b5b5 UI fixes
* 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

* Refine UI.

* Change notification action button icon for hidpi device

* Fix FAB ripple

* Fix usability problem

* Fix changes not commited when snackbar being swiped

* Show import/export as action

* Drop unused drawables

* Move TaskerSettings

* Fix action icons

* Prevent switching to an invalid profile

* Fix line wrap when screen width is small
2016-04-04 13:41:31 -07:00
Max Lv 017dd425a0 Refine #602 2016-03-13 13:13:37 +08:00
Mygod ee48c0773c Automatic service restart 2016-03-12 13:40:13 +08:00
Max Lv 65635c6b93 Avoid service restarted by system 2016-02-02 09:52:36 +08:00
Max Lv 2840a75c92 Fix an issue that stat_path is null 2016-01-30 11:00:25 +08:00
Mygod f9667d767e Fix dynamic traffic stat in profile selector
Fix #495
2015-12-29 20:27:30 +08:00
Mygod d8ab3733dc Fix getCallbackCount is not available on API 16 2015-12-27 10:22:43 +08:00
Mygod 0018a7ca9e Fix NAT mode not working after task removed from recent 2015-12-26 23:27:21 +08:00
Mygod 51ceb3dac5 Refine callback handling 2015-12-26 23:10:54 +08:00
Mygod 8dcfd5a8c5 Reduce battery usage - prevent unnecessary notification updates 2015-12-26 20:00:12 +08:00
Mygod 971ea09077 Reduce battery usage - optimize performance critical block 2015-12-26 17:29:26 +08:00
Mygod aed6308841 Fix a race condition 2015-12-25 16:25:39 +08:00
Max Lv a5a503c982 Bump version 2015-12-23 13:35:45 +08:00
Max Lv fcb368d2f8 Reduce database related operations 2015-12-21 15:30:34 +08:00
Max Lv 362ec7ebc8 bump version 2015-12-03 11:02:48 +08:00
Mygod 5e0d52324b Add traffic to notification 2015-11-24 19:25:41 +08:00
Mygod 99a6c4ff3e Extract notification logic 2015-11-24 18:11:14 +08:00
Max Lv 656bb28a11 Stop the timer when all callbacks removed 2015-11-21 18:26:14 +08:00
Mygod 407ba8beaa Add realtime traffic in profiles selector 2015-11-21 16:04:55 +08:00
Max Lv ff23bae671 fix #424 2015-11-21 11:59:05 +08:00
Max Lv e636b9f78e Disable log of pdnsd 2015-11-21 10:15:11 +08:00
Mygod 24c1497a6d Fix flashing 2015-11-19 13:49:31 +08:00
Max Lv c63d17350c fix #434 2015-11-19 12:34:24 +08:00
Mygod d111bc8282 Using SAM 2015-10-04 15:13:16 +08:00
Mygod 3605e18db2 Update dependencies 2015-10-04 13:43:08 +08:00
Max Lv dec098fbc5 refine the lock screen receiver 2014-12-18 09:17:57 +08:00
Max Lv 97dd8fa15e fix #132 2014-11-30 10:18:27 +08:00
Max Lv 4e22d26e84 refine #100 2014-07-25 18:13:51 +08:00
Max Lv 9218ee42c1 fix the database issue 2014-03-01 11:39:47 +08:00
Max Lv c442963394 unblock the service callback 2014-02-28 17:27:23 +08:00
Max Lv a029f276d7 fix a crash 2014-02-26 12:06:07 +08:00
Max Lv 2bf44c7efd fix some issues 2014-02-26 11:01:47 +08:00
Max Lv a21a4d24fa stop the service in time 2014-02-24 12:41:14 +08:00
Max Lv 97b107eb3f fix #47 backup the entire database 2014-02-18 19:45:24 +08:00
Max Lv cf60b54d91 update copyrights 2014-02-18 14:06:26 +08:00
Max Lv 59d304eae7 fix the service toggle issue in VPN mode 2014-02-09 20:09:38 +08:00
Max Lv c4833ddbca add aidl 2014-02-09 15:55:30 +08:00