topjohnwu
|
ee76bd69c2
|
Fix a bug in ShellFile always return true
|
2018-07-26 06:08:53 +08:00 |
|
topjohnwu
|
8f1e325fc8
|
Add a new, easier way to setup Shell.Container
|
2018-07-26 06:06:43 +08:00 |
|
topjohnwu
|
2ae8ae4176
|
Separate config methods
|
2018-07-26 04:22:13 +08:00 |
|
topjohnwu
|
c858fc1ba9
|
Add documentation
|
2018-07-26 03:23:48 +08:00 |
|
topjohnwu
|
392edbc189
|
Also list hidden files
|
2018-07-25 16:44:40 +08:00 |
|
topjohnwu
|
53767fcf34
|
Better ShellFile implementation
Fix #11
|
2018-07-24 22:00:30 +08:00 |
|
topjohnwu
|
fee652c924
|
Publicize utility method getCachedShell
|
2018-07-24 04:56:16 +08:00 |
|
topjohnwu
|
1b116645cd
|
Support chaining operations in Job
|
2018-07-24 04:22:13 +08:00 |
|
topjohnwu
|
db7a6c9b83
|
Small API changes: renames and remove unecessary methods
|
2018-07-24 03:09:00 +08:00 |
|
topjohnwu
|
a3bf18d5fa
|
Utilize new return code API
Fix #15
|
2018-07-24 02:54:07 +08:00 |
|
PerfectSlayer
|
97525b04fe
|
Improve NoShellException to keep cause
|
2018-07-24 01:39:07 +08:00 |
|
PerfectSlayer
|
ec6a3829ee
|
Fix shell command for non root shell
Replace "su" by "sh" shell for non root shell
|
2018-07-24 01:39:07 +08:00 |
|
topjohnwu
|
5c0f3cce8d
|
Implement return code
|
2018-07-24 01:36:41 +08:00 |
|
topjohnwu
|
83a84514e3
|
Lower minSdkVersion to 9
|
2018-07-24 00:31:22 +08:00 |
|
topjohnwu
|
87b5a95e85
|
Cancel all operations when shell closes
|
2018-07-24 00:28:02 +08:00 |
|
topjohnwu
|
096b069b72
|
Stop using AsyncTask.THREAD_POOL_EXECUTOR
|
2018-07-24 00:01:56 +08:00 |
|
topjohnwu
|
dcbcca4f73
|
Don't need specific lock, synchronize execTask
|
2018-07-23 21:46:13 +08:00 |
|
topjohnwu
|
d1e23fcf8b
|
Use native Java concurrent solutions
|
2018-07-23 21:39:49 +08:00 |
|
topjohnwu
|
da59a413e4
|
Run GetShellCallback on main thread
|
2018-07-23 19:36:14 +08:00 |
|
topjohnwu
|
15809c1ad9
|
Do not fetch shell until exec or enqueue on high level APIs
|
2018-07-23 19:18:58 +08:00 |
|
topjohnwu
|
f527ef3def
|
Tidy up duplicate code
|
2018-07-23 05:15:19 +08:00 |
|
topjohnwu
|
b77e8a0ac6
|
Move more shim to ShellCompat class
|
2018-07-23 04:10:51 +08:00 |
|
topjohnwu
|
f53b4444e4
|
Show fail reason
|
2018-07-23 04:04:19 +08:00 |
|
topjohnwu
|
b36ae842d1
|
Never return null lists
|
2018-07-23 02:39:21 +08:00 |
|
topjohnwu
|
0fbfa5ad79
|
Optimization for high level APIs
|
2018-07-23 00:10:33 +08:00 |
|
topjohnwu
|
3590497863
|
Rename Shell.Output -> Shell.Result and slightly adjust API
|
2018-07-22 23:35:33 +08:00 |
|
topjohnwu
|
b5f4d5fc7d
|
Hide implementation details
|
2018-07-22 21:53:12 +08:00 |
|
topjohnwu
|
80dc157f50
|
Improve compatibility shim
|
2018-07-22 18:44:18 +08:00 |
|
topjohnwu
|
5f9adec47e
|
API rewrite: high level APIs
|
2018-07-22 15:32:51 +08:00 |
|
topjohnwu
|
6947a968cb
|
Yet another Initializer API change
|
2018-07-22 06:02:16 +08:00 |
|
topjohnwu
|
9333daf89b
|
API rewrite: low level APIs
|
2018-07-22 05:01:54 +08:00 |
|
topjohnwu
|
085c0c5ba7
|
Release 1.3.0
|
2018-07-11 19:47:29 +08:00 |
|
topjohnwu
|
a55d35322c
|
Do not explicitly close shell on Exceptions
|
2018-07-11 19:32:43 +08:00 |
|
topjohnwu
|
71c0ecf031
|
Hide more implementation details from API
|
2018-07-11 19:32:42 +08:00 |
|
topjohnwu
|
0f7fb51914
|
Simplify commands
|
2018-07-11 19:32:42 +08:00 |
|
topjohnwu
|
62e5ad3bd7
|
Improvements to Shell I/O
|
2018-07-11 19:32:42 +08:00 |
|
topjohnwu
|
89fe8eade8
|
Throw exception when no root is available
|
2018-07-11 19:32:42 +08:00 |
|
topjohnwu
|
36a7faa3ca
|
Separate SuFile implementation
Better encapsulation, and we can check root access before actually use ShellFile
|
2018-07-11 19:32:42 +08:00 |
|
topjohnwu
|
bc17270a60
|
Allow initializer to run in BusyBox environment
|
2018-07-11 19:32:42 +08:00 |
|
topjohnwu
|
4ac7cd0a36
|
Decrease minSdkVersion to real minimum required
|
2018-07-11 19:32:42 +08:00 |
|
topjohnwu
|
6ffcf231a6
|
1.2.0 release
|
2018-06-20 04:11:48 +08:00 |
|
topjohnwu
|
99f014f9a4
|
More error handling in non-static APIs
|
2018-06-20 04:02:31 +08:00 |
|
topjohnwu
|
1ab74ce7d4
|
Disable Java 8 desugaring in example to test full Java 7 support
|
2018-06-20 02:36:55 +08:00 |
|
topjohnwu
|
ad9d26b9ed
|
ShellImpl optimizations
|
2018-06-19 21:06:27 +08:00 |
|
topjohnwu
|
87e15454ce
|
Make all callbacks run on the main thread (UI thread)
|
2018-06-19 21:05:30 +08:00 |
|
topjohnwu
|
280f188657
|
Completely prevent name clash in SuFile
|
2018-06-19 06:20:32 +08:00 |
|
topjohnwu
|
54902d19ac
|
SuFile should always use Shell
The previous logic to determine whether to use shell is incorrect. SuFile should always use root by default.
|
2018-06-19 05:28:12 +08:00 |
|
topjohnwu
|
baf374cd7f
|
Remove unnecessary method
|
2018-06-19 01:23:33 +08:00 |
|
topjohnwu
|
7c67e5b86a
|
Update Example for more demonstration
|
2018-06-19 00:15:47 +08:00 |
|
topjohnwu
|
12eafe47de
|
New Initializer implementation
|
2018-06-18 22:59:31 +08:00 |
|