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
Max Lv
8515edff60
Update shadowsocks-libev
2016-07-04 12:00:57 +08:00
Mygod
432ab6cc7a
Fix the bug where UI is not updated after importing
2016-07-04 10:38:49 +08:00
Max Lv
31ed8480e0
Update libevent
2016-07-04 09:37:26 +08:00
Max Lv
98f1108600
Fix a building issue with clang
2016-07-04 09:35:57 +08:00
Max Lv
6d78b496ec
Fix a typo
2016-07-03 18:35:29 +08:00
Max Lv
df09d39139
Add apply-all action
2016-07-03 17:27:50 +08:00
Mygod
07528bdb8d
Add missing translation for bytes
2016-07-01 14:00:45 +08:00
Mygod
0b3ee8b793
Refine #735
...
It's impolite to ask for permission over and over again.
2016-07-01 13:26:53 +08:00
Mygod
76a42f5b5e
Fix quick switch
...
R/W SharedPreference should be restricted to one process only since it's not process-safe.
2016-07-01 13:06:08 +08:00
Mygod
99fd8f1e69
Fix accessibility issue for title view
2016-07-01 12:56:42 +08:00
Mygod
333ff40621
Fix #737 by using support vector drawables
2016-07-01 12:42:26 +08:00
Mygod
7e082b3e6d
Revert "Roll back to 23.2.0 support libraries, fix #737 "
...
This reverts commit 90e3bb312f .
2016-07-01 10:13:30 +08:00
Max Lv
90e3bb312f
Roll back to 23.2.0 support libraries, fix #737
2016-07-01 09:51:22 +08:00
Max Lv
bfd85ecb8e
Refine black list
2016-06-30 11:01:41 +08:00
Max Lv
e9c912b935
Fix #735
2016-06-29 09:53:21 +08:00
Max Lv
4f13acaffe
Add missing files
2016-06-27 17:53:08 +08:00
Max Lv
b35f3272da
Bump version
2016-06-27 15:58:05 +08:00
Max Lv
a537a7fc0a
Integrate a Barcode Scanner
2016-06-27 15:54:22 +08:00
Charles Kane
bd58de6ac3
Improve translations for export toast ( #725 )
...
* Improve translations for export toast
* Fix traditional chinese for export toast
2016-06-19 19:57:28 -05:00
Ilya
917e574185
Fix translate for "quick_toggle" ( #724 )
2016-06-19 04:29:28 -05:00
Mygod
27bf6a2237
Fix connection test not reset in background
2016-06-18 18:26:20 +08:00
Mygod
56de231c4f
Refine #530
2016-06-17 17:59:12 +08:00
Max Lv
797b3fda12
Revert "Refine #530 "
...
This reverts commit 292f22cc86 .
2016-06-17 17:58:58 +08:00
Max Lv
292f22cc86
Refine #530
2016-06-17 17:37:52 +08:00
Mygod
e368a58182
Merge branch 'master' of github.com:shadowsocks/shadowsocks-android
2016-06-17 16:42:19 +08:00
Mygod
94aeaaa89c
Move bg components to bg process
2016-06-17 16:41:12 +08:00
Max Lv
827cb151f4
Update copy rights
2016-06-17 16:12:12 +08:00
Mygod
89df2bc715
Hide stop action in notification if the quick settings tile is present
2016-06-17 14:40:33 +08:00
Mygod
e1364c012b
Combine background processes to save memory
2016-06-17 14:32:02 +08:00
Mygod
18f03aeb1d
Move tile service to a separate process to save memory
2016-06-17 14:24:59 +08:00
Mygod
8e3af71696
Change tile to a quick switch
2016-06-17 13:42:12 +08:00
Mygod
048219a788
Remove screen_name resource
2016-06-17 13:27:35 +08:00
Mygod
b4d3103b8f
Merge branch 'n' and update to API level 24
...
Fix #671 .
2016-06-17 13:24:56 +08:00
Mygod
d350088153
Refine updateCurrentProfile
2016-06-17 13:01:09 +08:00
Ilya
c0975a3e6f
Fixed string #9 ( #717 )
...
Fixed mistake in string #9
2016-06-15 21:09:59 -05:00
Max Lv
21a34e7e4e
Fix #714
2016-06-14 09:44:20 +08:00
Mygod
3f201eb29b
Fix connection test button too small
2016-06-09 21:16:02 +08:00
Max Lv
71b1d5fef1
Bump version
2016-06-05 15:08:03 +08:00
Mygod
5afb8b9cd4
Fix connection test disappearing
2016-06-05 12:20:48 +08:00
Mygod
07798c7e56
Fix imported per-app proxy settings not updating UI
2016-06-05 12:06:27 +08:00
Mygod
8c3b4cc021
Refine #701
2016-06-05 11:46:04 +08:00
Ilya
759d812347
Add russian localosation ( #701 )
...
Created russian localisation file shadowsocks-android/src/main/res/values-ru/strings.xml
2016-06-01 03:06:32 -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
461a0bda3f
Remove unnecessary app.settings param in ConfigUtils.load
2016-05-24 11:46:31 +08:00
Mygod
c878d4daa6
Fix DeathRecipient leaking bug
2016-05-24 11:42:12 +08:00
Mygod
9be24d7408
Use SharedPreference.Editor.apply instead of commit
2016-05-24 11:39:43 +08:00
Mygod
28ea9dd807
Use app.* instead of ShadowsocksApplication.*
...
Because typing ShadowsocksApplication is quite troublesome.
2016-05-24 11:37:33 +08:00
Mygod
c695847403
Remove package object
2016-05-24 11:23:46 +08:00
Mygod
535561cfe4
Manage auto connect via Android API
2016-05-24 10:53:34 +08:00