Commit Graph

1001 Commits

Author SHA1 Message Date
Ryszard Wiśniewski
f041f091c5 Added tests for unicode literals. 2011-05-03 16:54:49 +02:00
Ryszard Wiśniewski
fadb4e3353 Main::setupLogging(): remove all default handlers instead of first one. 2011-05-03 14:58:25 +02:00
Ryszard Wiśniewski
2ac33fd5e7 Sort framework ids before storing them in apktool.yml .
aapt command requires your to include frameworks in order.
2011-05-03 13:12:28 +02:00
Ryszard Wiśniewski
61309bb533 Changed Java version to 6. 2011-05-03 12:41:59 +02:00
Ryszard Wiśniewski
6c051148b5 AXmlResourceParser::getAttributeValue(): do not use raw value for color values. 2011-05-03 05:08:08 +02:00
Ryszard Wiśniewski
93af3fe56d Added a test for color value in XML attribute. 2011-05-03 05:07:06 +02:00
Ryszard Wiśniewski
fb5115e56d Escape '"' as '\"' in XML files. 2011-05-03 04:50:54 +02:00
Ryszard Wiśniewski
5c3c1b5be3 Added tests for '\'' and '"' literals. 2011-05-03 04:49:20 +02:00
Ryszard Wiśniewski
76d8aa0abc AXmlResourceParser::getAttributeValue(): do not use raw value for references and styles. 2011-05-03 03:51:51 +02:00
Ryszard Wiśniewski
855f664d40 Disabled escaping of XML attr values.
They're already escaped in AXML files.
2011-05-03 03:32:41 +02:00
Ryszard Wiśniewski
90f789ff01 ExtXmlSerializer: added possibility to disable escaping of attr values. 2011-05-03 03:31:52 +02:00
Ryszard Wiśniewski
888c9082ce Added many new literal and reference tests. 2011-05-03 02:26:40 +02:00
Ryszard Wiśniewski
018c40b72a Changed encoding of generated XML files from UTF-8 to utf-8.
It's more consistent with Android SDK, because android command creates projects with "utf-8".
2011-05-03 01:11:49 +02:00
Ryszard Wiśniewski
edaa2e8163 Added cross-type resources tests.
E.g. <item type="integer" name="test">TEST</item> or <item type="string" name="test">#ffcc00</item> - they must be decoded as <item />.
2011-05-02 03:41:08 +02:00
Ryszard Wiśniewski
e4acfb34a2 Do not decode res-references as <item />.
So now they're decoded as e.g. <string name="test">@android:string/ok</string> instead of <item type="string" name="test">@android:string/ok</item>.
2011-05-02 03:35:03 +02:00
Ryszard Wiśniewski
d86909707b apktool-lib: added basic tests for resources building/decoding. 2011-05-02 02:05:46 +02:00
Ryszard Wiśniewski
e1f3ab852a Add new line at the end of decoded XML file. 2011-05-02 01:50:26 +02:00
Ryszard Wiśniewski
26cdc8299a Added ExtXmlSerializer interface. 2011-05-02 01:44:34 +02:00
Ryszard Wiśniewski
b11d41aefb XmlPullStreamDecoder: do not close streams after decode.
They're passed to XmlPullStreamDecoder, so should be managed by calling object.
2011-05-02 00:36:35 +02:00
Ryszard Wiśniewski
f05f264182 ResConfigFlags: added zero-padding of MCC qualifiers.
MCC must be 3-digits long. Official documentation does not specify that, but aapt throws errors if you create e.g. values-mcc1 dir.
2011-05-01 19:08:01 +02:00
Ryszard Wiśniewski
0bd967bacc Merge branch 'master' into arichnad 2011-04-26 03:22:37 +02:00
Ryszard Wiśniewski
566ea35a0d pom.xml: use root.basedir to find license header file (fixes problems with running "mvn verify" for parent project). 2011-04-26 03:20:37 +02:00
Ryszard Wiśniewski
68937b969e pom.xml: added root.basedir property. 2011-04-26 03:17:57 +02:00
adrian
253a95c98d minor: input file might not exist. 2011-04-26 02:09:36 +02:00
adrian
74ecd31a4d I get a null pointer exception if this isn't a resource. 2011-04-26 02:09:36 +02:00
Ryszard Wiśniewski
606cbb2197 lib/pom.xml: changed smaliVersion to 1.2.4-brut3 . 2011-01-19 20:49:46 +01:00
Ryszard Wiśniewski
855d521a1f lib/pom.xml: added smaliVersion property. 2011-01-19 20:48:59 +01:00
Ryszard Wiśniewski
b61892dcec apktool-cli: reformatted license headers. 2011-01-19 14:55:49 +01:00
Ryszard Wiśniewski
b7cc03ab75 apktool-cli: added jar-with-deps assembly. 2011-01-19 13:16:11 +01:00
Ryszard Wiśniewski
a3ff517cc0 Prefixed lib and cli dir names with apktool- . 2011-01-18 01:55:38 +01:00
Ryszard Wiśniewski
72588893b2 Reformatted license headers for apktool-cli. 2011-01-17 23:59:28 +01:00
Ryszard Wiśniewski
4d74b67e19 Imported CLI apktool-cli project in current version. 2011-01-17 23:58:47 +01:00
Ryszard Wiśniewski
a84602076f Moved apache2.0-header.txt file to root project. 2011-01-17 23:54:36 +01:00
Ryszard Wiśniewski
3b0b133827 Changed artifactId from apktool-pom to apktool-project . 2011-01-17 23:43:12 +01:00
Ryszard Wiśniewski
b5cead1340 Moved NOTICE* and LICENSE files to root project. 2011-01-17 23:30:17 +01:00
Ryszard Wiśniewski
b6fc33baf9 /pom.xml: added NOTICE-smali file to included resources. 2011-01-17 23:22:50 +01:00
Ryszard Wiśniewski
1a4216c883 Updated lib/NOTICE file. 2011-01-17 22:37:05 +01:00
Ryszard Wiśniewski
840db7357d Reformatted license headers. 2011-01-17 22:31:41 +01:00
Ryszard Wiśniewski
c958786ff9 lib/pom.xml: added excludes to maven-license-plugin . 2011-01-17 22:30:13 +01:00
Ryszard Wiśniewski
96a3b80524 ExtMXSerializer: publicized PROPERTY_SERIALIZER_INDENTATION and PROPERTY_SERIALIZER_LINE_SEPARATOR by prefixing them with EXT_ . 2011-01-17 22:10:40 +01:00
Ryszard Wiśniewski
32c35c08b3 Converted to Maven project. 2011-01-17 22:03:25 +01:00
Ryszard Wiśniewski
8171245457 Close file handler for apktool.yml . 2010-09-18 15:16:17 +02:00
Ryszard Wiśniewski
3de632f04c Added more info messages during decoding. 2010-09-08 14:24:04 +02:00
Ryszard Wiśniewski
98c152c6e2 . 2010-09-08 14:23:36 +02:00
Ryszard Wiśniewski
bcd6782128 Changed version to 1.3.2 . 2010-09-03 15:42:15 +02:00
Ryszard Wiśniewski
4219a8e878 Smali and baksmali using SmaliMod and BaksmaliMod. 2010-09-03 15:05:07 +02:00
Ryszard Wiśniewski
68899cf3f3 SmaliMod, BaksmaliMod: added modifications to original code. 2010-09-03 15:01:45 +02:00
Ryszard Wiśniewski
22374f775f +SmaliMod.assembleSmaliFile() +BaksmaliMod.disassembleDexFile() - added from v1.2.4 . 2010-09-02 16:03:48 +02:00
Ryszard Wiśniewski
912ab63f5b Renamed brut.androlib.src.mod to brut.androlib.mod . 2010-09-02 01:32:24 +02:00
Ryszard Wiśniewski
f648684ca9 ResFileDecoder: in case of decoding error, value is set to FALSE. 2010-09-01 22:31:54 +02:00