Connor Tumbleson
9fc1ede991
License 2018 update
2018-02-16 08:26:53 -05:00
Connor Tumbleson
02c8b62b00
Prevent malicious directory/file work with unknown files
2017-07-05 12:45:17 -04:00
Connor Tumbleson
1597c12472
changed all license files
2017-07-05 12:05:52 -04:00
Connor Tumbleson
f8fe98d9a6
code style
2017-06-29 11:30:00 -04:00
Bing Qiao
28883538a7
Class.class.getResourceAsStream tries to load resource from root directory. This fails when apktool is built into a fat jar like Spring boot executable so that the classloader tries to load the resource from the root directory of the Spring boot jar instead of that of the bundled appktool jar.
2017-06-29 12:36:05 +01:00
Connor Tumbleson
b9736d97e3
Add is64Bit() check
2016-12-22 09:06:03 -05:00
Connor Tumbleson
894da2033b
If obtained value is smaller than expected, retry
...
- fixes #1332
- thanks xpirt
2016-10-13 09:00:08 -04:00
Anthony Morris
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
Andrei Zhukouski
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
Connor Tumbleson
7326867b09
re-add copy() method using try-with-resources
2015-04-16 08:12:20 -05:00
Rover12421
407ffdc5fe
remove BrutIO copy method
...
`copy` method already in IOUtils
2015-03-30 13:30:52 +08:00
Greg Leach
39a2848340
Moving a couple utility functions into BrutIO. Also, formatting change to match spec.
2015-03-25 09:56:55 -07:00
Connor Tumbleson
2f7ae8c001
[meta] Repo Cleanup
...
- Moved all license files to root
- Moved NOTICE to CONTRIBUTORS.md
- cleaned up .gitignore
- removed redundant gitignores
2015-03-14 08:02:57 -05:00
Connor Tumbleson
81e6af093b
Removes general access bit hack
...
- fixed in aosp: android_libcore/commit/25681be69e19a834b00cfbf54cd99ac13f12b9ff
- reverts 42f69fd745
- reverts 47a5eac0b0
- fixes googlecode issue 744
2015-01-21 07:12:26 -06:00
Connor Tumbleson
9031c22365
[skip] update all copyrights to 2014
2014-10-23 18:14:48 -05:00
Connor Tumbleson
aba540885e
Gradle Refresh
...
- move common functions to functions.gradle
- use dependency aliases whenever possible
- update to gradle 2.1
- cleanup build.gradle files with proper spacing
- remove duplicated blocks
- compile incrementally (java)
Gradle Refresh v2
- alphabetical order dependencies
- added jdk8 to build tests
- moved script to file for travis
Gradle Refresh v2a
- fix travis
- remove pointless logging
jdk8 isn't ready for travis
2014-10-23 17:43:37 -05:00
Connor Tumbleson
62db52fe7b
Handle APKs with NULL padding on StringPools
...
- issue 664
2014-10-05 12:34:38 -05:00
Connor Tumbleson
a3897bfe0d
[spelling] Nul -> Null
2014-05-12 17:11:28 -05:00
Connor Tumbleson
5fa3c2d297
add returnOS() to OS, to help identify unknown aapt OS's
2013-09-17 21:52:35 -05:00
Connor Tumbleson
a48c11dc1c
cleanup of various functions
...
Removed attr sorting that was never enabled and never worked, added @todo elements for unknown file handling, updated usage output
2013-04-01 16:41:27 -05:00
Connor Tumbleson
90577d40e8
added OSDection, and prebuilt aapt
2013-03-28 19:51:08 -05:00
Connor Tumbleson
6744b2469c
gradle redo (moved each to their own project for organization)
2013-01-16 16:06:32 -06:00
Connor Tumbleson
605f883d2b
remove non-needed import
2012-12-19 08:03:25 -06:00
Connor Tumbleson
559ed2853a
prevents renaming manifest if package is "android" and fixes deletion of tmp files
2012-12-19 07:57:52 -06:00
Connor Tumbleson
60c806f2e2
Moving all REPOs into one
2012-09-19 20:19:12 -05:00