Commit Graph

571 Commits

Author SHA1 Message Date
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
Connor Tumbleson
57910b7549 updating changes (moving 1.5.3 into 2.0.0) 2013-05-12 07:19:35 -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
Connor Tumbleson
3a6d548756 fixed problem with nodpi, added drawable unit testing 2013-05-09 21:54:03 -05:00
Connor Tumbleson
f93a312308 Prevents double escaping of special chars in arrays.xml/<item> tags 2013-05-05 08:13:32 -05:00
Ryszard Wiśniewski
1449c00f76 Merge remote-tracking branch 'connor/wip-2.0' into wip-2.0 2013-05-04 23:16:55 +02:00
Connor Tumbleson
1513dcfd23 updating changes to include lastest fixes 2013-05-04 15:31:58 -05:00
Ryszard Wiśniewski
c86351d720 Added debugLinePrefix CLI option. 2013-05-04 15:20:16 -05:00
Ryszard Wiśniewski
56140e9747 Merge remote-tracking branch 'origin/wip-2.0' into wip-2.0 2013-05-04 22:08:24 +02:00
Ryszard Wiśniewski
89133557ca Added debugLinePrefix CLI option. 2013-05-04 22:04:26 +02:00
Connor Tumbleson
0b37a23874 remove old imports, update changes to reflect fixing of smali debug 2013-05-03 19:30:30 -05:00
Connor Tumbleson
a7236053bf add unit-test and support for handling unknown files 2013-05-03 19:16:34 -05:00
Ryszard Wiśniewski
150a95f14a Fixed "b -d" if there are .parameter directives with defined names (e.g.: .parameter "foo") 2013-05-03 14:08:59 -05:00
Ryszard Wiśniewski
ae39555e3c Fixed "b -d" if there are .parameter directives with defined names (e.g.: .parameter "foo") 2013-05-02 23:50:52 +02:00
Connor Tumbleson
6d542f997e knock version back to 1.6 2013-05-02 13:47:31 -05:00
Connor Tumbleson
ae5e292b1f Merge branch 'wip-2.0' of git://github.com/brutall/brut.apktool into brutall-wip-2.0 2013-05-02 12:56:46 -05:00
Connor Tumbleson
be73563c43 handle all version(s) as strings, and change java to 1.7 2013-05-02 12:56:18 -05:00
Ryszard Wiśniewski
fba0918b80 Now adding line breakpoints when debugging should be easier in Eclipse, Netbeans and IDEA. 2013-05-02 17:49:30 +02:00
Ryszard Wiśniewski
ed0e4eb64c Fixed debug injection if there are annotated method parameters. 2013-05-02 17:49:30 +02:00
Ryszard Wiśniewski
fed7f763b9 Fixed "apktool b" with default app_path argument. 2013-05-02 17:49:30 +02:00
Ryszard Wiśniewski
6e7e0c0984 Fixed "-d" option of build command - it was always enabled. 2013-05-02 17:49:30 +02:00
Ryszard Wiśniewski
59da5db05f Readded smali debugging feature. 2013-05-02 17:49:30 +02:00
Ryszard Wiśniewski
70deba0c5d TypeName: added fromPath() and fromNameParts(). 2013-05-02 17:49:30 +02:00
Ryszard Wiśniewski
62ac6fa870 Added dontLoadClassPath feature to smali. 2013-05-02 17:49:30 +02:00
Ryszard Wiśniewski
12c958c355 Added /out to .gitignore . 2013-05-02 17:49:29 +02:00
Connor Tumbleson
ccb76e1abb adjust output for if|install for --frame-path 2013-05-02 07:08:14 -05:00
Connor Tumbleson
722369fbd7 set console width to 120 to allow documentation to fit perfectly 2013-05-01 21:55:33 -05:00
Connor Tumbleson
168075e493 remove dead imports
remove old kxml import
update snakeyaml to 1.12
2013-05-01 18:05:46 -05:00
Connor Tumbleson
db6ecadc00 fix spacing in installFramework() 2013-04-30 07:55:33 -05:00
Connor Tumbleson
d18ee186da Update density ConfigFlags to ints, updated internal windows aapt. 2013-04-30 07:53:52 -05:00
Connor Tumbleson
47a5eac0b0 fixed install|if frameworks with commons-compress 2013-04-30 07:53:17 -05:00
Connor Tumbleson
9e50300ec2 update spacing 2013-04-07 07:37:52 -05:00
Connor Tumbleson
26aa2c7d7a updating to Gradle 1.5 2013-04-06 13:10:03 -05:00
Lars Greiss
7d5d633b97 Apktool: Add new inverted TRDS qualifier
into awesome apktool

thanks and cheers

SlimRoms Team
2013-04-06 12:56:42 -05:00
Connor Tumbleson
069a0d5807 include updated aapt for unix and macosx 2013-04-06 12:55:51 -05:00
Connor Tumbleson
42f69fd745 fixes #439
Extends ZipFile using apache commons compress ZipFile, to have finer control over the header allowing some parts to be ignored,
ex: the general access bit
2013-04-06 12:50:42 -05:00