Commit Graph
27 Commits
Author SHA1 Message Date
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 d350088153 Refine updateCurrentProfile 2016-06-17 13:01:09 +08:00
Mygod 28ea9dd807 Use app.* instead of ShadowsocksApplication.*
Because typing ShadowsocksApplication is quite troublesome.
2016-05-24 11:37:33 +08:00
Mygod a1871f792d Fix building 2016-05-21 17:51:10 +08:00
Mygod eadb95ca2d Fix creating profiles 2015-12-25 17:43:18 +08:00
Mygod 164becfed0 Implement dragging to move profiles 2015-12-25 15:51:18 +08:00
Mygod 118aa1271c Fix bypass not copied 2015-11-24 18:12:24 +08:00
Max Lv ff23bae671 fix #424 2015-11-21 11:59:05 +08:00
Mygod 14414c644d Copy feature settings from the current profile to the new profile.
And fix #432.
2015-11-18 21:40:33 +08:00
Mygod 6f6cb461ed Fix ParserActivity 2015-11-10 21:02:42 +08:00
Mygod 42c5a01d3e Fix default configuration 2015-11-10 20:25:10 +08:00
Mygod a14d3ea99c Fix crashing bug 2015-11-10 18:40:18 +08:00
Mygod b05adbdd43 Remove redundant Global Proxy 2015-11-09 20:32:22 +08:00
Mygod 5f0b1a50b2 Add NumberPickerPreference 2015-11-09 17:29:10 +08:00
Mygod 4906ce8af5 Support switching to NAT/VPN without restarting the app 2015-11-08 18:46:42 +08:00
Mygod 3605e18db2 Update dependencies 2015-10-04 13:43:08 +08:00
Max Lv 3512542043 fix #366 2015-09-25 09:43:09 +08:00
Max Lv 2a3ffd768c update shadowsocks-libev 2015-09-21 14:03:02 +08:00
Max Lv 9a724cd063 fix #148 2014-11-16 21:35:54 +08:00
Max Lv a89ca2d154 add udp dns option 2014-02-28 20:14:47 +08:00
Max Lv cf60b54d91 update copyrights 2014-02-18 14:06:26 +08:00
Max Lv 63e461caed clean up 2013-11-30 19:15:00 +08:00
Max Lv 8598e5a177 fix UI on tablet 2013-09-30 13:10:55 +08:00
Max Lv 5c53a2a754 refine UI 2013-09-30 12:36:46 +08:00
Max Lv 58dc3e5061 refine UI 2013-09-29 16:26:19 +08:00
Max Lv a2848ce538 update UI 2013-09-29 15:35:49 +08:00
Max Lv 6f55861df5 model ready 2013-09-28 20:14:00 +08:00