Commit Graph

402 Commits

Author SHA1 Message Date
topjohnwu
9997e0f578 Separate STDOUT/STDERR impl 2020-07-18 00:30:50 -07:00
topjohnwu
902d97fb60 Be more conservative about synchronizing 2020-07-17 23:45:47 -07:00
topjohnwu
5363a79819 Kotlin DSL! 2020-07-17 22:41:15 -07:00
topjohnwu
521c8f66f5 Update gradle script 2020-07-17 19:18:11 -07:00
topjohnwu
d053c3fa8c Refresh the project 2020-07-17 16:27:24 -07:00
topjohnwu
8382580ad1 Update README 2019-09-11 23:01:20 -04:00
topjohnwu
fd19727e55 Release 2.5.1 2019-09-11 22:39:40 -04:00
topjohnwu
a0b20a0106 Add nullability annotations 2019-09-11 22:02:10 -04:00
topjohnwu
eacd763264 Update busybox module 2019-09-11 21:17:08 -04:00
topjohnwu
81b51e3e5f Remove unused util method 2019-09-11 21:14:53 -04:00
topjohnwu
9f44740d6f Fix NPE in SerialExecutorService 2019-09-11 21:06:35 -04:00
topjohnwu
a679866d2f Several improvements 2019-09-10 01:16:56 -04:00
topjohnwu
fd97547d33 Update AS 2019-09-09 22:44:03 -04:00
PerfectSlayer
058fe022f2 fix(io): Fix SuFile#getParent() when no parent available
The library does not handle the case where no parent available.
You can test the fix using the usual recursive usage of File#getParent():
```java
File file = ...
while (file != null) {
    ...
    file = file.getParent();
}
```
Note that return `null` is part of the `File#getParentFile()` contract.
2019-04-23 03:46:16 -04:00
topjohnwu
b4b5d3ab1d Release 2.5.0 2019-04-19 00:56:06 -04:00
topjohnwu
efb6d71b84 Micro-optimize StreamGobbler 2019-04-19 00:28:36 -04:00
topjohnwu
359cd241bb Update internal implementations
- Remove reflection based process alive detection; the hidden APIs are
blocked in modern Android versions, resulting in always using the
fallback, extremely high overhead exception handling

- Cleanup some internal mess
2019-04-18 22:32:25 -04:00
topjohnwu
e9cec76435 Minor optimizations 2019-04-18 16:20:21 -04:00
topjohnwu
6e09c7bac6 Small cleanup 2019-04-18 15:30:06 -04:00
topjohnwu
393963b661 Improve SuFile 2019-04-18 14:39:16 -04:00
topjohnwu
d35e3f64a7 ShellIO rewrite 2019-04-17 16:08:04 -04:00
topjohnwu
13776bb560 Update copyright 2019-04-15 23:18:08 -04:00
topjohnwu
dcc263f65a Release 2.4.0 2019-04-08 19:41:37 -04:00
topjohnwu
c15ce1ae5d Less wrapping around SuFileOutputStream 2019-04-08 19:08:13 -04:00
topjohnwu
7b96febb60 Don't use File wrapper, directly use ShellFile 2019-04-08 19:08:13 -04:00
John Wu
aa48829151
Update CHANGELOG.md 2019-04-02 15:37:55 -04:00
topjohnwu
2d443cd2ab Publish 2.3.3 2019-04-02 15:36:54 -04:00
topjohnwu
16d3061a2e Update proguard rules
Make sure R8/Proguard never remove Shell.Initializer classes
2019-04-02 15:34:57 -04:00
topjohnwu
855c2d5d24 Update gradle scripts 2019-04-02 15:34:34 -04:00
topjohnwu
4206700504 Update Android Studio 2019-04-02 15:27:40 -04:00
topjohnwu
dc8627c74e Publish 2.3.2 2019-03-21 10:52:38 -04:00
topjohnwu
4d602e6107 Prevent NPE when returned file list is null 2019-03-21 10:31:36 -04:00
topjohnwu
857972f641 Upgrade Android Studio 2019-03-20 01:50:10 -04:00
topjohnwu
548c4e4e11 Update Javadoc
Make it more clear that no output will be produced by default in low level APIs
2019-02-15 13:00:34 -05:00
topjohnwu
dba1f2ef76 Publish 2.3.1 2019-02-07 00:20:53 -05:00
topjohnwu
1f94112600 Strip out all deprecated APIs 2019-02-07 00:20:45 -05:00
topjohnwu
5fa1259288 Proper ABI detections 2019-02-07 00:02:01 -05:00
topjohnwu
506ab85c48 Publish top-level Javadoc properly 2019-02-06 23:57:20 -05:00
topjohnwu
ad7307f1bc Aggregate Javadoc from all modules 2019-02-06 22:22:56 -05:00
topjohnwu
fbd7c98041 Deprecate several classes and methods 2019-02-03 13:22:16 -05:00
topjohnwu
663f608ea3 Release 2.3.0 2019-02-03 09:42:05 -05:00
topjohnwu
9f15a6d879 Introduce DefaultContainer 2019-02-03 09:30:47 -05:00
topjohnwu
92a1538ad8 Fix possible context NPE on older platforms 2019-02-03 07:51:30 -05:00
topjohnwu
d99f481563 Make main handler in UiThreadHandler public 2019-01-31 23:45:08 -05:00
topjohnwu
736d6e57e2 Release 2.2.1 2019-01-31 23:08:25 -05:00
topjohnwu
756108e42d Silent NoShellException in high level APIs 2019-01-31 23:00:34 -05:00
topjohnwu
b0094e407f Upgrade Android Studio 2019-01-31 22:52:59 -05:00
topjohnwu
dd99a47c2b Fix javadoc links 2019-01-04 06:41:56 +08:00
topjohnwu
9dd2618254 Release 2.2.0 2019-01-04 06:29:05 +08:00
topjohnwu
517890acf1 Update annotations 2019-01-04 06:23:00 +08:00