Commit Graph

13 Commits

Author SHA1 Message Date
e23eb9cf6b Use Guava's LittleEndianDataInputStream.
This replaces the custom LittleEndianDataInputStream with
guava's implementation. To do this, I had to fix ExtDataInput
to better handle the case where skipBytes doesn't skip all the
bytes (the tests failed without this, and succeed with it). This
appears to be the main difference between the two implementations.
Guava's implementation is preferred because it is already a
dependency and because its license is clearer (the previous
implementation had a vague "public domain" comment in the thread
which may not be legally sufficient).

Fixes #1166
2016-08-05 14:36:34 +01:00
74e0aa0bd2 Write output to separate streams (error and output)
This will allow to write errors and output to the console handler as usual, but will help to handle errors from external binaries (such as aapt, executed by exec method) in all initialized logger handlers, not only console, but text handler, for ex.
2016-01-05 10:39:07 +03:00
7326867b09 re-add copy() method using try-with-resources 2015-04-16 08:12:20 -05:00
407ffdc5fe remove BrutIO copy method
`copy` method already in IOUtils
2015-03-30 13:30:52 +08:00
39a2848340 Moving a couple utility functions into BrutIO. Also, formatting change to match spec. 2015-03-25 09:56:55 -07:00
9031c22365 [skip] update all copyrights to 2014 2014-10-23 18:14:48 -05:00
62db52fe7b Handle APKs with NULL padding on StringPools
- issue 664
2014-10-05 12:34:38 -05:00
a3897bfe0d [spelling] Nul -> Null 2014-05-12 17:11:28 -05:00
5fa3c2d297 add returnOS() to OS, to help identify unknown aapt OS's 2013-09-17 21:52:35 -05:00
90577d40e8 added OSDection, and prebuilt aapt 2013-03-28 19:51:08 -05:00
605f883d2b remove non-needed import 2012-12-19 08:03:25 -06:00
559ed2853a prevents renaming manifest if package is "android" and fixes deletion of tmp files 2012-12-19 07:57:52 -06:00
60c806f2e2 Moving all REPOs into one 2012-09-19 20:19:12 -05:00