Commit Graph

481 Commits

Author SHA1 Message Date
topjohnwu
e85ab364f8 Update Javadocs
Introduce the term "main shell"
2021-01-31 03:34:49 -08:00
topjohnwu
3823a212f9 Remove unsupported methods 2021-01-30 20:27:56 -08:00
topjohnwu
bc884ee2dd Remove environment check 2021-01-30 20:16:25 -08:00
topjohnwu
69a2f18fff Some cleanups 2021-01-30 19:23:27 -08:00
topjohnwu
c2900da9be Remove deprecated interfaces 2021-01-30 13:27:43 -08:00
topjohnwu
42c3104bd8 Refresh project 2021-01-30 13:00:44 -08:00
PerfectSlayer
75a5e95ddd Improve StreamGobbler performance and stability
Look for eos at String level instead of char (VM will handle it better).
Cache eos size.
Harden case where stream is ended without result code (returns NO_RESULT_CODE = 1) in this case.
2021-01-20 01:26:05 -08:00
Danny Lin
0da535f083 Fix typo in SuFile docs 2020-08-24 19:30:16 -07:00
Danny Lin
e3483a5ebb Fix missing hyphen in RootService docs 2020-08-24 19:30:16 -07:00
Danny Lin
0a92b4316e Fix awkward wording in ShellInputStream docs 2020-08-24 19:30:16 -07:00
topjohnwu
1697ae244e Shuffle some code around 2020-08-17 05:30:19 -07:00
topjohnwu
bd81c78d83 Rename field to reasonable name 2020-08-17 01:21:23 -07:00
topjohnwu
ad0ddbd993 Do not try to align small reads 2020-08-17 01:05:40 -07:00
PerfectSlayer
6473ef4d03 Ensure reader is closed on IOException 2020-08-17 01:00:40 -07:00
PerfectSlayer
5cb69913c0 Use static import to be uniform with other constants 2020-08-17 01:00:40 -07:00
PerfectSlayer
4019178cbe Create List without creating intermediate Runnable array 2020-08-17 01:00:40 -07:00
PerfectSlayer
51c0c0edc5 Remove magic string for charset
It should allow to track and change the charset used in one place
2020-08-17 01:00:40 -07:00
topjohnwu
054b81558c Optimize data I/O 2020-08-17 00:29:37 -07:00
topjohnwu
bfd26708a8 Fix ShellIO unaligned read implementation 2020-08-16 22:46:17 -07:00
topjohnwu
322f2e1822 Update Javadoc link 2020-08-15 06:19:17 -07:00
topjohnwu
8481155d09 Update build tools 2020-08-15 05:47:56 -07:00
topjohnwu
1ad0df2c0b Release 3.0.2 2020-08-15 04:51:02 -07:00
topjohnwu
066db133f4 Several minor changes 2020-08-15 04:46:54 -07:00
topjohnwu
b1771c77eb Always get context on main thread 2020-08-15 00:30:23 -07:00
topjohnwu
aa20000366 Update README 2020-08-08 13:30:56 -07:00
topjohnwu
06962bb8a0 Migrate internal deprecate API usage 2020-08-03 21:16:23 -07:00
topjohnwu
3d2a31bc77 Add root service debugging info 2020-08-03 05:18:09 -07:00
topjohnwu
c8885b7b6d Release 3.0.1 2020-08-03 04:46:43 -07:00
topjohnwu
aa39a4837f Jitpack does not support writing files to their server 2020-08-03 04:41:51 -07:00
topjohnwu
018353efce Update README 2020-08-03 04:30:21 -07:00
topjohnwu
fd5cbd5103 Release 3.0.0 2020-08-03 04:25:21 -07:00
topjohnwu
c16575ed32 Publish :service 2020-08-03 04:20:44 -07:00
topjohnwu
9597e08bbe Add FLAG_VERBOSE_LOGGING back to ensure source compatibility 2020-08-03 03:26:20 -07:00
topjohnwu
bc1ca9a6dc Update Javadocs 2020-08-03 03:22:17 -07:00
topjohnwu
64f90acecf Cleanup things around 2020-08-02 14:30:24 -07:00
topjohnwu
c2ae0f9828 Prevent crash in PendingJob 2020-08-02 13:02:38 -07:00
topjohnwu
6eab4e54ed Use Builder pattern for Shell construction 2020-08-02 05:47:38 -07:00
topjohnwu
2d7c714db2 Update ShellInputStream to be more feature complete 2020-08-02 03:43:06 -07:00
topjohnwu
74c02bca4b Update CallbackList implementation 2020-08-01 05:46:22 -07:00
topjohnwu
d0639db0f4 Properly detect APK upgrades on old platforms 2020-07-30 23:46:56 -07:00
topjohnwu
4f6b219fb9 Make sure Shell APIs don't crash in root processes 2020-07-30 21:29:29 -07:00
topjohnwu
81dc2fc015 Make some AIDL API oneway 2020-07-30 05:21:22 -07:00
topjohnwu
9c0636ace4 Move method to utils 2020-07-29 00:56:26 -07:00
topjohnwu
d3c4d4998e Update examples and Javadoc
Demo RootService with Messenger
2020-07-29 00:07:30 -07:00
topjohnwu
9d79469457 Some cleanup touches 2020-07-28 04:58:41 -07:00
topjohnwu
1a327c8ab6 Update proguard rules for the service module 2020-07-28 03:44:49 -07:00
topjohnwu
6f888049d8 Minor IPC changes 2020-07-28 02:46:12 -07:00
topjohnwu
ee21b566c1 Kill root process on APK upgrade/removal 2020-07-28 02:00:01 -07:00
topjohnwu
39a27a042e Add gradle task to generate main.jar 2020-07-27 21:10:59 -07:00
topjohnwu
b72c3c5401 Support stopping daemon without binding 2020-07-27 19:17:51 -07:00