Commit Graph

136 Commits

Author SHA1 Message Date
Connor Tumbleson
27922bdb81 remove hardcoded seperator char 2013-09-17 21:48:31 -05:00
Connor Tumbleson
bd9dce78b4 add warning for unknown operating system and fix getFrameworkDir to use non hardcode seperator char 2013-09-17 21:44:57 -05:00
Connor Tumbleson
0e33e2d477 update to use FileDataStore 2013-09-15 10:35:00 -05:00
Connor Tumbleson
d4b86475ca fix for NPE w/ null version numbers 2013-09-12 17:46:14 -05:00
Connor Tumbleson
be4ae922de stderr for error messages 2013-09-07 08:54:07 -05:00
Connor Tumbleson
054ddb1388 Fix for window builds due to java.nio 2013-09-07 08:53:07 -05:00
Connor Tumbleson
c27d514a16 update internal aapts to API 18 2013-08-15 10:04:07 -05:00
Connor Tumbleson
d12468a2f7 remove "Done"/"Loaded" messages, as output is becoming clogged. 2013-08-14 08:33:09 -05:00
Connor Tumbleson
6d5fb63ee4 [skip] fix spacing 2013-08-13 15:52:03 -05:00
Connor Tumbleson
dd5723cafa remove useless check and fix SmaliBuilder to actually build debug files 2013-08-13 15:45:51 -05:00
Connor Tumbleson
f95f9b2f4b debuginjector - adapt for dexlib2 2013-08-13 15:45:15 -05:00
Connor Tumbleson
5aa18eee2d [SmaliMod] adjust handling for stream, files and dexlib2 2013-08-13 15:43:35 -05:00
Connor Tumbleson
3acff3ef34 remove DexFileBuilder, due to dexlib2 2013-08-13 08:42:27 -05:00
Connor Tumbleson
a4ac131479 [SmaliDecoder] force 1 job if debug mode 2013-08-13 08:42:04 -05:00
Connor Tumbleson
d07f52bd6a fix prop location of smali/baksmali, add more checks 2013-08-12 12:28:28 -05:00
Connor Tumbleson
a8f6e40c02 update SmaliDecoder to handle jobs / odex files 2013-08-12 12:28:01 -05:00
Connor Tumbleson
1de4525534 add HelloWorld test smali file into unit-test 2013-08-12 12:27:25 -05:00
Connor Tumbleson
ca67c00f83 wip 2013-08-12 09:16:51 -05:00
Connor Tumbleson
b0cee3c500 remove duplicate import 2013-08-12 09:16:51 -05:00
Connor Tumbleson
fb7fbf0805 pass api to DexFileFactory 2013-08-12 09:16:51 -05:00
Connor Tumbleson
af32d4da3e decode sources after resources 2013-08-12 09:16:51 -05:00
Connor Tumbleson
570eaa7023 adapt SmaliDecoder to dexlib2 2013-08-12 09:16:51 -05:00
Connor Tumbleson
007a6d45a2 Update to smali 2b5 2013-08-12 09:16:50 -05:00
Connor Tumbleson
115db91fab fixes space in filepath on windows 2013-07-26 16:36:26 -05:00
Connor Tumbleson
fbf8d8fbdf update internal framework to API 18 2013-07-25 07:52:39 -05:00
Connor Tumbleson
102cc0443d fixed unit-test to properly detect if decode worked 2013-07-15 12:24:07 -05:00
Connor Tumbleson
6a87c9ffd4 remove un-needed done. 2013-07-08 13:58:46 -05:00
Connor Tumbleson
0919fe5322 move unit test to @beforeClass and test its output as a separate test, due to parallel test running 2013-07-08 13:24:33 -05:00
Connor Tumbleson
6b173146ac fix invalid casting 2013-07-08 12:27:55 -05:00
Connor Tumbleson
63b0dd1edb fixes JDK bug: 5051418 2013-07-08 12:27:33 -05:00
Connor Tumbleson
6fdf7b37e1 b3: added fixed windows aapt 2013-06-24 14:23:39 -05:00
Connor Tumbleson
65be443e05 regression: fix decoding a jar file. 2013-06-14 13:44:48 -05:00
Connor Tumbleson
6475ef8a77 ignore errors during Manifest alterations, to prevent crashing of apktool 2013-06-12 10:29:16 -05:00
Connor Tumbleson
832978a549 fixes issue 469, added -m / --match-original
fixes xml output not having newline after xml declaration
2013-06-12 10:04:28 -05:00
Connor Tumbleson
9f03d7d35c removes hacky @*android fix
Updates unit-tests to actually use AOSP drawables/layouts/anims, instead of using 3rd party ones.
2013-06-05 12:36:24 -05:00
Connor Tumbleson
a4a22a2961 revert commit: 7d5d633b97 2013-06-05 11:58:17 -05:00
Ryszard Wiśniewski
38de56697a Properly handle style with dot in its name and without a parent style. 2013-06-05 18:45:17 +02:00
Connor Tumbleson
09a978e015 fix for root unknown file on windows 2013-05-24 08:11:10 -05:00
Connor Tumbleson
cfac52a744 fix for Windows Env using FileSystem, thanks @BurgerZ 2013-05-24 07:55:33 -05:00
Connor Tumbleson
c6861e1241 move multi catches to multi-catch (java 7), fixed pkg id not being correctly read from apktool.yml 2013-05-12 10:15:36 -05:00
Connor Tumbleson
ed67a3d94d updated unit testing
-- styles.xml
-- layouts.xml
-- anims.xml
-- drawables.xml
-- attrs.xml
-- raw/blank_test.png
2013-05-12 07:21:13 -05:00
Connor Tumbleson
aa20036307 fixed problem with <items> showing up in colors.xml 2013-05-12 07:20:35 -05:00
Connor Tumbleson
ac745599ed close, unclosed ZipFile 2013-05-12 07:20:07 -05:00
Ryszard Wiśniewski
d9cac893f9 Now one non positional substitution and one positional is detected as "multiple non positional". 2013-05-11 20:04:12 +02:00
Ryszard Wiśniewski
14f26474e6 Cleaned up the code related to multiple substitutions in xml strings. 2013-05-11 20:04:12 +02:00
Ryszard Wiśniewski
e7ee8cb178 Decode "%d %" with formatted="false". It's not necessary for current aapt, but it's more consistent with "%d % ". 2013-05-11 20:04:12 +02:00
Ryszard Wiśniewski
68f97980eb ResXmlEncoders: replaced findNonPositionedSubstitutions() by more flexible findSubstitutions().
Also rewritten some bits.
2013-05-11 20:04:12 +02:00
Connor Tumbleson
997df5cfc5 added more plurals/color unit tests 2013-05-11 12:50:59 -05:00
Connor Tumbleson
9186858f33 added lib support for "/libs" folder. 2013-05-10 08:24:24 -05:00
Connor Tumbleson
acc83919d0 add "/libs" unit testing, adjusted naming on previous unit tests 2013-05-09 22:13:00 -05:00